Add Changelog and news entry.
[glibc.git] / ChangeLog
blob667b3f17a05c2f8b7b0e68b68c506338b48ec523
1 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3         [BZ #12986]
4         * manual/stdio.texi (String Input Conversions): Clarify that character
5         classes are not supported.
7 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13         [BZ #16337]
14         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15         Calculate results for small negative arguments directly rather
16         than using reflection formula with special underflow handling.
18         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21         (fchflags): Likewise.
22         (revoke): Likewise.
23         (setlogin): Likewise.
24         (sigaltstack): Likewise.
25         (wait4): Likewise.
26         (sigblock): Remove.
27         (sigsetmask): Likewise.
28         (wait3): Likewise.
29         (waitpid): Likewise.
30         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32         file.
33         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34         * sysdeps/unix/bsd/Makefile: ... here.
35         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36         * sysdeps/unix/bsd/Versions: ... here.
37         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42         * sysdeps/unix/bsd/sigblock.c: ... here.
43         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
46         * sysdeps/unix/bsd/sigvec.c: ... here.
47         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48         * sysdeps/unix/bsd/tcdrain.c: ... here.
49         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54         * sysdeps/unix/bsd/wait.c: ... here.
55         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56         * sysdeps/unix/bsd/wait3.c: ... here.
57         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58         * sysdeps/unix/bsd/waitpid.c: ... here.
60 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #16356]
63         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
64         round-to-nearest for [!USE_AS_EXPM1L].
65         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
66         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
67         more tests of exp and exp10.  Expect some exp10 tests to miss
68         exceptions or fail in directed rounding modes.
69         * math/auto-libm-test-out: Regenerated.
70         * math/libm-test.inc (exp10_tonearest_test_data): New array.
71         (exp10_test_tonearest): New function.
72         (exp10_towardzero_test_data): New array.
73         (exp10_test_towardzero): New function.
74         (exp10_downward_test_data): New array.
75         (exp10_test_downward): New function.
76         (exp10_upward_test_data): New array.
77         (exp10_test_upward): New function.
78         (main): Call the new functions.
79         * sysdeps/i386/fpu/libm-test-ulps: Update.
80         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
84         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
85         asinh, atan, atan2, atanh, cbrt, cos and cosh.
86         * math/auto-libm-test-out: Regenerated.
87         * math/libm-test.inc (acosh_test_data): Add more tests.
88         (atanh_test_data): Likewise.
89         (ceil_test_data): Likewise.
90         (copysign_test_data): Likewise.
91         * sysdeps/i386/fpu/libm-test-ulps: Update.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94         * timezone/checktab.awk: Update from tzcode 2013i.
95         * timezone/private.h: Likewise.
96         * timezone/scheck.c: Likewise.
97         * timezone/tzfile.h: Likewise.
98         * timezone/tzselect.ksh: Likewise.
99         * timezone/zdump.c: Likewise.
100         * timezone/zic.c: Likewise.
102         * math/auto-libm-test-in: Add tests of cpow.
103         * math/auto-libm-test-out: Regenerated.
104         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
105         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
106         mpc_cc_c.
107         (func_calc_desc): Add mpc_cc_c union field.
108         (test_functions): Add cpow.
109         (special_fill_2pi): New function.
110         (special_real_inputs): Add 2pi.
111         (calc_generic_results): Handle mpc_cc_c.
112         * sysdeps/i386/fpu/libm-test-ulps: Update.
113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
115         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
116         csqrt, ctan and ctanh.
117         * math/auto-libm-test-out: Regenerated.
118         * math/libm-test.inc (TEST_COND_x86_64): New macro.
119         (TEST_COND_x86): Likewise.
120         (ccos_test_data): Use AUTO_TESTS_c_c.
121         (ccosh_test_data): Likewise.
122         (cexp_test_data): Likewise.
123         (clog_test_data): Likewise.
124         (csqrt_test_data): Likewise.
125         (ctan_test_data): Likewise.
126         (ctan_tonearest_test_data): Likewise.
127         (ctan_towardzero_test_data): Likewise.
128         (ctan_downward_test_data): Likewise.
129         (ctan_upward_test_data): Likewise.
130         (ctanh_test_data): Likewise.
131         (ctanh_tonearest_test_data): Likewise.
132         (ctanh_towardzero_test_data): Likewise.
133         (ctanh_downward_test_data): Likewise.
134         (ctanh_upward_test_data): Likewise.
135         * math/gen-auto-libm-tests.c (func_calc_method): Add value
136         mpc_c_c.
137         (func_calc_desc): Add mpc_c_c union field.
138         (FUNC_mpc_c_c): New macro.
139         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
140         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
141         ctanh.
142         (special_fill_min_subnorm_p120): New function.
143         (special_real_inputs): Add min_subnorm_p120.
144         (calc_generic_results): Handle mpc_c_c.
145         * sysdeps/i386/fpu/libm-test-ulps: Update.
146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
150         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
151         do_sin_slow): New functions.
152         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
153         cslow2, csloww1, csloww2): Use the new functions.
155         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
156         Use M to change sign of result instead of X.  Assume X is
157         positive.
158         (csloww1): Likewise.
159         (__sin): Adjust.
160         (__cos): Adjust.
162         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
163         arguments A and DA.
164         (__sin): Adjust.
165         (__cos): Likewise.
167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
168         (__cos): Likewise.
169         (sloww1): Don't adjust sign of DX.
170         (csloww1): Likewise.
171         (sloww2): Use X directly and don't adjust sign of DX.
172         (csloww2): Likewise.
174 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
176         * math/auto-libm-test-in: Add tests of cabs and carg.
177         * math/auto-libm-test-out: Regenerated.
178         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
179         (carg_test_data): Likewise.
180         * math/gen-auto-libm-tests.c (func_calc_method): Add value
181         mpc_c_f.
182         (func_calc_desc): Add mpc_c_f union field.
183         (test_functions): Add cabs and carg.
184         (calc_generic_results): Handle mpc_c_f.
186         * sysdeps/powerpc/powerpc32/libgcc-compat.S
187         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
188         as a macro and a compat symbol.
189         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
190         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
191         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
192         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
193         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
194         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
195         not use .hidden.
196         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
197         Likewise.
198         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
199         Likewise.
200         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
201         Likewise.
202         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
203         Likewise.
204         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
205         Likewise.
206         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
207         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
208         from GLIBC_2.3.2.
210 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
214 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
216         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
217         (__signal_safe_memalign, __signal_safe_free): Use it.
218         (__signal_safe_realloc): Likewise.
220 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
222         * manual/texinfo.tex: Update to version 2013-11-26.10 with
223         trailing whitespace removed.
224         * scripts/config.guess: Update to version 2013-11-29.
225         * scripts/config.sub: Update to version 2013-10-01.
227         * math/auto-libm-test-in: Add tests of sincos.
228         * math/auto-libm-test-out: Regenerated.
229         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
230         * math/gen-auto-libm-tests.c (func_calc_method): Add value
231         mpfr_f_11.
232         (func_calc_desc): Add mpfr_f_11 union field.
233         (test_functions): Add sincos.
234         (calc_generic_results): Handle mpfr_f_11.
235         * sysdeps/i386/fpu/libm-test-ulps: Update.
236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
238 2013-12-19  Andreas Schwab  <schwab@suse.de>
240         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
241         CALL_MCOUNT.
242         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
243         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
244         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
246 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
248         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
249         * sysdeps/i386/fpu/libm-test-ulps: Update.
250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
252         [BZ #16293]
253         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
254         round-to-nearest mode when using frndint.
255         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
256         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
258         Likewise.
259         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
260         sinh test to fail.
261         * math/auto-libm-test-out: Regenerated.
262         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
263         (TEST_COND_x86): Likewise.
264         (expm1_tonearest_test_data): New array.
265         (expm1_test_tonearest): New function.
266         (expm1_towardzero_test_data): New array.
267         (expm1_test_towardzero): New function.
268         (expm1_downward_test_data): New array.
269         (expm1_test_downward): New function.
270         (expm1_upward_test_data): New array.
271         (expm1_test_upward): New function.
272         (main): Run the new test functions.
273         * sysdeps/i386/fpu/libm-test-ulps: Update.
274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
276         * include/features.h: Update comment documenting feature test
277         macros.  Mention _DEFAULT_SOURCE in comment.
278         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
279         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
280         _BSD_SOURCE and _SVID_SOURCE.
281         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
282         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
283         !_SVID_SOURCE]: Likewise.
284         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
285         (__USE_POSIX_IMPLICITLY): Define.
286         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
287         (_POSIX_SOURCE): Undefine and redefine.
288         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
289         (_POSIX_C_SOURCE): Likewise.
290         * manual/creature.texi (_DEFAULT_SOURCE): Document.
291         (Feature Test Macros): Update documentation of default features.
293 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
295         * benchtests/Makefile: Add bench-strtok.
296         * benchtests/bench-strtok.c: New file: strtok benchtest.
298 2013-12-19  Allan McRae  <allan@archlinux.org>
300         * manual/install.texi: Suppress menu for plain text output.
301         * INSTALL: Regenerated.
303 2013-12-18  Andrew Hunter  <ahh@google.com>
305         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
306         (__signal_safe_malloc, __signal_safe_free): Likewise.
307         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
308         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
309         (__signal_safe_memalign, __signal_safe_malloc): New function.
310         (__signal_safe_free, __signal_safe_realloc): Likewise.
311         (__signal_safe_calloc): Likewise.
312         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
313         functions.
314         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
316 2013-12-18  Andrew Hunter  <ahh@google.com>
318         * elf/Versions (ld): Add _dl_clear_dtv.
319         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
320         * elf/dl-tls.c (_dl_clear_dtv): New function.
321         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
323 2013-12-18  Andrew Hunter  <ahh@google.com>
325         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
326         (_dl_unmask_signals): Likewise.
327         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
328         (_dl_unmask_all_signals): Likewise.
329         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
330         (_dl_unmask_all_signals): Likewise.
331         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
332         (_dl_unmask_signals): Likewise.
334 2013-12-18  Brooks Moses  <bmoses@google.com>
336         [BZ #15846]
337         * misc/getauxval.c: Include errno.h.
338         (__getauxval): Set errno to ENOENT if the requested type is not
339         found.
340         * misc/sys/auxv.h (getauxval): Document that it may set errno;
341         don't declare with __attribute_const__.
342         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
343         * manual/startup.texi: Document that getauxval sets errno.
345 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
347         * math/auto-libm-test-in: Add tests of jn and yn.
348         * math/auto-libm-test-out: Regenerated.
349         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
350         (yn_test_data): Likewise.
351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
352         mpfr_if_f.
353         (func_calc_desc): Add mpfr_if_f union field.
354         (FUNC_mpfr_if_f): New macro.
355         (test_functions): Add jn and yn.
356         (calc_generic_results): Assert type of second input for
357         mpfr_ff_f.  Handle mpfr_if_f.
358         (output_for_one_input_case): Disable all checking for arguments
359         fitting floating-point types in case of an integer argument.
360         * sysdeps/i386/fpu/libm-test-ulps: Update.
361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
364         Don't expect fegetround reference in libm.so.
366 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
368         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
369         $(config-cflags-nofma).
371 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
373         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
374         * math/auto-libm-test-out: Regenerated.
376         [BZ #16338]
377         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
378         to determine exponent and adjust argument to have exponent of -1.
379         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
380         log2.
381         * math/auto-libm-test-out: Regenerated.
382         * sysdeps/i386/fpu/libm-test-ulps: Update.
383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
385 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
387         * manual/probes.texi: Remove cases when per-thread arenas are
388         disabled.
390 2013-12-18  Andreas Schwab  <schwab@suse.de>
392         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
393         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
394         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
395         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
396         * sysdeps/i386/i686/multiarch/Makefile: Update.
397         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
399 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
401         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
402         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
404 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
406         Support TZ transition times < 00:00:00.
407         This is needed for version-3 tz-format files; it supports time
408         stamps past 2037 for America/Godthab (the only entry in the tz
409         database for which this change is relevant).
410         * manual/time.texi (TZ Variable): Document transition times
411         from -167:59:59 through -00:00:01.
412         * time/tzset.c (tz_rule): Time of day is now signed.
413         (__tzset_parse_tz): Parse negative time of day.
415         Document TZ transition times >= 25:00:00.
416         * manual/time.texi (TZ Variable): Document transition times from
417         25:00:00 through 167:59:59.  These are already supported, and this
418         support will help with version-3 tz-format files.
420         * manual/time.texi (TZ Variable): Modernize North America example
421         to reflect current (i.e., 2007-and-later) daylight saving rules.
423         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
425 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
427         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
428         * sysdeps/unix/bsd/bits/stat.h: Likewise.
429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
431         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
432         * sysdeps/unix/bsd/bsdstat.h: Likewise.
433         * sysdeps/unix/bsd/clock.c: Likewise.
434         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
435         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
436         * sysdeps/unix/bsd/init-posix.c: Likewise.
437         * sysdeps/unix/bsd/poll.c: Likewise.
438         * sysdeps/unix/bsd/ptsname.c: Likewise.
439         * sysdeps/unix/bsd/seekdir.c: Likewise.
440         * sysdeps/unix/bsd/setegid.c: Likewise.
441         * sysdeps/unix/bsd/seteuid.c: Likewise.
442         * sysdeps/unix/bsd/setgid.c: Likewise.
443         * sysdeps/unix/bsd/setrgid.c: Likewise.
444         * sysdeps/unix/bsd/setruid.c: Likewise.
445         * sysdeps/unix/bsd/setsid.c: Likewise.
446         * sysdeps/unix/bsd/setuid.c: Likewise.
447         * sysdeps/unix/bsd/sigaction.c: Likewise.
448         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
449         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
450         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
451         * sysdeps/unix/bsd/telldir.c: Likewise.
452         * sysdeps/unix/bsd/times.c: Likewise.
453         * sysdeps/unix/bsd/usleep.c: Likewise.
455         * misc/Makefile (install-lib): Remove libbsd-compat.a.
456         ($(objpfx)libbsd-compat.a): Remove rule.
458         * include/features.h (__FAVOR_BSD): Do not define.
459         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
460         features conflicting with POSIX.
461         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
462         (_BSD_SOURCE): Remove description of not being a subset of other
463         feature test macros.
464         * manual/job.texi (getpgrp): Do not document BSD version.
465         (getpgid): Do not document by reference to BSD getpgrp.
466         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
467         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
468         * signal/signal.h [__FAVOR_BSD]: Likewise.
469         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
470         instead of making contents conditional on [__FAVOR_BSD].
471         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
473 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
477 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
479         [BZ #16314]
480         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
481         values below 2**-450, not 2**-500.
482         * math/auto-libm-test-in: Don't allow spurious underflow from
483         hypot.
484         * math/auto-libm-test-out: Regenerated.
486         [BZ #16316]
487         [BZ #16330]
488         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
489         values of ha and hb and sort them after adjusting subnormal
490         arguments.
491         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
492         Likewise.
493         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
494         values of ea and eb and sort them after adjusting subnormal
495         arguments.
496         * math/auto-libm-test-in: Do not expect some hypot tests of
497         subnormals to fail.  Add more hypot tests.
498         * math/auto-libm-test-out: Regenerated.
500 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
502         [BZ #13304]
503         * sysdeps/sh/s_fma.c: New file.
504         * sysdeps/sh/s_fmaf.c: New file.
505         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
506         version.
507         * sysdeps/sh/Implies: Add sh/soft-fp.
509 2013-12-16  Roland McGrath  <roland@hack.frob.com>
511         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
512         level of indirection to members `objname', `errstring', `malloced'.
513         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
514         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
515         it as the __longjmp argument (just pass 1 instead).
516         (_dl_catch_error): Initialize C with argument pointers and address of
517         volatile local ERRCODE rather than copying values out of C at return.
519 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
521         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
522         * math/auto-libm-test-out: Regenerated.
523         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
524         (hypot_test_data): Likewise.
525         (pow_test_data): Likewise.
526         (pow_tonearest_test_data): Likewise.
527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
528         mpfr_ff_f.
529         (func_calc_desc): Add mpfr_ff_f union field.
530         (FUNC_mpfr_ff_f): New macro.
531         (test_functions): Add atan2, hypot and pow.
532         (special_fill_min): New function.
533         (special_fill_minus_min): Likewise.
534         (special_fill_min_subnorm): Likewise.
535         (special_fill_minus_min_subnorm): Likewise.
536         (special_real_inputs): Add min, -min, min_subnorm and
537         -min_subnorm.
538         (calc_generic_results): Handle mpfr_ff_f.
539         * sysdeps/i386/fpu/libm-test-ulps: Update.
540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
542 2013-12-16  Will Newton  <will.newton@linaro.org>
544         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
545         (Aligned Memory Blocks): Add documentation for aligned_alloc
546         and suggest it as an alternative to posix_memalign.
547         (Hooks for Malloc): Document __memalign_hook is also called
548         for aligned_alloc.  (Summary of Malloc): Add summary for
549         aligned alloc.  Document __memalign_hook is also called
550         for aligned_alloc.
552 2013-12-16  Will Newton  <will.newton@linaro.org>
554         * manual/memory.texi (Malloc Examples): Clarify default
555         alignment documentation.  Suggest posix_memalign rather
556         than memalign or valloc.
557         (Aligned Memory Blocks): Remove suggestion to use memalign
558         or valloc.  Remove obsolete comment about BSD.
559         Document memalign errno values and mark the function obsolete.
560         Document posix_memalign returned error codes.  Mark valloc
561         as obsolete.  (Hooks for Malloc): __memalign_hook is also
562         called for posix_memalign and valloc.
563         (Summary of Malloc): Add posix_memalign to function summary.
564         __memalign_hook is also called for posix_memalign and valloc.
566 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
568         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
569         TAYLOR_SIN.
570         (__sin): Adjust.
571         (__cos): Likewise.
572         (sloww): Use mynumber union.  Expand ternary operator into
573         if-else statements.
574         (cslow): use mynumber union.
576 2013-12-16  Allan McRae  <allan@archlinux.org>
578         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
579         * configure: Regenerated.
581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
583         [BZ #14120]
584         * configure.ac: Added --enable-maintainer-mode. Check for
585         autoconf when enabled.
586         * configure: Regenerated.
588         * nscd/nscd.service: New file.
589         * nscd/nscd.tmpfiles: New file.
591 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
593         [BZ #12100]
594         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
595         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
596         * sysdeps/x86_64/multiarch/strstr.c: ... here.
597         (strstr): Add __strstr_sse2_unaligned ifunc.
598         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
599         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
600         (strcasestr): Remove __strcasestr_sse42 ifunc.
601         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
605 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
607         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
608         * sysdeps/sh/bits/fenv.h: ... here.
609         * sysdeps/sh/sh4/fpu/bits: Remove directory.
611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
613         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
615 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
618         hypotf multiarch implementations.
619         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
620         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
622         multiarch hypot for PPC64.
623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
624         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
625         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
626         multiarch hypotf for PPC64.
628 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
631         modff multiarch implementations.
632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
635         multiarch modf for PPC64.
636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
639         multiarch modff for PPC64.
641 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
644         and logl multiarch implementations.
645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
648         multiarch logb for PPC64.
649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
652         multiarch logb for PPC64.
653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
656         multiarch logb for PPC64.
658 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
661         isinff multiarch implementation.
662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
663         file.
664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
666         multiarch isinf for PPC64.
667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
668         file.
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
670         multiarch isinff for PPC64.
672 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
675         finitef multiarch implementation.
676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
677         file.
678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
680         multiarch finite for PPC64.
681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
682         file.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
684         multiarch finitef for PPC64.
686 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
689         lrint multiarch implementation.
690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
691         file.
692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
694         multiarch llrint for PPC64.
695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
696         multiarch lrint for PPC64.
698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
701         copysignf multiarch implementation.
702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
703         file.
704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
705         file.
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
707         multiarch copysign for PPC64.
708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
709         multiarch copysignf for PPC64.
711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
714         multiarch implementation.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
716         file.
717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
718         file.
719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
720         file.
721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
722         file.
723         multiarch llround for PPC64.
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
725         multiarch trunc for PPC64.
726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
727         multiarch truncf for PPC64.
729 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
732         multiarch implementation.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
734         file.
735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
736         file.
737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
738         file.
739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
740         file.
741         multiarch llround for PPC64.
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
743         multiarch round for PPC64.
744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
745         multiarch roundf for PPC64.
747 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
750         multiarch implementation.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
752         file.
753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
754         file.
755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
756         file.
757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
758         file.
759         multiarch llround for PPC64.
760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
761         multiarch floor for PPC64.
762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
763         multiarch floorf for PPC64.
765 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
768         multiarch implementation.
769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
770         file.
771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
772         file.
773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
774         file.
775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
776         file.
777         multiarch llround for PPC64.
778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
779         multiarch ceil for PPC64.
780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
781         multiarch ceilf for PPC64.
783 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
786         multiarch implementation.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
788         file.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
790         file.
791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
792         file.
793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
794         multiarch llround for PPC64.
795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
796         multiarch lround for PPC64.
798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
801         multiarch implementation.
802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
805         file.
806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
809         multiarch isnan for PPC64.
810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
811         multiarch isnanf for PPC64.
813 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
815         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
816         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
817         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
818         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
819         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
822 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
824         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
825         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
829 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
832         multiarch implementations.
833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
834         (__libc_ifunc_impl_list): Likewise.
835         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
836         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
837         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
838         multiarch stpcpy for PPC64.
840 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
843         multiarch implementations.
844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
845         (__libc_ifunc_impl_list): Likewise.
846         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
847         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
848         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
849         multiarch strcpy for PPC64.
851 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
854         redefine function name.
855         (_wordcopy_fwd_dest_aligned): Likewise.
856         (_wordcopy_bwd_aligned): Likewise.
857         (_wordcopy_bwd_dest_aligned): Likewise.
858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
859         multiarch implementations.
860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
861         (__libc_ifunc_impl_list): Likewise.
862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
863         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
864         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
866         multiarch wcscpy for PPC64.
868 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
871         multiarch implementations.
872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
873         (__libc_ifunc_impl_list): Likewise.
874         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
875         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
876         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
877         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
878         multiarch wcscpy for PPC64.
880 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
883         multiarch implementations.
884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
885         (__libc_ifunc_impl_list): Likewise.
886         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
887         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
888         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
889         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
890         multiarch wcsrchr for PPC64.
892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
895         multiarch implementations.
896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
897         (__libc_ifunc_impl_list): Likewise.
898         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
899         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
900         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
901         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
902         multiarch wcschr for PPC64.
904 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
907         multiarch implementations.
908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
909         (__libc_ifunc_impl_list): Likewise.
910         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
911         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
912         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
913         multiarch strchrnul for PPC64.
915 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
918         implementations.
919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
920         (__libc_ifunc_impl_list): Likewise.
921         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
922         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
923         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
924         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
925         strchr for PPC64.
927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
930         implementations.
931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
932         (__libc_ifunc_impl_list): Likewise.
933         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
934         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
935         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
936         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
937         strncmp for PPC64.
939 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
942         multiarch implementations.
943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
944         (__libc_ifunc_impl_list): Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
946         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
947         strncasecmp for PPC64.
948         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
949         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
950         multiarch strncasecmp_l for PPC64.
952 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
955         multiarch implementations.
956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
957         (__libc_ifunc_impl_list): Likewise.
958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
960         multiarch strcasecmp for PPC64.
961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
962         file.
963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
964         multiarch strcasecmp_l for PPC64.
966 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
969         implementations.
970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
971         (__libc_ifunc_impl_list): Likewise.
972         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
973         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
974         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
975         strnlen for PPC64.
977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
980         implementations.
981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
982         (__libc_ifunc_impl_list): Likewise.
983         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
984         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
985         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
986         strlen for PPC64.
988 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
991         implementations.
992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
993         (__libc_ifunc_impl_list): Likewise.
994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
995         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
996         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
997         rawmemrchr for PPC64.
999 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1002         implementation.
1003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1004         (__libc_ifunc_impl_list): Likewise.
1005         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1006         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1007         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1008         memrchr for PPC64.
1010 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1013         implementation.
1014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1015         (__libc_ifunc_impl_list): Likewise.
1016         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1017         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1018         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1019         memchr for PPC64.
1021 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1024         implementation.
1025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1026         (__libc_ifunc_impl_list): Likewise.
1027         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1028         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1029         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1030         mempcpy for PPC64.
1032 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1034         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1035         avoid cretion of __bzero symbol.
1036         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1037         Likewise.
1038         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1039         Likewise.
1040         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1041         Likewise.
1042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1043         multiarch implementations.
1044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1045         (__libc_ifunc_impl_list): Likewise.
1046         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1047         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1048         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1049         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1050         bzero for PPC32.
1051         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1052         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1053         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1054         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1055         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1056         memset for PPC64.
1057         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1059 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1061         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1063         implementations.
1064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1065         (__libc_ifunc_impl_list): Likewise.
1066         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1067         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1068         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1069         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1070         memcmp for PPC64.
1072 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1075         multiarch for POWER/PPC64.
1076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1077         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1078         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1080         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1081         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1082         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1083         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1084         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1085         memcpy for PPC64.
1087 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1089         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1090         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1091         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1092         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1093         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1094         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1095         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1096         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1097         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1098         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1099         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1100         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1101         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1102         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1103         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1112 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1114         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1116 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118         * benchtests/Makefile (bench): Add exp2 and log2.
1119         (LDLIBS-bench-exp2): Add -lm.
1120         (LDLIBS-bench-log2): Likewise.
1121         * benchtests/exp2-inputs: New inputs file.
1122         * benchtests/log2-inputs: New inputs file.
1123         * benchtests/log-inputs: Add new inputs.
1124         * benchtests/tan-inputs: Likewise.
1126 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1129         definition...
1130         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1131         csloww1, csloww2): ... from here.
1133         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1134         instead of structures.
1135         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1136         (POLYNOMIAL): Likewise.
1137         (TAYLOR_SLOW): Likewise.
1138         (__sin): Likewise.
1139         (__cos): Likewise.
1140         (slow1): Likewise.
1141         (slow2): Likewise.
1142         (sloww): Likewise.
1143         (sloww1); Likewise.
1144         (sloww2): Likewise.
1145         (bsloww1): Likewise.
1146         (bsloww2): Likewise.
1147         (cslow2): Likewise.
1148         (csloww): Likewise.
1149         (csloww1): Likewise.
1150         (csloww2): Likewise.
1152 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1154         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1155         (__malloc_assert, __libc_realloc, __libc_calloc,
1156         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1157         memcpy and memset.
1158         * malloc/hooks.c (realloc_check): Likewise.
1160 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1162         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1163         * malloc/arena.c: Remove PER_THREAD conditional.
1164         [!PER_THREAD]: Remove code.
1165         (ptmalloc_unlock_all2): Likewise.
1166         (ptmalloc_init): Likewise.
1167         (_int_new_arena): Likewise.
1168         (arena_get2): Likewise.
1169         * malloc/hooks.c (__malloc_get_state): Likewise.
1170         (__malloc_set_state): Likewise.
1171         * malloc/malloc.c: Likewise.
1172         (struct malloc_state): Likewise.
1173         (struct malloc_par): Likewise.
1174         (__libc_realloc): Likewise.
1175         (__libc_mallopt): Likewise.
1177 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1179         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1181 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1183         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1184         macro to a function.  Check for zero perturb_byte.
1185         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1187 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1189         * malloc/malloc.c: (force_reg): Remove.
1190         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1191         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1192         force_reg by atomic_forced_read.
1193         * malloc/arena.c (ptmalloc_init): Likewise.
1194         * malloc/hooks.c (top_check): Likewise.
1196 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1200 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1204 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1206         * math/auto-libm-test-in: Add tests of lgamma.
1207         * math/auto-libm-test-out: Regenerated.
1208         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1209         (M_LOG_2_SQRT_PIl): Likewise.
1210         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1211         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1212         mpfr_f_f1.
1213         (func_calc_desc): Add mpfr_f_f1 union field.
1214         (ARGS1): New macro.
1215         (ARGS2): Likewise.
1216         (ARGS3): Likewise.
1217         (ARGS4): Likewise.
1218         (RET1): Likewise.
1219         (RET2): Likewise.
1220         (CALC): Likewise.
1221         (FUNC): Likewise.
1222         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1223         (test_functions): Add lgamma.
1224         (calc_generic_results): Handle mpfr_f_f1.
1225         * sysdeps/i386/fpu/libm-test-ulps: Update.
1226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1228 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1230         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1231         __mpn_add_n for PowerPC64/POWER7.
1232         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1233         __mpn_sub_n for PowerPC64/POWER7.
1235 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1237         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1238         __mpn_addmul_1 for PowerPC64.
1239         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1240         __mpn_submul_1 for PowerPC64.
1241         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1242         for PowerPC64.
1243         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1244         for PowerPC64.
1246 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1248         [BZ #15089]
1249         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1253         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1257         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1258         add multiarch folders.
1259         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1260         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1261         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1262         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1263         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1264         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1265         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1266         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1267         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1268         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1269         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1277 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1280         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1282         New file.
1283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1284         New file.
1285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1286         multiarch __ieee754_hypot for PowerPC32.
1287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1288         New file.
1289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1290         New file.
1291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1292         multiarch __ieee754_hypotf for PowerPC32.
1294 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1297         long_double_symbol only if __logbl is defined.
1298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1299         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1301         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1303         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1305         path for implementation.
1306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1307         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1309         logb, and logbl multiarch implementations for PowerPC32.
1310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1311         file.
1312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1313         file.
1314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1315         multiarch logb for PowerPC32.
1316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1317         file.
1318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1319         file.
1320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1321         multiarch logbf for PowerPC32.
1322         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1324         file.
1325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1326         multiarch logbl implementation for PowerPC32.
1328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1331         and modff multiarch implementations.
1332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1333         New file.
1334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1335         New file.
1336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1337         multiarch modf for PowerPC32.
1338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1339         New file.
1340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1341         New file.
1342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1343         multiarch modff for PowerPC32.
1345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1348         and lrintf multiarch implementations.
1349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1350         New file.
1351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1352         New file.
1353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1354         multiarch lrint for PowerPC32.
1355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1356         file: multiarch lrintf for PowerPC32.
1358 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1361         and lroundf multiarch implementations.
1362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1363         New file.
1364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1365         New file.
1366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1367         New file.
1368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1369         multiarch lround for PowerPC32.
1370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1371         file: multiarch lroundf for PowerPC32.
1373 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1376         copysign and copysignf multiarch implementations.
1377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1378         New file.
1379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1380         New file.
1381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1382         file: multiarch copysign for PowerPC32.
1383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1384         file: multiarch copysignf for PowerPC32.
1386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1389         and truncf multiarch implementations.
1390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1391         New file.
1392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1393         file.
1394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1395         multiarch trunc for PowerPC32.
1396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1397         New file.
1398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1399         New file.
1400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1401         multiarch truncf for PowerPC32.
1403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1406         and roundf multiarch implementations.
1407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1408         New file.
1409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1410         file.
1411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1412         multiarch round for PowerPC32.
1413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1414         New file.
1415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1416         New file.
1417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1418         multiarch roundf for PowerPC32.
1420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1423         and floorf multiarch implementations.
1424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1425         New file.
1426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1427         file.
1428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1429         multiarch floor for PowerPC32.
1430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1431         New file.
1432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1433         New file.
1434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1435         multiarch floorf for PowerPC32.
1437 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1440         and ceilf multiarch implementations.
1441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1442         New file.
1443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1444         file.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1446         multiarch ceil for PowerPC32.
1447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1448         New file.
1449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1450         file.
1451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1452         multiarch ceilf for PowerPC32.
1454 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1457         is defined.
1458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1459         FINITEF is defined.
1460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1461         and finitef multiarch implementations.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1463         New file.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1465         file.
1466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1467         multiarch finite for PowerPC32.
1468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1469         New file.
1470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1471         file: multiarch finitef for PowerPC32.
1473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1476         and isinff multiarch implementations.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1478         file.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1480         file.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1482         multiarch isinf for PowerPC32.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1484         New file.
1485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1486         multiarch isinff for PowerPC32.
1488 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1491         alias when __isnan is defined.
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1493         and isnanf multiarch implementations.
1494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1495         file.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1497         file.
1498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1499         file.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1503         multiarch isnan for PowerPC32.
1504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1505         New file.
1506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1507         New file.
1508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1509         multiarch isnanf for PowerPC32.
1511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1514         and sqrtf multiarch implementations.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1516         file.
1517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1518         file.
1519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1520         multiarch sqrt for PowerPC32.
1521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1522         file.
1523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1524         file.
1525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1526         multiarch sqrtf for PowerPC32.
1528 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1531         and llroundf multiarch implementations.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1533         New file.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1535         New file.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1537         New file.
1538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1539         file: multiarch llround for PowerPC32.
1540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1541         file: multiarch llroundf for PowerPC32.
1543 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1546         multiarch PowerPC32 fpu implementations.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1548         New file.
1549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1550         New file.
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1552         multiarch llrint for PowerPC32.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1554         New file.
1555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1556         New file.
1557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1558         file.
1560 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1564 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1567         file.
1568         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1569         file.
1570         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1571         file.
1572         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1573         multiarch wordcopy for PPC32.
1574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1575         wordcopy objects.
1576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1577         (__libc_ifunc_impl_list): Likewise.
1578         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1579         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1580         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1581         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1582         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1583         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1585 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1587         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1589         file.
1590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1591         file.
1592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1593         file.
1594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1595         multiarch wcscpy for PPC32.
1596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1597         multiarch objects.
1598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1599         (__libc_ifunc_impl_list): Likewise.
1600         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1601         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1602         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1603         sysdeps/powerpc/power6/wcscpy.c.
1605 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1609         file.
1610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1611         file.
1612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1613         file.
1614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1615         multiarch wcsrchr for PPC32.
1616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1617         multiarch objects.
1618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1619         (__libc_ifunc_impl_list): Likewise.
1620         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1621         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1622         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1623         sysdeps/powerpc/power6/wcsrchr.c.
1625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1628         file.
1629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1630         file.
1631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1633         multiarch wcschr for PPc32.
1634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1635         multiarch objects.
1636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1637         (__libc_ifunc_impl_list): Likewise.
1638         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1639         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1640         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1641         sysdeps/powerpc/power6/wcschr.c.
1643 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1647         file.
1648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1649         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1650         file: multiarch strchr for PPC32.
1651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1652         multiarch objects.
1653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1654         (__libc_ifunc_impl_list): Likewise.
1656 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1658         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1659         name.
1660         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1661         file.
1662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1663         file.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1665         multiarch strchrnul for PPC32.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1667         multiarch objects.
1668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1669         (__libc_ifunc_impl_list): Likewise.
1671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1674         file.
1675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1676         multiarch strncasecmp for PPC32.
1677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1678         file.
1679         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1680         multiarch strncasecmp_l for PPC32.
1681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1682         strncasecmp multiarch objects.
1683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1684         (__libc_ifunc_impl_list): Likewise.
1686 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1689         file.
1690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1691         multiarch strncasecmp for PPC32.
1692         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1693         New file.
1694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1695         multiarch strcasecmp_l for PPC32.
1696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1697         multiarch objects.
1698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1699         (__libc_ifunc_impl_list): Likewise.
1701 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1703         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1704         file.
1705         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1706         file.
1707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1708         multiarch strncmp for PPC32.
1709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1710         multiarch objects.
1711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1712         (__libc_ifunc_impl_list): Likewise.
1714 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1717         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1718         file.
1719         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1720         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1722         multiarch objects.
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1724         (__libc_ifunc_impl_list): Likewise.
1726 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1729         file.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1731         file.
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1734         multiarch objects.
1735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1736         (__libc_ifunc_impl_list): Likewise.
1738 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1741         file.
1742         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1743         file.
1744         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1745         multiarch rawmemchr for PPC32.
1746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1747         multiarch objects.
1748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1749         (__libc_ifunc_impl_list): Likewise.
1751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1754         file.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1756         file.
1757         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1758         file: memrchr multiarch for PPC32.
1759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1760         multiarch objects.
1761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1762         (__libc_ifunc_impl_list): Likewise.
1764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1767         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1768         file.
1769         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1770         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1771         multiarch memchr for PPC32.
1772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1773         multiarch objects.
1774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1775         (__libc_ifunc_impl_list): Likewise.
1777 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1779         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1780         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1781         file.
1782         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1783         file.
1784         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1785         file: multiarch mempcpy for PPC32.
1786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1787         multiarch objects.
1788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1789         (__libc_ifunc_impl_list): Likewise.
1791 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1794         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1795         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1796         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1797         multiarch bzero for PPC32.
1798         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1799         file.
1800         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1801         file.
1802         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1803         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1804         file: multiarch memset for PPC32.
1805         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1807         memset multiarch objects.
1808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1809         (__libc_ifunc_impl_list): Likewise.
1811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1814         file.
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1817         memcmp for PPC32.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1820         multiarch objects.
1821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1822         (__libc_ifunc_impl_list): Likewise.
1824 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1829         file.
1830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1831         file.
1832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1833         file.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1835         multiarch memcpy for PPC32.
1836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1837         multiarch objects.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1839         (__libc_ifunc_impl_list): Likewise.
1841 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1844         support multiarch for POWER/PPC32.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1846         Likewise.
1847         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1849         Implies file to make multiarch folder appers before the fpu and
1850         default folder for power4 configuration.
1852 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1854         * scripts/bench.pl: Append volatile keyword to type.
1856 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1858         * sysdeps/sh/sotruss-lib.c: New file.
1859         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1861 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1865 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1867         [BZ #6810]
1868         * math/w_tgamma.c: Include <errno.h>.
1869         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1870         * math/w_tgammaf.c: Include <errno.h>.
1871         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1872         * math/w_tgammal.c: Include <errno.h>.
1873         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1874         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1875         underflow.  Add more tgamma tests.
1876         * math/auto-libm-test-out: Regenerated.
1877         * sysdeps/i386/fpu/libm-test-ulps: Update.
1878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1881         sin, sinh, tan, tanh, tgamma, y0 and y1.
1882         * math/auto-libm-test-out: Regenerated.
1883         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1884         (TEST_COND_x86): Likewise.
1885         (M_E2l): Remove macro.
1886         (M_E3l): Likewise.
1887         (M_2_SQRT_PIl): Likewise.
1888         (M_SQRT_PIl): Likewise.
1889         (M_1_DIV_El): Likewise.
1890         (log_test_data): Use AUTO_TESTS_f_f.
1891         (log10_test_data): Likewise.
1892         (log1p_test_data): Likewise.
1893         (log2_test_data): Likewise.
1894         (sin_test_data): Likewise.
1895         (sin_tonearest_test_data): Likewise.
1896         (sin_towardzero_test_data): Likewise.
1897         (sin_downward_test_data): Likewise.
1898         (sin_upward_test_data): Likewise.
1899         (sinh_test_data): Likewise.
1900         (sinh_tonearest_test_data): Likewise.
1901         (sinh_towardzero_test_data): Likewise.
1902         (sinh_downward_test_data): Likewise.
1903         (sinh_upward_test_data): Likewise.
1904         (tan_test_data): Likewise.
1905         (tan_tonearest_test_data): Likewise.
1906         (tan_towardzero_test_data): Likewise.
1907         (tan_downward_test_data): Likewise.
1908         (tan_upward_test_data): Likewise.
1909         (tanh_test_data): Likewise.
1910         (tgamma_test_data): Likewise.
1911         (y0_test_data): Likewise.
1912         (y1_test_data): Likewise.
1913         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1914         (special_real_inputs): Add pi/4.
1915         * sysdeps/i386/fpu/libm-test-ulps: Update.
1916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1918 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1920         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1921         "longjmp_target" static probes.
1922         (__longjmp): Rename to __longjmp_symbol.
1923         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1924         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1925         on which longjmp to generate.
1926         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1927         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1928         probe.
1929         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1930         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1931         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1932         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1933         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1934         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1936         __longjmp_symbol based on which __longjmp to generate.
1937         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1938         probe.
1939         (setjmp): Rename to setjmp_symbol.
1940         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1941         (_setjmp): Rename to _setjmp_symbol.
1942         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1943         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1944         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1945         which setjmp to generate.
1946         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1947         "longjmp_target" static probes.
1949 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1951         * benchtests/README: Add note about output arguments.
1952         * benchtests/bench-sincos.c: Remove file.
1953         * benchtests/sincos-inputs: New file.
1954         * scripts/bench.pl: Identify output arguments and define
1955         static variables for them.
1957         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1959         [BZ #15941]
1960         * Makefile (INSTALL): Add install-plain.texi as the primary
1961         dependency.
1962         * manual/install-plain.texi: New file.
1963         * manual/install.texi: Include node directive only for
1964         non-plaintext output.
1966 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1968         * stdlib/longlong.h: Update from GCC.
1970         [BZ #6807]
1971         [BZ #15901]
1972         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1973         * math/w_j0f.c (y0f): Likewise.
1974         * math/w_j0l.c (__y0l): Likewise.
1975         * math/w_j1.c (y1): Likewise.
1976         * math/w_j1f.c (y1f): Likewise.
1977         * math/w_j1l.c (__y1l): Likewise
1978         * math/w_jn.c (yn): Likewise.
1979         * math/w_jnf.c (ynf): Likewise.
1980         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1981         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1982         value for Bessel function domain errors outside _SVID_ mode.
1983         Adjust sign of return value for yn (negative integer, 0).
1984         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1985         by zero in return for negative x and set sign appropriately for
1986         negative n.
1987         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1988         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1989         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1990         expectations in error cases.
1991         (y1_test_data): Likewise.
1992         (yn_test_data): Likewise.
1993         * sysdeps/i386/fpu/libm-test-ulps: Update.
1994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1996 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1998         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1999         "64" to "64-v1".  Add "64-v2".
2000         (abi-64-options): Rename to ...
2001         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2002         (abi-64-condition): Rename to ...
2003         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2004         (abi-64-ld-soname): Rename to ...
2005         (abi-64-v1-ld-soname): ... this.
2006         (abi-64-v2-options): Define.
2007         (abi-64-v2-condition): Likewise.
2008         (abi-64-v2-ld-soname): Likewise.
2009         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2010         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2015 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2016             Alan Modra  <amodra@gmail.com>
2018         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2019         New versions for use with the ELFv2 ABI.
2020         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2021         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2022         declaration.
2023         (struct La_ppc64v2_retval): Likewise.
2024         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2025         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2026         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2027         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2028         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2029         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2030         Do not save or restore CR.
2031         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2032         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2033         return values for ELFv2 ABI.  Fix location of FPR return registers.
2034         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2035         updated values for _CALL_ELF == 2.
2036         (La_regs, La_retval, int_retval): Likewise.
2038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2040         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2041         (FRAME_MIN_SIZE_PARM): Likewise.
2042         (FRAME_BACKCHAIN): Likewise.
2043         (FRAME_CR_SAVE): Likewise.
2044         (FRAME_LR_SAVE): Likewise.
2045         (FRAME_TOC_SAVE): Likewise.
2046         (FRAME_PARM_SAVE): Likewise.
2047         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2048         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2049         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2050         (call_mcount_parm_offset): New macro.
2051         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2052         (PROF): Use symbolic stack frame offsets.
2053         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2054         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2055         Redefine in terms of FRAME_MIN_SIZE.
2056         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2057         (_dl_profile_resolve): Likewise.  Update comment.
2058         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2059         symbols stack frame offsets.
2060         (__sigsetjmp): Likewise.
2061         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2062         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2064         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2067         (FRAME_BACKCHAIN): Remove.
2068         (FRAME_CR_SAVE): Likewise.
2069         (FRAME_LR_SAVE): Likewise.
2070         (FRAME_COMPILER_DW): Likewise.
2071         (FRAME_LINKER_DW): Likewise.
2072         (FRAME_TOC_SAVE): Likewise.
2073         (FRAME_PARM_SAVE): Likewise.
2074         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2075         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2076         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2078         (CHECK_SP): Use symbolic stack frame offsets.
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2080         zone" instead of caller's parameter save area for temp storage.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2082         Likewise.  Also, use symbolic stack frame offsets.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2084         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2085         our own stack frame instead of the caller's.
2086         (__socket): Use symbolic stack frame offsets.
2088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2089             Alan Modra  <amodra@gmail.com>
2091         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2092         Define.
2093         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2094         PPC64_LOCAL_ENTRY_OFFSET): Define.
2095         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2096         New function.
2097         (elf_machine_fixup_plt): Call it.
2098         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2099         reloc arguments.
2100         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2101         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2102         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2103         r2 before calling target.
2105 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2106             Alan Modra  <amodra@gmail.com>
2108         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2109         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2110         versions of macros to support ELFv2 ABI.
2111         (LOCALENTRY): New macro.
2112         (ENTRY, EALIGN): Use it.
2113         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2114         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2115         fall through into ENTRY entry point.
2116         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2117         Only define if _CALL_ELF != 2.
2119         (elf_machine_matches_host): Verify ABI version matches.
2120         (RTLD_START): Use LOCALENTRY.
2121         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2122         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2123         (PLT_ENTRY_WORDS): New macro.
2124         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2125         (elf_machine_runtime_setup): Support ELFv2 ABI.
2126         (elf_machine_fixup_plt): Likewise.
2127         (elf_machine_plt_conflict): Likewise.
2128         (resolve_ifunc): Likewise.
2129         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2131         Likewise.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2133         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2135         (makecontext): Support ELFv2 ABI.
2136         * elf/elf.h (EF_PPC64_ABI): Define.
2138 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2140         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2141         New assembler macro.
2142         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2143         [ASSEMBLER] (ENTRY): ... but instead here ...
2144         [ASSEMBLER] (EALIGN): ... and here.
2145         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2146         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2147         [!ASSEMBLER] (ENTRY_2): Use it.
2148         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2149         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2151         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2152         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2154         Use PPC64_LOAD_FUNCPTR.
2156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2158         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2160 2013-12-04  Alan Modra  <amodra@gmail.com>
2162         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2163         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2164         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2165         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2167         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2168         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2169         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2170         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2171         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2172         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2174 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2177         (__makecontext): Fix incorrect CFI when backtracing out of
2178         context created via makecontext.
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2180         (__setcontext): Fix incorrect CFI during switch to new context.
2181         (__novec_setcontext): Likewise.
2183 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2185         [BZ #4772]
2186         * time/strptime_l.c (__strptime_internal): Allow modifiers
2187         in strptime.
2188         * time/tst-strptime.c (day_tests): Add testcase.
2191 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2193         * scripts/bench.pl: Skip over blank lines.
2195 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2197         [BZ #926]
2198         * manual/time.texi (Calendar Time): Clarify what timezone functions
2199         use.
2201 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2205 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2207         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2208         implementation.
2209         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2210         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2211         * debug/memset_chk.c (__memset_chk): Likewise.
2212         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2213         * debug/strncpy_chk.c: Likewise.
2215 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #15268]
2218         [BZ #15425]
2219         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2220         (__ieee754_exp): For possibly underflowing results, check size of
2221         result and force underflow exception if required.
2222         * math/auto-libm-test-in: Add more tests of exp.
2223         * math/auto-libm-test-out: Regenerated.
2224         * sysdeps/i386/fpu/libm-test-ulps: Update.
2225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2227         [BZ #16283]
2228         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2229         * math/w_exp2f.c (__exp2f): Likewise.
2230         * math/w_exp2l.c (__exp2l): Likewise.
2231         * math/auto-libm-test-in: Do not allow missing errno on exp2
2232         underflow.
2233         * math/auto-libm-test-out: Regenerated.
2235 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2237         [BZ #16274]
2238         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2239         handle filename validation.
2240         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2241         (do_open): Delete.
2243 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2245         [BZ #6786]
2246         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2247         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2248         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2249         <float.h>.
2250         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2251         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2252         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2254         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2255         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2256         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2257         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2258         Add more erfc tests.
2259         * math/auto-libm-test-out: Regenerated.
2260         * sysdeps/i386/fpu/libm-test-ulps: Update.
2261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2263         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2264         exp2, expm1, j0 and j1.
2265         * math/auto-libm-test-out: Regenerated.
2266         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2267         (erfc_test_data): Likewise.
2268         (exp_test_data): Likewise.
2269         (exp_tonearest_test_data): Likewise.
2270         (exp_towardzero_test_data): Likewise.
2271         (exp_downward_test_data): Likewise.
2272         (exp_upward_test_data): Likewise.
2273         (exp10_test_data): Likewise.
2274         (exp2_test_data): Likewise.
2275         (expm1_test_data): Likewise.
2276         (j0_test_data): Likewise.
2277         (j1_test_data): Likewise.
2278         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2279         (input_flag_type): Add flag_xfail_rounding.
2280         (input_flags): Add xfail-rounding.
2281         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2282         (output_for_one_input_case): Handle flag_xfail_rounding.
2283         * sysdeps/i386/fpu/libm-test-ulps: Update.
2284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2286 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2288         [BZ #16289]
2289         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2290         division by 0.
2292 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2294         [BZ #16195]
2295         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2296         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2297         (STAP_PROBE0): New macro.
2298         (STAP_PROBE1): Likewise.
2299         (STAP_PROBE2): Likewise.
2300         (STAP_PROBE3): Likewise.
2301         (STAP_PROBE4): Likewise.
2303 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2305         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2307 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2309         * benchtests/Makefile (bench): Add sqrt.
2310         (LDLIBS-bench-sqrt): New.
2311         * benchtests/sqrt-input: New.
2313 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2315         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2316         (GAIH_EAI): Likewise.
2317         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2318         (gaih_inet): Likewise.
2319         (getaddrinfo): Don't use GAIH_EAI.
2321         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2322         (struct gaih): Remove definition.
2324 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2326         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2327         Use HERRNOP directly.
2329 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2333 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2335         * math/gen-auto-libm-tests.c (test_functions): Add more
2336         single-argument functions.
2337         (special_fill_pi_2): New function.
2338         (special_fill_minus_pi_2): Likewise.
2339         (special_fill_pi_6): Likewise.
2340         (special_fill_minus_pi_6): Likewise.
2341         (special_fill_pi_3): Likewise.
2342         (special_fill_2pi_3): Likewise.
2343         (special_fill_e): Likewise.
2344         (special_fill_1_e): Likewise.
2345         (special_fill_e_minus_1): Likewise.
2346         (special_real_inputs): Add more special inputs.
2347         (output_for_one_input_case): Do not require ERANGE on underflow to
2348         zero if round-to-nearest result does not underflow to zero, unless
2349         exact results required.
2350         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2351         atan, atanh, cbrt, cos and cosh.
2352         * math/auto-libm-test-out: Regenerated.
2353         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2354         (acos_tonearest_test_data): Likewise.
2355         (acos_towardzero_test_data): Likewise.
2356         (acos_downward_test_data): Likewise.
2357         (acos_upward_test_data): Likewise.
2358         (acosh_test_data): Likewise.
2359         (asin_test_data): Likewise.
2360         (asin_tonearest_test_data): Likewise.
2361         (asin_towardzero_test_data): Likewise.
2362         (asin_upward_test_data): Likewise.
2363         (asinh_test_data): Likewise.
2364         (atan_test_data): Likewise.
2365         (atanh_test_data): Likewise.
2366         (cbrt_test_data): Likewise.
2367         (cos_test_data): Likewise.
2368         (cos_tonearest_test_data): Likewise.
2369         (cos_towardzero_test_data): Likewise.
2370         (cos_downward_test_data): Likewise.
2371         (cos_upward_test_data): Likewise.
2372         (cosh_test_data): Likewise.
2373         (cosh_tonearest_test_data): Likewise.
2374         (cosh_towardzero_test_data): Likewise.
2375         (cosh_downward_test_data): Likewise.
2376         (cosh_upward_test_data): Likewise.
2377         * sysdeps/i386/fpu/libm-test-ulps: Update.
2378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2380 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2382         [BZ #6787]
2383         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2384         * math/w_exp10f.c (__exp10f): Likewise.
2385         * math/w_exp10l.c (__exp10l): Likewise.
2386         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2387         errno settings in existing tests.
2389         [BZ #14032]
2390         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2391         precision control set to double precision.
2392         * sysdeps/i386/fpu/w_sqrt.c: New file.
2393         * math/auto-libm-test-in: Add more tests.
2394         * math/auto-libm-test-out: Update.
2396         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2397         (sqrt_test_tonearest): New function.
2398         (sqrt_towardzero_test_data): New variable.
2399         (sqrt_test_towardzero): New function.
2400         (sqrt_downward_test_data): New variable.
2401         (sqrt_test_downward): New function.
2402         (sqrt_upward_test_data): New variable.
2403         (sqrt_test_upward): New function.
2404         (main): Call the new functions.
2406         * math/gen-auto-libm-tests.c: New file.
2407         * math/auto-libm-test-in: Likewise.
2408         * math/auto-libm-test-out: New generated file.
2409         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2410         variables.
2411         (%beautify): Add generated representations of zero.
2412         (top level): Set $auto_input and call parse_auto_input.
2413         (beautify): Remove trailing "f" from hex float constants.
2414         (parse_args): Handle XFAIL_TEST.
2415         (convert_condition): New function.
2416         (or_value): Likewise.
2417         (or_cond_value): Likewise.
2418         (generate_testfile): Handle AUTO_TESTS_* lines.
2419         (parse_auto_input): New function.
2420         * math/libm-test.inc (XFAIL_TEST): New macro.
2421         (ERRNO_UNCHANGED): Update value.
2422         (ERRNO_EDOM): Likewise.
2423         (ERRNO_ERANGE): Likewise.
2424         (IGNORE_RESULT): Likewise.
2425         (TEST_COND_flt_32): New macro.
2426         (TEST_COND_dbl_64): Likewise.
2427         (TEST_COND_ldbl_96_intel): Likewise.
2428         (TEST_COND_ldbl_96_m68k): Likewise.
2429         (TEST_COND_ldbl_128): Likewise.
2430         (TEST_COND_ldbl_128ibm): Likewise.
2431         (TEST_COND_long32): Likewise.
2432         (TEST_COND_long64): Likewise.
2433         (TEST_COND_before_rounding): Likewise.
2434         (TEST_COND_after_rounding): Likewise.
2435         (enable_test): Handle XFAIL_TEST flag.
2436         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2437         with finite results.
2438         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2439         auto-libm-test-out.
2441 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2442             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2444         [BZ #16214]
2445         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2446         __tls_get_addr_internal instead of __tls_get_offset in order to
2447         avoid GOT pointer dependency.  Make rtld export
2448         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2449         __tls_get_addr since we are a __tls_get_offset platform.
2450         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2451         GOT pointer being set up before.
2452         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2454 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2456         * manual/math.texi (Errors in Math Functions): Document accuracy
2457         goals.
2459         [BZ #15004]
2460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2461         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2464         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2466         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2471         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2477         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2478         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2479         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2480         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2481         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2482         Likewise.
2483         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2484         Likewise.
2485         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2486         Likewise.
2487         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2488         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2489         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2490         atomic-feupdateenv and flt-rounds.
2491         * sysdeps/powerpc/nofpu/Versions (libc): Add
2492         __atomic_feholdexcept, __atomic_feclearexcept,
2493         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2494         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2495         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2497         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2498         here.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2500         Update.
2502         * manual/arith.texi (FP Exceptions): Document that exceptions may
2503         not be raised when matherr is used.
2504         (Math Error Reporting): Document overflow in directed rounding
2505         modes.  Document that errno may not be set when finite values are
2506         returned on overflow.  Document intent to set errno on underflow
2507         only for underflow to zero.
2509         [BZ #16271]
2510         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2511         round-to-nearest then adjust result for other rounding modes.
2512         * include/fenv.h (fegetround): Use libm_hidden_proto.
2513         * math/fegetround.c (fegetround): Use libm_hidden_def.
2514         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2515         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2516         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2517         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2518         Likewise.
2519         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2520         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2521         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2522         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2524 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2526         [BZ #16077]
2527         * nss/Versions (libnss_files): Add
2528         _nss_files_gethostbyname3_r.
2529         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2530         New function.
2531         (HOST_DB_LOOKUP): Remove macro.
2532         (_nss_files_gethostbyname_r): Implement function without the
2533         HOST_DB_LOOKUP macro.
2534         (_nss_files_gethostbyname2_r): Likewise.
2536 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2538         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2540 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2542         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2543         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2544         warning.
2546 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2548         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2549         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2550         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2551         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2552         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2553         __fe_nomask_env_priv and attribute_hidden.
2554         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2555         (libc_feupdateenv_test_ppc): Likewise.
2556         (libc_feresetround_ppc): Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2558         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2559         compat_symbol macro.
2560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2561         (__fe_nomask_env): Likewise.
2562         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2564 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2566         * string/Makefile: Remove ifunc tests.
2567         * string/test-string.h: Define TEST_IFUNC.
2568         * string/test-bcopy-ifunc.c: Remove.
2569         * string/test-bzero-ifunc.c: Likewise.
2570         * string/test-memccpy-ifunc.c: Likewise.
2571         * string/test-memchr-ifunc.c: Likewise.
2572         * string/test-memcmp-ifunc.c: Likewise.
2573         * string/test-memcpy-ifunc.c: Likewise.
2574         * string/test-memmem-ifunc.c: Likewise.
2575         * string/test-memmove-ifunc.c: Likewise.
2576         * string/test-mempcpy-ifunc.c: Likewise.
2577         * string/test-memrchr-ifunc.c: Likewise.
2578         * string/test-memset-ifunc.c: Likewise.
2579         * string/test-rawmemchr-ifunc.c: Likewise.
2580         * string/test-stpcpy-ifunc.c: Likewise.
2581         * string/test-stpncpy-ifunc.c: Likewise.
2582         * string/test-strcasecmp-ifunc.c: Likewise.
2583         * string/test-strcasestr-ifunc.c: Likewise.
2584         * string/test-strcat-ifunc.c: Likewise.
2585         * string/test-strchr-ifunc.c: Likewise.
2586         * string/test-strchrnul-ifunc.c: Likewise.
2587         * string/test-strcmp-ifunc.c: Likewise.
2588         * string/test-strcpy-ifunc.c: Likewise.
2589         * string/test-strcspn-ifunc.c: Likewise.
2590         * string/test-strlen-ifunc.c: Likewise.
2591         * string/test-strncasecmp-ifunc.c: Likewise.
2592         * string/test-strncat-ifunc.c: Likewise.
2593         * string/test-strncmp-ifunc.c: Likewise.
2594         * string/test-strncpy-ifunc.c: Likewise.
2595         * string/test-strnlen-ifunc.c: Likewise.
2596         * string/test-strpbrk-ifunc.c: Likewise.
2597         * string/test-strrchr-ifunc.c: Likewise.
2598         * string/test-strspn-ifunc.c: Likewise.
2599         * string/test-strstr-ifunc.c: Likewise.
2601 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2603         * benchtests/Makefile: Remove ifunc tests.
2604         * benchtests/bench-string.h: Define TEST_IFUNC.
2605         * benchtests/bench-bcopy-ifunc.c: Remove.
2606         * benchtests/bench-bzero-ifunc.c: Likewise.
2607         * benchtests/bench-memccpy-ifunc.c: Likewise.
2608         * benchtests/bench-memchr-ifunc.c: Likewise.
2609         * benchtests/bench-memcmp-ifunc.c: Likewise.
2610         * benchtests/bench-memcpy-ifunc.c: Likewise.
2611         * benchtests/bench-memmem-ifunc.c: Likewise.
2612         * benchtests/bench-memmove-ifunc.c: Likewise.
2613         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2614         * benchtests/bench-memrchr-ifunc.c: Likewise.
2615         * benchtests/bench-memset-ifunc.c: Likewise.
2616         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2617         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2618         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2619         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2620         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2621         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2622         * benchtests/bench-strcat-ifunc.c: Likewise.
2623         * benchtests/bench-strchr-ifunc.c: Likewise.
2624         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2625         * benchtests/bench-strcmp-ifunc.c: Likewise.
2626         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2627         * benchtests/bench-strcpy-ifunc.c: Likewise.
2628         * benchtests/bench-strcspn-ifunc.c: Likewise.
2629         * benchtests/bench-strlen-ifunc.c: Likewise.
2630         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2631         * benchtests/bench-strncat-ifunc.c: Likewise.
2632         * benchtests/bench-strncmp-ifunc.c: Likewise.
2633         * benchtests/bench-strncpy-ifunc.c: Likewise.
2634         * benchtests/bench-strnlen-ifunc.c: Likewise.
2635         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2636         * benchtests/bench-strrchr-ifunc.c: Likewise.
2637         * benchtests/bench-strsep-ifunc.c: Likewise.
2638         * benchtests/bench-strspn-ifunc.c: Likewise.
2639         * benchtests/bench-strstr-ifunc.c: Likewise.
2641 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2643         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2645 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2647         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2648         * rt/aio.h: Likewise.
2649         * sysdeps/gnu/bits/utmp.h: Likewise.
2650         * sysdeps/gnu/bits/utmpx.h: Likewise.
2651         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2652         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2653         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2654         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2655         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2656         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2657         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2658         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2659         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2660         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2662         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2666         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2667         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2668         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2669         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2670         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2671         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2672         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2673         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2675         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2677         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2678         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2679         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2680         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2681         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2682         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2683         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2685         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2686         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2687         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2688         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2689         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2690         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2691         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2692         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2694 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2696         [BZ #16245]
2697         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2698         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2700 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2702         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2704         Likewise.
2706 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2709         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2710         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2711         (__fesetround): Remove define.
2712         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2713         rounding and exceptions handling.
2714         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2715         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2716         (__fe_nomask_env): Likewise.
2717         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2718         __fegetround instead of fegetround.
2719         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2720         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2722 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2724         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2725         it's there.
2727         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2729 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2731         [BZ #11157]
2732         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2733         (encrypt_r): Likewise.
2734         * malloc/obstack.h (obstack_free): Likewise.
2735         * posix/unistd.h (encrypt): Likewise.
2737 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2739         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2740         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2741         DL_CALL_DT_FINI() that call the functions directly.
2742         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2743         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2744         * elf/dl-fini.c: Likewise.
2746 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2748         * malloc/hooks.c (memalign_check): Add alignment rounding.
2749         * malloc/malloc.c (_mid_memalign): New function.
2750         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2751         Implement by calling _mid_memalign.
2752         * manual/probes.texi (Memory Allocation Probes): Remove
2753         memory_valloc_retry and memory_pvalloc_retry.
2755 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2757         * locale/programs/locarchive.c (open_archive): Add const
2758         qualifier to ARCHIVEFNAME and copy default fname to
2759         DEFAULT_FNAME.
2761         [BZ #15601]
2762         * libio/tst-widetext.input: Rename Oriya to Odia.
2763         * locale/iso-639.def: Likewise.
2765         * manual/probes.texi (Mathematical Function Probes): Add
2766         documentation for sin, cos, asin and acos probes.
2767         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2768         (__sin32): Add slowasin probe.
2769         (__cos32): Add slowacos probe.
2770         (__mpsin): Add slowsin probe.
2771         (__mpcos): Add slowcos probe.
2773 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2775         [BZ #15483]
2776         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2777         thread-local __sim_exceptions_thread and global
2778         __sim_exceptions_global.
2779         (__sim_disabled_exceptions): Change to thread-local
2780         __sim_disabled_exceptions_thread and global
2781         __sim_disabled_exceptions_global.
2782         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2783         and global __sim_round_mode_global.
2784         (__simulate_exceptions): Use thread-local floating-point state and
2785         set global state from it as needed.
2786         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2787         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2788         __sim_round_mode_thread.
2789         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2790         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2791         and global __sim_exceptions_global.
2792         (__sim_disabled_exceptions): Change to thread-local
2793         __sim_disabled_exceptions_thread and global
2794         __sim_disabled_exceptions_global.
2795         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2796         and global __sim_round_mode_global.
2797         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2798         (SIM_SET_GLOBAL): Likewise.
2799         * sysdeps/powerpc/soft-fp/sfp-machine.h
2800         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2801         __sim_round_mode_thread.
2802         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2803         __sim_disabled_exceptions_thread.
2804         (__sim_exceptions): Change to __sim_exceptions_thread.
2805         (__sim_disabled_exceptions): Change to
2806         __sim_disabled_exceptions_thread.
2807         (__sim_round_mode): Change to __sim_round_mode_thread.
2808         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2809         thread-local floating-point state and set global state from it as
2810         needed.
2811         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2812         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2813         (__sim_disabled_exceptions): Remove extern declaration.
2814         (feenableexcept): Use thread-local floating-point state and set
2815         global state from it as needed.
2816         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2817         extern declaration.
2818         (__sim_disabled_exceptions): Likewise.
2819         (__sim_round_mode): Likewise.
2820         (__fegetenv): Use thread-local floating-point state.
2821         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2822         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2823         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2824         floating-point state and set global state from it as needed.
2825         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2826         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2827         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2828         Likewise.
2829         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2830         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2831         Likewise.
2832         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2833         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2834         Use __sim_round_mode_thread.
2835         * math/test-fenv-tls.c: New file.
2836         * math/Makefile (tests): Add test-fenv-tls.
2837         ($(objpfx)test-fenv-tls): Depend on
2838         $(common-objpfx)nptl/libpthread.so.
2840 2013-11-19  Andreas Schwab  <schwab@suse.de>
2842         * locale/programs/locale.c (show_info): Decode wordarray elements.
2843         * locale/categories.def (LC_MONETARY): Add element for
2844         _NL_MONETARY_CRNCYSTR.
2845         * locale/C-monetary.c (conversion_rate): New variable.
2846         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2847         element.
2849 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2851         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2852         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2854 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2856         * elf/Makefile (tst-auxv): New test.
2857         * elf/tst-auxv.c: New
2858         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2860 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2862         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2863         (hidden_proto): Caller changed.
2864         (hidden_tls_proto): New macro.
2865         (libc_hidden_tls_proto): Likewise.
2866         (rtld_hidden_tls_proto): Likewise.
2867         (libm_hidden_tls_proto): Likewise.
2868         (libresolv_hidden_tls_proto): Likewise.
2869         (librt_hidden_tls_proto): Likewise.
2870         (libdl_hidden_tls_proto): Likewise.
2871         (libnss_files_hidden_tls_proto): Likewise.
2872         (libnsl_hidden_tls_proto): Likewise.
2873         (libnss_nisplus_hidden_tls_proto): Likewise.
2874         (libutil_hidden_tls_proto): Likewise.
2876 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2878         [BZ #10253]
2879         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2880         (decompose_rpath): Defer expansion to fillin_rpath.
2881         (_dl_init_paths): Pass linkmap to fillin_rpath.
2883 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2885         * benchtests/Makefile: Add strsep.
2886         * benchtests/bench-strsep.c: New file: strsep benchtest.
2887         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2889 2013-11-18  Andreas Schwab  <schwab@suse.de>
2891         * locale/programs/locale.c (show_info) [case byte]: Check for
2892         '\377' instead of '\177'.
2893         * locale/C-monetary.c (not_available): Always use "\377".
2894         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2895         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2896         detect unavailable sign_posn locale elements.
2897         * locale/localeconv.c (__localeconv): For grouping and
2898         mon_grouping handle "\177" and "\377" like no grouping.
2899         (INT_ELEM): New macro.  Use it to set all numeric members.
2900         * locale/programs/ld-monetary.c (monetary_read)
2901         <tok_mon_grouping>: Normalize single -1 to the empty string.
2902         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2903         Likewise.
2905 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2907         [BZ #16055]
2908         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2909         when we match (nil).
2910         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2912 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2914         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2915         (NO_TEST_INLINE): Update value.
2916         (ERRNO_UNCHANGED): Likewise.
2917         (ERRNO_EDOM): Likewise.
2918         (ERRNO_ERANGE): Likewise.
2919         (IGNORE_RESULT): Likewise.
2920         (check_float_internal): Check signs of NaN results if
2921         TEST_NAN_SIGN used.
2922         (check_complex): Pass TEST_NAN_SIGN flag through to second
2923         check_float_internal call.
2924         (copysign_test_data): Add tests with quiet NaNs as second
2925         argument.  Use TEST_NAN_SIGN.
2926         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2927         TEST_NAN_SIGN.
2928         (signbit_test_data): Add tests of quiet NaN argument.
2929         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2931         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2932         $ignore_result.
2933         (parse_args): Handle function results specified as IGNORE.
2934         * math/libm-test.inc (IGNORE_RESULT): New macro.
2935         (check_float_internal): Do not check numerical result if flag
2936         IGNORE_RESULT set.
2937         (check_complex): Pass through IGNORE_RESULT to second
2938         check_float_internal call.
2939         (check_int): Do not check numerical result if flag IGNORE_RESULT
2940         set.
2941         (check_long): Likewise.
2942         (check_bool): Likewise.
2943         (check_longlong): Likewise.
2944         (lrint_test_data): Add tests of infinite and NaN arguments.
2945         (lrint_tonearest_test_data): Likewise.
2946         (lrint_towardzero_test_data): Likewise.
2947         (lrint_downward_test_data): Likewise.
2948         (lrint_upward_test_data): Likewise.
2949         (llrint_test_data): Likewise.
2950         (llrint_tonearest_test_data): Likewise.
2951         (llrint_towardzero_test_data): Likewise.
2952         (llrint_downward_test_data): Likewise.
2953         (llrint_upward_test_data): Likewise.
2954         (lround_test_data): Likewise.
2955         (llround_test_data): Likewise.
2957         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2958         (ERRNO_UNCHANGED): Update value.
2959         (ERRNO_EDOM): Likewise.
2960         (ERRNO_ERANGE): Likewise.
2961         (NO_TEST_INLINE_FLOAT): New macro.
2962         (NO_TEST_INLINE_DOUBLE): Likewise.
2963         (enable_test): New function.
2964         (RUN_TEST_f_f): Check enable_test before running test.
2965         (RUN_TEST_2_f): Likewise.
2966         (RUN_TEST_fff_f): Likewise.
2967         (RUN_TEST_c_f): Likewise.
2968         (RUN_TEST_f_f1): Likewise.
2969         (RUN_TEST_fF_f1): Likewise.
2970         (RUN_TEST_fI_f1): Likewise.
2971         (RUN_TEST_ffI_f1): Likewise.
2972         (RUN_TEST_c_c): Likewise.
2973         (RUN_TEST_cc_c): Likewise.
2974         (RUN_TEST_f_i): Likewise.
2975         (RUN_TEST_f_i_tg): Likewise.
2976         (RUN_TEST_ff_i_tg): Likewise.
2977         (RUN_TEST_f_b): Likewise.
2978         (RUN_TEST_f_b_tg): Likewise.
2979         (RUN_TEST_f_l): Likewise.
2980         (RUN_TEST_f_L): Likewise.
2981         (RUN_TEST_fFF_11): Likewise.
2982         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2983         conditionals.
2984         (cosh_test_data): Likewise.
2985         (exp_test_data): Likewise.
2986         (expm1_test_data): Likewise.
2987         (hypot_test_data): Likewise.
2988         (pow_test_data): Likewise.
2989         (sinh_test_data): Likewise.
2990         (tanh_test_data): Likewise.
2991         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2992         flags argument.
2994         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2995         tests with quiet NaN input and output.
2996         (acosh_test_data): Likewise.
2997         (asin_test_data): Likewise.
2998         (asinh_test_data): Likewise.
2999         (atan_test_data): Likewise.
3000         (atanh_test_data): Likewise.
3001         (atan2_test_data): Likewise.
3002         (cbrt_test_data): Likewise.
3003         (cos_test_data): Likewise.
3004         (cosh_test_data): Likewise.
3005         (erf_test_data): Likewise.
3006         (erfc_test_data): Likewise.
3007         (exp_test_data): Likewise.
3008         (exp10_test_data): Likewise.
3009         (exp2_test_data): Likewise.
3010         (expm1_test_data): Likewise.
3011         (hypot_test_data): Likewise.
3012         (j0_test_data): Likewise.
3013         (j1_test_data): Likewise.
3014         (jn_test_data): Likewise.
3015         (lgamma_test_data): Likewise.
3016         (log_test_data): Likewise.
3017         (log10_test_data): Likewise.
3018         (log1p_test_data): Likewise.
3019         (log2_test_data): Likewise.
3020         (pow_test_data): Likewise.
3021         (scalb_test_data): Likewise.
3022         (sin_test_data): Likewise.
3023         (sincos_test_data): Likewise.
3024         (sinh_test_data): Likewise.
3025         (tan_test_data): Likewise.
3026         (tanh_test_data): Likewise.
3027         (tgamma_test_data): Likewise.
3028         (y0_test_data): Likewise.
3029         (y1_test_data): Likewise.
3030         (yn_test_data): Likewise.
3032         [BZ #16167]
3033         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3034         argument being NaN and avoid computations with second argument in
3035         that case.
3036         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3037         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3038         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3040 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3042         * locale/iso-639.def: Add Chitwani Tharu (the).
3044 2013-11-14  Andreas Schwab  <schwab@suse.de>
3046         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3047         word instead of empty string.
3049 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3052         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3054         (__fe_nomask_env): Likewise.
3056 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3058         * benchtests/bench-timing.h: Include time.h.
3060 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3062         [BZ #15997]
3063         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3064         to 3.4.0 for x32.
3065         * sysdeps/unix/sysv/linux/configure: Regenerated.
3067 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3069         [BZ #16151]
3070         * stdlib/strtod_l.c (round_and_return): Do not consider
3071         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3072         exponent one less than half the least subnormal exponent.
3073         * stdlib/test-strtod-round-data: Add more tests.
3074         * stdlib/tst-strtod-round.c (tests): Regenerated.
3076 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3078         [BZ #14143]
3079         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3080         (__fe_mask_env): Likewise.
3081         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3082         libm_hidden_proto and add function prototype.
3083         (__fe_mask_env): Add function prototype.
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3085         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3087         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3089         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3091 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3093         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3094         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3096 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3098         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3099         of htab_find_slot().
3101 2013-11-11  David S. Miller  <davem@davemloft.net>
3103         [BZ #16150]
3104         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3105         symbol in the non-vis3 case in static builds.
3106         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3107         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3108         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3109         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3111 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3113         [BZ #387]
3114         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3115         it is empty.
3117 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3119         * benchtests/Makefile: Add bench-strtod.
3120         * benchtests/bench-strtod.c: New file: strtod benchtest
3122 2013-11-11  Andreas Schwab  <schwab@suse.de>
3124         [BZ #16153]
3125         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3126         terminating NUL in key length.
3128 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3131         Add artificial ODP entry for vDSO symbol for PPC64.
3132         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3133         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3135 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3137         [BZ #15374]
3138         * nss/getent.c (services_keys): Recognize services starting with digit.
3140 2013-11-06  David S. Miller  <davem@davemloft.net>
3142         [BZ #15985]
3143         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3144         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3146 2013-11-06  Will Newton  <will.newton@linaro.org>
3148         * manual/memory.texi (Malloc Examples): Remove register
3149         keyword from examples.
3151 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3153         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3155 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3157         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3158         depending on [__GCC_IEC_559 > 0].
3159         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3160         depending on [__GCC_IEC_559_COMPLEX > 0].
3162 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3164         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3165         to iso-639.def.
3167 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3169         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3171 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3173         [BZ #16112]
3174         * malloc/malloc (malloc_info): Do not handle first bin as
3175         special case.
3177 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3179         * locale/iso-639.def: Add Central Nahuatl (nhn).
3181 2013-11-01  Bruno Haible  <bruno@clisp.org>
3183         [BZ #7003]
3184         * manual/math.texi (BSD Random): Specify range upper bound as
3185         in POSIX.
3187 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3189         * locale/iso-639.def: Add Meadow Mari (mhr).
3191 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3193         [BZ #14752], [BZ #15763]
3194         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3195         Validate name.
3196         * rt/tst_shm.c: Add test for escaping directory.
3198 2013-10-31  Andreas Schwab  <schwab@suse.de>
3200         [BZ #15917]
3201         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3202         followed by 'x' as part of digit sequence.
3203         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3205 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3207         [BZ #16037]
3208         * configure.ac: allow GNU Make 4.0 and greater.
3209         * configure: Regenerated.
3211 2013-10-30  Will Newton  <will.newton@linaro.org>
3213         [BZ #16038]
3214         * malloc/hooks.c (memalign_check): Limit alignment to the
3215         maximum representable power of two.
3216         * malloc/malloc.c (__libc_memalign): Likewise.
3217         * malloc/tst-memalign.c (do_test): Add test for very
3218         large alignment values.
3219         * malloc/tst-posix_memalign.c (do_test): Likewise.
3221 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3223         [BZ #11087]
3224         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3225         (munmap_chunk): Likewise.
3226         (mremap_chunk): Likewise.
3228 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3230         [BZ #15799]
3231         * stdlib/div.c (div): Remove obsolete code.
3232         * stdlib/ldiv.c (ldiv): Likewise.
3233         * stdlib/lldiv.c (lldiv): Likewise.
3235 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3237         [BZ #16071]
3238         * nss/nss_files/files-XXX.c (get_contents_ret): New
3239         enumerator.
3240         (get_contents): New function.
3241         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3243 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3245         * configure.in: Moved to ...
3246         * configure.ac: ... here. Change reference to configure.in
3247         to configure.ac.
3248         * sysdeps/arm/preconfigure.ac: ... here.
3249         configure.in to configure.ac.
3250         * sysdeps/gnu/configure.in: Moved to ...
3251         * sysdeps/gnu/configure.ac: ... here.
3252         * sysdeps/i386/configure.in: Moved to ...
3253         * sysdeps/i386/configure.ac: ... here.
3254         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3255         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3256         * sysdeps/mach/configure.in: Moved to ...
3257         * sysdeps/mach/configure.ac: ... here.
3258         * sysdeps/mach/hurd/configure.in: Moved to ...
3259         * sysdeps/mach/hurd/configure.ac: ... here.
3260         * sysdeps/powerpc/configure.in: Moved to ...
3261         * sysdeps/powerpc/configure.ac: ... here.
3262         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3263         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3264         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3265         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3266         * sysdeps/s390/s390-32/configure.in: Moved to ...
3267         * sysdeps/s390/s390-32/configure.ac: ... here.
3268         * sysdeps/s390/s390-64/configure.in: Moved to ...
3269         * sysdeps/s390/s390-64/configure.ac: ... here.
3270         * sysdeps/sh/configure.in: Moved to ...
3271         * sysdeps/sh/configure.ac: ... here.
3272         * sysdeps/sparc/configure.in: Moved to ...
3273         * sysdeps/sparc/configure.ac: ... here.
3274         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3275         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3276         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3277         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3278         * sysdeps/x86_64/configure.in: Moved to ...
3279         * sysdeps/x86_64/configure.ac: ... here.
3280         * sysdeps/x86_64/preconfigure.in: Moved to ...
3281         * sysdeps/x86_64/preconfigure.ac: ... here.
3282         * aclocal.m4: Change reference to configure.in to configure.ac.
3283         * config.h.in: Likewise.
3284         * manual/install.texi: Likewise.
3285         * manual/maint.texi: Likewise.
3286         * Makefile: Likewise.
3287         * malloc/Makefile: Likewise.
3288         * nscd/Makefile: Likewise.
3289         * Makeconfig: Change reference to configure.in and
3290         preconfigure.in to configure.ac and preconfigure.ac
3291         respectively.
3292         * INSTALL: Regenerated.
3293         * configure: Likewise.
3294         * sysdeps/gnu/configure: Likewise.
3295         * sysdeps/i386/configure: Likewise.
3296         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3297         * sysdeps/mach/configure: Likewise.
3298         * sysdeps/mach/hurd/configure: Likewise.
3299         * sysdeps/powerpc/configure: Likewise.
3300         * sysdeps/powerpc/powerpc32/configure: Likewise.
3301         * sysdeps/powerpc/powerpc64/configure: Likewise.
3302         * sysdeps/s390/s390-32/configure: Likewise.
3303         * sysdeps/s390/s390-64/configure: Likewise.
3304         * sysdeps/sh/configure: Likewise.
3305         * sysdeps/sparc/configure: Likewise.
3306         * sysdeps/unix/sysv/linux/configure: Likewise.
3307         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3308         * sysdeps/x86_64/configure: Likewise.
3309         * sysdeps/x86_64/preconfigure: Likewise.
3311 2013-10-29  Andreas Schwab  <schwab@suse.de>
3313         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3315 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3317         * benchtests/pow-inputs: Add new inputs.
3319         * benchtests/exp-inputs: Add new inputs.
3321         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3322         conditional check for return value.
3323         (__cos32): Likewise.
3325 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3327         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3328         to provide a boost for large inputs with word alignment.
3329         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3330         implementation based on optimized PPC64 strcpy.
3331         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3332         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3333         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3334         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3336 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3338         [BZ #2801]
3339         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3341 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3343         [BZ #14876]
3344         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3345         * time/tst-strptime.c (day_tests): Add testcase.
3347 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3349         [BZ #14029]
3350         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3352 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3354         [BZ #16074]
3355         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3356         MAP_FAILED on error.
3358 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3360         [BZ #16072]
3361         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3362         heap for large requests.
3364 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3366         [BZ #9954]
3367         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3368         result if the result has no associated interface.
3369         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3370         interface for all 127.X.Y.Z addresses.
3372 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3374         * locale/iso-639.def: Add Ligurian (lij)
3376 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3378         [BZ #15825]
3379         * sunrpc/rpc_main.c: Document rpcgen -5.
3381 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3383         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3385 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3387         [BZ #10278]
3388         * posix/glob.c: Match only directories when trailing slash is present.
3389         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3390         (main): Add testcase.
3392 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3394         [BZ #15670]
3395         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3397 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3399         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3400         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3401         AUTH_DES and cindex for FIPS 140-2.
3402         (DES Encryption): Add cindex FIPS 46-3.
3404         * locale/locarchive.h (struct locarhandle): Add fname.
3405         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3406         if an optional argument was specified to --list-archive,
3407         otherwise NULL.
3408         * locale/programs/locarchive.c (show_archive_content): Take new
3409         argument fname and pass it via ah.fname to open_archive.
3410         * locale/programs/localedef.h: Update decl.
3411         (open_archive): If AH->fname is non-null, open that file
3412         rather than the default file name, and don't ignore ENOENT.
3413         (create_archive): Set AH.fname to NULL.
3414         (delete_locales_from_archive): Likewise.
3415         (add_locales_to_archive): Likewise.
3416         * locale/programs/locfile.c (write_all_categories): Likewise.
3418 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3419             Aldy Hernandez  <aldyh@redhat.com>
3421         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3422         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3423         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3424         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3425         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3426         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3427         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3428         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3429         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3430         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3431         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3432         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3433         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3434         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3435         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3436         Likewise.
3437         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3438         Likewise.
3439         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3440         Likewise.
3441         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3442         Likewise.
3443         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3444         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3445         Likewise.
3446         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3447         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3448         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3449         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3450         Likewise.
3451         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3452         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3453         * sysdeps/powerpc/preconfigure: Likewise.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3455         Likewise.
3456         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3457         Replace contents of file by #include of <fenv_libc.h>.
3458         * sysdeps/powerpc/soft-fp/sfp-machine.h
3459         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3460         and <sys/prctl.h>.
3461         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3462         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3463         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3464         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3465         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3466         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3468         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3470         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3474         Allow copysignl PLT reference to be missing.
3476 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3477             Joseph Myers  <joseph@codesourcery.com
3479         [BZ #15948]
3480         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3481         single character.
3482         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3484 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3486         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3487         * elf/tst-tls1.c: Likewise.
3488         * elf/tst-tls10.h: Likewise.
3489         * elf/tst-tls14.c: Likewise.
3490         * elf/tst-tls2.c: Likewise.
3491         * elf/tst-tls3.c: Likewise.
3492         * elf/tst-tls4.c: Likewise.
3493         * elf/tst-tls5.c: Likewise.
3494         * elf/tst-tls6.c: Likewise.
3495         * elf/tst-tls7.c: Likewise.
3496         * elf/tst-tls8.c: Likewise.
3497         * elf/tst-tls9.c: Likewise.
3498         * elf/tst-tlsmod1.c: Likewise.
3499         * elf/tst-tlsmod13.c: Likewise.
3500         * elf/tst-tlsmod13a.c: Likewise.
3501         * elf/tst-tlsmod14a.c: Likewise.
3502         * elf/tst-tlsmod16a.c: Likewise.
3503         * elf/tst-tlsmod16b.c: Likewise.
3504         * elf/tst-tlsmod2.c: Likewise.
3505         * elf/tst-tlsmod3.c: Likewise.
3506         * elf/tst-tlsmod4.c: Likewise.
3507         * elf/tst-tlsmod5.c: Likewise.
3508         * elf/tst-tlsmod6.c: Likewise.
3510 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3512         [BZ #12486]
3513         * malloc/malloc.c: remove checks for statistics.
3515 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3517         [BZ #15277]
3518         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3519         * inet/tst-network.c: Add testcase.
3521 2013-10-17  Andreas Schwab  <schwab@suse.de>
3523         [BZ #15218]
3524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3525         to determine canonical name.
3527 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3529         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3530         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3532         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3533         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3534         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3535         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3536         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3537         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3538         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3539         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3540         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3541         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3542         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3543         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3544         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3545         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3546         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3547         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3548         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3549         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3550         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3551         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3552         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3553         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3554         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3555         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3556         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3557         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3558         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3559         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3561         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3562         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3563         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3564         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3565         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3566         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3567         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3569         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3570         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3571         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3572         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3577         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3578         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3579         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3581         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3588 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #16041]
3591         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3592         make result into a quiet NaN.
3594 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3596         * soft-fp/adddf3.c: Fix horizontal whitespace.
3597         * soft-fp/addsf3.c: Likewise.
3598         * soft-fp/addtf3.c: Likewise.
3599         * soft-fp/divdf3.c: Likewise.
3600         * soft-fp/divsf3.c: Likewise.
3601         * soft-fp/divtf3.c: Likewise.
3602         * soft-fp/double.h: Likewise.
3603         * soft-fp/eqdf2.c: Likewise.
3604         * soft-fp/eqsf2.c: Likewise.
3605         * soft-fp/eqtf2.c: Likewise.
3606         * soft-fp/extenddftf2.c: Likewise.
3607         * soft-fp/extended.h: Likewise.
3608         * soft-fp/extendsfdf2.c: Likewise.
3609         * soft-fp/extendsftf2.c: Likewise.
3610         * soft-fp/extendxftf2.c: Likewise.
3611         * soft-fp/fixdfdi.c: Likewise.
3612         * soft-fp/fixdfsi.c: Likewise.
3613         * soft-fp/fixdfti.c: Likewise.
3614         * soft-fp/fixsfdi.c: Likewise.
3615         * soft-fp/fixsfsi.c: Likewise.
3616         * soft-fp/fixsfti.c: Likewise.
3617         * soft-fp/fixtfdi.c: Likewise.
3618         * soft-fp/fixtfsi.c: Likewise.
3619         * soft-fp/fixtfti.c: Likewise.
3620         * soft-fp/fixunsdfdi.c: Likewise.
3621         * soft-fp/fixunsdfsi.c: Likewise.
3622         * soft-fp/fixunsdfti.c: Likewise.
3623         * soft-fp/fixunssfdi.c: Likewise.
3624         * soft-fp/fixunssfsi.c: Likewise.
3625         * soft-fp/fixunssfti.c: Likewise.
3626         * soft-fp/fixunstfdi.c: Likewise.
3627         * soft-fp/fixunstfsi.c: Likewise.
3628         * soft-fp/fixunstfti.c: Likewise.
3629         * soft-fp/floatdidf.c: Likewise.
3630         * soft-fp/floatdisf.c: Likewise.
3631         * soft-fp/floatditf.c: Likewise.
3632         * soft-fp/floatsidf.c: Likewise.
3633         * soft-fp/floatsisf.c: Likewise.
3634         * soft-fp/floatsitf.c: Likewise.
3635         * soft-fp/floattidf.c: Likewise.
3636         * soft-fp/floattisf.c: Likewise.
3637         * soft-fp/floattitf.c: Likewise.
3638         * soft-fp/floatundidf.c: Likewise.
3639         * soft-fp/floatundisf.c: Likewise.
3640         * soft-fp/floatunditf.c: Likewise.
3641         * soft-fp/floatunsidf.c: Likewise.
3642         * soft-fp/floatunsisf.c: Likewise.
3643         * soft-fp/floatunsitf.c: Likewise.
3644         * soft-fp/floatuntidf.c: Likewise.
3645         * soft-fp/floatuntisf.c: Likewise.
3646         * soft-fp/floatuntitf.c: Likewise.
3647         * soft-fp/fmadf4.c: Likewise.
3648         * soft-fp/fmasf4.c: Likewise.
3649         * soft-fp/fmatf4.c: Likewise.
3650         * soft-fp/gedf2.c: Likewise.
3651         * soft-fp/gesf2.c: Likewise.
3652         * soft-fp/getf2.c: Likewise.
3653         * soft-fp/ledf2.c: Likewise.
3654         * soft-fp/lesf2.c: Likewise.
3655         * soft-fp/letf2.c: Likewise.
3656         * soft-fp/muldf3.c: Likewise.
3657         * soft-fp/mulsf3.c: Likewise.
3658         * soft-fp/multf3.c: Likewise.
3659         * soft-fp/negdf2.c: Likewise.
3660         * soft-fp/negsf2.c: Likewise.
3661         * soft-fp/negtf2.c: Likewise.
3662         * soft-fp/op-1.h: Likewise.
3663         * soft-fp/op-2.h: Likewise.
3664         * soft-fp/op-4.h: Likewise.
3665         * soft-fp/op-8.h: Likewise.
3666         * soft-fp/op-common.h: Likewise.
3667         * soft-fp/quad.h: Likewise.
3668         * soft-fp/single.h: Likewise.
3669         * soft-fp/soft-fp.h: Likewise.
3670         * soft-fp/sqrtdf2.c: Likewise.
3671         * soft-fp/sqrtsf2.c: Likewise.
3672         * soft-fp/sqrttf2.c: Likewise.
3673         * soft-fp/subdf3.c: Likewise.
3674         * soft-fp/subsf3.c: Likewise.
3675         * soft-fp/subtf3.c: Likewise.
3676         * soft-fp/truncdfsf2.c: Likewise.
3677         * soft-fp/trunctfdf2.c: Likewise.
3678         * soft-fp/trunctfsf2.c: Likewise.
3679         * soft-fp/trunctfxf2.c: Likewise.
3680         * soft-fp/unorddf2.c: Likewise.
3681         * soft-fp/unordsf2.c: Likewise.
3682         * soft-fp/unordtf2.c: Likewise.
3684 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3686         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3687         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3689 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3691         * elf/dl-libc.c: Clear initfini list after freeing.
3693 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3695         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3696         * soft-fp/addsf3.c: Likewise.
3697         * soft-fp/addtf3.c: Likewise.
3698         * soft-fp/divdf3.c: Likewise.
3699         * soft-fp/divsf3.c: Likewise.
3700         * soft-fp/divtf3.c: Likewise.
3701         * soft-fp/double.h: Likewise.
3702         * soft-fp/eqdf2.c: Likewise.
3703         * soft-fp/eqsf2.c: Likewise.
3704         * soft-fp/eqtf2.c: Likewise.
3705         * soft-fp/extenddftf2.c: Likewise.
3706         * soft-fp/extended.h: Likewise.
3707         * soft-fp/extendsfdf2.c: Likewise.
3708         * soft-fp/extendsftf2.c: Likewise.
3709         * soft-fp/extendxftf2.c: Likewise.
3710         * soft-fp/fixdfdi.c: Likewise.
3711         * soft-fp/fixdfsi.c: Likewise.
3712         * soft-fp/fixdfti.c: Likewise.
3713         * soft-fp/fixsfdi.c: Likewise.
3714         * soft-fp/fixsfsi.c: Likewise.
3715         * soft-fp/fixsfti.c: Likewise.
3716         * soft-fp/fixtfdi.c: Likewise.
3717         * soft-fp/fixtfsi.c: Likewise.
3718         * soft-fp/fixtfti.c: Likewise.
3719         * soft-fp/fixunsdfdi.c: Likewise.
3720         * soft-fp/fixunsdfsi.c: Likewise.
3721         * soft-fp/fixunsdfti.c: Likewise.
3722         * soft-fp/fixunssfdi.c: Likewise.
3723         * soft-fp/fixunssfsi.c: Likewise.
3724         * soft-fp/fixunssfti.c: Likewise.
3725         * soft-fp/fixunstfdi.c: Likewise.
3726         * soft-fp/fixunstfsi.c: Likewise.
3727         * soft-fp/fixunstfti.c: Likewise.
3728         * soft-fp/floatdidf.c: Likewise.
3729         * soft-fp/floatdisf.c: Likewise.
3730         * soft-fp/floatditf.c: Likewise.
3731         * soft-fp/floatsidf.c: Likewise.
3732         * soft-fp/floatsisf.c: Likewise.
3733         * soft-fp/floatsitf.c: Likewise.
3734         * soft-fp/floattidf.c: Likewise.
3735         * soft-fp/floattisf.c: Likewise.
3736         * soft-fp/floattitf.c: Likewise.
3737         * soft-fp/floatundidf.c: Likewise.
3738         * soft-fp/floatundisf.c: Likewise.
3739         * soft-fp/floatunsidf.c: Likewise.
3740         * soft-fp/floatunsisf.c: Likewise.
3741         * soft-fp/floatuntidf.c: Likewise.
3742         * soft-fp/floatuntisf.c: Likewise.
3743         * soft-fp/floatuntitf.c: Likewise.
3744         * soft-fp/fmadf4.c: Likewise.
3745         * soft-fp/fmasf4.c: Likewise.
3746         * soft-fp/fmatf4.c: Likewise.
3747         * soft-fp/gedf2.c: Likewise.
3748         * soft-fp/gesf2.c: Likewise.
3749         * soft-fp/getf2.c: Likewise.
3750         * soft-fp/ledf2.c: Likewise.
3751         * soft-fp/lesf2.c: Likewise.
3752         * soft-fp/letf2.c: Likewise.
3753         * soft-fp/muldf3.c: Likewise.
3754         * soft-fp/mulsf3.c: Likewise.
3755         * soft-fp/multf3.c: Likewise.
3756         * soft-fp/negdf2.c: Likewise.
3757         * soft-fp/negsf2.c: Likewise.
3758         * soft-fp/negtf2.c: Likewise.
3759         * soft-fp/op-1.h: Likewise.
3760         * soft-fp/op-2.h: Likewise.
3761         * soft-fp/op-4.h: Likewise.
3762         * soft-fp/op-8.h: Likewise.
3763         * soft-fp/op-common.h: Likewise.
3764         * soft-fp/quad.h: Likewise.
3765         * soft-fp/single.h: Likewise.
3766         * soft-fp/soft-fp.h: Likewise.
3767         * soft-fp/sqrtdf2.c: Likewise.
3768         * soft-fp/sqrtsf2.c: Likewise.
3769         * soft-fp/sqrttf2.c: Likewise.
3770         * soft-fp/subdf3.c: Likewise.
3771         * soft-fp/subsf3.c: Likewise.
3772         * soft-fp/subtf3.c: Likewise.
3773         * soft-fp/truncdfsf2.c: Likewise.
3774         * soft-fp/trunctfdf2.c: Likewise.
3775         * soft-fp/trunctfsf2.c: Likewise.
3776         * soft-fp/trunctfxf2.c: Likewise.
3777         * soft-fp/unorddf2.c: Likewise.
3778         * soft-fp/unordsf2.c: Likewise.
3779         * soft-fp/unordtf2.c: Likewise.
3781 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3783         [BZ #15672]
3784         * misc/error.c (error_tail): Fix possible buffer overflow.
3786 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3788         [BZ #13028]
3789         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3790         address.
3792 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3794         [BZ #832]
3795         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3796         testing pipefail option.
3798 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3800         * soft-fp/double.h: Indent preprocessor directives inside #if.
3801         * soft-fp/extended.h: Likewise.
3802         * soft-fp/op-2.h: Likewise.
3803         * soft-fp/op-4.h: Likewise.
3804         * soft-fp/op-common.h: Likewise.
3805         * soft-fp/quad.h: Likewise.
3806         * soft-fp/single.h: Likewise.
3807         * soft-fp/soft-fp.h: Likewise.
3809 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3811         * iconv/iconv_prog.c: Fix typos.
3812         * stdio-common/psiginfo-data.h: Likewise.
3814 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3816         [BZ #15764]
3817         * locale/setlocale.c: Fix typo.
3819 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3821         [BZ #16036]
3822         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3823         signaling NaN arguments.
3824         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3825         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3827         [BZ #14910]
3828         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3829         unordered operands.
3830         * soft-fp/gesf2.c (__gesf2): Likewise.
3831         * soft-fp/getf2.c (__getf2): Likewise.
3832         * soft-fp/ledf2.c (__ledf2): Likewise.
3833         * soft-fp/lesf2.c (__lesf2): Likewise.
3834         * soft-fp/letf2.c (__letf2): Likewise.
3836         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3837         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3838         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3839         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3840         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3841         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3842         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3843         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3844         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3845         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3846         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3847         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3848         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3849         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3850         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3851         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3852         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3853         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3854         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3855         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3856         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3857         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3858         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3859         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3860         * soft-fp/floattidf.c (__floattidf): Likewise.
3861         * soft-fp/floattisf.c (__floattisf): Likewise.
3862         * soft-fp/floattitf.c (__floattitf): Likewise.
3863         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3864         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3865         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3866         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3867         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3868         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3869         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3870         * soft-fp/gesf2.c (__gesf2): Likewise.
3871         * soft-fp/getf2.c (__getf2): Likewise.
3872         * soft-fp/ledf2.c (__ledf2): Likewise.
3873         * soft-fp/lesf2.c (__lesf2): Likewise.
3874         * soft-fp/letf2.c (__letf2): Likewise.
3876         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3877         Undefine and redefine.
3878         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3879         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3880         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3881         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3882         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3883         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3884         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3885         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3886         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3887         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3888         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3889         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3890         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3891         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3892         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3894         [BZ #16032]
3895         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3896         without decrementing exponent if mantissa >= that for the
3897         denominator, not >.
3898         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3899         denominator, not >.  Decrement exponent in < case instead of
3900         incrementing in >= case.
3901         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3902         without decrementing exponent if mantissa >= that for the
3903         denominator, not >.
3905         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3906         computing saturated result for unsigned overflow.
3908 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909             Jeff Law  <law@redhat.com>
3911         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3912         (atan2Mp): Add systemtap probe marker.
3913         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3914         (__ieee754_log): Add systemtap probe marker.
3915         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3916         (atanMp): Add systemtap probe marker.
3917         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3918         (tanMp): Add systemtap probe marker.
3919         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3920         (__slowexp): Add systemtap probe marker.
3921         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3922         (__slowpow): Add systemtap probe marker.
3923         * manual/probes.texi: Document probes.
3925 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3927         [BZ #15362]
3928         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3929         written.
3930         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3931         written.
3932         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3933         written to buffer but not flushed.
3934         * libio/iofwrite_u.c:  Likewise.
3935         * libio/iopadn.c:  Return bytes returned even if EOF was
3936         encountered.
3937         * libio/iowpadn.c:  Likewise.
3938         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3939         if _IO_padn does not write the whole buffer.
3940         [!COMPILE_WPRINTF] (PAD): Likewise.
3942 2013-10-10  David S. Miller  <davem@davemloft.net>
3944         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3945         directory block.
3947 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3949         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3950         instead of FSF address.
3951         * soft-fp/fixdfti.c: Likewise.
3952         * soft-fp/fixsfti.c: Likewise.
3953         * soft-fp/fixtfti.c: Likewise.
3954         * soft-fp/fixunsdfti.c: Likewise.
3955         * soft-fp/fixunssfti.c: Likewise.
3956         * soft-fp/fixunstfti.c: Likewise.
3957         * soft-fp/floattidf.c: Likewise.
3958         * soft-fp/floattisf.c: Likewise.
3959         * soft-fp/floattitf.c: Likewise.
3960         * soft-fp/floatuntidf.c: Likewise.
3961         * soft-fp/floatuntisf.c: Likewise.
3962         * soft-fp/floatuntitf.c: Likewise.
3963         * soft-fp/trunctfxf2.c: Likewise.
3965         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3966         * soft-fp/fixdfti.c: Likewise.
3967         * soft-fp/fixsfti.c: Likewise.
3968         * soft-fp/fixtfti.c: Likewise.
3969         * soft-fp/fixunsdfti.c: Likewise.
3970         * soft-fp/fixunssfti.c: Likewise.
3971         * soft-fp/fixunstfti.c: Likewise.
3972         * soft-fp/floattidf.c: Likewise.
3973         * soft-fp/floattisf.c: Likewise.
3974         * soft-fp/floattitf.c: Likewise.
3975         * soft-fp/floatuntidf.c: Likewise.
3976         * soft-fp/floatuntisf.c: Likewise.
3977         * soft-fp/floatuntitf.c: Likewise.
3978         * soft-fp/trunctfxf2.c: Likewise.
3980 2013-10-10  David S. Miller  <davem@davemloft.net>
3982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3984 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3986         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3987         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3988         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3989         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3990         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3991         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3992         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3994         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3995         for NaNs before doing comparisons on argument.
3996         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3997         Likewise.
3999 2013-10-10  Will Newton  <will.newton@linaro.org>
4001         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4002         passed to _int_memalign does not overflow.
4004 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4006         * scripts/bench.pl: Add include-sources directive.
4007         * benchtests/README: Update documentation.
4009 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4011         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4012         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4013         instead of FP_INIT_ROUNDMODE.
4014         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4015         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4017         [BZ #16034]
4018         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4019         copy class of input value.
4020         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4021         not handle exceptions.
4022         * soft-fp/negsf2.c (__negsf2): Likewise.
4023         * soft-fp/negtf2.c (__negtf2): Likewise.
4024         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4026 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4028         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4029         semicolon.  From Linux kernel.
4031 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4033         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4035 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4037         [BZ #156]
4038         * manual/socket.texi: Added statement about buffer
4039         for gethostbyname2_r.
4041 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4043         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4044         Use .p2align directive instead, throughout.
4045         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4046         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4047         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4048         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4050         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4051         * sysdeps/x86_64/strchr.S: Likewise.
4052         * sysdeps/x86_64/strrchr.S: Likewise.
4054 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4056         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4058         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4060         * sysdeps/generic/math_private.h (__mpsin1): Remove
4061         declaration.
4062         (__mpcos1): Likewise.
4063         (__mpsin): New argument __range_reduce.
4064         (__mpcos): Likewise.
4065         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4066         (slow): Use __mpsin and __mpcos.
4067         (slow1): Likewise.
4068         (slow2): Likewise.
4069         (sloww): Likewise.
4070         (sloww1): Likewise.
4071         (sloww2): Likewise.
4072         (bsloww): Likewise.
4073         (bsloww1): Likewise.
4074         (bsloww2): Likewise.
4075         (cslow2): Likewise.
4076         (csloww): Likewise.
4077         (csloww1): Likewise.
4078         (csloww2): Likewise.
4079         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4080         range_reduce.  Merge in __mpsin1.
4081         (__mpcos): Likewise.
4082         (__mpsin1): Remove.
4083         (__mpcos1): Likewise.
4085 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4087         * locale/loadlocale.c (_nl_intern_locale_data): Use
4088         LOCFILE_ALIGNED_P.
4089         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4090         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4091         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4092         obstack data is appropriately aligned.
4093         (obstack_int32_grow_fast): Likewise.
4094         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4095         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4096         (add_locale_uint32_array): Likewise.
4098 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4100         * benchtests/Makefile: Remove ARGLIST and RET variables.
4101         ($(objpfx)bench-%.c): Pass only function name to the script.
4102         * benchtests/README: Update documentation.
4103         * benchtests/acos-inputs: Add new directives.
4104         * benchtests/acosh-inputs: Likewise.
4105         * benchtests/asin-inputs: Likewise.
4106         * benchtests/asinh-inputs: Likewise.
4107         * benchtests/atan-inputs: Likewise.
4108         * benchtests/atanh-inputs: Likewise.
4109         * benchtests/cos-inputs: Likewise.
4110         * benchtests/cosh-inputs: Likewise.
4111         * benchtests/exp-inputs: Likewise.
4112         * benchtests/log-inputs: Likewise.
4113         * benchtests/pow-inputs: Likewise.
4114         * benchtests/rint-inputs: Likewise.
4115         * benchtests/sin-inputs: Likewise.
4116         * benchtests/sinh-inputs: Likewise.
4117         * benchtests/tan-inputs: Likewise.
4118         * benchtests/tanh-inputs: Likewise.
4119         * scripts/bench.pl: Add support for new directives.
4121 2013-10-07  Alan Modra  <amodra@gmail.com>
4123         * README: Fix careless merge.
4125 2013-10-05  Alan Modra  <amodra@gmail.com>
4127         * NEWS: Mention powerpc64le support and bugs fixed.
4128         * README: Both big-endian and little-endian powerpc64 supported.
4130 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4132         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4133         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4134         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4135         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4137 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4139         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4140         match prototype.
4142 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4144         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4145         Move -mhard-float appending from
4146         ports/sysdeps/powerpc/powerpc32/Makefile.
4147         [$(with-fp) = yes] (ASFLAGS): Likewise.
4148         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4149         * sysdeps/powerpc/nofpu: Move directory from
4150         ports/sysdeps/powerpc/nofpu.
4151         * sysdeps/powerpc/soft-fp: Move directory from
4152         ports/sysdeps/powerpc/soft-fp.
4153         * sysdeps/powerpc/powerpc32/405: Move directory from
4154         ports/sysdeps/powerpc/powerpc32/405.
4155         * sysdeps/powerpc/powerpc32/440: Move directory from
4156         ports/sysdeps/powerpc/powerpc32/440.
4157         * sysdeps/powerpc/powerpc32/464: Move directory from
4158         ports/sysdeps/powerpc/powerpc32/464.
4159         * sysdeps/powerpc/powerpc32/476: Move directory from
4160         ports/sysdeps/powerpc/powerpc32/476.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4162         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4164         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4166         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4168         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4170         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4171         * README: Update for powerpc-*-linux-gnu software floating point
4172         support in libc.
4174         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4175         case to powerpc/powerpc32*.
4176         * sysdeps/unix/sysv/linux/configure: Regenerated.
4178         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4179         (_FPU_MASK_OM): Define as 0x04.
4180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4182         0x00c10080.
4183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4184         0x0000003c.
4185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4188         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4189         getcontext_e500.
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4191         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4192         setcontext_e500.
4193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4194         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4195         and setcontext_e500.
4197 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4199         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4201 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4203         * manual/threads.texi (Default Thread Attributes): Fix typo.
4205 2013-10-04  Will Newton  <will.newton@linaro.org>
4207         * malloc/Makefile: Add tst-memalign.
4208         * malloc/tst-memalign.c: New file.
4210         * malloc/tst-posix_memalign.c: Add comments.
4211         (do_test): Add comments and call free on all potentially
4212         allocated pointers. Add space after cast.
4214         * malloc/tst-pvalloc.c: Add comments.
4215         (do_test): Add comments and call free on all potentially
4216         allocated pointers. Remove duplicate check for NULL pointer.
4217         Add space after cast.
4219         * malloc/tst-valloc.c: Add comments.
4220         (do_test): Add comments and call free on all potentially
4221         allocated pointers. Remove duplicate check for NULL pointer.
4222         Add space after cast.
4224 2013-10-04  Alan Modra  <amodra@gmail.com>
4226         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4227         Use stdint types in rather than __attribute__((mode())).
4228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4230 2013-10-04  Alan Modra  <amodra@gmail.com>
4232         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4233         Correct handling of unaligned relocs for little-endian.
4234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4236 2013-10-04  Alan Modra  <amodra@gmail.com>
4238         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4239         * configure: Regenerate.
4240         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4241         * shlib-versions: Likewise.
4243 2013-10-04  Alan Modra  <amodra@gmail.com>
4245         * string/tester.c (test_memrchr): Increment reported test cycle.
4247 2013-10-04  Alan Modra  <amodra@gmail.com>
4249         * string/test-memcpy.c (do_one_test): When reporting errors, print
4250         string address and don't overrun end of string.
4252 2013-10-04  Alan Modra  <amodra@gmail.com>
4254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4255         insrdi.  Make better use of reg selection to speed exit slightly.
4256         Schedule entry path a little better.  Remove useless "are we done"
4257         checks on entry to main loop.  Handle wrapping around zero address.
4258         Correct main loop count.  Handle single left-over word from main
4259         loop inline rather than by using loop_small.  Remove extra word
4260         case in loop_small caused by wrong loop count.  Add little-endian
4261         support.
4262         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4263         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4264         cache hint.
4265         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4266         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4267         support.  Avoid rlwimi.
4268         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4270 2013-10-04  Alan Modra  <amodra@gmail.com>
4272         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4273         insrdi.  Formatting.
4274         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4275         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4276         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4277         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4278         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4279         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4281 2013-10-04  Alan Modra  <amodra@gmail.com>
4283         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4285         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4286         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4287         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4288         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4289         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4290         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4291         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4292         use of regs.  Use power7 mtocrf.  Tidy function tails.
4294 2013-10-04  Alan Modra  <amodra@gmail.com>
4296         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4297         Formatting.  Consistently use rXXX register defines or rN defines.
4298         Use early exit labels that avoid restoring unused non-volatile regs.
4299         Make cr field use more consistent with rWORDn compares.  Rename
4300         regs used as shift registers for unaligned loop, using rN defines
4301         for short lifetime/multiple use regs.
4302         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4304         addi 1,1,64 to pop stack frame.  Simplify return value code.
4305         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4307 2013-10-04  Alan Modra  <amodra@gmail.com>
4309         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4310         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4311         rather than rlwimi.
4312         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4313         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4314         little-endian support.  Correct typos.
4315         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4316         rather than rlwimi.
4317         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4318         in loop and entry code to keep "and." results.
4319         (strchr): Add little-endian support.  Comment.  Move cntlzd
4320         earlier in tail.
4321         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4323 2013-10-04  Alan Modra  <amodra@gmail.com>
4325         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4326         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4327         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4328         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4330 2013-10-04  Alan Modra  <amodra@gmail.com>
4332         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4333         (rTMP): Define as r11.
4334         (strcmp): Add little-endian support.  Optimise tail.
4335         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4336         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4337         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4338         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4343 2013-10-04  Alan Modra  <amodra@gmail.com>
4345         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4346         little-endian support.  Remove unnecessary "are we done" tests.
4347         Handle "s" wrapping around zero and extremely large "size".
4348         Correct main loop count.  Handle single left-over word from main
4349         loop inline rather than by using small_loop.  Correct comments.
4350         Delete "zero" tail, use "end_max" instead.
4351         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4353 2013-10-04  Alan Modra  <amodra@gmail.com>
4355         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4356         support.  Don't branch over align.
4357         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4358         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4359         support.  Rearrange tmp reg use to suit.  Comment.
4360         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4362 2013-10-04  Alan Modra  <amodra@gmail.com>
4364         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4366 2013-10-04  Alan Modra  <amodra@gmail.com>
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4369         conditional form of branch and link when obtaining pc.
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4372 2013-10-04  Alan Modra  <amodra@gmail.com>
4374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4375         HIWORD/LOWORD.
4376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4379 2013-10-04  Alan Modra  <amodra@gmail.com>
4381         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4382         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4383         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4384         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4385         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4386         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4387         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4388         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4389         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4390         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4392 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4393             Alistair Popple <alistair@ozlabs.au.ibm.com>
4394             Alan Modra <amodra@gmail.com>
4396         [BZ #15723]
4397         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4398         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4399         _dl_hwcap access for little-endian.
4400         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4401         destroy vmx regs when saving unaligned.
4402         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4403         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4404         destroy vmx regs when saving unaligned.
4406 2013-10-04  Alan Modra  <amodra@gmail.com>
4408         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4409         Don't use a union to pack hi/low value.
4411 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4413         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4414         for little-endian.
4415         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4416         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4417         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4418         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4419         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4421 2013-10-04  Alan Modra  <amodra@gmail.com>
4423         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4424         constants to usual value for .cst8 section, and remove redundant
4425         high address load.
4426         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4427         constant for 0x1p52.  Load little-endian words of double from
4428         correct stack offsets.
4430 2013-10-04  Alan Modra  <amodra@gmail.com>
4432         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4433         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4434         words of double from correct stack offsets.
4435         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4436         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4437         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4438         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4439         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4440         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4441         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4442         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4443         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4444         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4445         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4446         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4447         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4448         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4449         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4450         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4451         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4453 2013-10-04  Alan Modra  <amodra@gmail.com>
4455         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4456         64-bit int/double union.
4457         (_FPU_SETCW): Likewise.
4458         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4459         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4461 2013-10-04  Alan Modra  <amodra@gmail.com>
4463         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4464         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4466 2013-10-04  Alan Modra  <amodra@gmail.com>
4468         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4469         use vector int constants.
4470         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4472 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4474         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4475         array with long long.
4476         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4477         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4478         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4479         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4480         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4481         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4482         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4483         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4484         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4485         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4486         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4487         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4488         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4492         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4493         (__signbit): Likewise.  Correct for little-endian.
4494         (__signbitl): Call __signbit.
4495         (lrint): Correct for little-endian.
4496         (lrintf): Call lrint.
4498 2013-10-04  Alan Modra  <amodra@gmail.com>
4500         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4501         union 32-bit int array member with 64-bit int array.
4502         (t515, tm256): Double rather than long double.
4503         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4505 2013-10-04  Alan Modra  <amodra@gmail.com>
4507         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4508         Delete.
4509         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4510         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4511         version of math_ldbl.h.
4513 2013-10-04  Alan Modra  <amodra@gmail.com>
4515         [BZ #15734], [BZ #15735]
4516         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4517         all uses of ieee875 long double macros and unions.  Simplify test
4518         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4519         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4520         normalize after ldbl_extract_mantissa, and don't add hidden bit
4521         already handled.  Don't treat low word of ieee854 mantissa like
4522         low word of IBM long double and mask off bit when testing for
4523         zero.
4524         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4525         all uses of ieee875 long double macros and unions.  Simplify tests
4526         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4527         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4528         two1022, instead use their values.  Recognise that tests for large
4529         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4530         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4531         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4532         test for 0.0L and nan.  Correct negation.
4533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4534         ieee875 long double macros and unions.  Correct output for large
4535         magnitude x.  Correct absolute value calculation.
4536         (__erfcl): Likewise.
4537         * math/libm-test.inc: Add tests for errors discovered in IBM long
4538         double versions of fmodl, remainderl, erfl and erfcl.
4540 2013-10-04  Alan Modra  <amodra@gmail.com>
4542         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4543         all uses of ieee854 long double macros and unions.  Simplify tests
4544         for long doubles that are fully specified by the high double.
4545         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4546         Likewise.
4547         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4548         Remove dead code too.
4549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4550         (__ieee754_ynl): Likewise.
4551         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4553         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4554         Remove dead code too.
4555         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4556         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4557         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4558         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4559         Simplify.
4560         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4561         Simplify.
4562         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4563         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4565         Comment on variable precision.
4566         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4567         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4568         Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4573         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4575 2013-10-04  Alan Modra  <amodra@gmail.com>
4577         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4579         all uses of ieee854 long double macros and unions.
4580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4585         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4586         Likewise.
4587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4588         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4589         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4590         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4591         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4592         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4593         Simplify sign and nan test too.
4594         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4595         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4596         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4598         Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4600         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4601         Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4605         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4609 2013-10-04  Alan Modra  <amodra@gmail.com>
4611         * stdio-common/printf_size.c (__printf_size): Don't use
4612         union ieee854_long_double in fpnum union.
4613         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4614         signbit macro to retrieve sign from long double.
4615         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4616         retrieve sign from long double.
4617         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4618         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4619         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4620         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4621         * math/test-misc.c (main): Don't use union ieee854_long_double.
4623 2013-10-04  Alan Modra  <amodra@gmail.com>
4625         [BZ #15680]
4626         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4627         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4628         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4629         calculation.  Remove unnecessary test for denormal exponent.
4630         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4631         Correct handling of denormals.  Avoid undefined shift behaviour.
4632         Correct normalisation of low mantissa when low double is denormal.
4633         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4634         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4635         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4636         Correct normalisation of low mantissa.  Test for overflow of high
4637         mantissa and normalise.
4638         (ldbl_nearbyint): Use more readable constant for two52.
4639         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4640         (__mpn_construct_long_double): Fix test for overflow of high
4641         mantissa and correct normalisation.  Avoid undefined shift.
4643 2013-10-04  Alan Modra  <amodra@gmail.com>
4645         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4646         (union ibm_extended_long_double): Define as an array of ieee754_double.
4647         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4648         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4649         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4650         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4659 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4661         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4662         page size instead of calling getpagesize.
4664         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4665         (LOCFILE_ALIGN_MASK): Likewise.
4666         (LOCFILE_ALIGN_UP): Likewise.
4667         (LOCFILE_ALIGNED_P): Likewise.
4668         * locale/programs/ld-collate.c (collate_output): Use the new
4669         macros instead of __alignof__ (int32_t).
4670         * locale/weight.h (findidx): Likewise.
4672 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4674         [BZ #431]
4675         * manual/string.texi: Fix strncat and wcsncat.
4677 2013-10-03  Brooks Moses  <bmoses@google.com>
4679         [BZ #15915]
4680         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4681         * Makerules: ...here, and adjust associated comments.
4683 2013-10-02  Will Newton  <will.newton@linaro.org>
4685         * malloc/Makefile: Add tst-pvalloc.
4686         * malloc/tst-pvalloc.c: New file.
4688 2013-10-02  Will Newton  <will.newton@linaro.org>
4690         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4691         improve test coverage.
4693 2013-10-02  Will Newton  <will.newton@linaro.org>
4695         * malloc/Makefile: Add tst-posix_memalign.
4696         * malloc/tst-posix_memalign.c: New file.
4698 2013-10-01  Eric Blake  <eblake@redhat.com>
4700         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4701         Use __THROWNL rather than __THROW on static functions.
4703 2013-09-30  Petr Machata  <pmachata@redhat.com>
4705         * elf/elf.h (R_AARCH64_ABS16): New macro.
4706         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4707         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4708         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4709         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4710         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4711         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4712         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4713         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4714         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4715         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4716         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4717         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4718         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4719         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4720         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4721         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4722         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4723         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4724         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4725         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4726         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4727         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4728         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4729         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4730         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4731         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4732         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4733         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4734         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4735         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4736         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4737         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4738         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4739         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4740         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4741         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4742         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4743         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4744         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4745         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4746         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4747         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4748         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4749         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4750         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4751         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4752         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4753         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4754         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4755         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4756         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4757         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4758         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4759         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4760         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4761         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4762         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4763         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4764         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4765         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4766         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4767         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4768         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4769         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4770         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4771         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4772         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4773         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4774         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4775         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4776         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4777         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4778         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4779         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4780         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4781         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4782         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4783         (R_AARCH64_TLSDESC_LDR): Likewise.
4784         (R_AARCH64_TLSDESC_ADD): Likewise.
4785         (R_AARCH64_TLSDESC_CALL): Likewise.
4787 2013-09-30  Andreas Schwab  <schwab@suse.de>
4789         [BZ #15048]
4790         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4791         the nss database lookup.
4792         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4795 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4797         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4799 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4801         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4802         ${Bash-specific parameter/pattern/string} parameter expansion.
4803         * sysdeps/unix/make-syscalls.sh: Likewise.
4805 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4807         * sysdeps/sh/stackguard-macros.h: New file.
4809 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4813         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4814         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4815         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4816         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4818 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4820         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4821         Fix thread ID register.
4823 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4825         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4826         [POSIX || UNIX98]: Require rather than permitting all symbols from
4827         <time.h>.
4828         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4829         element of struct sched_param.
4830         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4831         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4832         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4833         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4834         constant.
4836 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4838         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4839         argument calculation.
4841 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4843         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4844         Expect macro.
4845         [POSIX] (pthread_attr_t): Do not require type.
4846         [POSIX] (pthread_cond_t): Likewise.
4847         [POSIX] (pthread_condattr_t): Likewise.
4848         [POSIX] (pthread_key_t): Likewise.
4849         [POSIX] (pthread_mutex_t): Likewise.
4850         [POSIX] (pthread_mutexattr_t): Likewise.
4851         [POSIX] (pthread_once_t): Likewise.
4852         [POSIX] (pthread_t): Likewise.
4853         [POSIX-based standards] (pthread_atfork): Expect function.
4855 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4856             Richard Sandiford  <richard@codesourcery.com>
4858         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4859         (swap_endianness_p): New extern variable.
4860         (set_big_endian): New inline function.
4861         (maybe_swap_uint32): Likewise.
4862         (maybe_swap_uint32_array): Likewise.
4863         (maybe_swap_uint32_obstack): Likewise.
4864         * locale/programs/locfile.c: Include <stdbool.h>.
4865         (swap_endianness_p): New variable.
4866         (add_locale_uint32): Call maybe_swap_uint32.
4867         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4868         (write_locale_data): Call maybe_swap_uint32_array.
4869         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4870         maybe_swap_uint32.
4871         (obstack_int32_grow_fast): Likewise.
4872         (output_weightwc): Call maybe_swap_uint32_obstack.
4873         (collate_output): Likewise.
4874         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4875         (OPT_LITTLE_ENDIAN): Likewise.
4876         (options): Add --little-endian and --big-endian options.
4877         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4878         * locale/programs/locarchive.c: Include "locfile.h".
4879         (GET): New macro.
4880         (SET): Likewise.
4881         (INC): Likewise.
4882         (create_archive): Use the new macros to access fields of
4883         structures directly mapped from or written to locale archives.
4884         (oldlocrecentcmp): Likewise.
4885         (enlarge_archive): Likewise.
4886         (insert_name): Likewise.
4887         (add_alias): Likewise.
4888         (add_locale): Likewise.
4889         (delete_locales_from_archive): Likewise.
4890         (show_archive_content): Likewise.
4891         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4892         locale data.
4894 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4896         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4897         http://www.gnu.org/doc/freemanuals.texi.
4898         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4900 2013-09-24  Will Newton  <will.newton@linaro.org>
4902         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4903         macro.
4905 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4907         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4908         unsigned char.
4910 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4912         * manual/threads.texi (POSIX Threads): Fix a typo.
4914 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4916         [BZ #14547]
4917         * string/tst-strcoll-overflow.c: New test case.
4918         * string/Makefile (xtests): Add tst-strcoll-overflow.
4919         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4920         cache if string sizes may cause integer overflow.
4922         [BZ #14547]
4923         * string/strcoll_l.c (coll_seq): New members rule, idx,
4924         save_idx and back_us.
4925         (get_next_seq_nocache): New function.
4926         (do_compare_nocache): New function.
4927         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4928         when malloc fails.
4930 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4932         [BZ #15754]
4933         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4934         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4935         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4937         [BZ #15754]
4938         * elf/Makefile (tests): Add tst-ptrguard1.
4939         (tests-static): Add tst-ptrguard1-static.
4940         (tst-ptrguard1-ARGS): Define.
4941         (tst-ptrguard1-static-ARGS): Define.
4942         * elf/tst-ptrguard1.c: New file.
4943         * elf/tst-ptrguard1-static.c: New file.
4944         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4945         * sysdeps/i386/stackguard-macros.h: Likewise.
4946         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4947         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4948         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4949         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4950         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4951         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4953 2013-09-23  Hector Marco  <hecmargi@upv.es>
4954             Ismael Ripoll  <iripoll@disca.upv.es>
4955             Carlos O'Donell  <carlos@redhat.com>
4957         [BZ #15754]
4958         * sysdeps/generic/stackguard-macros.h: Define
4959         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4960         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4961         Define __pointer_chk_guard_local.
4962         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4963         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4965 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4967         [BZ #15859]
4968         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4970 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4972         * include/string.h (__ffs): Declare as hidden.
4973         * string/ffs.c (__ffs): Define as hidden.
4974         * sysdeps/i386/ffs.c (__ffs): Likewise.
4975         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4976         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4977         * sysdeps/s390/ffs.c (__ffs): Likewise.
4978         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4980 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4982         * NEWS: Mention malloc probes.
4984         * malloc/arena.c (new_heap): New memory_heap_new probe.
4985         (grow_heap): New memory_heap_more probe.
4986         (shrink_heap): New memory_heap_less probe.
4987         (heap_trim): New memory_heap_free probe.
4988         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4989         (systrim): New memory_sbrk_less probe.
4990         * manual/probes.texi: Document them.
4992         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4993         * manual/probes.texi: Document it.
4995         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4996         (__libc_realloc): Add memory_realloc_retry probe.
4997         (__libc_memalign): Add memory_memalign_retry probe.
4998         (__libc_valloc): Add memory_valloc_retry probe.
4999         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5000         (__libc_calloc): Add memory_calloc_retry probe.
5001         * manual/probes.texi: Document them.
5003         * malloc/arena.c (get_free_list): Add probe
5004         memory_arena_reuse_free_list.
5005         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5006         and memory_arena_reuse.
5007         (arena_get2) [!PER_THREAD]: Likewise.
5008         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5009         memory_arena_reuse_realloc.
5010         * manual/probes.texi: Document them.
5012         * malloc/malloc.c (__libc_free): Add
5013         memory_mallopt_free_dyn_thresholds probe.
5014         (__libc_mallopt): Add multiple memory_mallopt probes.
5015         * manual/probes.texi: Document them.
5017         * malloc/malloc.c: Include stap-probe.h.
5018         (__libc_mallopt): Add memory_mallopt probe.
5019         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5020         * manual/probes.texi: New.
5021         * manual/Makefile (chapters): Add probes.
5022         * manual/threads.texi: Set next node.
5024 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5026         [BZ #15963, #13985]
5027         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5028         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5029         Add `Chinese' to `nan' entry name.
5031 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5033         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5034         (POLYNOMIAL): Likewise.
5035         (TAYLOR_SINCOS): Likewise.
5036         (TAYLOR_SLOW): Likewise.
5037         (__sin): Use TAYLOR_SINCOS.
5038         (__cos): Likewise.
5039         (slow): Use TAYLOR_SLOW.
5040         (sloww): Likewise.
5041         (bsloww): Likewise.
5042         (csloww): Likewise.
5044 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5046         * stdlib/strtod_l.c: Fix buffer overrun.
5048 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5050         * benchtests/Makefile (bench): Add sincos.
5051         * benchtests/bench-sincos.c: New file.
5053         * math/libm-test.inc (cos_test_data): New test inputs.
5054         (sin_test_data): Likewise.
5056         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5057         macro.
5058         (__sin): Use it.
5059         (__cos): Likewise.
5060         (slow1): Likewise.
5061         (slow2): Likewise.
5062         (sloww1): Likewise.
5063         (sloww2): Likewise.
5064         (bsloww1): Likewise.
5065         (bsloww2): Likewise.
5066         (cslow2): Likewise.
5067         (csloww1): Likewise.
5068         (csloww2): Likewise.
5070         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5071         function.
5072         (__sin): Use it.
5073         (__cos): Likewise.
5075         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5076         gotos.
5077         (__cos): Likewise.
5079 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5081         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5082         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5083         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5084         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5085         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5086         * elf/cache.c (print_entry): Handle the new cache flags.
5088 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5089             Aldy Hernandez  <aldyh@redhat.com>
5091         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5092         Change condition to [_SOFT_FLOAT].
5093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5105         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5108         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5109         declaration.
5111 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5113         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5114         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5115         (__longjmp): Use LOAD_GP to load saved GPRs.
5116         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5117         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5118         (__sigsetjmp): Use SAVE_GP to save GPRs.
5120         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5121         Do not append -msoft-float.
5122         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5124 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5126         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5128 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5130         [BZ #15966]
5131         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5132         (_FPU_GETCW): Use initial "__" on variable and field names but not
5133         on macro parameter name.
5134         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5135         parentheses around reference to macro parameter.
5137 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5139         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5140         prototype.
5141         (ctype_startup): Use uint32_t in cast and sizeof for
5142         ctype->charnames.
5144 2013-09-11  Jia Liu  <proljc@gmail.com>
5146         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5147         __daddr_t_defined.
5148         [__FreeBSD__]: Likewise.
5150 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5153         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5154         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5155         (strchr): Remove __strchr_sse42 ifunc selection.
5156         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5157         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5159 2013-09-11  Will Newton  <will.newton@linaro.org>
5161         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5162         parameter to RES. Remove hardcoded 1000 value.
5163         * benchtests/bench-skeleton.c (main): Pass RES parameter
5164         to TIMING_INIT and multiply result by 1000.
5166 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170 2013-09-11  Andreas Schwab  <schwab@suse.de>
5172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5173         if not defined.
5174         (O_TMPFILE) [__USE_GNU]: Define.
5175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5176         Define.
5178 2013-09-11  Will Newton  <will.newton@linaro.org>
5180         [BZ #15857]
5181         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5182         does not overflow.
5184 2013-09-11  Will Newton  <will.newton@linaro.org>
5186         [BZ #15856]
5187         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5188         does not overflow.
5190 2013-09-11  Will Newton  <will.newton@linaro.org>
5192         [BZ #15855]
5193         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5194         does not overflow.
5196 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5198         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5199         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5200         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5201         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5202         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5204 2013-09-10  Allan McRae  <allan@archlinux.org>
5206         [BZ #15748]
5207         * manual/arith.texi (Parsing of Floats): Clarify
5208         cross-reference.
5210         [BZ #15849]
5211         * manual/install.texi (Running make install): Mention
5212         --enable-pt-chown.
5213         * INSTALL: Regenerated.
5215 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5217         * csu/init-first.c (_init): Remove the !SHARED condition around
5218         FPU control word initialization.
5219         * elf/dl-support.c (_dl_fpu_control): New variable.
5220         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5221         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5222         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5223         * math/test-fpucw-static.c: New file.
5224         * math/test-fpucw-ieee.c: New file.
5225         * math/test-fpucw-ieee-static.c: New file.
5226         * math/Makefile (tests): Add `test-fpucw-ieee' and
5227         `$(tests-static)'.
5228         (tests-static): New variable.
5229         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5230         dependency to...
5231         [($(build-shared),yes)]
5232         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5233         ... this.
5234         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5235         New dependency.
5237 2013-09-09  Allan McRae  <allan@archlinux.org>
5239         [BZ #15939]
5240         * manual/string.texi (Collation Functions): Fix typo in
5241         strcoll example.
5242         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5244         [BZ #15893]
5245         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5247         [BZ #15892]
5248         * libio/memstream.c (open_memstream): Fix memory leak.
5249         * libio/wmemstream.c (open_wmemstream): Likewise.
5251         [BZ #15895]
5252         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5254 2013-09-09  Will Newton  <will.newton@linaro.org>
5256         * malloc/Makefile: Add tst-realloc to tests.
5257         * malloc/tst-realloc.c: New file.
5259 2013-09-09  Allan McRae  <allan@archlinux.org>
5261         [BZ #15844]
5262         * COPYING: Update from GNU website to fix FSF address.
5263         * COPYING.LIB: Likewise.
5265 2013-09-06  David S. Miller  <davem@davemloft.net>
5267         * po/zh_TW.po: Update Chinese (traditional) translation from
5268         translation project.
5270 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5271             Joseph Myers  <joseph@codesourcery.com>
5273         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5274         "localeinfo.h".
5275         (obstack_chunk_alloc): New macro.
5276         (obstack_chunk_free): Likewise.
5277         (record_offset): New function.
5278         (init_locale_data): Likewise.
5279         (align_locale_data): Likewise.
5280         (add_locale_empty): Likewise.
5281         (add_locale_raw_data): Likewise.
5282         (add_locale_raw_obstack): Likewise.
5283         (add_locale_string): Likewise.
5284         (add_locale_wstring): Likewise.
5285         (add_locale_uint32): Likewise.
5286         (add_locale_uint32_array): Likewise.
5287         (add_locale_char): Likewise.
5288         (start_locale_structure): Likewise.
5289         (end_locale_structure): Likewise.
5290         (start_locale_prelude): Likewise.
5291         (end_locale_prelude): Likewise.
5292         (write_locale_data): Take locale_file structure rather than an
5293         iovec.
5294         * locale/programs/locfile.h: Include "obstack.h".
5295         (struct locale_file): Change to store locale file contents instead
5296         of header.
5297         (init_locale_data): New prototype.
5298         (align_locale_data): Likewise.
5299         (add_locale_empty): Likewise.
5300         (add_locale_raw_data): Likewise.
5301         (add_locale_raw_obstack): Likewise.
5302         (add_locale_string): Likewise.
5303         (add_locale_wstring): Likewise.
5304         (add_locale_uint32): Likewise.
5305         (add_locale_uint32_array): Likewise.
5306         (add_locale_char): Likewise.
5307         (start_locale_structure): Likewise.
5308         (end_locale_structure): Likewise.
5309         (start_locale_prelude): Likewise.
5310         (end_locale_prelude): Likewise.
5311         (write_locale_data): Update prototype.
5312         * locale/programs/3level.h (struct TABLE): Remove result field.
5313         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5314         Use new locale_file interface.
5315         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5316         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5317         * locale/programs/ld-address.c (address_output): Use new
5318         locale_file interface.
5319         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5320         NO_ADD_LOCALE.
5321         (collate_finish): Don't call collseq_table_finalize.
5322         (collate_output): Use new locale_file interface.
5323         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5324         in file.
5325         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5326         (TABLE): Move defines earlier in file.
5327         (ELEMENT): Likewise.
5328         (DEFAULT): Likewise.
5329         (wctrans_table_add): Move macro and inline function earlier in
5330         file.
5331         (struct wctype_table): Move type earlier in file.
5332         (add_locale_wctype_table): New static prototype.
5333         (struct locale_ctype_t): Use logical types instead of struct iovec
5334         pointers for members.
5335         (ctype_output): Use new locale_file interface.
5336         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5337         new locale_file interface.
5338         (allocate_arrays): Update for use of new locale_file interface.
5339         * locale/programs/ld-identification.c (identification_output): Use
5340         new locale_file interface.
5341         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5342         * locale/programs/ld-messages.c (messages_output): Likewise.
5343         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5344         * locale/programs/ld-name.c (name_output): Likewise.
5345         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5346         * locale/programs/ld-paper.c (paper_output): Likewise.
5347         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5348         * locale/programs/ld-time.c (time_output): Likewise.
5350 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5352         * benchtests/Makefile: Add memrchr benchmark.
5353         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5354         benchmark as memrchr.
5355         * benchtests/bench-memrchr-ifunc.c: New file.
5356         * benchtests/bench-memrchr.c: New file.
5358 2013-09-06   Will Newton  <will.newton@linaro.org>
5360         * benchtests/Makefile (string-bench): Add memcpy.
5362 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5363             Cong Wang  <amwang@redhat.com>
5365         * sysdeps/unix/sysv/linux/bits/in.h
5366         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5367         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5368         before __USE_KERNEL_IPV6_DEFS uses.
5369         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5370         IPPROTO_BEETPH.
5371         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5372         sockaddr_in6, or ipv6_mreq.
5374 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5376         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5377         memory access for final bytes in some large inputs.
5378         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5380 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5382         * string/test-memrchr.c: New file.
5383         * string/test-memrchr-ifunc.c: New file.
5384         * string/Makefile: Add new memrchr testcase.
5386 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5388         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5389         fanotify_init returns EPERM.
5391 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5393         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5394         errors.
5395         (top level): Treat second token from macro or constant entries for
5396         allowed headers as allowed.
5397         * include/complex.h: Condition internal declarations on
5398         [!_ISOMAC].
5399         * include/fenv.h: Condition include of <stdbool.h> and internal
5400         declarations on [!_ISOMAC].
5402 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5404         [BZ #15923]
5405         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5407 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5409         * configure.in (--enable-versioning): Remove configure option.
5410         (libc_cv_asm_symver_directive): Remove configure test.
5411         (libc_cv_ld_version_script_option): Likewise.
5412         (VERSIONING): Remove variable and AC_SUBST.
5413         (DO_VERSIONING): Remove AC_DEFINE.
5414         * configure: Regenerated.
5415         * config.h.in (DO_VERSIONING): Remove macro.
5416         * Makerules [$(versioning) = yes]: Change conditionals to
5417         [$(build-shared) = yes].
5418         * config.make.in (versioning): Remove variable.
5419         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5420         [$(build-shared) = yes].
5421         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5422         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5423         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5424         [$(build-shared) = yes].
5425         * extra-lib.mk [$(versioning) = yes]: Likewise.
5426         * hurd/Makefile [$(versioning) = yes]: Likewise.
5427         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5428         [SHARED].
5429         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5430         [SHARED].
5431         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5432         [SHARED && !NO_HIDDEN].
5433         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5434         [SHARED].
5435         [SHARED && DO_VERSIONING]: Likewise..
5436         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5437         [$(build-shared) = yes].
5438         * manual/install.texi (--disable-versioning): Remove
5439         documentation.
5440         * INSTALL: Regenerated.
5441         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5442         to [SHARED].
5443         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5444         [$(build-shared) = yes].
5445         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5446         * sysdeps/i386/i686/multiarch/strstr-c.c
5447         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5448         [SHARED && !NO_HIDDEN].
5449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5450         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5451         * sysdeps/powerpc/powerpc32/dl-machine.c
5452         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5453         * sysdeps/powerpc/powerpc32/sysdep.h
5454         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5455         to [SHARED && PIC && !NO_HIDDEN].
5456         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5457         conditional to [SHARED].
5459 2013-09-04   Will Newton  <will.newton@linaro.org>
5461         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5462         * benchtests/bench-string.h: Include bench-timing.h instead
5463         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5464         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5465         call to HP_TIMING_DIFF_INIT.
5466         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5467         instead of hp-timing.h macros.
5468         * benchtests/bench-memchr.c: Likewise.
5469         * benchtests/bench-memcmp.c: Likewise.
5470         * benchtests/bench-memcpy.c: Likewise.
5471         * benchtests/bench-memmem.c: Likewise.
5472         * benchtests/bench-memmove.c: Likewise.
5473         * benchtests/bench-memset.c: Likewise.
5474         * benchtests/bench-rawmemchr.c: Likewise.
5475         * benchtests/bench-strcasecmp.c: Likewise.
5476         * benchtests/bench-strcasestr.c: Likewise.
5477         * benchtests/bench-strcat.c: Likewise.
5478         * benchtests/bench-strchr.c: Likewise.
5479         * benchtests/bench-strcmp.c: Likewise.
5480         * benchtests/bench-strcpy.c: Likewise.
5481         * benchtests/bench-strcpy_chk.c: Likewise.
5482         * benchtests/bench-strlen.c: Likewise.
5483         * benchtests/bench-strncasecmp.c: Likewise.
5484         * benchtests/bench-strncat.c: Likewise.
5485         * benchtests/bench-strncmp.c: Likewise.
5486         * benchtests/bench-strncpy.c: Likewise.
5487         * benchtests/bench-strnlen.c: Likewise.
5488         * benchtests/bench-strpbrk.c: Likewise.
5489         * benchtests/bench-strrchr.c: Likewise.
5490         * benchtests/bench-strspn.c: Likewise.
5491         * benchtests/bench-strstr.c: Likewise.
5493 2013-09-04  Will Newton  <will.newton@linaro.org>
5495         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5497 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5499         [BZ #15427]
5500         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5501         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5502         * math/libm-test.inc (lgamma_test_data): Add more tests.
5503         * sysdeps/i386/fpu/libm-test-ulps: Update.
5504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5506 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5510         Add ifunc.
5511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5512         Add strcmp-sse2-unaligned
5513         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5515 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5517         * Versions.def (libc): Add GLIBC_2.19.
5519 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5521         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5522         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5524 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5526         [BZ #14155]
5527         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5528         intermediate calculations in recurrence.
5529         (__ieee754_ynf): Likewise.
5530         * math/libm-test.inc (jn_test_data): Do not allow spurious
5531         underflow exception.  Add more tests.
5532         (yn_test_data): Add more tests.
5533         * sysdeps/i386/fpu/libm-test-ulps: Update.
5534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5536 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5538         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5540 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5542         * csu/init-first.c: Fix then/than typos.
5543         * locale/programs/ld-collate.c: Likewise.
5544         * locale/programs/linereader.h: Likewise.
5545         * manual/charset.texi: Likewise.
5546         * manual/filesys.texi: Likewise.
5547         * manual/stdio.texi: Likewise.
5548         * manual/string.texi: Likewise.
5549         * stdlib/fmtmsg.c: Likewise.
5550         * sysdeps/i386/stpncpy.S: Likewise.
5551         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5552         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5553         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5554         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5556 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5558         * elf/dl-open.c: Fix typos.
5559         * iconvdata/gbbig5.c: Likewise.
5560         * iconvdata/iso-2022-jp.c: Likewise.
5561         * iconv/gconv_int.h: Likewise.
5562         * iconv/loop.c: Likewise.
5563         * nis/rpcsvc/nis.h: Likewise.
5564         * resolv/ns_name.c: Likewise.
5565         * stdio-common/vfscanf.c: Likewise.
5566         * streams/stropts.h: Likewise.
5567         * sunrpc/rpc_thread.c: Likewise.
5568         * sysdeps/i386/strpbrk.S: Likewise.
5569         * sysdeps/ieee754/k_standard.c: Likewise.
5570         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5572         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5573         * sysdeps/mach/hurd/profil.c: Likewise.
5574         * sysdeps/s390/dl-procinfo.h: Likewise.
5575         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5577         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5578         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5579         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5581 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5583         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5586 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5588         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5589         aix specific files.
5590         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5591         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5593         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5595         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5596         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5597         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5599 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5600             Roland McGrath  <roland@hack.frob.com>
5602         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5603         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5605 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5607         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5608         __executable_start symbol instead of _start.
5610 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5612         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5613         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5614         Move macros to...
5615         * sysdeps/gnu/ldsodefs.h: ... this new file.
5617         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5618         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5619         instead of ELFOSABI_LINUX.
5621         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5622         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5623         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5624         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5625         Likewise.
5626         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5627         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5628         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5629         Likewise.
5630         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5631         (ibm_extended_long_double): Add ieee_nan member.
5632         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5633         (do_test): New function.
5635         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5636         TEST_TRUNC.
5637         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5638         functions, renamed from truncdfsf_test, trunctfsf_test,
5639         trunctfdf_test.
5640         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5641         functions.
5642         (do_test): Run all these.
5644 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5646         * argp/argp-help.c: Fix typos.
5647         * argp/argp-parse.c: Likewise.
5648         * debug/backtracesyms.c: Likewise.
5649         * elf/elf.h: Likewise.
5650         * malloc/malloc.c: Likewise.
5651         * nis/nis_print.c: Likewise.
5652         * resolv/res_comp.c: Likewise.
5653         * stdlib/stdlib.h: Likewise.
5654         * sunrpc/clnt_tcp.c: Likewise.
5655         * sunrpc/clnt_udp.c: Likewise.
5656         * sunrpc/clnt_unix.c: Likewise.
5657         * sysdeps/unix/bsd/ptsname.c: Likewise.
5658         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5661         Likewise.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5663         Likewise.
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5665         Likewise.
5666         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5668 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5670         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5673 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5675         [BZ #15897]
5676         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5677         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5678         ($(objpfx)bug-dl-leaf): New rule.
5679         ($(objpfx)bug-dl-leaf.so): Likewise.
5680         ($(objpfx)bug-dl-leaf.out): Likewise.
5681         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5682         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5683         * dlfcn/bug-dl-leaf.c: New test.
5684         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5685         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5686         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5687         (dlclose): Likewise.
5688         (dlmopen): Likewise.
5690 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5692         * include/netdb.h [!_ISOMAC]:
5693         Don't include <tls.h>.
5694         (h_errno, __libc_h_errno): Move declaration and macros out of
5695         [_LIBC_REENTRANT].
5697         * include/resolv.h [_RESOLV_H_]:
5698         Don't include <tls.h>.
5699         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5700         * resolv/res_libc.c: Don't include <tls.h>.
5701         (_res): Use __attribute__ ((nocommon)) in place of
5702         __attribute__ ((section (".bss"))).
5704         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5705         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5707         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5709         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5710         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5712         * resolv/res_mkquery.c: Include <sys/time.h>.
5714         * inet/ifreq.c: Moved to ...
5715         * sysdeps/unix/ifreq.c: ... here.
5716         * inet/ifreq.c: New file, true stub version.
5718         * socket/sa_len.c: New file.
5719         * socket/Makefile (aux): Add it.
5720         * sysdeps/unix/sysv/linux/Makefile
5721         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5722         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5723         and #include <socket/sa_len.c>.
5724         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5725         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5727         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5728         * bits/socket.h: ... here.
5730         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5731         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5732         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5734 2013-08-27  Andreas Schwab  <schwab@suse.de>
5736         [BZ #15736]
5737         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5738         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5739         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5740         * string/test-strcasecmp.c (test_main): Run tests in several
5741         locales.
5742         * string/test-strncasecmp.c (test_main): Likewise.
5744         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5745         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5746         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5748         (__strncasecmp_ssse3) [PIC]: Likewise.
5750 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5752         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5754         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5755         instead of explicitly declaring xdecrypt.
5756         * nis/nss_nis/nis-publickey.c: Likewise.
5758 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5760         [BZ #15890]
5761         * nscd/aicache.c: Include res_hconf.h.
5762         (addhstaiX): Initialize res_hconf.
5764 2013-08-26  Andreas Schwab  <schwab@suse.de>
5766         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5767         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5769 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5771         * nscd/aicache.c (addhstaiX): Fix indentation.
5773 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5775         * configure.ac: Quote $build_pt_chown test.
5776         * configure: Regenerated.
5778 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5780         [BZ #15532]
5781         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5782         * math/s_cexpf.c (__cexpf): Likewise.
5783         * math/s_cexpl.c (__cexpl): Likewise.
5784         * math/libm-test.inc (cexp_test_data): Correct expected return
5785         value for NaN + i0.  Add another test.
5787 2013-08-22  David S. Miller  <davem@davemloft.net>
5789         * po/ca.po: Update Catalan translation from translation project.
5790         * po/uk.po: Add Ukrainian translations from translation project.
5792 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5794         [BZ #15797]
5795         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5796         is infinite, not alongside NaN test.
5797         * math/s_fdimf.c (__fdimf): Likewise.
5798         * math/s_fdiml.c (__fdiml): Likewise.
5799         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5800         errno is unchanged.
5802 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5804         * argp/argp-help.c: Fix typos.
5805         * crypt/speeds.c: Likewise.
5806         * csu/check_fds.c: Likewise.
5807         * elf/dl-load.c: Likewise.
5808         * elf/dl-open.c: Likewise.
5809         * elf/reldep3.c: Likewise.
5810         * elf/reldep.c: Likewise.
5811         * elf/sprof.c: Likewise.
5812         * iconv/iconv_charmap.c: Likewise.
5813         * iconv/skeleton.c: Likewise.
5814         * iconv/strtab.c: Likewise.
5815         * io/lockf64.c: Likewise.
5816         * libio/libioP.h: Likewise.
5817         * resolv/gai_notify.c: Likewise.
5818         * resolv/ns_name.c: Likewise.
5819         * resolv/ns_samedomain.c: Likewise.
5820         * resolv/res_send.c: Likewise.
5821         * stdlib/random.c: Likewise.
5822         * sunrpc/rpc/xdr.h: Likewise.
5823         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5824         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5828         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5830         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5831         * sysdeps/mach/hurd/check_fds.c: Likewise.
5832         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5833         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5835         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5836         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5837         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5838         * sysdeps/pthread/aio_notify.c: Likewise.
5839         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5840         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5841         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5842         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5843         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5845 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5847         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5848         version if bit_Slow_SSE4_2 is set.
5849         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5850         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5852 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5854         [BZ #15867]
5855         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5856         trampoline stack frame information.
5857         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5858         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5859         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5860         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5861         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5862         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5863         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5864         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5865         sa_flags value.
5866         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5867         interrupting a syscall and set with option SA_SIGINFO.
5869 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5871         [BZ #15531]
5872         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5873         argument is infinite.
5874         * math/s_cprojf.c (__cprojf): Likewise.
5875         * math/s_cprojl.c (__cprojl): Likewise.
5876         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5877         * math/libm-test.inc (cproj_test_data): Add more tests.
5879         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5881         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5882         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5883         size.  Use __ffs to determine corresponding shift.
5885 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5886             Roland McGrath  <roland@hack.frob.com>
5888         * Makefile (INSTALL): Remove trailing blank lines from output of
5889         makeinfo.
5891 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5893         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5894         Align 32 bit compat elf_greg to 8 bytes.
5896 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5898         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5900 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5902         * string/strcoll_l.c (coll_seq): New structure.
5903         (get_next_seq_cached): New function.
5904         (get_next_seq): New function.
5905         (do_compare): New function.
5906         (STRCOLL): Use GNU style definition.  Simplify implementation
5907         by using get_next_seq, get_next_seq_cached and do_compare.
5909 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5911         [BZ #14699]
5912         CVE-2013-4237
5913         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5914         member.
5915         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5916         member.
5917         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5918         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5919         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5920         conditional.
5921         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5922         GETDENTS_64BIT_ALIGNED.
5923         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5924         * manual/filesys.texi (Reading/Closing Directory): Document
5925         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5926         strongly.
5927         * manual/conf.texi (Limits for Files): Add portability note to
5928         NAME_MAX, PATH_MAX.
5929         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5931 2013-08-13  Andreas Schwab  <schwab@suse.de>
5933         [BZ #15749]
5934         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5935         of fabs.
5936         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5937         LDBL_MAX_EXP >= 16384]: Add tests for it.
5939 2013-08-12  David S. Miller  <davem@davemloft.net>
5941         * version.h (RELEASE): Set to "development".
5942         (VERSION): Set to "2.18.90".
5943         * NEWS: Add 2.19 section.
5945 2013-08-03  David S. Miller  <davem@davemloft.net>
5947         * po/ko.po: Update Korean translation from translation project.
5949 2013-08-01  David S. Miller  <davem@davemloft.net>
5951         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5952         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5953         Bilka.
5955 2013-07-30  David S. Miller  <davem@davemloft.net>
5957         * po/fr.po: Update French translation from translation project.
5959 2013-07-28  David S. Miller  <davem@davemloft.net>
5961         * po/cs.po: Update Czech translation from translation project.
5963         * po/sv.po: Update Swedish translation from translation project.
5965 2013-07-27  David S. Miller  <davem@davemloft.net>
5967         * po/eo.po: Update Esperanto translation from translation project.
5969         * po/vi.po: Update Vietnamese translation from translation project.
5971         * po/de.po: Update German translation from translation project.
5973 2013-07-26  David S. Miller  <davem@davemloft.net>
5975         * po/bg.po: Update Bulgarian translation from translation project.
5977         * po/nl.po: Update Dutch translation from translation project.
5978         * po/pl.po: Update Polish translation from translation project.
5979         * po/ru.po: Update Russian translation from translation project.
5981 2013-07-24  David S. Miller  <davem@davemloft.net>
5983         * po/libc.pot: Update.
5985 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5987         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5988         variable page size.
5989         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5990         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5991         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5993 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5995         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5997 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5998             Andreas Schwab  <schwab@suse.de>
5999             Roland McGrath  <roland@hack.frob.com>
6000             Joseph Myers  <joseph@codesourcery.com>
6001             Carlos O'Donell  <carlos@redhat.com>
6003         [BZ #15755]
6004         * config.h.in: Define HAVE_PT_CHOWN.
6005         * config.make.in (build-pt-chown): New variable.
6006         * configure.in (--enable-pt_chown): New configure option.
6007         * configure: Regenerate.
6008         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6009         build-pt-chown is enabled.
6010         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6011         pt_chown to fix pty ownership.
6012         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6013         CLOSE_ALL_FDS.
6014         * manual/install.texi (Configuring and compiling): Mention
6015         --enable-pt_chown. Add @findex for grantpt.
6016         * INSTALL: Regenerate.
6018 2013-07-20  David S. Miller  <davem@davemloft.net>
6020         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6021         difference between 32-bit and 64-bit.
6023 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6025         [BZ #15711]
6026         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6027         Avoid system header dependency with -ffreestanding.
6028         ($(objpfx)bits/syscall%d): Likewise.
6030 2013-07-13  David S. Miller  <davem@davemloft.net>
6032         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6033         underflows from atanl/atan2l due to bug 15319.
6034         (casinh_test_data): Likewise.
6036 2013-07-07  David S. Miller  <davem@davemloft.net>
6038         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6040 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6042         * sysdeps/i386/fpu/libm-test-ulps: Update.
6043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6045 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6047         * configure.in (--enable-lock-elision): Fix message text.
6048         * INSTALL: Regenerate.
6049         * configure: Regenerate.
6051 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055 2013-07-03  Andreas Jaeger  <aj@suse.de>
6057         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6058         define.
6059         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6060         (ptrace_peeksiginfo_args): Add.
6061         (__ptrace_peeksiginfo_flags): Add.
6062         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6063         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6064         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6066 2013-07-03  Allan McRae  <allan@archlinux.org>
6068         * sysdeps/i386/fpu/libm-test-ulps: Update.
6070 2013-07-02  David S. Miller  <davem@davemloft.net>
6072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6074 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6078 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6080         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6083 2013-07-02  Andi Kleen <ak@linux.intel.com>
6085         * config.h.in (ENABLE_LOCK_ELISION): Add.
6086         * configure.in (--enable-lock-elision): Add option.
6087         * manual/install.texi: Document --enable lock elision.
6088         * configure: Regenerate
6089         * INSTALL: Regenerate.
6091 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6093         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6094         SSE4.2 strcasecmp for libc.a.
6095         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6097 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6099         [BZ #13304]
6100         * soft-fp/op-common.h (_FP_FMA): New macro.
6101         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6102         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6103         (_FP_MUL_MEAT_1_imm): ... here.
6104         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6105         (_FP_MUL_MEAT_1_wide): ... here.
6106         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6107         (_FP_MUL_MEAT_1_hard): ... here.
6108         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6109         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6110         (_FP_MUL_MEAT_2_wide): ... here.
6111         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6112         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6113         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6114         (_FP_MUL_MEAT_2_gmp): ... here.
6115         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6116         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6117         (_FP_MUL_MEAT_4_wide): ... here.
6118         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6119         (_FP_MUL_MEAT_4_gmp): ... here.
6120         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6121         (_FP_WFRACBITS_DW_S): Likewise.
6122         (_FP_WFRACXBITS_DW_S): Likewise.
6123         (_FP_HIGHBIT_DW_S): Likewise.
6124         (FP_FMA_S): Likewise.
6125         (_FP_FRAC_HIGH_DW_S): Likewise.
6126         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6127         (_FP_WFRACBITS_DW_D): Likewise.
6128         (_FP_WFRACXBITS_DW_D): Likewise.
6129         (_FP_HIGHBIT_DW_D): Likewise.
6130         (FP_FMA_D): Likewise.
6131         (_FP_FRAC_HIGH_DW_D): Likewise.
6132         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6133         (_FP_WFRACBITS_DW_E): Likewise.
6134         (_FP_WFRACXBITS_DW_E): Likewise.
6135         (_FP_HIGHBIT_DW_E): Likewise.
6136         (FP_FMA_E): Likewise.
6137         (_FP_FRAC_HIGH_DW_E): Likewise.
6138         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6139         (_FP_WFRACBITS_DW_Q): Likewise.
6140         (_FP_WFRACXBITS_DW_Q): Likewise.
6141         (_FP_HIGHBIT_DW_Q): Likewise.
6142         (FP_FMA_Q): Likewise.
6143         (_FP_FRAC_HIGH_DW_Q): Likewise.
6144         * soft-fp/fmasf4.c: New file.
6145         * soft-fp/fmadf4.c: Likewise.
6146         * soft-fp/fmatf4.c: Likewise.
6148 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6151         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6152         Silvermont.
6153         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6154         macro.
6155         (index_Slow_SSE4_2): Likewise.
6156         (index_Prefer_PMINUB_for_stringop): Likewise.
6157         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6158         bit_Slow_SSE4_2 is set.
6159         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6160         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6162 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6164         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6165         rtld_global._dl_hwcap2.
6166         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6167         POWER8.
6168         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6169         POWER8 feature descriptions defined in _dl_hwcap2.
6170         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6171         string handling for POWER8 feature bits.
6172         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6173         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6174         _dl_powerpc_cap_flags.
6175         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6176         * sysdeps/powerpc/rtld-global-offsets.sym
6177         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6178         _dl_hwcap2 in the rtld_global_ro structure.
6180 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6182         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6183         hardware capabilities in support of AT_HWCAP2.
6184         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6185         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6186         GLRO(dl_hwcap2).
6187         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6188         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6189         explicitly the unknown a_type display mechanism is used.
6190         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6191         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6192         struct member.
6193         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6194         to macro prototype for AT_HWCAP2 support.
6195         * sysdeps/i386/dl-procinfo.h: Likewise.
6196         * sysdeps/s390/dl-procinfo.h: Likewise.
6197         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6198         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6199         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6200         return -1 for unknown a_type display fallback.
6201         * sysdeps/sparc/dl-procinfo.h: Likewise.
6202         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6203         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6205 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6207         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6208         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6210 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6212         [BZ #12492]
6213         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6214         mprotect making __stack_prot writable.
6216 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6217             Joseph Myers  <joseph@codesourcery.com>
6219         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6220         as being properly aligned.
6222 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6224         * dlfcn/modstatic5.c: New file.
6225         * dlfcn/tststatic5.c: New file.
6226         * dlfcn/Makefile (tests): Add tststatic5.
6227         (tests-static): Likewise.
6228         (modules-names): Add modstatic5.
6229         (tststatic5-ENV): New variable.
6230         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6232         [BZ #15022]
6233         * elf/dl-support.c (_dl_main_map): New variable.
6234         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6235         (_dl_nns, _dl_load_adds): Set to 1.
6236         (_dl_initial_searchlist): Refer to _dl_main_map.
6237         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6238         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6239         call to _dl_get_origin.
6240         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6241         around call_map.
6242         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6243         * dlfcn/modstatic3.c: New file.
6244         * dlfcn/tststatic3.c: New file.
6245         * dlfcn/tststatic4.c: New file.
6246         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6247         (tests-static): Likewise.
6248         (modules-names): Add modstatic3.
6249         (tststatic3-ENV, tststatic4-ENV): New variables.
6250         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6251         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6253 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6255         * configure.in (CC): Require GCC version 4.4 or later.
6256         * configure: Regenerated.
6257         * manual/install.texi (Tools for Compilation): Update GCC version
6258         requirement.
6259         * INSTALL: Regenerated.
6261 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6263         [BZ #15674]
6264         * string/test-memcmp.c (check2): New.
6265         (main): Call check2.
6267         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6269 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6271         [BZ #15022]
6272         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6273         over to...
6274         (dl_open_worker) [!SHARED]: ... here.
6276 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6278         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6280 2013-06-25  Richard Henderson  <rth@redhat.com>
6282         * locale/programs/locarchive.c: Include <libc-internal.h>
6284 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6286         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6287         trailing whitespace removed.
6289 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6291         [BZ #10283]
6292         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6293         * locale/programs/locarchive.c: Include libc-mmap.h.
6294         (prepare_address_space): Take two new outputs (the mmap base and len).
6295         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6296         values.
6297         (create_archive): Declare new mmap base and len values for
6298         prepare_address_space, and store the result in ah.
6299         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6300         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6301         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6302         Declare new mmap base and len values for
6303         prepare_address_space, and store the result in new_ah.
6304         (open_archive): Declare new mmap base and len values for
6305         prepare_address_space, and store the result in ah.
6306         (close_archive): If ah->mmap_base is not NULL, use that and
6307         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6308         * sysdeps/generic/libc-mmap.h: New file.
6310 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6312         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6313         (ALIGN_UP): Likewise.
6314         (PTR_ALIGN_DOWN): Likewise.
6315         (PTR_ALIGN_UP): Likewise.
6317 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6319         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6320         entry mapped to PPC_PLATFORM_POWER8.
6321         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6322         POWER8.
6323         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6324         (_dl_string_platform): Add case for exporting platform position for
6325         POWER8.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6327         search path to sysdeps/powerpc/powerpc32/power8 directory.
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6329         search path to sysdeps/powerpc/powerpc64/power8 directory.
6330         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6331         power7 directories.
6332         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6333         power7 directories.
6335 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6337         * INSTALL: Regenerate.
6339         * nscd/connections.c (nscd_init): Fix comment.
6341 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6343         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6345         [BZ #15667]
6346         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6347         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6349 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6351         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6352         DL_DST_REQ_STATIC.
6353         (DL_DST_REQ_STATIC): Remove macro.
6355 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6357         [BZ #7006]
6358         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6359         with a shift of 0 bits.
6361 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6363         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6364         $(tststatic-ENV).
6366 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6368         [BZ #15655]
6369         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6371 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6373         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6374         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6375         accepts -fno-tree-loop-distribute-patterns.
6376         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6377         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6378         recursive call.
6379         * string/memset.c (memset): Likewise.
6380         * string/test-memmove.c (simple_memmove): Disable loop transformation
6381         to library calls.
6382         * string/test-memset.c (simple_memset): Likewise.
6383         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6384         * benchtests/bench-memset.c (simple_memset): Likewise.
6385         * configure: Regenerated.
6387 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6389         * math/test-misc.c (main): Ignore fesetround failure when failures
6390         of subsequent rounding tests would be ignored.
6392         [BZ #15654]
6393         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6394         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6395         * math/fegetenv.c (__fegetenv): Return 0.
6396         * math/fegetexcept.c (fegetexcept): Return 0.
6397         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6398         FE_TONEAREST.
6399         * math/feholdexcpt.c (feholdexcept): Return 0.
6400         * math/fesetenv.c (__fesetenv): Return 0.
6401         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6402         argument FE_TONEAREST.
6403         * math/feupdateenv.c (__feupdateenv): Return 0.
6404         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6406 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6408         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6409         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6410         ($(objpfx)rtld-%.os rules): Use them.
6412 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6414         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6415         fields.
6417 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6419         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6420         length of target pattern, then descending length of dependency pattern.
6421         * configure.in (AWK): Require gawk 3.1.2 or newer.
6422         * manual/install.texi (Tools for Compilation): Say that we do.
6423         * configure: Regenerated.
6425         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6426         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6427         * scripts/sysd-rules.awk: ... this new script.
6428         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6429         than a glob-style pattern.
6431 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6433         * math/test-misc.c (main): Do not treat incorrectly rounded
6434         conversions as failure unless ROUNDING_TESTS passes.
6436 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6438         [BZ #15631]
6439         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6440         restore exception state around main square root computation, then
6441         check for inexactness explicitly.
6443         * math/libm-test.inc (fma_test_data): Add another test.
6445 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6447         * manual/threads.texi (Non-POSIX Extensions): New document
6448         node.  Document pthread_getattr_default_np and
6449         pthread_setattr_default_np.
6451         * Versions.def (libpthread): Add GLIBC_2.18.
6452         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6454         Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6456         Likewise.
6457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6458         Likewise.
6459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6460         Likewise.
6461         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6462         Likewise.
6463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6464         Likewise.
6465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6466         Likewise.
6467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6468         Likewise.
6469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6470         Likewise.
6472 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6475         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6477 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6478             H.J. Lu  <hjl.tools@gmail.com>
6480         [BZ #15627]
6481         * sysdeps/x86_64/rtld-memset.c: Remove file.
6482         * sysdeps/x86_64/rtld-memset.S: New file.
6484 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6486         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6487         (test_in_one_mode): Take arguments for whether the rounding mode
6488         is supported for each floating-point type.
6489         (do_test): Pass new arguments to test_in_one_mode using
6490         ROUNDING_TESTS.
6492 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6494         * posix/tst-waitid.c (do_test): Distinguish different instances of
6495         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6496         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6497         before entering the kernel for waitpid.
6499 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6501         * NEWS: Fix note on clock function precision.  Text by Roland
6502         McGrath.
6504 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6506         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6507         it into place only when and if the sanity check passes.
6509 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6511         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6512         output for whether conversion result is exact.  Take argument
6513         indicating whether type is IBM long double.
6514         (round_for_all): Change need_exact field to ibm_ld.
6515         * stdlib/tst-strtod-round.c (struct exactness): New type.
6516         (struct test): Change bool ld_ok field to struct exactness exact.
6517         (TEST): Update all definitions for change to field.
6518         (tests): Regenerate array contents.
6519         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6520         field value.  Check for IBM long double here.
6521         (do_test): Update calls to test_in_one_mode.
6523 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6525         [BZ #12515]
6526         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6527         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6529 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6531         [BZ #15605]
6532         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6533         generated by the compiler on loop optimizations.
6534         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6535         general definitions.
6537 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6539         * math/bug-nextafter.c: Include <math-tests.h>.
6540         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6541         the relevant type.
6542         * math/bug-nexttoward.c: Include <math-tests.h>.
6543         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6544         the relevant type.
6545         * math/test-misc.c: Include <math-tests.h>.
6546         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6547         the relevant type.
6549 2013-06-12  Andreas Jaeger  <aj@suse.de>
6551         * po/ia.po: Update Interlingua translation from translation
6552         project.
6554 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6556         * include/fenv.h: Include stdbool.h.
6557         (struct rm_ctx): New structure.
6558         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6559         Define macro.
6560         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6561         (SET_RESTORE_ROUNDF): Likewise.
6562         (SET_RESTORE_ROUNDL): Likewise.
6563         (SET_RESTORE_ROUND_NOEX): Likewise.
6564         (SET_RESTORE_ROUND_NOEXF): Likewise.
6565         (SET_RESTORE_ROUND_NOEXL): Likewise.
6566         (SET_RESTORE_ROUND_53BIT): Likewise.
6567         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6568         (libc_feresetround_noexf_ctx): Likewise.
6569         (libc_feresetround_noexl_ctx): Likewise.
6570         (libc_feholdsetround_53bit_ctx): Likewise.
6571         (libc_feresetround_53bit_ctx): Likewise.
6572         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6573         (libc_feholdexcept_setround_sse_ctx): New function.
6574         (libc_fesetenv_sse_ctx): Likewise.
6575         (libc_feupdateenv_sse_ctx): Likewise.
6576         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6577         (libc_feholdexcept_setround_387_ctx): Likewise.
6578         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6579         (libc_feholdsetround_387_prec_ctx): Likewise.
6580         (libc_feholdsetround_387_ctx): Likewise.
6581         (libc_feholdsetround_387_53bit_ctx): Likewise.
6582         (libc_feholdsetround_sse_ctx): Likewise.
6583         (libc_feresetround_sse_ctx): Likewise.
6584         (libc_feresetround_387_ctx): Likewise.
6585         (libc_feupdateenv_387_ctx): Likewise.
6586         (libc_feholdexcept_setroundf_ctx): Define macro.
6587         (libc_fesetenvf_ctx): Likewise.
6588         (libc_feupdateenvf_ctx): Likewise.
6589         (libc_feholdsetroundf_ctx): Likewise.
6590         (libc_feresetroundf_ctx): Likewise.
6591         (libc_feholdexcept_setround_ctx): Likewise.
6592         (libc_fesetenv_ctx): Likewise.
6593         (libc_feupdateenv_ctx): Likewise.
6594         (libc_feholdsetround_ctx): Likewise.
6595         (libc_feresetround_ctx): Likewise.
6596         (libc_feholdexcept_setroundl_ctx): Likewise.
6597         (libc_feupdateenvl_ctx): Likewise.
6598         (libc_feholdsetroundl_ctx): Likewise.
6599         (libc_feresetroundl_ctx): Likewise.
6600         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6601         (libc_feresetround_53bit_ctx): Likewise.
6603 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6605         * locale/iso-639.def: Convert to UTF-8.
6607 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6609         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6610         (EXCEPTION_TESTS_double): Likewise.
6611         (EXCEPTION_TESTS_long_double): Likewise.
6612         (EXCEPTION_TESTS): Likewise.
6613         * math/libm-test.inc (test_exceptions): Only test exceptions if
6614         EXCEPTION_TESTS (FLOAT).
6616 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6618         * benchtests/Makefile (string-bench): Add strcpy_chk and
6619         stpcpy_chk.
6620         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6621         * benchtests/bench-stpcpy_chk.c: New file.
6622         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6623         * benchtests/bench-strcpy_chk.c: New file.
6624         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6625         code.
6626         (do_test): Likewise.
6628 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6630         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6631         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6632         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6633         with tabs where appropriate.
6634         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6635         dl-procinfo.h.
6636         [PPC_PLATFORM_PPC440]: Likewise.
6637         [PPC_PLATFORM_PPC464]: Likewise.
6638         [PPC_PLATFORM_PPC476]: Likewise.
6639         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6640         ppc464, and ppc476 platform strings merging from ports/
6641         dl-procinfo.h.
6643 2013-06-11  Andreas Schwab  <schwab@suse.de>
6645         [BZ #14991]
6646         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6647         (from_ucs4_idx): Regenerate.
6648         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6649         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6650         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6651         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6652         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6653         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6654         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6655         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6656         from FROM_LOOP and TO_LOOP specific macros.
6657         (BODY): Handle combining characters.
6658         * iconvdata/BIG5HKSCS.irreversible: Update.
6659         * iconvdata/BIG5HKSCS.precomposed: New file.
6660         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6661         characters.
6662         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6664 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6666         * include/sys/time.h: Fix indentation and add copyright header.
6668         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6669         (do_test): Likewise.
6670         * string/test-memchr.c (do_one_test): Likewise.
6671         (do_test): Likewise.
6672         * string/test-memcmp.c (do_one_test): Likewise.
6673         (do_test): Likewise.
6674         * string/test-memcpy.c (do_one_test): Likewise.
6675         (do_test): Likewise.
6676         * string/test-memmem.c (do_one_test): Likewise.
6677         (do_test): Likewise.
6678         (do_random_tests): Likewise.
6679         * string/test-memmove.c (do_one_test): Likewise.
6680         (do_test): Likewise.
6681         * string/test-memset.c (do_one_test): Likewise.
6682         (do_test): Likewise.
6683         * string/test-rawmemchr.c (do_one_test): Likewise.
6684         (do_test): Likewise.
6685         * string/test-strcasecmp.c (do_one_test): Likewise.
6686         (do_test): Likewise.
6687         * string/test-strcasestr.c (do_one_test): Likewise.
6688         (do_test): Likewise.
6689         * string/test-strcat.c (do_one_test): Likewise.
6690         (do_test): Likewise.
6691         * string/test-strchr.c (do_one_test): Likewise.
6692         (do_test): Likewise.
6693         * string/test-strcmp.c (do_one_test): Likewise.
6694         (do_test): Likewise.
6695         * string/test-strcpy.c (do_one_test): Likewise.
6696         (do_test): Likewise.
6697         * string/test-string.h: Likewise.
6698         (test_init): Likewise.
6699         * string/test-strlen.c (do_one_test): Likewise.
6700         (do_test): Likewise.
6701         * string/test-strncasecmp.c (do_one_test): Likewise.
6702         (do_test): Likewise.
6703         * string/test-strncat.c (do_one_test): Likewise.
6704         (do_test): Likewise.
6705         * string/test-strncmp.c (do_one_test): Likewise.
6706         (do_test_limit): Likewise.
6707         (do_test): Likewise.
6708         * string/test-strncpy.c (do_one_test): Likewise.
6709         (do_test): Likewise.
6710         * string/test-strnlen.c (do_one_test): Likewise.
6711         (do_test): Likewise.
6712         * string/test-strpbrk.c (do_one_test): Likewise.
6713         (do_test): Likewise.
6714         * string/test-strrchr.c (do_one_test): Likewise.
6715         (do_test): Likewise.
6716         * string/test-strspn.c (do_one_test): Likewise.
6717         (do_test): Likewise.
6718         * string/test-strstr.c (do_one_test): Likewise.
6719         (do_test): Likewise.
6721         * benchtests/Makefile (string-bench): Add string benchmarks.
6722         * benchtests/bench-bcopy-ifunc.c: New file.
6723         * benchtests/bench-bcopy.c: New file.
6724         * benchtests/bench-bzero-ifunc.c: New file.
6725         * benchtests/bench-bzero.c: New file.
6726         * benchtests/bench-memccpy-ifunc.c: New file.
6727         * benchtests/bench-memccpy.c: New file.
6728         * benchtests/bench-memchr-ifunc.c: New file.
6729         * benchtests/bench-memchr.c: New file.
6730         * benchtests/bench-memcmp-ifunc.c: New file.
6731         * benchtests/bench-memcmp.c: New file.
6732         * benchtests/bench-memmem-ifunc.c: New file.
6733         * benchtests/bench-memmem.c: New file.
6734         * benchtests/bench-memmove-ifunc.c: New file.
6735         * benchtests/bench-memmove.c: New file.
6736         * benchtests/bench-mempcpy-ifunc.c: New file.
6737         * benchtests/bench-mempcpy.c: New file.
6738         * benchtests/bench-memset-ifunc.c: New file.
6739         * benchtests/bench-memset.c: New file.
6740         * benchtests/bench-rawmemchr-ifunc.c: New file.
6741         * benchtests/bench-rawmemchr.c: New file.
6742         * benchtests/bench-stpcpy-ifunc.c: New file.
6743         * benchtests/bench-stpcpy.c: New file.
6744         * benchtests/bench-stpncpy-ifunc.c: New file.
6745         * benchtests/bench-stpncpy.c: New file.
6746         * benchtests/bench-strcasecmp-ifunc.c: New file.
6747         * benchtests/bench-strcasecmp.c: New file.
6748         * benchtests/bench-strcasestr-ifunc.c: New file.
6749         * benchtests/bench-strcasestr.c: New file.
6750         * benchtests/bench-strcat-ifunc.c: New file.
6751         * benchtests/bench-strcat.c: New file.
6752         * benchtests/bench-strchr-ifunc.c: New file.
6753         * benchtests/bench-strchr.c: New file.
6754         * benchtests/bench-strchrnul-ifunc.c: New file.
6755         * benchtests/bench-strchrnul.c: New file.
6756         * benchtests/bench-strcmp-ifunc.c: New file.
6757         * benchtests/bench-strcmp.c: New file.
6758         * benchtests/bench-strcpy-ifunc.c: New file.
6759         * benchtests/bench-strcpy.c: New file.
6760         * benchtests/bench-strcspn-ifunc.c: New file.
6761         * benchtests/bench-strcspn.c: New file.
6762         * benchtests/bench-strlen-ifunc.c: New file.
6763         * benchtests/bench-strlen.c: New file.
6764         * benchtests/bench-strncasecmp-ifunc.c: New file.
6765         * benchtests/bench-strncasecmp.c: New file.
6766         * benchtests/bench-strncat-ifunc.c: New file.
6767         * benchtests/bench-strncat.c: New file.
6768         * benchtests/bench-strncmp-ifunc.c: New file.
6769         * benchtests/bench-strncmp.c: New file.
6770         * benchtests/bench-strncpy-ifunc.c: New file.
6771         * benchtests/bench-strncpy.c: New file.
6772         * benchtests/bench-strnlen-ifunc.c: New file.
6773         * benchtests/bench-strnlen.c: New file.
6774         * benchtests/bench-strpbrk-ifunc.c: New file.
6775         * benchtests/bench-strpbrk.c: New file.
6776         * benchtests/bench-strrchr-ifunc.c: New file.
6777         * benchtests/bench-strrchr.c: New file.
6778         * benchtests/bench-strspn-ifunc.c: New file.
6779         * benchtests/bench-strspn.c: New file.
6780         * benchtests/bench-strstr-ifunc.c: New file.
6781         * benchtests/bench-strstr.c: New file.
6783         * benchtests/Makefile: Disable parallel execution of targets.
6784         (string-bench): Add memcpy.
6785         (benchset): New variable to store a list of benchmark sets.
6786         (bench-func): Renamed from bench.
6787         (bench-set): New target.
6788         (bench): Depend on bench-func and bench-set.
6789         * benchtests/README: Add section on benchmark sets.
6790         * benchtests/bench-memcpy-ifunc.c: New file.
6791         * benchtests/bench-memcpy.c: New file.
6792         * benchtests/bench-string.h: New file.
6794 2013-06-11  Andreas Schwab  <schwab@suse.de>
6796         [BZ #15577]
6797         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6798         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6799         values in the triple.
6800         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6801         terminator in the group key.
6803 2013-06-11  Andreas Jaeger  <aj@suse.de>
6805         * po/zh_TW.po: Update Chinese (traditional) translation from
6806         translation project.
6808 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6810         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6811         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6812         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6813         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6814         (clock_getcpuclockid): Likewise.
6815         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6816         Add weak_alias and libc_hidden_def.
6817         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6818         * rt/clock_gettime.c (clock_gettime): Rename to
6819         __clock_gettime.  Add weak_alias and libc_hidden_def.
6820         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6821         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6822         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6823         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6824         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6825         Likewise.
6826         * rt/clock_settime.c (clock_settime): Rename to
6827         __clock_settime.  Add weak_alias and libc_hidden_def.
6828         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6830 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6832         * mach/err_boot.sub: Remove trailing whitespace.
6833         * mach/err_ipc.sub: Likewise.
6834         * mach/err_mach.sub: Likewise.
6836         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6837         (ROUNDING_TESTS_double): Likewise.
6838         (ROUNDING_TESTS_long_double): Likewise.
6839         (ROUNDING_TESTS): Likewise.
6840         * math/libm-test.inc: Include <math-tests.h>.
6841         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6842         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6843         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6844         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6846 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6848         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6849         of assigning.
6851 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6853         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6854         otherwise empty TRANS lines.
6855         * sysdeps/gnu/errlist.c: Regenerated.
6857         * catgets/gencat.c (error_print): Use (void) in function
6858         definition.
6859         * crypt/crypt_util.c (__init_des): Likewise.
6860         * crypt/speeds.c (Stop): Likewise.
6861         (main): Likewise.
6862         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6863         * inet/ruserpass.c (token): Likewise.
6864         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6865         * intl/localealias.c (extend_alias_table): Likewise.
6866         * intl/plural-exp.c (init_germanic_plural): Likewise.
6867         * libio/fcloseall.c (__fcloseall): Likewise.
6868         * libio/genops.c (_IO_flush_all): Likewise.
6869         (_IO_flush_all_linebuffered): Likewise.
6870         (_IO_cleanup): Likewise.
6871         (_IO_iter_begin): Likewise.
6872         (_IO_iter_end): Likewise.
6873         (_IO_list_lock): Likewise.
6874         (_IO_list_unlock): Likewise.
6875         (_IO_list_resetlock): Likewise.
6876         * libio/getchar.c (getchar): Likewise.
6877         * libio/getchar_u.c (getchar_unlocked): Likewise.
6878         * libio/getwchar.c (getwchar): Likewise.
6879         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6880         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6881         * login/getpt.c (__getpt): Likewise.
6882         * login/tst-utmp.c (main): Likewise.
6883         * malloc/hooks.c (__malloc_check_init): Likewise.
6884         * malloc/malloc.c (__malloc_stats): Likewise.
6885         * malloc/mtrace.c (tr_break): Likewise.
6886         (mtrace): Likewise.
6887         (muntrace): Likewise.
6888         * misc/fstab.c (endfsent): Likewise.
6889         * misc/getclktck.c (__getclktck): Likewise.
6890         * misc/getdtsz.c (__getdtablesize): Likewise.
6891         * misc/gethostid.c (gethostid): Likewise.
6892         * misc/getpagesize.c (__getpagesize): Likewise.
6893         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6894         (__get_nprocs): Likewise.
6895         (__get_phys_pages): Likewise.
6896         (__get_avphys_pages): Likewise.
6897         * misc/getttyent.c (getttyent): Likewise.
6898         (setttyent): Likewise.
6899         (endttyent): Likewise.
6900         * misc/getusershell.c (getusershell): Likewise.
6901         (endusershell): Likewise.
6902         (setusershell): Likewise.
6903         (initshells): Likewise.
6904         * misc/hsearch.c (__hdestroy): Likewise.
6905         * misc/sync.c (sync): Likewise.
6906         * misc/syslog.c (closelog_internal): Likewise.
6907         (closelog): Likewise.
6908         * misc/ttyslot.c (ttyslot): Likewise.
6909         * misc/vhangup.c (vhangup): Likewise.
6910         * posix/fork.c (__fork): Likewise.
6911         * posix/getegid.c (__getegid): Likewise.
6912         * posix/geteuid.c (__geteuid): Likewise.
6913         * posix/getgid.c (__getgid): Likewise.
6914         * posix/getpid.c (__getpid): Likewise.
6915         * posix/getppid.c (__getppid): Likewise.
6916         * posix/getuid.c (__getuid): Likewise.
6917         * posix/pause.c (pause): Likewise.
6918         * posix/setpgrp.c (setpgrp): Likewise.
6919         * posix/setsid.c (__setsid): Likewise.
6920         * posix/test-vfork.c (noop): Likewise.
6921         * resolv/gethnamaddr.c (_endhtent): Likewise.
6922         (_gethtent): Likewise.
6923         (ht_endhostent): Likewise.
6924         (gethostent): Likewise.
6925         (dns_service): Likewise.
6926         * stdlib/drand48.c (drand48): Likewise.
6927         * stdlib/lrand48.c (lrand48): Likewise.
6928         * stdlib/mrand48.c (mrand48): Likewise.
6929         * stdlib/rand.c (rand): Likewise.
6930         * stdlib/random.c (__random): Likewise.
6931         * stdlib/setenv.c (clearenv): Likewise.
6932         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6933         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6934         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6935         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6936         (__get_nprocs): Likewise.
6937         (__get_phys_pages): Likewise.
6938         (__get_avphys_pages): Likewise.
6939         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6940         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6941         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6942         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6943         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6944         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6945         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6946         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6947         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6948         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6949         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6950         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6951         * sysdeps/posix/clock.c (clock): Likewise.
6952         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6953         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6954         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6955         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6956         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6958         (__get_nprocs_conf): Likewise.
6959         (__get_phys_pages): Likewise.
6960         (__get_avphys_pages): Likewise.
6961         * time/clock.c (clock): Likewise.
6962         * time/tzset.c (__tzname_max): Likewise.
6964 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6966         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6967         (__bswap_32): Do not use "register".
6968         * crypt/crypt.c (_ufc_doit_r): Likewise.
6969         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6970         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6971         * gmon/gmon.c (__monstartup): Likewise.
6972         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6973         * hurd/hurdmalloc.c (more_memory): Likewise.
6974         (malloc): Likewise.
6975         (free): Likewise.
6976         (realloc): Likewise.
6977         (malloc_fork_prepare): Likewise.
6978         (malloc_fork_parent): Likewise.
6979         (malloc_fork_child): Likewise.
6980         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6981         (_svcauth_des): Likewise.
6982         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6983         * inet/inet_net.c (inet_network): Likewise.
6984         * inet/inet_netof.c (inet_netof): Likewise.
6985         * inet/rcmd.c (__validuser2_sa): Likewise.
6986         * io/fts.c (fts_open): Likewise.
6987         (fts_load): Likewise.
6988         (fts_close): Likewise.
6989         (fts_read): Likewise.
6990         (fts_children): Likewise.
6991         (fts_build): Likewise.
6992         (fts_stat): Likewise.
6993         (fts_sort): Likewise.
6994         (fts_alloc): Likewise.
6995         (fts_lfree): Likewise.
6996         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6997         (_IO_file_xsgetn): Likewise.
6998         (_IO_file_xsgetn_mmap): Likewise.
6999         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7000         (_IO_cookie_write): Likewise.
7001         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7002         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7003         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7004         * malloc/obstack.c (_obstack_begin): Likewise.
7005         (_obstack_begin_1): Likewise.
7006         (_obstack_newchunk): Likewise.
7007         (_obstack_allocated_p): Likewise.
7008         (obstack_free): Likewise.
7009         (_obstack_memory_used): Likewise.
7010         * misc/getttyent.c (getttynam): Likewise.
7011         (getttyent): Likewise.
7012         (skip): Likewise.
7013         (value): Likewise.
7014         * misc/getusershell.c (initshells): Likewise.
7015         * misc/syslog.c (__vsyslog_chk): Likewise.
7016         * misc/ttyslot.c (ttyslot): Likewise.
7017         * nis/nis_hash.c (__nis_hash): Likewise.
7018         * posix/fnmatch_loop.c (FCT): Likewise.
7019         * posix/getconf.c (print_all): Likewise.
7020         (main): Likewise.
7021         * posix/getopt.c (exchange): Likewise.
7022         * posix/glob.c (globfree): Likewise.
7023         (prefix_array): Likewise.
7024         (__glob_pattern_type): Likewise.
7025         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7026         (NS_GET32): Likewise.
7027         (NS_PUT16): Likewise.
7028         (NS_PUT32): Likewise.
7029         * resolv/gethnamaddr.c (getanswer): Likewise.
7030         (gethostbyname2): Likewise.
7031         (gethostbyaddr): Likewise.
7032         (_gethtent): Likewise.
7033         (_gethtbyname2): Likewise.
7034         (_gethtbyaddr): Likewise.
7035         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7036         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7037         * resolv/res_init.c (__res_vinit): Likewise.
7038         (net_mask): Likewise.
7039         * resolv/res_mkquery.c (outchar): Likewise.
7040         (PRINT): Likewise.
7041         * stdio-common/printf_fp.c (outchar): Likewise.
7042         (PRINT): Likewise.
7043         * stdio-common/printf_fphex.c (outchar): Likewise.
7044         (PRINT): Likewise.
7045         * stdio-common/printf_size.c (outchar): Likewise.
7046         (PRINT): Likewise.
7047         * stdio-common/test_rdwr.c (main): Likewise.
7048         * stdio-common/tfformat.c (matches): Likewise.
7049         * stdio-common/vfprintf.c (outchar): Likewise.
7050         (printf_unknown): Likewise.
7051         (buffered_vfprintf): Likewise.
7052         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7053         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7054         (ReadFile): Likewise.
7055         * stdlib/qsort.c (SWAP): Likewise.
7056         (_quicksort): Likewise.
7057         * stdlib/setenv.c (__add_to_environ): Likewise.
7058         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7059         * stdlib/strtol_l.c (__strtol_l): Likewise.
7060         * stdlib/tst-strtod.c (main): Likewise.
7061         * stdlib/tst-strtol.c (main): Likewise.
7062         * stdlib/tst-strtoll.c (main): Likewise.
7063         * string/bits/string2.h (__strcmp_cc): Likewise.
7064         (__strcmp_cg): Likewise.
7065         (__strcspn_c1): Likewise.
7066         (__strcspn_c2): Likewise.
7067         (__strcspn_c3): Likewise.
7068         (__strspn_c1): Likewise.
7069         (__strspn_c2): Likewise.
7070         (__strspn_c3): Likewise.
7071         (__strsep_1c): Likewise.
7072         (__strsep_2c): Likewise.
7073         (__strsep_3c): Likewise.
7074         * string/memccpy.c (__memccpy): Likewise.
7075         * string/stpcpy.c (__stpcpy): Likewise.
7076         * string/strcmp.c (strcmp): Likewise.
7077         * string/strrchr.c (strrchr): Likewise.
7078         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7079         Likewise.
7080         * sysdeps/mach/hurd/getcwd.c
7081         (_hurd_canonicalize_directory_name_internal): Likewise.
7082         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7083         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7084         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7085         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7086         Likewise, in both definitions.
7087         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7088         definitions.
7089         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7090         64] (__bswap_64): Likewise.
7091         * time/test_time.c (main): Likewise.
7092         * time/tzfile.c (__tzfile_read): Likewise.
7093         (__tzfile_compute): Likewise.
7094         * time/tzset.c (__tzset_parse_tz): Likewise.
7095         (tzset_internal): Likewise.
7096         (compute_change): Likewise.
7097         * wcsmbs/wcscat.c (__wcscat): Likewise.
7098         * wcsmbs/wcschr.c (wcschr): Likewise.
7099         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7100         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7101         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7102         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7103         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7104         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7105         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7106         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7107         * wcsmbs/wmemset.c (wmemset): Likewise.
7109 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7111         * scripts/config.guess: Update to version 2013-05-16.
7112         * scripts/config.sub: Update to version 2013-04-24.
7113         * scripts/install-sh: Update to version 2011-11-20.07.
7114         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7115         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7117 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7119         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7120         * elf/sln.c: Likewise.
7121         * hurd/hurd/ioctl.h: Likewise.
7122         * hurd/hurdmalloc.c: Likewise.
7123         * hurd/xattr.c: Likewise.
7124         * include/shlib-compat.h: Likewise.
7125         * inet/ruserpass.c: Likewise.
7126         * libio/iofgets_u.c: Likewise.
7127         * libio/iofgetws_u.c: Likewise.
7128         * locale/programs/ld-identification.c: Likewise.
7129         * locale/programs/ld-time.c: Likewise.
7130         * mach/msg-destroy.c: Likewise.
7131         * nss/nss_files/files-netgrp.c: Likewise.
7132         * resolv/res_data.c: Likewise.
7133         * soft-fp/op-1.h: Likewise.
7134         * soft-fp/op-2.h: Likewise.
7135         * soft-fp/op-4.h: Likewise.
7136         * soft-fp/op-common.h: Likewise.
7137         * stdio-common/printf_fphex.c: Likewise.
7138         * stdlib/strtod_l.c: Likewise.
7139         * sunrpc/rpc/clnt.h: Likewise.
7140         * sysdeps/generic/framestate.c: Likewise.
7141         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7142         * sysdeps/i386/bsd-setjmp.S: Likewise.
7143         * sysdeps/i386/__longjmp.S: Likewise.
7144         * sysdeps/i386/setjmp.S: Likewise.
7145         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7146         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7147         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7149         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7150         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7152         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7153         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7162         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7163         * sysdeps/ieee754/support.c: Likewise.
7164         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7165         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7166         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7167         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7168         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7169         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7170         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7171         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7172         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7173         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7174         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7175         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7176         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7177         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7178         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7179         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7180         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7183 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7185         * posix/transbug.c: Remove executable mode.
7187 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7189         * crypt/speeds.c: Remove trailing whitespace.
7190         * dlfcn/default.c: Likewise.
7191         * elf/ifuncdep2.c: Likewise.
7192         * elf/ifuncmain1.c: Likewise.
7193         * elf/ifuncmain1vis.c: Likewise.
7194         * elf/testobj.h: Likewise.
7195         * elf/tst-stackguard1.c: Likewise.
7196         * gmon/sys/gmon.h: Likewise.
7197         * hurd/hurdmsg.c: Likewise.
7198         * hurd/new-fd.c: Likewise.
7199         * hurd/ports-get.c: Likewise.
7200         * iconvdata/ibm1008_420.c: Likewise.
7201         * inet/tst-getni1.c: Likewise.
7202         * inet/tst-getni2.c: Likewise.
7203         * libio/ioungetc.c: Likewise.
7204         * libio/wfiledoalloc.c: Likewise.
7205         * manual/libm-err-tab.pl: Likewise.
7206         * math/w_dremf.c: Likewise.
7207         * misc/ftruncate.c: Likewise.
7208         * posix/bug-glob2.c: Likewise.
7209         * posix/tst-pcre.c: Likewise.
7210         * posix/wait4.c: Likewise.
7211         * resolv/README: Likewise.
7212         * resolv/res_debug.h: Likewise.
7213         * resolv/tst-inet_ntop.c: Likewise.
7214         * setjmp/bug269-setjmp.c: Likewise.
7215         * soft-fp/extended.h: Likewise.
7216         * soft-fp/op-1.h: Likewise.
7217         * soft-fp/op-2.h: Likewise.
7218         * soft-fp/op-4.h: Likewise.
7219         * soft-fp/op-8.h: Likewise.
7220         * soft-fp/testit.c: Likewise.
7221         * stdio-common/bug16.c: Likewise.
7222         * stdlib/random.c: Likewise.
7223         * sunrpc/rpcsvc/rquota.x: Likewise.
7224         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7225         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7226         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7227         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7228         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7229         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7230         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7231         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7232         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7233         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7234         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7237         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7240         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7242         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7243         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7245         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7251         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7252         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7253         * sysdeps/ieee754/s_lib_version.c: Likewise.
7254         * sysdeps/mach/hurd/check_fds.c: Likewise.
7255         * sysdeps/mach/hurd/getsockname.c: Likewise.
7256         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7257         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7258         * sysdeps/powerpc/bits/link.h: Likewise.
7259         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7260         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7261         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7262         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7263         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7264         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7265         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7266         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7267         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7268         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7269         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7270         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7271         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7272         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7273         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7274         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7275         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7276         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7277         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7278         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7279         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7280         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7281         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7282         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7283         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7284         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7285         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7286         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7287         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7288         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7289         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7291         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7292         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7293         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7294         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7295         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7296         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7297         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7298         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7299         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7300         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7301         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7302         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7303         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7304         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7305         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7306         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7307         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7308         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7309         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7310         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7314         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7315         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7316         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7317         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7318         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7319         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7320         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7321         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7322         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7323         * sysdeps/powerpc/sysdep.h: Likewise.
7324         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7325         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7326         * sysdeps/sh/dl-trampoline.S: Likewise.
7327         * sysdeps/sh/memset.S: Likewise.
7328         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7329         * sysdeps/sh/strlen.S: Likewise.
7330         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7331         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7332         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7333         * sysdeps/sparc/sparc32/rem.S: Likewise.
7334         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7335         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7336         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7337         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7338         * sysdeps/sparc/sparc32/urem.S: Likewise.
7339         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7340         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7341         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7342         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7343         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7344         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7345         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7346         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7347         * sysdeps/unix/bsd/times.c: Likewise.
7348         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7349         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7353         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7354         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7355         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7358         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7359         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7360         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7361         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7363         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7364         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7365         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7366         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7367         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7368         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7369         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7370         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7371         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7372         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7373         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7374         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7375         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7376         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7377         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7378         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7379         * sysdeps/x86_64/strcspn.S: Likewise.
7381 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7383         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7384         generated file.  Regenerate properly from gen-translit.pl.
7385         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7386         locale/C-translit.h.
7388 2013-06-05  Andreas Schwab  <schwab@suse.de>
7390         [BZ #15100]
7391         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7392         week as 6 instead of -1.
7393         * time/tst-strptime.c (day_tests): Add test case.
7395 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7397         * sysdeps/generic/math_private.h
7398         (libc_feholdexcept_setround_53bit): Replace with
7399         libc_feholdsetround_53bit.
7400         (libc_feupdateenv_53bit): Replace with
7401         libc_feresetround_53bit.
7402         (SET_RESTORE_ROUND_53BIT): Adjust.
7404 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7406         * string/test-strchrnul.c: Add copyright header.
7408         * posix/tst-getaddrinfo4.c: Increase test timeout.
7410 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7412         [BZ #15536]
7413         * math/libm-test.inc (MAX_EXP): Remove
7414         (MIN_EXP): Define.
7415         (ulp): Use MIN_EXP - MANT_DIG.
7416         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7418 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7420         * po/be.po: Revert last change.
7421         * po/zh_CN.po: Likewise.
7422         * po/header.pot: Likewise.
7424 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7426         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7427         link-libc-deps to empty as target-specific variable.
7428         * Makerules (link-libc-args): New variable.
7429         (libc-for-link): Likewise.
7430         (link-libc-deps): Likewise.
7431         (lib%.so): Depend on $(link-libc-deps).  Link with
7432         $(link-libc-args).
7433         (build-module): Link with $(link-libc-args).
7434         (build-module-asneeded): Likewise.
7435         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7436         list of objects.
7437         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7438         target-specific variable.
7439         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7440         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7441         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7442         libc.
7443         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7444         libc and ld.so.
7445         ($(objpfx)libpcprofile.so): Likewise.
7446         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7447         libc_nonshared.a.
7448         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7449         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7450         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7451         $(link-libc-deps).
7452         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7453         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7454         * login/Makefile ($(objpfx)libutil.so): Likewise.
7455         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7456         * math/Makefile ($(objpfx)libm.so): Likewise.
7457         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7458         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7459         variable instead of depending directly on libc.
7460         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7461         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7462         $(link-libc-deps).
7463         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7464         libc.
7465         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7466         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7467         ($(objpfx)libanl.so): Likewise.
7468         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7469         ld.so.
7470         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7471         $(link-libc-deps).
7472         * sysdeps/i386/fpu/Makefile: Remove file.
7473         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7474         ($(objpfx)libm.so): Remove dependency on ld.so.
7476 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7478         [BZ # 15553]
7479         * nis/yp_xdr.c (XDRMAXNAME): Define.
7480         (XDRMAXRECORD): Define.
7481         (xdr_domainname): Use XDRMAXNAME.
7482         (xdr_mapname): Likewise.
7483         (xdr_peername): Likewise.
7484         (xdr_keydat): Use XDRMAXRECORD.
7485         (xdr_valdat): Likewise.
7487 2013-05-30  Jeff Law  <law@redhat.com>
7489         [BZ #14256]
7490         * manual/errno.texi (ESTALE): Update to account for more than
7491         just NFS file systems.
7492         * sysdeps/gnu/errlist.c: Regenerated.
7494 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         [BZ #15465]
7497         * elf/Makefile (tests): Add tst-null-argv.
7498         (modules-names):  Add tst-null-argv-lib.
7499         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7500         (tst-null-argv-ENV): Set environment for tst-null-argv.
7501         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7502         (RTLD_PROGNAME): New macro.
7503         * elf/tst-null-argv.c: New test case.
7504         * elf/tst-null-argv-lib.c: Library for test case.
7505         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7506         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7507         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7508         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7509         * elf/dl-init.c (call_init): Likewise.
7510         (_dl_init): Likewise.
7511         * elf/dl-load.c (print_search_path): Likewise.
7512         (_dl_map_object): Likewise.
7513         * elf/dl-lookup.c (do_lookup_x): Likewise.
7514         (add_dependency): Likewise.
7515         (_dl_lookup_symbol_x): Likewise.
7516         (_dl_debug_bindings): Likewise.
7517         * elf/dl-open.c (_dl_show_scope): Likewise.
7518         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7519         * elf/dl-version.c (match_symbol): Likewise.
7520         (_dl_check_map_versions): Likewise.
7521         * elf/rtld.c (dl_main): Likewise.
7522         (print_unresolved): Use RTLD_PROGNAME.
7523         (print_missing_version): Likewise.
7524         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7525         (elf_machine_rela): Likewise.
7526         * sysdeps/powerpc/powerpc32/dl-machine.c
7527         (__process_machine_rela): Likewise.
7528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7529         Likewise.
7530         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7531         Likewise.
7532         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7533         Likewise.
7534         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7535         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7536         Likewise.
7537         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7538         Likewise.
7539         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7541 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7543         * po/be.po: Add descriptive title.
7544         * po/zh_CN.po: Likewise.
7545         * po/header.pot: Likewise.
7547 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7549         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7550         error message.
7551         (enlarge_archive): Likewise.
7553 2013-05-28  Ben North  <ben@redfrontdoor.org>
7555         * manual/arith.texi (frexp): It is the magnitude of the return
7556         value which lies in [0.5, 1), not the return value itself.
7558 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7562 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7564         * stdio-common/bug26.c (main): Correct fscanf template.
7566         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7567         declare _dl_skip_args.
7569         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7570         Don't declare.
7572         * manual/platform.texi: Add missing @end deftypefun.
7574 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7576         [BZ #15529]
7577         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7578         bit of mantissa of 2^16382.
7579         * math/libm-test.inc (hypot_test_data): Add more tests.
7581         * math/libm-test.inc: Add drem and pow10 to list of tested
7582         functions.
7583         (pow10_test): New function.
7584         (drem_test): Likewise.
7585         (drem_test_tonearest): Likewise.
7586         (drem_test_towardzero): Likewise.
7587         (drem_test_downward): Likewise.
7588         (drem_test_upward): Likewise.
7589         (main): Call the new functions.
7591         * math/libm-test.inc (finite_test_data): Remove.
7592         (finite_test): Run tests from isfinite_test_data.
7593         (gamma_test_data): Remove.
7594         (gamma_test): Run tests from lgamma_test_data.
7595         * sysdeps/i386/fpu/libm-test-ulps: Update.
7596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7598 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7600         * manual/platform.texi: Add PowerPC PPR function set documentation.
7601         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7602         implementation.
7604 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7606         * math/libm-test.inc (MAX_EXP): Define.
7607         (ULPDIFF): Define.
7608         (ulp): New function.
7609         (check_float_internal): Use ULPDIFF.
7610         (cpow_test): Disable failing test.
7611         (check_ulp): Test ulp() implemetnation.
7612         (main): Call check_ulp before starting tests.
7614 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7616         * math/gen-libm-test.pl (generate_testfile): Do not handle
7617         START_DATA and END_DATA.
7618         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7619         END_DATA.
7620         (acos_tonearest_test_data): Likewise.
7621         (acos_towardzero_test_data): Likewise.
7622         (acos_downward_test_data): Likewise.
7623         (acos_upward_test_data): Likewise.
7624         (acosh_test_data): Likewise.
7625         (asin_test_data): Likewise.
7626         (asin_tonearest_test_data): Likewise.
7627         (asin_towardzero_test_data): Likewise.
7628         (asin_downward_test_data): Likewise.
7629         (asin_upward_test_data): Likewise.
7630         (asinh_test_data): Likewise.
7631         (atan_test_data): Likewise.
7632         (atanh_test_data): Likewise.
7633         (atan2_test_data): Likewise.
7634         (cabs_test_data): Likewise.
7635         (cacos_test_data): Likewise.
7636         (cacosh_test_data): Likewise.
7637         (carg_test_data): Likewise.
7638         (casin_test_data): Likewise.
7639         (casinh_test_data): Likewise.
7640         (catan_test_data): Likewise.
7641         (catanh_test_data): Likewise.
7642         (cbrt_test_data): Likewise.
7643         (ccos_test_data): Likewise.
7644         (ccosh_test_data): Likewise.
7645         (ceil_test_data): Likewise.
7646         (cexp_test_data): Likewise.
7647         (cimag_test_data): Likewise.
7648         (clog_test_data): Likewise.
7649         (clog10_test_data): Likewise.
7650         (conj_test_data): Likewise.
7651         (copysign_test_data): Likewise.
7652         (cos_test_data): Likewise.
7653         (cos_tonearest_test_data): Likewise.
7654         (cos_towardzero_test_data): Likewise.
7655         (cos_downward_test_data): Likewise.
7656         (cos_upward_test_data): Likewise.
7657         (cosh_test_data): Likewise.
7658         (cosh_tonearest_test_data): Likewise.
7659         (cosh_towardzero_test_data): Likewise.
7660         (cosh_downward_test_data): Likewise.
7661         (cosh_upward_test_data): Likewise.
7662         (cpow_test_data): Likewise.
7663         (cproj_test_data): Likewise.
7664         (creal_test_data): Likewise.
7665         (csin_test_data): Likewise.
7666         (csinh_test_data): Likewise.
7667         (csqrt_test_data): Likewise.
7668         (ctan_test_data): Likewise.
7669         (ctan_tonearest_test_data): Likewise.
7670         (ctan_towardzero_test_data): Likewise.
7671         (ctan_downward_test_data): Likewise.
7672         (ctan_upward_test_data): Likewise.
7673         (ctanh_test_data): Likewise.
7674         (ctanh_tonearest_test_data): Likewise.
7675         (ctanh_towardzero_test_data): Likewise.
7676         (ctanh_downward_test_data): Likewise.
7677         (ctanh_upward_test_data): Likewise.
7678         (erf_test_data): Likewise.
7679         (erfc_test_data): Likewise.
7680         (exp_test_data): Likewise.
7681         (exp_tonearest_test_data): Likewise.
7682         (exp_towardzero_test_data): Likewise.
7683         (exp_downward_test_data): Likewise.
7684         (exp_upward_test_data): Likewise.
7685         (exp10_test_data): Likewise.
7686         (exp2_test_data): Likewise.
7687         (expm1_test_data): Likewise.
7688         (fabs_test_data): Likewise.
7689         (fdim_test_data): Likewise.
7690         (finite_test_data): Likewise.
7691         (floor_test_data): Likewise.
7692         (fma_test_data): Likewise.
7693         (fma_towardzero_test_data): Likewise.
7694         (fma_downward_test_data): Likewise.
7695         (fma_upward_test_data): Likewise.
7696         (fmax_test_data): Likewise.
7697         (fmin_test_data): Likewise.
7698         (fmod_test_data): Likewise.
7699         (fpclassify_test_data): Likewise.
7700         (frexp_test_data): Likewise.
7701         (gamma_test_data): Likewise.
7702         (hypot_test_data): Likewise.
7703         (ilogb_test_data): Likewise.
7704         (isfinite_test_data): Likewise.
7705         (isgreater_test_data): Likewise.
7706         (isgreaterequal_test_data): Likewise.
7707         (isinf_test_data): Likewise.
7708         (isless_test_data): Likewise.
7709         (islessequal_test_data): Likewise.
7710         (islessgreater_test_data): Likewise.
7711         (isnan_test_data): Likewise.
7712         (isnormal_test_data): Likewise.
7713         (issignaling_test_data): Likewise.
7714         (isunordered_test_data): Likewise.
7715         (j0_test_data): Likewise.
7716         (j1_test_data): Likewise.
7717         (jn_test_data): Likewise.
7718         (ldexp_test_data): Likewise.
7719         (lgamma_test_data): Likewise.
7720         (lrint_test_data): Likewise.
7721         (lrint_tonearest_test_data): Likewise.
7722         (lrint_towardzero_test_data): Likewise.
7723         (lrint_downward_test_data): Likewise.
7724         (lrint_upward_test_data): Likewise.
7725         (llrint_test_data): Likewise.
7726         (llrint_tonearest_test_data): Likewise.
7727         (llrint_towardzero_test_data): Likewise.
7728         (llrint_downward_test_data): Likewise.
7729         (llrint_upward_test_data): Likewise.
7730         (log_test_data): Likewise.
7731         (log10_test_data): Likewise.
7732         (log1p_test_data): Likewise.
7733         (log2_test_data): Likewise.
7734         (logb_test_data): Likewise.
7735         (logb_downward_test_data): Likewise.
7736         (lround_test_data): Likewise.
7737         (llround_test_data): Likewise.
7738         (modf_test_data): Likewise.
7739         (nearbyint_test_data): Likewise.
7740         (nextafter_test_data): Likewise.
7741         (nexttoward_test_data): Likewise.
7742         (pow_test_data): Likewise.
7743         (pow_tonearest_test_data): Likewise.
7744         (pow_towardzero_test_data): Likewise.
7745         (pow_downward_test_data): Likewise.
7746         (pow_upward_test_data): Likewise.
7747         (remainder_test_data): Likewise.
7748         (remainder_tonearest_test_data): Likewise.
7749         (remainder_towardzero_test_data): Likewise.
7750         (remainder_downward_test_data): Likewise.
7751         (remainder_upward_test_data): Likewise.
7752         (remquo_test_data): Likewise.
7753         (rint_test_data): Likewise.
7754         (rint_tonearest_test_data): Likewise.
7755         (rint_towardzero_test_data): Likewise.
7756         (rint_downward_test_data): Likewise.
7757         (rint_upward_test_data): Likewise.
7758         (round_test_data): Likewise.
7759         (scalb_test_data): Likewise.
7760         (scalbn_test_data): Likewise.
7761         (scalbln_test_data): Likewise.
7762         (signbit_test_data): Likewise.
7763         (sin_test_data): Likewise.
7764         (sin_tonearest_test_data): Likewise.
7765         (sin_towardzero_test_data): Likewise.
7766         (sin_downward_test_data): Likewise.
7767         (sin_upward_test_data): Likewise.
7768         (sincos_test_data): Likewise.
7769         (sinh_test_data): Likewise.
7770         (sinh_tonearest_test_data): Likewise.
7771         (sinh_towardzero_test_data): Likewise.
7772         (sinh_downward_test_data): Likewise.
7773         (sinh_upward_test_data): Likewise.
7774         (sqrt_test_data): Likewise.
7775         (tan_test_data): Likewise.
7776         (tan_tonearest_test_data): Likewise.
7777         (tan_towardzero_test_data): Likewise.
7778         (tan_downward_test_data): Likewise.
7779         (tan_upward_test_data): Likewise.
7780         (tanh_test_data): Likewise.
7781         (tgamma_test_data): Likewise.
7782         (trunc_test_data): Likewise.
7783         (y0_test_data): Likewise.
7784         (y1_test_data): Likewise.
7785         (yn_test_data): Likewise.
7786         (significand_test_data): Likewise.
7788         * math/gen-libm-test.pl (@functions): Remove variable.
7789         (generate_testfile): Don't handle START and END lines.
7790         * math/libm-test.inc (START): New macro.
7791         (END): Likewise.
7792         (END_COMPLEX): Likewise.
7793         (acos_test): Use END macro without arguments.
7794         (acos_test_tonearest): Likewise.
7795         (acos_test_towardzero): Likewise.
7796         (acos_test_downward): Likewise.
7797         (acos_test_upward): Likewise.
7798         (acosh_test): Likewise.
7799         (asin_test): Likewise.
7800         (asin_test_tonearest): Likewise.
7801         (asin_test_towardzero): Likewise.
7802         (asin_test_downward): Likewise.
7803         (asin_test_upward): Likewise.
7804         (asinh_test): Likewise.
7805         (atan_test): Likewise.
7806         (atanh_test): Likewise.
7807         (atan2_test): Likewise.
7808         (cabs_test): Likewise.
7809         (cacos_test): Use END_COMPLEX macro without arguments.
7810         (cacosh_test): Likewise.
7811         (carg_test): Use END macro without arguments.
7812         (casin_test): Use END_COMPLEX macro without arguments.
7813         (casinh_test): Likewise.
7814         (catan_test): Likewise.
7815         (catanh_test): Likewise.
7816         (cbrt_test): Use END macro without arguments.
7817         (ccos_test): Use END_COMPLEX macro without arguments.
7818         (ccosh_test): Likewise.
7819         (ceil_test): Use END macro without arguments.
7820         (cexp_test): Use END_COMPLEX macro without arguments.
7821         (cimag_test): Use END macro without arguments.
7822         (clog_test): Use END_COMPLEX macro without arguments.
7823         (clog10_test): Likewise.
7824         (conj_test): Likewise.
7825         (copysign_test): Use END macro without arguments.
7826         (cos_test): Likewise.
7827         (cos_test_tonearest): Likewise.
7828         (cos_test_towardzero): Likewise.
7829         (cos_test_downward): Likewise.
7830         (cos_test_upward): Likewise.
7831         (cosh_test): Likewise.
7832         (cosh_test_tonearest): Likewise.
7833         (cosh_test_towardzero): Likewise.
7834         (cosh_test_downward): Likewise.
7835         (cosh_test_upward): Likewise.
7836         (cpow_test): Use END_COMPLEX macro without arguments.
7837         (cproj_test): Likewise.
7838         (creal_test): Use END macro without arguments.
7839         (csin_test): Use END_COMPLEX macro without arguments.
7840         (csinh_test): Likewise.
7841         (csqrt_test): Likewise.
7842         (ctan_test): Likewise.
7843         (ctan_test_tonearest): Likewise.
7844         (ctan_test_towardzero): Likewise.
7845         (ctan_test_downward): Likewise.
7846         (ctan_test_upward): Likewise.
7847         (ctanh_test): Likewise.
7848         (ctanh_test_tonearest): Likewise.
7849         (ctanh_test_towardzero): Likewise.
7850         (ctanh_test_downward): Likewise.
7851         (ctanh_test_upward): Likewise.
7852         (erf_test): Use END macro without arguments.
7853         (erfc_test): Likewise.
7854         (exp_test): Likewise.
7855         (exp_test_tonearest): Likewise.
7856         (exp_test_towardzero): Likewise.
7857         (exp_test_downward): Likewise.
7858         (exp_test_upward): Likewise.
7859         (exp10_test): Likewise.
7860         (exp2_test): Likewise.
7861         (expm1_test): Likewise.
7862         (fabs_test): Likewise.
7863         (fdim_test): Likewise.
7864         (finite_test): Likewise.
7865         (floor_test): Likewise.
7866         (fma_test): Likewise.
7867         (fma_test_towardzero): Likewise.
7868         (fma_test_downward): Likewise.
7869         (fma_test_upward): Likewise.
7870         (fmax_test): Likewise.
7871         (fmin_test): Likewise.
7872         (fmod_test): Likewise.
7873         (fpclassify_test): Likewise.
7874         (frexp_test): Likewise.
7875         (gamma_test): Likewise.
7876         (hypot_test): Likewise.
7877         (ilogb_test): Likewise.
7878         (isfinite_test): Likewise.
7879         (isgreater_test): Likewise.
7880         (isgreaterequal_test): Likewise.
7881         (isinf_test): Likewise.
7882         (isless_test): Likewise.
7883         (islessequal_test): Likewise.
7884         (islessgreater_test): Likewise.
7885         (isnan_test): Likewise.
7886         (isnormal_test): Likewise.
7887         (issignaling_test): Likewise.
7888         (isunordered_test): Likewise.
7889         (j0_test): Likewise.
7890         (j1_test): Likewise.
7891         (jn_test): Likewise.
7892         (ldexp_test): Likewise.
7893         (lgamma_test): Likewise.
7894         (lrint_test): Likewise.
7895         (lrint_test_tonearest): Likewise.
7896         (lrint_test_towardzero): Likewise.
7897         (lrint_test_downward): Likewise.
7898         (lrint_test_upward): Likewise.
7899         (llrint_test): Likewise.
7900         (llrint_test_tonearest): Likewise.
7901         (llrint_test_towardzero): Likewise.
7902         (llrint_test_downward): Likewise.
7903         (llrint_test_upward): Likewise.
7904         (log_test): Likewise.
7905         (log10_test): Likewise.
7906         (log1p_test): Likewise.
7907         (log2_test): Likewise.
7908         (logb_test): Likewise.
7909         (logb_test_downward): Likewise.
7910         (lround_test): Likewise.
7911         (llround_test): Likewise.
7912         (modf_test): Likewise.
7913         (nearbyint_test): Likewise.
7914         (nextafter_test): Likewise.
7915         (nexttoward_test): Likewise.
7916         (pow_test): Likewise.
7917         (pow_test_tonearest): Likewise.
7918         (pow_test_towardzero): Likewise.
7919         (pow_test_downward): Likewise.
7920         (pow_test_upward): Likewise.
7921         (remainder_test): Likewise.
7922         (remainder_test_tonearest): Likewise.
7923         (remainder_test_towardzero): Likewise.
7924         (remainder_test_downward): Likewise.
7925         (remainder_test_upward): Likewise.
7926         (remquo_test): Likewise.
7927         (rint_test): Likewise.
7928         (rint_test_tonearest): Likewise.
7929         (rint_test_towardzero): Likewise.
7930         (rint_test_downward): Likewise.
7931         (rint_test_upward): Likewise.
7932         (round_test): Likewise.
7933         (scalb_test): Likewise.
7934         (scalbn_test): Likewise.
7935         (scalbln_test): Likewise.
7936         (signbit_test): Likewise.
7937         (sin_test): Likewise.
7938         (sin_test_tonearest): Likewise.
7939         (sin_test_towardzero): Likewise.
7940         (sin_test_downward): Likewise.
7941         (sin_test_upward): Likewise.
7942         (sincos_test): Likewise.
7943         (sinh_test): Likewise.
7944         (sinh_test_tonearest): Likewise.
7945         (sinh_test_towardzero): Likewise.
7946         (sinh_test_downward): Likewise.
7947         (sinh_test_upward): Likewise.
7948         (sqrt_test): Likewise.
7949         (tan_test): Likewise.
7950         (tan_test_tonearest): Likewise.
7951         (tan_test_towardzero): Likewise.
7952         (tan_test_downward): Likewise.
7953         (tan_test_upward): Likewise.
7954         (tanh_test): Likewise.
7955         (tgamma_test): Likewise.
7956         (trunc_test): Likewise.
7957         (y0_test): Likewise.
7958         (y1_test): Likewise.
7959         (yn_test): Likewise.
7960         (significand_test): Likewise.
7962 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7964         [BZ #15381]
7965         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7967 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7969         [BZ #14894]
7970         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7971         __ppc_mdoio and __ppc_mdoom.
7972         * manual/platform.texi: Document new functions __ppc_yield,
7973         __ppc_mdoio and __ppc_mdoom.
7975 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7977         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7978         (main): Mention "tls" pseudo-hwcap is legacy.
7979         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7981 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7983         * math/gen-libm-test.pl (parse_args): Output only string of
7984         arguments as text for test name, not full call or descriptions of
7985         tests for extra outputs.
7986         (generate_testfile): Do not pass function name to parse_args.
7987         Generate this_func variable from START.
7988         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7989         field to arg_str.
7990         (struct test_ff_f_data): Likewise.
7991         (test_ff_f_data_nexttoward): Likewise.
7992         (struct test_fi_f_data): Likewise.
7993         (struct test_fl_f_data): Likewise.
7994         (struct test_if_f_data): Likewise.
7995         (struct test_fff_f_data): Likewise.
7996         (struct test_c_f_data): Likewise.
7997         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7998         (struct test_fF_f1_data): Likewise.
7999         (struct test_ffI_f1_data): Likewise.
8000         (struct test_c_c_data): Rename test_name field to arg_str.
8001         (struct test_cc_c_data): Likewise.
8002         (struct test_f_i_data): Likewise.
8003         (struct test_ff_i_data): Likewise.
8004         (struct test_f_l_data): Likewise.
8005         (struct test_f_L_data): Likewise.
8006         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8007         and extra2_name.
8008         (COMMON_TEST_SETUP): New macro.
8009         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8010         (COMMON_TEST_CLEANUP): Likewise.
8011         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8012         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8013         macros.
8014         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8015         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8016         macros.
8017         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8018         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8019         cleanup macros.
8020         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8021         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8022         macros.
8023         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8024         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8025         macros.
8026         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8027         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8028         cleanup macros.
8029         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8030         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8031         cleanup macros.
8032         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8033         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8034         cleanup macros.
8035         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8036         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8037         macros.
8038         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8039         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8040         macros.
8041         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8042         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8043         macros.
8044         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8045         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8046         cleanup macros.
8047         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8048         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8049         cleanup macros.
8050         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8051         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8052         macros.
8053         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8054         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8055         cleanup macros.
8056         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8057         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8058         macros.
8059         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8060         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8061         macros.
8062         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8063         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8064         cleanup macros.
8065         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8067 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8069         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8070         to _sifields.sigfault.
8071         (si_addr_lsb): Define new macro.
8072         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8073         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8074         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8076 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8078         [BZ #15441]
8079         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8080         returns -1.
8081         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8082         null return -1.
8083         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8084         loading the domain.
8086 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8088         * math/gen-libm-test.pl (parse_args): Do not include expected
8089         result in test name.
8090         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8091         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8092         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8093         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8094         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8099         * benchtests/Makefile: Sort function entries.
8101         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8102         tanh, asinh, acosh, atanh.
8103         * benchtests/acos-inputs: New file.
8104         * benchtests/acosh-inputs: New file.
8105         * benchtests/asin-inputs: New file.
8106         * benchtests/asinh-inputs: New file.
8107         * benchtests/atanh-inputs: New file.
8108         * benchtests/cosh-inputs: New file.
8109         * benchtests/log-inputs: New file.
8110         * benchtests/sinh-inputs: New file.
8111         * benchtests/tanh-inputs: New file.
8113 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8115         [BZ #15339]
8116         * posix/tst-getaddrinfo4.c: New test.
8117         * posix/Makefile (tests): Add it.
8119 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8121         [BZ #15339]
8122         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8123         when no services were used.
8124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8125         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8127 2013-05-21  Andreas Schwab  <schwab@suse.de>
8129         [BZ #15014]
8130         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8131         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8132         successful.
8133         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8134         redundant variable declarations and reallocation of buffer when
8135         parsing as IPv6 address.  Always set NSS status when called from
8136         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8137         buffer too small.  Correct computation of needed size.
8138         * nss/Makefile (tests): Add test-digits-dots.
8139         * nss/test-digits-dots.c: New test.
8141 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8143         * benchtests/Makefile: Remove instructions for adding
8144         benchmark tests.
8145         * benchtests/README: New file to explain how to execute and
8146         enhance the benchmark tests.
8148 2013-05-21  Andreas Schwab  <schwab@suse.de>
8150         [BZ #15493]
8151         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8152         * setjmp/tst-sigsetjmp.c: New test.
8154 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8156         * sysdeps/x86_64/memset.S (memset): New implementation.
8157         (__bzero): Likewise.
8158         (__memset_tail): New function.
8160 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8162         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8163         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8164         __memcpy_sse2_unaligned ifunc selection.
8165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8166         Add memcpy-sse2-unaligned.S.
8167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8168         Add: __memcpy_sse2_unaligned.
8170 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8172         [BZ #15490]
8173         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8174         math_force_eval before restoring floating-point envrionment.
8175         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8176         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8177         Likewise.
8178         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8179         <math_private.h>.
8180         (__nearbyintl): Use math_force_eval before restoring
8181         floating-point environment.
8182         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8184         * math/gen-libm-test.pl (special_functions): Remove.
8185         (parse_args): Don't handle TEST_extra.  Handle functions with no
8186         return value.
8187         * math/libm-test.inc (struct test_sincos_data): Replace with
8188         struct test_fFF_11_data.
8189         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8190         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8191         (sincos_test_data): Change element type to struct
8192         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8193         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8194         RUN_TEST_LOOP_sincos.
8195         * math/README.libm-test: Don't mention special handling of
8196         individual functions.
8197         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8199         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8200         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8201         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8204         * math/gen-libm-test.pl (get_variable): Remove function.
8205         (parse_args): Don't show pointer parameters to call in test
8206         names.  Use "extra output N" in test names for extra outputs
8207         rather than naming variables.
8209 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8211         [BZ #15488]
8212         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8213         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8214         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8215         double tests.
8216         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8217         disable.
8218         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8219         check_long_double.
8221         * math/gen-libm-test.pl (@tests): Remove variable.
8222         ($count): Likewise.
8223         (new_test): Remove function.
8224         (show_exceptions): New function.
8225         (special_functions): Use show_exceptions instead of new_test.
8226         (parse_args): Likewise.
8227         (generate_testfile): Pass only function name in generated call to
8228         print_max_error or print_complex_max_error.
8229         (get_ulps): Do not handle complex tests specially.
8230         (output_test): Rename to ...
8231         (get_all_ulps_for_test): ... this.  Return a string rather than
8232         printing to a file.  Require ulps to be present.
8233         (output_ulps): Generate arrays rather than #defines.
8234         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8235         (struct ulp_data): New type.
8236         (BUILD_COMPLEX_ULP): Remove macro.
8237         (compare_ulp_data): New function.
8238         (find_ulps): Likewise.
8239         (find_test_ulps): Likewise.
8240         (find_function_ulps): Likewise.
8241         (find_complex_function_ulps): Likewise.
8242         (print_max_error): Determine allowed ulps using
8243         find_function_ulps.
8244         (print_complex_max_error): Determine allowed ulps using
8245         find_complex_function_ulps.
8246         (check_float_internal): Determine max ulps using find_test_ulps.
8247         (check_float): Do not take max_ulp parameter.  Update call to
8248         check_float_internal.
8249         (check_complex): Likewise.
8250         (check_int): Do not take max_ulp parameter.
8251         (check_long): Likewise.
8252         (check_bool): Likewise.
8253         (check_longlong): Likewise.
8254         (struct test_f_f_data): Remove max_ulp field.
8255         (struct test_ff_f_data): Likewise.
8256         (struct test_ff_f_data_nexttoward): Likewise.
8257         (struct test_fi_f_data): Likewise.
8258         (struct test_fl_f_data): Likewise.
8259         (struct test_if_f_data): Likewise.
8260         (struct test_fff_f_data): Likewise.
8261         (struct test_c_f_data): Likewise.
8262         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8263         (struct test_fF_f1_data): Likewise.
8264         (struct test_ffI_f1_data): Likewise.
8265         (struct test_c_c_data): Remove max_ulp field.
8266         (struct test_cc_c_data): Likewise.
8267         (struct test_f_i_data): Likewise.
8268         (struct test_ff_i_data): Likewise.
8269         (struct test_f_l_data): Likewise.
8270         (struct test_f_L_data): Likewise.
8271         (struct test_sincos_data): Likewise.
8272         (RUN_TEST_f_f): Do not handle ulps.
8273         (RUN_TEST_LOOP_f_f): Likewise.
8274         (RUN_TEST_2_f): Likewise.
8275         (RUN_TEST_LOOP_2_f): Likewise.
8276         (RUN_TEST_fff_f): Likewise.
8277         (RUN_TEST_LOOP_fff_f): Likewise.
8278         (RUN_TEST_c_f): Likewise.
8279         (RUN_TEST_LOOP_c_f): Likewise.
8280         (RUN_TEST_f_f1): Likewise.
8281         (RUN_TEST_LOOP_f_f1): Likewise.
8282         (RUN_TEST_fF_f1): Likewise.
8283         (RUN_TEST_LOOP_fF_f1): Likewise.
8284         (RUN_TEST_fI_f1): Likewise.
8285         (RUN_TEST_LOOP_fI_f1): Likewise.
8286         (RUN_TEST_ffI_f1): Likewise.
8287         (RUN_TEST_LOOP_ffI_f1): Likewise.
8288         (RUN_TEST_c_c): Likewise.
8289         (RUN_TEST_LOOP_c_c): Likewise.
8290         (RUN_TEST_cc_c): Likewise.
8291         (RUN_TEST_LOOP_cc_c): Likewise.
8292         (RUN_TEST_f_i): Likewise.
8293         (RUN_TEST_LOOP_f_i): Likewise.
8294         (RUN_TEST_f_i_tg): Likewise.
8295         (RUN_TEST_LOOP_f_i_tg): Likewise.
8296         (RUN_TEST_ff_i_tg): Likewise.
8297         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8298         (RUN_TEST_f_b): Likewise.
8299         (RUN_TEST_LOOP_f_b): Likewise.
8300         (RUN_TEST_f_b_tg): Likewise.
8301         (RUN_TEST_LOOP_f_b_tg): Likewise.
8302         (RUN_TEST_f_l): Likewise.
8303         (RUN_TEST_LOOP_f_l): Likewise.
8304         (RUN_TEST_f_L): Likewise.
8305         (RUN_TEST_LOOP_f_L): Likewise.
8306         (RUN_TEST_sincos): Likewise.
8307         (RUN_TEST_LOOP_sincos): Likewise.
8309 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8311         [BZ #15480]
8312         [BZ #15485]
8313         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8314         main case of finite arguments, set rounding mode to FE_TONEAREST
8315         and discard exceptions.
8316         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8317         exceptions.
8318         (remainder_tonearest_test_data): New variable.
8319         (remainder_test_tonearest): New function.
8320         (remainder_towardzero_test_data): New variable.
8321         (remainder_test_towardzero): New function.
8322         (remainder_downward_test_data): New variable.
8323         (remainder_test_downward): New function.
8324         (remainder_upward_test_data): New variable.
8325         (remainder_test_upward): New function.
8326         (main): Call the new test functions.
8328         * math/libm-test.inc (struct test_f_f1_data): Remove field
8329         extra_init.
8330         (struct test_fF_f1_data): Likewise.
8331         (struct test_ffI_f1_data): Likewise.
8332         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8333         based on value of EXTRA_EXPECTED.
8334         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8335         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8336         EXTRA_VAR based on value of EXTRA_EXPECTED.
8337         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8338         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8339         EXTRA_VAR based on value of EXTRA_EXPECTED.
8340         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8341         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8342         EXTRA_VAR based on value of EXTRA_EXPECTED.
8343         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8344         * math/gen-libm-test.pl (parse_args): Don't output initializers
8345         for extra output values.
8347         * math/libm-test.inc (check_int): Expect result to be exactly
8348         equal to expected value and do not handle ulps.
8349         (check_long): Likewise.
8350         (check_longlong): Likewise.
8352         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8353         exceptions.
8354         (cimag_test_data): Likewise.
8355         (conj_test_data): Likewise.
8356         (copysign_test_data): Likewise.
8357         (cproj_test_data): Likewise.
8358         (creal_test_data): Likewise.
8359         (fabs_test_data): Likewise.
8360         (fdim_test_data): Likewise.
8361         (finite_test_data): Likewise.
8362         (floor_test_data): Likewise.
8363         (fmax_test_data): Likewise.
8364         (fmin_test_data): Likewise.
8365         (fmod_test_data): Likewise.
8366         (fpclassify_test_data): Likewise.
8367         (frexp_test_data): Likewise.
8368         (ilogb_test_data): Likewise.
8369         (isfinite_test_data): Likewise.
8370         (isgreater_test_data): Likewise.
8371         (isgreaterequal_test_data): Likewise.
8372         (isinf_test_data): Likewise.
8373         (isless_test_data): Likewise.
8374         (islessequal_test_data): Likewise.
8375         (islessgreater_test_data): Likewise.
8376         (isnan_test_data): Likewise.
8377         (isnormal_test_data): Likewise.
8378         (issignaling_test_data): Likewise.
8379         (isunordered_test_data): Likewise.
8380         (ldexp_test_data): Likewise.
8381         (lrint_test_data): Likewise.
8382         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8383         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8384         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8385         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8386         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8387         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8388         test input.
8389         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8390         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8391         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8392         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8393         that test input.
8394         (lrint_downward_test_data): Test for "inexact" exceptions.
8395         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8396         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8397         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8398         test input.
8399         (lrint_upward_test_data): Test for "inexact" exceptions.
8400         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8401         test input.
8402         (llrint_test_data): Test for "inexact" exceptions.
8403         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8404         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8405         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8406         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8407         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8408         (llrint_downward_test_data): Test for "inexact" exceptions.
8409         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8410         (llrint_upward_test_data): Test for "inexact" exceptions.
8411         (logb_test_data): Likewise.
8412         (logb_downward_test_data): Likewise.
8413         (nextafter_test_data): Likewise.
8414         (nexttoward_test_data): Likewise.
8415         (remainder_test_data): Likewise.
8416         (remquo_test_data): Likewise.
8417         (scalbn_test_data): Likewise.
8418         (scalbln_test_data): Likewise.
8419         (signbit_test_data): Likewise.
8420         (sqrt_test_data): Likewise.
8421         (significand_test_data): Likewise.
8423 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8425         [BZ #15424]
8426         * benchtests/bench-modf.c (struct args): Mark arg0 as
8427         volatile.
8428         * scripts/bench.pl: Mark members of struct args as volatile.
8430 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8432         [BZ # 15497]
8433         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8434         negative infinity on POWER6 or lower.
8435         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8437 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8439         [BZ #15442]
8440         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8441         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8442         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8443         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8444         (_FP_SETQNAN): New macro.
8445         (_FP_SETQNAN_SEMIRAW): Likewise.
8446         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8447         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8448         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8449         (FP_EXTEND): Use _FP_FRAC_SNANP.
8450         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8451         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8452         into account.
8453         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8454         New macro.
8455         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8456         Likewise.
8458 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8460         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8461         with DIVIDE_BY_ZERO_EXCEPTION.
8462         (gamma_test_data): Likewise.
8463         (lgamma_test_data): Likewise.
8464         (log_test_data): Likewise.
8465         (log10_test_data): Likewise.
8466         (log2_test_data): Likewise.
8467         (tgamma_test_data): Likewise.
8469         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8470         (acos_test_tonearest): Likewise.
8471         (acos_test_towardzero): Likewise.
8472         (acos_test_downward): Likewise.
8473         (acos_test_upward): Likewise.
8474         (acosh_test): Likewise.
8475         (asin_test): Likewise.
8476         (asin_test_tonearest): Likewise.
8477         (asin_test_towardzero): Likewise.
8478         (asin_test_downward): Likewise.
8479         (asin_test_upward): Likewise.
8480         (asinh_test): Likewise.
8481         (atan_test): Likewise.
8482         (atanh_test): Likewise.
8483         (atan2_test): Likewise.
8484         (cabs_test): Likewise.
8485         (cacos_test): Likewise.
8486         (cacosh_test): Likewise.
8487         (casin_test): Likewise.
8488         (casinh_test): Likewise.
8489         (catan_test): Likewise.
8490         (catanh_test): Likewise.
8491         (cbrt_test): Likewise.
8492         (ccos_test): Likewise.
8493         (ccosh_test): Likewise.
8494         (cexp_test): Likewise.
8495         (clog_test): Likewise.
8496         (clog10_test): Likewise.
8497         (cos_test): Likewise.
8498         (cos_test_tonearest): Likewise.
8499         (cos_test_towardzero): Likewise.
8500         (cos_test_downward): Likewise.
8501         (cos_test_upward): Likewise.
8502         (cosh_test): Likewise.
8503         (cosh_test_tonearest): Likewise.
8504         (cosh_test_towardzero): Likewise.
8505         (cosh_test_downward): Likewise.
8506         (cosh_test_upward): Likewise.
8507         (cpow_test): Likewise.
8508         (csin_test): Likewise.
8509         (csinh_test): Likewise.
8510         (csqrt_test): Likewise.
8511         (ctan_test): Likewise.
8512         (ctan_test_tonearest): Likewise.
8513         (ctan_test_towardzero): Likewise.
8514         (ctan_test_downward): Likewise.
8515         (ctan_test_upward): Likewise.
8516         (ctanh_test): Likewise.
8517         (ctanh_test_tonearest): Likewise.
8518         (ctanh_test_towardzero): Likewise.
8519         (ctanh_test_downward): Likewise.
8520         (ctanh_test_upward): Likewise.
8521         (erf_test): Likewise.
8522         (erfc_test): Likewise.
8523         (exp_test): Likewise.
8524         (exp_test_tonearest): Likewise.
8525         (exp_test_towardzero): Likewise.
8526         (exp_test_downward): Likewise.
8527         (exp_test_upward): Likewise.
8528         (exp10_test): Likewise.
8529         (exp2_test): Likewise.
8530         (expm1_test): Likewise.
8531         (fmod_test): Likewise.
8532         (gamma_test): Likewise.
8533         (hypot_test): Likewise.
8534         (j0_test): Likewise.
8535         (j1_test): Likewise.
8536         (jn_test): Likewise.
8537         (lgamma_test): Likewise.
8538         (log_test): Likewise.
8539         (log10_test): Likewise.
8540         (log1p_test): Likewise.
8541         (log2_test): Likewise.
8542         (logb_test_downward): Likewise.
8543         (pow_test): Likewise.
8544         (pow_test_tonearest): Likewise.
8545         (pow_test_towardzero): Likewise.
8546         (pow_test_downward): Likewise.
8547         (pow_test_upward): Likewise.
8548         (remainder_test): Likewise.
8549         (remquo_test): Likewise.
8550         (sin_test): Likewise.
8551         (sin_test_tonearest): Likewise.
8552         (sin_test_towardzero): Likewise.
8553         (sin_test_downward): Likewise.
8554         (sin_test_upward): Likewise.
8555         (sincos_test): Likewise.
8556         (sinh_test): Likewise.
8557         (sinh_test_tonearest): Likewise.
8558         (sinh_test_towardzero): Likewise.
8559         (sinh_test_downward): Likewise.
8560         (sinh_test_upward): Likewise.
8561         (sqrt_test): Likewise.
8562         (tan_test): Likewise.
8563         (tan_test_tonearest): Likewise.
8564         (tan_test_towardzero): Likewise.
8565         (tan_test_downward): Likewise.
8566         (tan_test_upward): Likewise.
8567         (tanh_test): Likewise.
8568         (tgamma_test): Likewise.
8569         (y0_test): Likewise.
8570         (y1_test): Likewise.
8571         (yn_test): Likewise.
8573         * math/gen-libm-test.pl (adjust_arg): Remove function.
8574         (special_function): Remove argument $in_func.  Only handle
8575         generating output for tables of tests, not inside functions.
8576         (parse_args): Likewise.
8577         (generate_testfile): Remove variable $in_func.  Update call to
8578         parse_args.
8579         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8580         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8581         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8582         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8583         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8584         (MAX_VALUE_INIT): Rename macro to max_value.
8585         (MIN_VALUE_INIT): Rename macro to min_value.
8586         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8587         (plus_zero): Remove variable.
8588         (minus_zero): Likewise.
8589         (plus_infty): Likewise.
8590         (minus_infty): Likewise.
8591         (qnan_value): Likewise.
8592         (max_value): Likewise.
8593         (min_value): Likewise.
8594         (min_subnorm_value): Likewise.
8596 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8598         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8599         uint64_t or uint32_t usage.
8600         * crypt/sha256-block.c: Likewise.
8601         * crypt/sha256-crypt.c: Likewise.
8602         * crypt/sha256.c: Likewise.
8603         * crypt/sha512-block.c: Likewise.
8604         * crypt/sha512-crypt.c: Likewise.
8605         * crypt/sha512.c: Likewise.
8606         * debug/backtrace-tst.c: Likewise.
8607         * debug/pcprofiledump.c: Likewise.
8608         * elf/cache.c: Likewise.
8609         * elf/dl-cache.c: Likewise.
8610         * elf/dl-misc.c: Likewise.
8611         * elf/dl-profile.c: Likewise.
8612         * elf/dl-support.c: Likewise.
8613         * elf/ldconfig.c: Likewise.
8614         * elf/sprof.c: Likewise.
8615         * iconv/dummy-repertoire.c: Likewise.
8616         * iconv/iconv_charmap.c: Likewise.
8617         * iconv/skeleton.c: Likewise.
8618         * iconvdata/8bit-generic.c: Likewise.
8619         * iconvdata/cp737.h: Likewise.
8620         * iconvdata/cp775.h: Likewise.
8621         * iconvdata/ibm1008.h: Likewise.
8622         * iconvdata/ibm1025.h: Likewise.
8623         * iconvdata/ibm1046.h: Likewise.
8624         * iconvdata/ibm1097.h: Likewise.
8625         * iconvdata/ibm1112.h: Likewise.
8626         * iconvdata/ibm1122.h: Likewise.
8627         * iconvdata/ibm1123.h: Likewise.
8628         * iconvdata/ibm1124.h: Likewise.
8629         * iconvdata/ibm1129.h: Likewise.
8630         * iconvdata/ibm1130.h: Likewise.
8631         * iconvdata/ibm1132.h: Likewise.
8632         * iconvdata/ibm1133.h: Likewise.
8633         * iconvdata/ibm1137.h: Likewise.
8634         * iconvdata/ibm1140.h: Likewise.
8635         * iconvdata/ibm1141.h: Likewise.
8636         * iconvdata/ibm1142.h: Likewise.
8637         * iconvdata/ibm1143.h: Likewise.
8638         * iconvdata/ibm1144.h: Likewise.
8639         * iconvdata/ibm1145.h: Likewise.
8640         * iconvdata/ibm1146.h: Likewise.
8641         * iconvdata/ibm1147.h: Likewise.
8642         * iconvdata/ibm1148.h: Likewise.
8643         * iconvdata/ibm1149.h: Likewise.
8644         * iconvdata/ibm1153.h: Likewise.
8645         * iconvdata/ibm1154.h: Likewise.
8646         * iconvdata/ibm1155.h: Likewise.
8647         * iconvdata/ibm1156.h: Likewise.
8648         * iconvdata/ibm1157.h: Likewise.
8649         * iconvdata/ibm1158.h: Likewise.
8650         * iconvdata/ibm1160.h: Likewise.
8651         * iconvdata/ibm1161.h: Likewise.
8652         * iconvdata/ibm1162.h: Likewise.
8653         * iconvdata/ibm1163.h: Likewise.
8654         * iconvdata/ibm1164.h: Likewise.
8655         * iconvdata/ibm1166.h: Likewise.
8656         * iconvdata/ibm1167.h: Likewise.
8657         * iconvdata/ibm12712.h: Likewise.
8658         * iconvdata/ibm1390.h: Likewise.
8659         * iconvdata/ibm1399.h: Likewise.
8660         * iconvdata/ibm16804.h: Likewise.
8661         * iconvdata/ibm4517.h: Likewise.
8662         * iconvdata/ibm4899.h: Likewise.
8663         * iconvdata/ibm4909.h: Likewise.
8664         * iconvdata/ibm4971.h: Likewise.
8665         * iconvdata/ibm5347.h: Likewise.
8666         * iconvdata/ibm803.h: Likewise.
8667         * iconvdata/ibm856.h: Likewise.
8668         * iconvdata/ibm901.h: Likewise.
8669         * iconvdata/ibm902.h: Likewise.
8670         * iconvdata/ibm9030.h: Likewise.
8671         * iconvdata/ibm9066.h: Likewise.
8672         * iconvdata/ibm921.h: Likewise.
8673         * iconvdata/ibm922.h: Likewise.
8674         * iconvdata/ibm9448.h: Likewise.
8675         * iconvdata/isiri-3342.h: Likewise.
8676         * iconvdata/jis0201.h: Likewise.
8677         * include/link.h: Likewise.
8678         * include/netdb.h: Likewise.
8679         * inet/check_native.c: Likewise.
8680         * inet/check_pf.c: Likewise.
8681         * inet/getipv4sourcefilter.c: Likewise.
8682         * inet/getnameinfo.c: Likewise.
8683         * inet/getsourcefilter.c: Likewise.
8684         * inet/htonl.c: Likewise.
8685         * inet/setipv4sourcefilter.c: Likewise.
8686         * inet/setsourcefilter.c: Likewise.
8687         * inet/test-inet6_opt.c: Likewise.
8688         * inet/tst-network.c: Likewise.
8689         * locale/C-collate.c: Likewise.
8690         * locale/C-ctype.c: Likewise.
8691         * locale/C-time.c: Likewise.
8692         * locale/C-translit.h: Likewise.
8693         * locale/loadarchive.c: Likewise.
8694         * locale/programs/3level.h: Likewise.
8695         * locale/programs/charmap.c: Likewise.
8696         * locale/programs/charmap.h: Likewise.
8697         * locale/programs/ld-address.c: Likewise.
8698         * locale/programs/ld-collate.c: Likewise.
8699         * locale/programs/ld-ctype.c: Likewise.
8700         * locale/programs/ld-identification.c: Likewise.
8701         * locale/programs/ld-measurement.c: Likewise.
8702         * locale/programs/ld-messages.c: Likewise.
8703         * locale/programs/ld-monetary.c: Likewise.
8704         * locale/programs/ld-name.c: Likewise.
8705         * locale/programs/ld-numeric.c: Likewise.
8706         * locale/programs/ld-paper.c: Likewise.
8707         * locale/programs/ld-telephone.c: Likewise.
8708         * locale/programs/ld-time.c: Likewise.
8709         * locale/programs/linereader.c: Likewise.
8710         * locale/programs/locale.c: Likewise.
8711         * locale/programs/locarchive.c: Likewise.
8712         * locale/programs/locfile.h: Likewise.
8713         * locale/programs/repertoire.c: Likewise.
8714         * locale/programs/simple-hash.c: Likewise.
8715         * locale/programs/simple-hash.h: Likewise.
8716         * malloc/memusage.c: Likewise.
8717         * malloc/memusagestat.c: Likewise.
8718         * nis/nis_defaults.c: Likewise.
8719         * nis/nis_hash.c: Likewise.
8720         * nis/nis_print.c: Likewise.
8721         * nis/nis_xdr.c: Likewise.
8722         * nscd/connections.c: Likewise.
8723         * nscd/hstcache.c: Likewise.
8724         * nscd/nscd_gethst_r.c: Likewise.
8725         * nscd/nscd_getserv_r.c: Likewise.
8726         * nscd/nscd_helper.c: Likewise.
8727         * nscd/servicescache.c: Likewise.
8728         * nss/makedb.c: Likewise.
8729         * nss/nss_db/db-XXX.c: Likewise.
8730         * nss/nss_db/db-initgroups.c: Likewise.
8731         * nss/nss_db/db-netgrp.c: Likewise.
8732         * nss/nss_files/files-network.c: Likewise.
8733         * nss/nss_files/files-parse.c: Likewise.
8734         * posix/bug-regex5.c: Likewise.
8735         * posix/fnmatch_loop.c: Likewise.
8736         * posix/regcomp.c: Likewise.
8737         * posix/regexec.c: Likewise.
8738         * posix/tst-rfc3484-2.c: Likewise.
8739         * posix/tst-rfc3484-3.c: Likewise.
8740         * posix/tst-rfc3484.c: Likewise.
8741         * resolv/nss_dns/dns-canon.c: Likewise.
8742         * resolv/nss_dns/dns-network.c: Likewise.
8743         * resolv/res_init.c: Likewise.
8744         * resolv/res_mkquery.c: Likewise.
8745         * resolv/tst-aton.c: Likewise.
8746         * stdlib/cxa_atexit.c: Likewise.
8747         * stdlib/cxa_finalize.c: Likewise.
8748         * stdlib/gen-fpioconst.c: Likewise.
8749         * stdlib/strtol_l.c: Likewise.
8750         * string/tst-endian.c: Likewise.
8751         * sunrpc/auth_des.c: Likewise.
8752         * sunrpc/clnt_udp.c: Likewise.
8753         * sunrpc/rtime.c: Likewise.
8754         * sunrpc/svcauth_des.c: Likewise.
8755         * sunrpc/xdr.c: Likewise.
8756         * sunrpc/xdr_intXX_t.c: Likewise.
8757         * sunrpc/xdr_rec.c: Likewise.
8758         * sysdeps/generic/ldconfig.h: Likewise.
8759         * sysdeps/generic/ldsodefs.h: Likewise.
8760         * sysdeps/generic/memusage.h: Likewise.
8761         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8762         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8763         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8765         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8767         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8768         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8769         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8771         * sysdeps/posix/getaddrinfo.c: Likewise.
8772         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8773         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8774         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8775         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8776         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8777         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8778         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8779         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8780         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8781         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8782         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8783         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8784         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8785         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8786         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8787         * sysdeps/x86_64/dl-tls.h: Likewise.
8788         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8789         * time/alt_digit.c: Likewise.
8790         * time/era.c: Likewise.
8791         * wcsmbs/tst-c16c32-1.c: Likewise.
8793 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8795         * math/libm-test.inc (struct test_sincos_data): New type.
8796         (RUN_TEST_LOOP_sincos): New macro.
8797         (sincos_test_data): New variable.
8798         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8800 2013-05-16  Richard Henderson  <rth@redhat.com>
8802         * math/atest-exp2.c (LIMB64): New macro.
8803         (CONSTSZ): New macro.
8804         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8805         (hexdig): Move ...
8806         (print_mpn_fp): ... to function scope.
8807         (read_mpn_hex): Remove.
8808         (get_log2): Remove.
8809         (exp2_mpn): Use mp_log2.
8810         (main): Use mp_exp1.
8812 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8814         * math/libm-test.inc: Remove comment about not testing "inexact"
8815         exceptions.
8816         (INEXACT_EXCEPTION): New macro.
8817         (NO_INEXACT_EXCEPTION): Likewise.
8818         (INVALID_EXCEPTION_OK): Update value.
8819         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8820         (OVERFLOW_EXCEPTION_OK): Likewise.
8821         (UNDERFLOW_EXCEPTION_OK): Likewise.
8822         (IGNORE_ZERO_INF_SIGN): Likewise.
8823         (ERRNO_UNCHANGED): Likewise.
8824         (ERRNO_EDOM): Likewise.
8825         (ERRNO_ERANGE): Likewise.
8826         (test_exceptions): Handle testing "inexact" exceptions.
8827         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8828         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8829         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8830         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8831         INEXACT_EXCEPTION.
8832         (rint_towardzero_test_data): Likewise.
8833         (rint_downward_test_data): Likewise.
8834         (rint_upward_test_data): Likewise.
8836         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8837         with OVERFLOW_EXCEPTION.
8838         (exp10_test_data): Likewise.
8839         (exp2_test_data): Likewise.
8840         (expm1_test_data): Likewise.
8841         (lgamma_test_data): Likewise.
8842         (pow_test_data): Likewise.
8843         (tgamma_test_data): Likewise.
8844         (yn_test_data): Remove duplicate test of overflow.
8846         * math/libm-test.inc (struct test_cc_c_data): New type.
8847         (RUN_TEST_LOOP_cc_c): New macro.
8848         (cpow_test_data): New variable.
8849         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8851         * math/libm-test.inc (struct test_f_L_data): New type.
8852         (RUN_TEST_LOOP_f_L): New macro.
8853         (llrint_test_data): New variable.
8854         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8855         (llrint_tonearest_test_data): New variable.
8856         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8857         (llrint_towardzero_test_data): New variable.
8858         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8859         (llrint_downward_test_data): New variable.
8860         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8861         (llrint_upward_test_data): New variable.
8862         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8863         (llround_test_data): New variable.
8864         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8866 2013-05-13  Peter Collingbourne  <pcc@google.com>
8868         * math/atest-exp2.c (get_log2): Remove const attribute.
8870 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8872         * math/libm-test.inc (struct test_f_l_data): New type.
8873         (RUN_TEST_LOOP_f_l): New macro.
8874         (lrint_test_data): New variable.
8875         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8876         (lrint_tonearest_test_data): New variable.
8877         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8878         (lrint_towardzero_test_data): New variable.
8879         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8880         (lrint_downward_test_data): New variable.
8881         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8882         (lrint_upward_test_data): New variable.
8883         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8884         (lround_test_data): New variable.
8885         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8887 2013-05-15  Peter Collingbourne  <pcc@google.com>
8889         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8890         (EXTRACT_WORDS64) Use where appropriate.
8891         (INSERT_WORDS64) Likewise.
8893         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8894         constraints with x constraints.
8895         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8897         * malloc/obstack.c (_obstack_compat): Add initializer.
8899 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8902         si_trapno and add si_addr_lsb to _sifields.sigfault.
8903         (si_trapno): Remove macro.
8904         (si_addr_lsb): Define new macro.
8905         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8907 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8909         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8910         instead of TEST_f_l.
8911         (llrint_test_tonearest): Likewise.
8912         (llrint_test_towardzero): Likewise.
8913         (llrint_test_downward): Likewise.
8914         (llrint_test_upward): Likewise.
8915         (llround_test): Likewise.
8917         * math/libm-test.inc (struct test_f_i_data): Add comment.
8918         (RUN_TEST_LOOP_f_b): New macro.
8919         (RUN_TEST_LOOP_f_b_tg): Likewise.
8920         (finite_test_data): New variable.
8921         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8922         (isfinite_test_data): New variable.
8923         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8924         (isinf_test_data): New variable.
8925         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8926         (isnan_test_data): New variable.
8927         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8928         (isnormal_test_data): New variable.
8929         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8930         (issignaling_test_data): New variable.
8931         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8932         (signbit_test_data): New variable.
8933         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8935         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8936         with INVALID_EXCEPTION.
8937         (acosh_test_data): Likewise.
8938         (asin_test_data): Likewise.
8939         (atanh_test_data): Likewise.
8940         (fmod_test_data): Likewise.
8941         (log_test_data): Likewise.
8942         (log10_test_data): Likewise.
8943         (log2_test_data): Likewise.
8944         (pow_test_data): Likewise.
8945         (sqrt_test_data): Likewise.
8946         (y0_test_data): Likewise.
8947         (y1_test_data): Likewise.
8948         (yn_test_data): Likewise.
8950         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8951         function contents.
8953         * math/libm-test.inc (struct test_ff_i_data): New type.
8954         (RUN_TEST_LOOP_ff_i_tg): New macro.
8955         (isgreater_test_data): New variable.
8956         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8957         (isgreaterequal_test_data): New variable.
8958         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8959         (isless_test_data): New variable.
8960         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8961         (islessequal_test_data): New variable.
8962         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8963         (islessgreater_test_data): New variable.
8964         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8965         (isunordered_test_data): New variable.
8966         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8968 2013-05-14  David S. Miller  <davem@davemloft.net>
8970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8972 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8974         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8976         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8977         extra_test to int.
8978         (struct test_f_i_data): Change type of max_ulp to int.
8980         * math/libm-test.inc (test_ffI_f1_data): New type.
8981         (RUN_TEST_LOOP_ffI_f1): New macro.
8982         (remquo_test_data): New variable.
8983         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8985         * setjmp/tst-setjmp-fp.c: New file.
8986         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8987         (link-libm): New variable.
8988         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8990         * math/libm-test.inc (struct test_f_i_data): New type.
8991         (RUN_TEST_LOOP_f_i): New macro.
8992         (RUN_TEST_LOOP_f_i_tg): Likewise.
8993         (fpclassify_test_data): New variable.
8994         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8995         (ilogb_test_data): New variable.
8996         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8998         * math/libm-test.inc (scalbln_test): Correct function name in END
8999         call.
9001         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9002         (RUN_TEST_LOOP_fI_f1): New macro.
9003         (frexp_test_data): New variable.
9004         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9006         * math/libm-test.inc (struct test_fF_f1_data): New type.
9007         (RUN_TEST_LOOP_fF_f1): New macro.
9008         (modf_test_data): New variable.
9009         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9011         * math/libm-test.inc (struct test_f_f1_data): New type.
9012         (RUN_TEST_LOOP_f_f1): New macro.
9013         (gamma_test_data): New variable.
9014         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9015         (lgamma_test_data): New variable.
9016         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9018 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9020         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9021         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9022         (main): Comment "tls" pseudo-hwcap.
9024 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9026         * math/libm-test.inc (struct test_fl_f_data): New type.
9027         (RUN_TEST_LOOP_fl_f): New variable.
9028         (scalbln_test_data): New variable.
9029         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9031         * math/libm-test.inc (struct test_fi_f_data): New type.
9032         (RUN_TEST_LOOP_fi_f): New macro.
9033         (ldexp_test_data): New variable.
9034         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9035         (scalbn_test_data): New variable.
9036         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9038         * math/libm-test.inc (struct test_c_f_data): New type.
9039         (RUN_TEST_LOOP_c_f): New macro.
9040         (cabs_test_data): New variable.
9041         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9042         (carg_test_data): New variable.
9043         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9044         (cimag_test_data): New variable.
9045         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9046         (creal_test_data): New variable.
9047         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9049         * math/libm-test.inc (struct test_if_f_data): New type.
9050         (RUN_TEST_LOOP_if_f): New macro.
9051         (jn_test_data): New variable.
9052         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9053         (yn_test_data): New variable.
9054         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9056         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9058 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9060         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9061         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9063 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9065         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9066         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9067         (bench-deps): Add bench-timing.h.
9068         * benchtests-bench-skeleton.c: Include bench-timing.h.
9069         (main): Use TIMING_* macros instead of clock_gettime.
9070         * benchtests/bench-timing.h: New file.
9072         [BZ #14582]
9073         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9074         Renamed from _LIB_VERSION.
9075         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9077 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9079         * math/libm-test.inc (struct test_fff_f_data): New type.
9080         (RUN_TEST_LOOP_fff_f): New macro.
9081         (fma_test_data): New variable.
9082         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9083         (fma_towardzero_test_data): New variable.
9084         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9085         (fma_downward_test_data): New variable.
9086         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9087         (fma_upward_test_data): New variable.
9088         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9090         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9091         (struct test_c_c_data): New type.
9092         (RUN_TEST_LOOP_c_c): New macro.
9093         (cacos_test_data): New variable.
9094         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9095         (cacosh_test_data): New variable.
9096         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9097         (casin_test_data): New variable.
9098         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9099         (casinh_test_data): New variable.
9100         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9101         (catan_test_data): New variable.
9102         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9103         (catanh_test_data): New variable.
9104         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9105         (ccos_test_data): New variable.
9106         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9107         (ccosh_test_data): New variable.
9108         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9109         (cexp_test_data): New variable.
9110         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9111         (clog_test_data): New variable.
9112         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9113         (clog10_test_data): New variable.
9114         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9115         (conj_test_data): New variable.
9116         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9117         (cproj_test_data): New variable.
9118         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9119         (csin_test_data): New variable.
9120         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9121         (csinh_test_data): New variable.
9122         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9123         (csqrt_test_data): New variable.
9124         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9125         (ctan_test_data): New variable.
9126         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9127         (ctan_tonearest_test_data): New variable.
9128         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9129         (ctan_towardzero_test_data): New variable.
9130         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9131         (ctan_downward_test_data): New variable.
9132         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9133         (ctan_upward_test_data): New variable.
9134         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9135         (ctanh_test_data): New variable.
9136         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9137         (ctanh_tonearest_test_data): New variable.
9138         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9139         (ctanh_towardzero_test_data): New variable.
9140         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9141         (ctanh_downward_test_data): New variable.
9142         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9143         (ctanh_upward_test_data): New variable.
9144         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9145         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9146         of BUILD_COMPLEX.
9148         * math/libm-test.inc (struct test_ff_f_data): New type.
9149         (struct test_ff_f_data_nexttoward): Likewise.
9150         (RUN_TEST_LOOP_2_f): New macro.
9151         (RUN_TEST_LOOP_ff_f): Likewise.
9152         (atan2_test_data): New variable.
9153         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9154         (copysign_test_data): New variable.
9155         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9156         (fdim_test_data): New variable.
9157         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9158         (fmax_test_data): New variable.
9159         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9160         (fmin_test_data): New variable.
9161         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9162         (fmod_test_data): New variable.
9163         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9164         (hypot_test_data): New variable.
9165         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9166         (nextafter_test_data): New variable.
9167         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9168         (nexttoward_test_data): New variable.
9169         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9170         (pow_test_data): New variable.
9171         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9172         (pow_tonearest_test_data): New variable.
9173         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9174         (pow_towardzero_test_data): New variable.
9175         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9176         (pow_downward_test_data): New variable.
9177         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9178         (pow_upward_test_data): New variable.
9179         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9180         (remainder_test_data): New variable.
9181         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9182         (scalb_test_data): New variable.
9183         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9184         * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9188         * math/libm-test.inc (fma_test): Use max_value instead of local
9189         variable fltmax.
9190         (nextafter_test): Likewise.
9192         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9193         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9194         (acos_downward_test_data): New variable.
9195         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9196         (acos_upward_test_data): New variable.
9197         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9198         (acosh_test_data): New variable.
9199         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9200         (asin_test_data): New variable.
9201         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9202         (asin_tonearest_test_data): New variable.
9203         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9204         (asin_towardzero_test_data): New variable.
9205         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9206         (asin_downward_test_data): New variable.
9207         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9208         (asin_upward_test_data): New variable.
9209         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9210         (asinh_test_data): New variable.
9211         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9212         (atan_test_data): New variable.
9213         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9214         (atanh_test_data): New variable.
9215         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9216         (cbrt_test_data): New variable.
9217         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9218         (ceil_test_data): New variable.
9219         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9220         (cos_test_data): New variable.
9221         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9222         (cos_tonearest_test_data): New variable.
9223         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9224         (cos_towardzero_test_data): New variable.
9225         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9226         (cos_downward_test_data): New variable.
9227         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9228         (cos_upward_test_data): New variable.
9229         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9230         (cosh_test_data): New variable.
9231         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9232         (cosh_tonearest_test_data): New variable.
9233         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9234         (cosh_towardzero_test_data): New variable.
9235         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9236         (cosh_downward_test_data): New variable.
9237         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9238         (cosh_upward_test_data): New variable.
9239         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9240         (erf_test_data): New variable.
9241         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9242         (erfc_test_data): New variable.
9243         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9244         (exp_test_data): New variable.
9245         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9246         (exp_tonearest_test_data): New variable.
9247         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9248         (exp_towardzero_test_data): New variable.
9249         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9250         (exp_downward_test_data): New variable.
9251         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9252         (exp_upward_test_data): New variable.
9253         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9254         (exp10_test_data): New variable.
9255         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9256         (exp2_test_data): New variable.
9257         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9258         (expm1_test_data): New variable.
9259         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9260         (fabs_test_data): New variable.
9261         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9262         (floor_test_data): New variable.
9263         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9264         (j0_test_data): New variable.
9265         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9266         (j1_test_data): New variable.
9267         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9268         (log_test_data): New variable.
9269         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9270         (log10_test_data): New variable.
9271         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9272         (log1p_test_data): New variable.
9273         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9274         (log2_test_data): New variable.
9275         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9276         (logb_test_data): New variable.
9277         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9278         (logb_downward_test_data): New variable.
9279         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9280         (nearbyint_test_data): New variable.
9281         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9282         (rint_test_data): New variable.
9283         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9284         (rint_tonearest_test_data): New variable.
9285         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9286         (rint_towardzero_test_data): New variable.
9287         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9288         (rint_downward_test_data): New variable.
9289         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9290         (rint_upward_test_data): New variable.
9291         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9292         (round_test_data): New variable.
9293         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9294         (sin_test_data): New variable.
9295         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9296         (sin_tonearest_test_data): New variable.
9297         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9298         (sin_towardzero_test_data): New variable.
9299         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9300         (sin_downward_test_data): New variable.
9301         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9302         (sin_upward_test_data): New variable.
9303         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9304         (sinh_test_data): New variable.
9305         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9306         (sinh_tonearest_test_data): New variable.
9307         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9308         (sinh_towardzero_test_data): New variable.
9309         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9310         (sinh_downward_test_data): New variable.
9311         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9312         (sinh_upward_test_data): New variable.
9313         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9314         (sqrt_test_data): New variable.
9315         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9316         (tan_test_data): New variable.
9317         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9318         (tan_tonearest_test_data): New variable.
9319         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9320         (tan_towardzero_test_data): New variable.
9321         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9322         (tan_downward_test_data): New variable.
9323         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9324         (tan_upward_test_data): New variable.
9325         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9326         (tanh_test_data): New variable.
9327         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9328         (tgamma_test_data): New variable.
9329         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9330         (trunc_test_data): New variable.
9331         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9332         (y0_test_data): New variable.
9333         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9334         (y1_test_data): New variable.
9335         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9336         (significand_test_data): New variable.
9337         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9339 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9341         [BZ #12387]
9342         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9344 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9346         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9348 2013-05-10  Andreas Jaeger  <aj@suse.de>
9350         [BZ #15448]
9351         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9352         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9354 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9356         * math/gen-libm-test.pl (adjust_arg): New function.
9357         (special_functions): Handle generating output in both functions
9358         and arrays.
9359         (parse_args): Likewise.
9360         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9361         $in_func argument to parse_args.
9362         * math/libm-test.inc (struct test_f_f_data): New type.
9363         (IF_ROUND_INIT_): New macro.
9364         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9365         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9366         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9367         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9368         (ROUND_RESTORE_): Likewise.
9369         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9370         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9371         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9372         (ROUND_RESTORE_FE_UPWARD): Likewise.
9373         (RUN_TEST_LOOP_f_f): New macro.
9374         (acos_test_data): New variable.
9375         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9376         (acos_tonearest_test_data): New variable.
9377         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9379 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9381         * benchtests/bench-skeleton.c (startup): Fix coding style.
9383 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9385         [BZ #6809]
9386         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9387         negative infinity argument.
9388         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9389         negative infinity argument.
9390         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9391         negative infinity argument.
9392         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9393         domain errors.
9395 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9397         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9398         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9399         * iconv/iconv_prog.c (main): Likewise.
9400         * locale/programs/charmap-dir.c (charmap_readdir)
9401         (fopen_uncompressed): Likewise.
9402         * locale/programs/locfile.c (siblings_uncached)
9403         (write_locale_data): Use lstat64 instead of lstat.
9404         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9405         stat.
9407 2013-05-10  Andreas Jaeger  <aj@suse.de>
9409         [BZ #15395]
9410         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9411         localization.
9412         Include <locale.h>.
9414 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9416         * elf/dl-close.c (_dl_close_worker): Add comments.
9418 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9420         [BZ #15359]
9421         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9422         high part of pi/2.
9423         (__ieee754_rem_pio2l): Update comments.
9425         [BZ #15429]
9426         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9427         high part of pi/2.
9428         (__ieee754_rem_pio2l): Update comments.
9430         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9431         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9433         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9434         M_PI_4l.
9436         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9437         (M_PI_34_LOG10El): Likewise.
9438         (M_PI2_LOG10El): Likewise.
9439         (M_PI4_LOG10El): Likewise.
9440         (M_PI_LOG10El): Likewise.
9442 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9446 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9448         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9449         (MINUS_ZERO_INIT): Likewise.
9450         (PLUS_INFTY_INIT): Likewise.
9451         (MINUS_INFTY_INIT): Likewise.
9452         (QNAN_VALUE_INIT): Likewise.
9453         (MAX_VALUE_INIT): Likewise.
9454         (MIN_VALUE_INIT): Likewise.
9455         (MIN_SUBNORM_VALUE_INIT): Likewise.
9456         (plus_zero): Initialize with PLUS_ZERO_INIT.
9457         (minus_zero): Initialize with MINUS_ZERO_INIT.
9458         (plus_infty): Initialize with PLUS_INFTY_INIT.
9459         (minus_infty): Initialize with MINUS_INFTY_INIT.
9460         (qnan_value): Initialize with QNAN_VALUE_INIT.
9461         (max_value): Initialize with MAX_VALUE_INIT.
9462         (min_value): Initialize with MIN_VALUE_INIT.
9463         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9465         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9466         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9467         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9468         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9470         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9471         (RUN_TEST_2_f): Likewise.
9472         (RUN_TEST_ff_f): Likewise.
9473         (RUN_TEST_fi_f): Likewise.
9474         (RUN_TEST_fl_f): Likewise.
9475         (RUN_TEST_fff_f): Likewise.
9476         (RUN_TEST_c_f): Likewise.
9477         (RUN_TEST_f_f1): Likewise.
9478         (RUN_TEST_fF_f1): Likewise.
9479         (RUN_TEST_fI_f1): Likewise.
9480         (RUN_TEST_ffI_f1): Likewise.
9481         (RUN_TEST_c_c): Likewise.
9482         (RUN_TEST_cc_c): Likewise.
9483         (RUN_TEST_f_i): Likewise.
9484         (RUN_TEST_f_i_tg): Likewise.
9485         (RUN_TEST_ff_i_tg): Likewise.
9486         (RUN_TEST_f_b): Likewise.
9487         (RUN_TEST_f_b_tg): Likewise.
9488         (RUN_TEST_f_l): Likewise.
9489         (RUN_TEST_f_L): Likewise.
9490         (RUN_TEST_sincos): Likewise.
9491         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9492         whether to show exceptions.  Do not include ");\n" in return
9493         value.
9494         (special_functions): Output call to RUN_TEST_sincos instead of
9495         check_float calls.  Update calls to new_test.
9496         (parse_args): Output call to single RUN_TEST_* macro instead of
9497         check_* calls and other assignments.  Update calls to new_test.
9499         [BZ #2546]
9500         [BZ #2560]
9501         [BZ #5159]
9502         [BZ #15426]
9503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9504         input to result for tgamma overflow.
9505         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9506         (gamma_coeff): New variable.
9507         (NCOEFF): New macro.
9508         (gamma_positive): New function.
9509         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9510         underflow here.  Use gamma_positive instead of exp (lgamma) for
9511         other arguments.
9512         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9513         (gamma_coeff): New variable.
9514         (NCOEFF): New macro.
9515         (gammaf_positive): New function.
9516         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9517         underflow here.  Use gamma_positive instead of exp (lgamma) for
9518         other arguments.
9519         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9520         (gamma_coeff): New variable.
9521         (NCOEFF): New macro.
9522         (gammal_positive): New function.
9523         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9524         underflow here.  Use gamma_positive instead of exp (lgamma) for
9525         other arguments.
9526         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9527         (gamma_coeff): New variable.
9528         (NCOEFF): New macro.
9529         (gammal_positive): New function.
9530         (__ieee754_gammal_r): Handle positive infinity, overflow and
9531         underflow here.  Handle NaN the same as positive infinity.  Remove
9532         check x < 0xffffffff for negative integers.  Use gamma_positive
9533         instead of exp (lgamma) for other arguments.
9534         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9535         (gamma_coeff): New variable.
9536         (NCOEFF): New macro.
9537         (gammal_positive): New function.
9538         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9539         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9540         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9541         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9542         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9543         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9544         * sysdeps/generic/math_private.h (__gamma_productf): New
9545         prototype.
9546         (__gamma_product): Likewise.
9547         (__gamma_productl): Likewise.
9548         * math/Makefile (libm-calls): Add gamma_product.
9549         * math/libm-test.inc (tgamma_test): Add more tests.
9550         * sysdeps/i386/fpu/libm-test-ulps: Update.
9551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9553 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9555         * benchtests/bench-skeleton.c (main): Preheat CPU.
9557 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9559         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9561 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9563         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9564         and _dl_skip_args_internal.
9566 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9568         * manual/message.texi (Message Translation): Talk about users.
9569         Message to key mapping impacts design.
9571 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9573         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9575         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9577         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9578         * sysdeps/wordsize-64/glob64.c: ... here.
9580         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9581         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9582         New macros.
9584         * debug/getlogin_r_chk.c: Moved to ...
9585         * login/getlogin_r_chk.c: ... here.
9586         * debug/Makefile (routines): Move getlogin_r_chk to ...
9587         * login/Makefile (routines): ... here.
9588         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9589         * login/Versions (libc: GLIBC_2.4): ... here.
9591         * io/poll.c (__poll): Renamed from poll.
9592         Add libc_hidden_def.
9593         (poll): Define as weak alias.
9595         * debug/ptsname_r_chk.c: Moved to ...
9596         * login/ptsname_r_chk.c: ... here.
9597         * debug/Makefile (routines): Move ptsname_r_chk to ...
9598         * login/Makefile (routines): ... here.
9599         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9600         * login/Versions (libc: GLIBC_2.4): ... here.
9602         * posix/getlogin.c: Moved to ...
9603         * login/getlogin.c: ... here.
9604         * posix/getlogin_r.c: Moved to ...
9605         * login/getlogin_r.c: ... here.
9606         * posix/getlogin_r.c: Moved to ...
9607         * login/getlogin_r.c: ... here.
9608         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9609         * login/Makefile (routines): ... here.
9610         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9611         * login/Versions (libc: GLIBC_2.0): ... here.
9613         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9614         (setrlimit): Define as weak alias.
9616         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9617         Call __ names for open, ftruncate, and close.
9618         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9619         (truncate): Define as weak alias.
9621 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9623         * math/gen-libm-test.pl (parse_args): Initialize x before each
9624         test of frexp, modf and remquo.
9626         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9627         test signgam value.
9629 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9631         [BZ #15418]
9632         [BZ #15419]
9633         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9634         internal tests.
9635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9637 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9639         * elf/dl-writev.h: New file.
9640         * elf/dl-misc.c: Include it.
9641         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9642         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9644 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9646         * math/libm-test.inc (noXFails): Remove variable.
9647         (noXPasses): Likewise.
9648         (BUILD_COMPLEX_INT): Remove macro.
9649         (print_screen): Remove xfail argument.
9650         (print_screen_max_error): Likewise.
9651         (update_stats): Likewise.
9652         (print_max_error): Likewise.  Update calls to other affected
9653         functions.
9654         (print_complex_max_error): Likewise.
9655         (test_single_exception): Update calls to print_screen.
9656         (test_single_errno): Likewise.
9657         (check_float_internal): Remove xfail argument.  Update calls to
9658         other affected functions.
9659         (check_float): Likewise.
9660         (check_complex): Likewise.
9661         (check_int): Likewise.
9662         (check_long): Likewise.
9663         (check_bool): Likewise.
9664         (check_longlong): Likewise.
9665         (main): Don't print noXFails and noXPasses.
9666         * math/gen-libm-test.pl (top level): Don't mention expected
9667         failure handling in comment.
9668         (new_test): Don't handle expected failures.
9669         (parse_args): Don't mention expected failure handling in comment.
9670         (generate_testfile): Don't handle expected failures.
9671         (parse_ulps): Likewise.
9672         (print_ulps_file): Likewise.
9673         (get_failure): Remove function.
9674         (output_test): Don't handle expected failures.
9675         * make/README.libm-test: Don't mention expected failure handling.
9677         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9678         (minus_zero): Likewise.
9679         (plus_infty): Likewise.
9680         (minus_infty): Likewise.
9681         (qnan_value): Likewise.
9682         (max_value): Likewise.
9683         (min_value): Likewise.
9684         (min_subnorm_value): Likewise.
9685         (initialize): Do not initialize those variables dynamically.
9687 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9689         * io/open.c (__open_2): Moved to ...
9690         * io/open_2.c: ... this new file.
9691         * io/open64.c (__open64_2): Moved to ...
9692         * io/open64_2.c: ... this new file.
9693         * io/openat.c (__openat_2): Moved to ...
9694         * io/openat_2.c: ... this new file.
9695         * io/openat64.c (__openat64_2): Moved to ...
9696         * io/openat64_2.c: ... this new file.
9697         * io/Makefile (routines): Add them.
9698         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9699         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9700         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9701         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9702         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9703         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9704         (__openat64): Add hidden_ver.
9705         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9706         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9708         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9709         Separately conditionalize setting of GLRO(dl_sysinfo) so
9710         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9711         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9713 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9715         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9717         definition.
9718         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9719         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9720         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9721         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9722         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9724 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9726         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9727         test signgam value.
9729         * math/libm-test.inc (hypot_test): Do not use
9730         IGNORE_ZERO_INF_SIGN.
9732 2013-05-03  Andreas Jaeger  <aj@suse.de>
9734         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9735         Linux 3.9.
9736         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9737         (PF_MAX): Adjust for VSOCK change.
9739 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9743 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9745         [BZ #15264]
9746         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9747         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9748         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9750 2013-05-02  David S. Miller  <davem@davemloft.net>
9752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9754 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9756         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9758 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9760         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9762 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9764         [BZ #14952]
9765         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9766         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9767         Use __attribute__ ((__gnu_inline__)).
9768         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9769         Don't use __attribute__ ((__gnu_inline__)).
9771 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9773         [BZ #15423]
9774         * math/s_catan.c (__catan): Handle small real or imaginary part of
9775         input specially to avoid spurious underflow.
9776         * math/s_catanf.c (__catanf): Likewise.
9777         * math/s_catanh.c (__catanh): Likewise.
9778         * math/s_catanhf.c (__catanhf): Likewise.
9779         * math/s_catanhl.c (__catanhl): Likewise.
9780         * math/s_catanl.c (__catanl): Likewise.
9781         * math/libm-test.inc (catan_test): Add more tests.
9782         (catanh_test): Likewise.
9783         * sysdeps/i386/fpu/libm-test-ulps: Update.
9784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9786 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9790 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9792         [BZ #15416]
9793         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9794         accurately for denominator in atan2.
9795         * math/s_catanf.c (__catanf): Likewise.
9796         * math/s_catanh.c (__catanh): Likewise.
9797         * math/s_catanhf.c (__catanhf): Likewise.
9798         * math/s_catanhl.c (__catanhl): Likewise.
9799         * math/s_catanl.c (__catanl): Likewise.
9800         * math/libm-test.inc (catan_test): Add more tests.
9801         (catanh_test): Likewise.
9802         * sysdeps/i386/fpu/libm-test-ulps: Update.
9803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9805 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9807         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9809         * benchtests/Makefile (bench): Remove slow benchmarks.
9810         * benchtests/atan-inputs: Add slow benchmark inputs.
9811         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9812         (BENCH_FUNC): Accept variant offset.
9813         (VARIANT): Define.
9814         * benchtests/bench-skeleton.c (main): Run benchmark for each
9815         variant.
9816         * benchtests/cos-inputs: Add slow benchmark inputs.
9817         * benchtests/exp-inputs: Likewise.
9818         * benchtests/pow-inputs: Likewise.
9819         * benchtests/sin-inputs: Likewise.
9820         * benchtests/slowatan-inputs: Remove.
9821         * benchtests/slowatan.c: Remove.
9822         * benchtests/slowcos-inputs: Remove.
9823         * benchtests/slowcos.c: Remove.
9824         * benchtests/slowexp-inputs: Remove.
9825         * benchtests/slowexp.c: Remove.
9826         * benchtests/slowpow-inputs: Remove.
9827         * benchtests/slowpow.c: Remove.
9828         * benchtests/slowsin-inputs: Remove.
9829         * benchtests/slowsin.c: Remove.
9830         * benchtests/slowtan-inputs: Remove.
9831         * benchtests/slowtan.c: Remove.
9832         * benchtests/tan-inputs: Add slow benchmark inputs.
9833         * scripts/bench.pl: Parse comments and directives.
9835         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9836         in CPPFLAGS.
9837         ($(objpfx)bench-%.c): Remove *-ITER.
9838         * benchtests/bench-modf.c: Remove definition of ITER.
9839         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9840         (main): Loop for DURATION seconds instead of fixed number of
9841         iterations.
9842         * scripts/bench.pl: Don't expect iterations in parameters.
9844 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9846         * io/fchdir.c (__fchdir): Renamed from fchdir.
9847         (fchdir): Define as weak alias.
9849 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9851         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9852         (ERRNO_EDOM): Likewise.
9853         (ERRNO_ERANGE): Likewise.
9854         (noErrnoTests): New variable.
9855         (init_max_error): Set errno to 0.
9856         (test_single_errno): New function.
9857         (test_errno): Likewise.
9858         (check_float_internal): Call test_errno.  Set errno to 0.
9859         (check_complex): Refer to errno tests in comment.
9860         (check_int): Call test_errno.  Set errno to 0.
9861         (check_long): Likewise.
9862         (check_bool): Likewise.
9863         (check_longlong): Likewise.
9864         (cos_test): Use ERRNO_* flags for errno tests instead of
9865         check_int.
9866         (expm1_test): Likewise.
9867         (fmod_test): Likewise.
9868         (ilogb_test): Likewise.
9869         (lgamma_test): Likewise.
9870         (pow_test): Likewise.
9871         (remainder_test): Likewise.
9872         (sin_test): Likewise.
9873         (tan_test): Likewise.
9874         (yn_test): Likewise.
9875         (initialize): Set errno to 0.
9876         (main): Print number of errno tests.
9877         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9879 2013-04-29  Andreas Jaeger  <aj@suse.de>
9881         [BZ #15084]
9882         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9883         and RES_USEVC.
9885         [BZ #15085]
9886         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9887         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9888         unimplemented.
9890         [BZ #15380]
9891         * stdlib/random.c (__initstate): Return NULL if
9892         __initstate fails.
9894         [BZ #15086]
9895         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9896         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9897         RES_SNGLKUPREOP.
9899 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9903 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9905         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9906         of individual tests.
9907         (casin_test): Likewise.
9908         (casinh_test): Likewise.
9910 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9912         [BZ #15409]
9913         * math/s_catan.c (__catan): Handle arguments with large real or
9914         imaginary part separately without squaring.
9915         * math/s_catanf.c (__catanf): Likewise.
9916         * math/s_catanh.c (__catanh): Likewise.
9917         * math/s_catanhf.c (__catanhf): Likewise.
9918         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9919         and redefine.
9920         (__catanhl): Handle arguments with large real or imaginary part
9921         separately without squaring.
9922         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9923         and redefine.
9924         (__catanl): Handle arguments with large real or imaginary part
9925         separately without squaring.
9926         * math/libm-test.inc (catan_test): Add more tests.
9927         (catanh_test): Likewise.
9928         * sysdeps/i386/fpu/libm-test-ulps: Update.
9929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9931 2013-04-27  Andreas Jaeger  <aj@suse.de>
9933         [BZ #15007]
9934         * stdlib/stdlib.h: Update guards for qecvt.
9935         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9936         <stdlib.h>.
9938 2013-04-27  Allan McRae  <allan@archlinux.org>
9940         * sysdeps/i386/fpu/libm-test-ulps: Update.
9942 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9944         [BZ #15406]
9945         * math/s_catan.c: Include <float.h>.
9946         (__catan): Ensure underflow exception occurs for underflowed
9947         result.
9948         * math/s_catanf.c: Include <float.h>.
9949         (__catanf): Ensure underflow exception occurs for underflowed
9950         result.
9951         * math/s_catanh.c: Include <float.h>.
9952         (__catanh): Ensure underflow exception occurs for underflowed
9953         result.
9954         * math/s_catanhf.c: Include <float.h>.
9955         (__catanhf): Ensure underflow exception occurs for underflowed
9956         result.
9957         * math/s_catanhl.c: Include <float.h>.
9958         (__catanhl): Ensure underflow exception occurs for underflowed
9959         result.
9960         * math/s_catanl.c: Include <float.h>.
9961         (__catanl): Ensure underflow exception occurs for underflowed
9962         result.
9963         * math/libm-test.inc (catan_test): Add more tests.
9964         (catanh_test): Likewise.
9966         [BZ #15405]
9967         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9968         underflowed result.
9969         * math/s_ccoshf.c (__ccoshf): Likewise.
9970         * math/s_ccoshl.c (__ccoshl): Likewise.
9971         * math/s_csin.c (__csin): Likewise.
9972         * math/s_csinf.c (__csinf): Likewise.
9973         * math/s_csinh.c (__csinh): Likewise.
9974         * math/s_csinhf.c (__csinhf): Likewise.
9975         * math/s_csinhl.c (__csinhl): Likewise.
9976         * math/s_csinl.c (__csinl): Likewise.
9977         * math/libm-test.inc (ccos_test): Add more tests.
9978         (ccosh_test): Likewise.
9979         (csin_test): Likewise.
9980         (csinh_test): Likewise.
9982 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9984         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9985         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9986         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9987         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9988         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9989         powerpc/power5+/fpu folders.
9990         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9993 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9997 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9999         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10000         additions to variable.
10001         [$(config-machine) = x86_64] (modules-names): Likewise.
10002         ($(objpfx)tst-audit3): Remove dependency.
10003         ($(objpfx)tst-audit3.out): Likewise.
10004         ($(objpfx)tst-audit4): Likewise.
10005         ($(objpfx)tst-audit4.out): Likewise.
10006         ($(objpfx)tst-audit5): Likewise.
10007         ($(objpfx)tst-audit5.out): Likewise.
10008         ($(objpfx)tst-audit6): Likewise.
10009         ($(objpfx)tst-audit6.out): Likewise.
10010         ($(objpfx)tst-audit7): Likewise.
10011         ($(objpfx)tst-audit7.out): Likewise.
10012         (tst-audit3-ENV): Remove variable.
10013         (tst-audit4-ENV): Likewise.
10014         (tst-audit5-ENV): Likewise.
10015         (tst-audit6-ENV): Likewise.
10016         (tst-audit7-ENV): Likewise.
10017         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10018         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10019         addition to variable.
10020         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10021         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10022         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10023         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10024         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10025         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10026         tst-audit3, tst-audit4 and tst-audit5.
10027         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10028         tst-audit6 and tst-audit7.
10029         [$(subdir) = elf] (modules-names): Add audit modules for those
10030         tests.
10031         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10032         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10033         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10034         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10035         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10036         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10037         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10038         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10039         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10040         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10041         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10042         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10043         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10044         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10045         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10046         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10047         Likewise.
10048         [$(subdir) = elf && $(config-cflags-avx) = yes]
10049         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10050         [$(subdir) = elf && $(config-cflags-avx) = yes]
10051         (CFLAGS-tst-auditmod4a.c): Likewise.
10052         [$(subdir) = elf && $(config-cflags-avx) = yes]
10053         (CFLAGS-tst-auditmod4b.c): Likewise.
10054         [$(subdir) = elf && $(config-cflags-avx) = yes]
10055         (CFLAGS-tst-auditmod6b.c): Likewise.
10056         [$(subdir) = elf && $(config-cflags-avx) = yes]
10057         (CFLAGS-tst-auditmod6c.c): Likewise.
10058         [$(subdir) = elf && $(config-cflags-avx) = yes]
10059         (CFLAGS-tst-auditmod7b.c): Likewise.
10060         * elf/tst-audit3.c: Move to ...
10061         * sysdeps/x86_64/tst-audit3.c: ... here.
10062         * elf/tst-audit4.c: Move to ...
10063         * sysdeps/x86_64/tst-audit4.c: ... here.
10064         * elf/tst-audit5.c: Move to ...
10065         * sysdeps/x86_64/tst-audit5.c: ... here.
10066         * elf/tst-audit6.c: Move to ...
10067         * sysdeps/x86_64/tst-audit6.c: ... here.
10068         * elf/tst-audit7.c: Move to ...
10069         * sysdeps/x86_64/tst-audit7.c: ... here.
10070         * elf/tst-auditmod3a.c: Move to ...
10071         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10072         * elf/tst-auditmod3b.c: Move to ...
10073         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10074         * elf/tst-auditmod4a.c: Move to ...
10075         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10076         * elf/tst-auditmod4b.c: Move to ...
10077         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10078         * elf/tst-auditmod5a.c: Move to ...
10079         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10080         * elf/tst-auditmod5b.c: Move to ...
10081         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10082         * elf/tst-auditmod6a.c: Move to ...
10083         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10084         * elf/tst-auditmod6b.c: Move to ...
10085         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10086         * elf/tst-auditmod6c.c: Move to ...
10087         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10088         * elf/tst-auditmod7a.c: Move to ...
10089         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10090         * elf/tst-auditmod7b.c: Move to ...
10091         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10093 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10095         [BZ #15366]
10096         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10097         define unconditionally.
10098         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10099         define unconditionally.
10100         (INT8_C, INT16_C, etc.): Likewise.
10102 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10104         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10105         __ehdr_start with hidden visibility.
10107         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10109 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10111         * math/libm-test.inc (cos_test): Use accurate hex constants.
10112         (sincost_test): Likewise.
10114 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10116         * math/libm-test.inc (catan_test): Add more tests.
10117         (catanh_test): Likewise.
10119         * math/s_catanf.c (__catanf): Use suffixed floating-point
10120         constants.
10121         * math/s_catanhf.c (__catanhf): Likewise.
10122         * math/s_catanhl.c (__catanhl): Likewise.
10123         * math/s_catanl.c (__catanl): Likewise.
10125         [BZ #15394]
10126         * math/s_catan.c (__catan): Calculate imaginary part of result
10127         with log1p not log unless computing log of number close to 0.
10128         * math/s_catanf.c (__catanf): Likewise.
10129         * math/s_catanl.c (__catanl): Likewise.
10130         * math/s_catanh.c (__catanh): Calculate real part of result with
10131         log1p not log unless computing log of number close to 0.
10132         * math/s_catanhf.c (__catanhf): Likewise.
10133         * math/s_catanhl.c (__catanhl): Likewise.
10134         * math/libm-test.inc (catan_test): Add more tests.
10135         (catanh_test): Likewise.
10136         * sysdeps/i386/fpu/libm-test-ulps: Update.
10137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10139 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10141         * benchtests/Makefile: Mention files in which fast and slow
10142         paths of math functions are implemented.
10144 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10146         * sysdeps/posix/timespec_get.c: New file.
10148 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10150         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10151         POWER.
10152         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10153         for POWER.
10154         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10155         powerpc/power5/fpu folders.
10156         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10157         * benchtests/Makefile: Add modf testcase.
10158         * benchtests/bench-modf.c: New file: Benchmark test for mo
10160 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         [BZ #14888]
10163         * time/Makefile (tests): Add tst-strptime-whitespace.
10164         * time/strptime_l.c (get_number): Use ISSPACE.
10165         (__strptime_internal): Likewise.
10166         * time/tst-strptime-whitespace.c: New test case.
10168 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10170         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10171         member.
10172         (_nss_files_init): Set it here.
10174 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10176         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10177         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10178         unsigned.
10180 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10182         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10184 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10187         size just once.
10189 2013-04-21  David S. Miller  <davem@davemloft.net>
10191         * po/ru.po: Update Russion translation from translation project.
10193 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10195         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10196         and setfsgid.
10198 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10200         * configure.in: Remove i386 configure warning. Remove i386 case.
10201         * configure: Regenerate.
10202         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10203         Add example to error message.
10204         * sysdeps/i386/configure: Regenerate.
10206 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10208         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10209         slowtan.
10210         * benchtests/cos-inputs: New file.
10211         * benchtests/slowcos-inputs: New file.
10212         * benchtests/slowcos.c: New file.
10213         * benchtests/slowtan-inputs: New file.
10214         * benchtests/slowtan.c: New file.
10215         * benchtests/tan-inputs: New file.
10217 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10219         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10220         considered kosher.
10222 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10224         * benchtests/Makefile: Include cppflags-iterator.mk to add
10225         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10227         * Makefile.in (bench-clean): New target.
10228         * benchtests/Makefile (bench-clean): Likewise.
10230 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10232         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10234 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10236         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10238 2013-04-15  Andreas Schwab  <schwab@suse.de>
10240         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10241         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10242         * nscd/pwdcache.c (cache_addpw): Likewise.
10243         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10244         more than recsize.
10246 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10248         * benchtests/Makefile (bench): Write all output to
10249         bench-out.tmp together.
10251 2013-04-15  Andreas Schwab  <schwab@suse.de>
10253         * nscd/nscd.c (main): Don't fork again after closing files.
10255 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10257         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10259         * benchtests/Rules (bench-deps): Collect dependencies into a
10260         single variable.  Add Makefile to dependencies.
10261         ($(objpfx)bench-%.c): Depend on bench-deps.
10263 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10264             Xavier Roche  <roche+kml2@exalead.com>
10266         [BZ #15361]
10267         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10268         just that it's a file descriptor.
10269         * manual/llio.texi (Synchronizing AIO Operations): Update description
10270         for EBADF error from aio_fsync.
10272 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10274         * Rules (bench): Move target definition...
10275         * benchtests/Makefile: ... here.
10277 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10279         * math/libm-test.inc (cos_test): Fix PI/2 test.
10280         (sincos_test): Likewise.
10281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10282         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10284 2013-04-11  Andreas Schwab  <schwab@suse.de>
10286         [BZ #13988]
10287         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10288         accept exponent character only when digits were seen.
10289         * stdio-common/Makefile (tests): Add bug26.
10290         * stdio-common/bug26.c: New file.
10292         [BZ #14293]
10293         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10294         non-freeable.
10296 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10298         * Makeconfig (rtld-prefix): Define built linker prefix.
10299         * Rules (run-bench): Use it.
10300         * math/Makefile (run-regen-ulps): Likewise.
10302         * Rules (bench): Remove eval.
10304 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10305             Roland McGrath  <roland@hack.frob.com>
10306             Ondrej Bilka  <neleai@seznam.cz>
10308         [BZ #15346]
10309         * time/getdate.c: Include ctype.h and alloca.h.
10310         (__getdate_r): Trim leading and trailing spaces of input.
10311         * time/tst-getdate.c (tests): Add tests with leading and
10312         trailing spaces.
10314 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10316         [BZ #14280]
10317         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10318         when computing value.
10320 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10322         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10323         Use testrun.sh to run libm tests.
10325         [BZ #15309]
10326         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10328 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10330         [BZ #15264]
10331         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10333 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10335         * Makefile.in (regen-ulps): New target.
10336         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10337         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10338         [ifneq (no,$(PERL)] (regen-ulps): New target.
10339         [ifeq (no,$(PERL)] (regen-ulps): New target.
10340         * math/libm-test.inc (ulps_file_name): Define.
10341         (output_dir): New variable.
10342         (options): Add "output-dir" option.
10343         (parse_opt): Handle 'o' case.
10344         (main): If output_dir is non-NULL use it as a prefix
10345         otherwise use "".
10346         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10348 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10350         [BZ #10060, #10062]
10351         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10352         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10353         fail configure if __sync_val_compare_and_swap is not inlined.
10354         * sysdeps/i386/configure: Regenerate.
10355         * configure.in: Build for i686 when configured for i386.
10356         * configure: Regenerate.
10357         * README: Remove i386 reference.
10359 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10361         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10362         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10364 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10366         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10367         (lmsnanval): New variables.
10368         (F): Add conversion tests.
10369         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10370         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10372         * stdio-common/tstdiomisc.c (F): Properly collect individual
10373         tests' results.
10375         [BZ #14686, #15336]
10376         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10377         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10378         Instead, use input NaN values or generate a qNaN by arithmetic
10379         operation.  Also fix bugs to comply with the standard.
10380         * math/libm-test.inc (remainder_test): Add more tests.
10382         [BZ #15335, #15342]
10383         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10384         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10385         input NaN values or generate a qNaN by arithmetic operation.
10387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10388         unreachable code.
10390         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10391         definitions.
10393 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10395         [BZ #14478]
10396         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10397         underflowed result.
10398         * math/s_cexpf.c (__cexpf): Likewise.
10399         * math/s_cexpl.c (__cexpl): Likewise.
10400         * math/libm-test.inc (cexp_test): Add more tests.
10402 2013-04-03  Andreas Schwab  <schwab@suse.de>
10404         [BZ #15330]
10405         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10406         order arrays from heap if bigger than alloca cutoff.
10408 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10410         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10411         (SNAN_TESTS_double): Refer to GCC PR56831.
10412         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10413         GCC PR56828.
10415 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10417         * Rules (bench): Move bench.out after the run is complete.
10419         * Rules (bench): Echo currently running benchmark.
10421         * benchtests/Makefile (bench): Add atan and slowatan.
10422         * benchtests/atan-inputs: New file.
10423         * benchtests/slowatan-inputs: New file.
10424         * benchtests/slowatan.c: New file.
10426         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10427         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10428         its value.
10430         [BZ #15305]
10431         * sysdeps/unix/sysv/linux/kernel-features.h
10432         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10433         __ASSUME_XFS_RESTRICTED_CHOWN.
10434         * sysdeps/unix/sysv/linux/pathconf.c
10435         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10436         Save and restore errno.
10438 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10440         [BZ #15327]
10441         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10442         arguments using __kernel_casinh.
10443         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10444         arguments using __kernel_casinhf.
10445         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10446         arguments using __kernel_casinhl.
10447         * math/libm-test.inc (cacosh_test): Add more tests.
10448         * sysdeps/i386/fpu/libm-test-ulps: Update.
10449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10451 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10453         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10456         * bench/Makefile (bench): Add sin and slowsin.
10457         * benchtests/sin-inputs: New file.
10458         * benchtests/slowsin-inputs: New file.
10459         * benchtests/slowsin.c: New file.
10461         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10462         (bench): Add slowexp and slowpow.
10463         (exp-ITER): Increase iterations.
10464         (pow-ITER): Likewise.
10465         * benchtests/exp-inputs: Change input.
10466         * benchtests/pow-inputs: Likewise.
10467         * benchtests/slowexp-inputs: New file.
10468         * benchtests/slowexp.c: New file.
10469         * benchtests/slowpow-inputs: New file.
10470         * benchtests/slowpow.c: New file.
10472 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10474         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10475         instructions.
10476         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10477         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10478         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10479         * benchtests/Makefile: Add rint benchtest.
10480         * benchtests/rint-inputs: Input for rint benchtest.
10482 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10484         * Versions.def (libm): Add GLIBC_2.18.
10485         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10486         hidden libm prototypes.
10487         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10488         * math/Makefile (libm-calls): Add s_issignaling.
10489         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10490         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10491         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10492         declaration.
10493         * math/math.h [__USE_GNU] (issignaling): New macro.
10494         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10495         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10496         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10497         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10498         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10499         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10500         * manual/arith.texi (issignaling): New section.
10501         * manual/libm-err-tab.pl (@all_functions): Update comment.
10502         * math/gen-libm-test.pl (parse_args): Apply special handling for
10503         issignaling.
10504         * math/libm-test.inc (print_float, issignaling_test): New
10505         functions.
10506         (check_float_internal): Add issignaling checks.
10507         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10508         default definition.
10509         * sysdeps/powerpc/math-tests.h: New file.
10510         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10511         tests.
10512         * math/test-snan.c (TEST_FUNC): Likewise.
10514 2013-03-30  David S. Miller  <davem@davemloft.net>
10516         * po/de.po: Update from translation team.
10518 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10520         [BZ #10357]
10521         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10522         imaginary part less than 1.0 and real part less than 0.5
10523         specially.
10524         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10525         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10526         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10527         (cacos_test): Add more tests.
10528         (casin_test): Likewise.
10529         (casinh_test): Likewise.
10530         * sysdeps/i386/fpu/libm-test-ulps: Update.
10531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10533 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10535         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10536         ONE with its value.
10538         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10539         (__pow_mp): Replace ONE and MONE with their values.
10540         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10541         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10542         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10543         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10544         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10545         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10547         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10549         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10550         (__pow_mp): Replace ZERO and MZERO with their values.
10551         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10555         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10556         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10557         (__sqr): Likewise.
10559         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10561         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10563 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10565         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10566         Declare with __attribute__ ((weak)).
10567         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10568         Call __call_tls_dtors only if it's not NULL.
10570 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10572         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10573         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10574         magic __ehdr_start linker symbol if it's defined.
10575         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10576         them up here if it was already done.
10578         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10579         (_dl_aux_init): Use const in cast when setting it.
10580         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10581         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10582         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10584         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10585         Declare them here.
10586         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10587         * csu/libc-tls.c: Nor here.
10588         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10590         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10591         (__libc_message): Never call vsyslog.
10593 2013-03-28  Alan Modra  <amodra@gmail.com>
10595         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10596         Define as empty.
10597         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10598         Likewise.
10600 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10602         [BZ #15214]
10603         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10604         underflow.
10605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10607 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10609         [BZ #15304]
10610         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10611         Don't add gid passed as argument.
10613         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10615 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10617         [BZ #15307]
10618         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10619         imaginary part between 1.0 and 1.5 and real part less than 0.5
10620         specially.
10621         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10622         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10623         * math/libm-test.inc (cacos_test): Add more tests.
10624         (casin_test): Likewise.
10625         (casinh_test): Likewise.
10626         * sysdeps/i386/fpu/libm-test-ulps: Update.
10627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10632         constants.
10633         (norm): Likewise.
10634         (denorm): Likewise.
10635         (__dbl_mp): Likewise.
10636         (add_magnitudes): Likewise.
10637         (sub_magnitudes): Likewise.
10638         (__add): Likewise.
10639         (__sub): Likewise.
10640         (__mul): Likewise.
10641         (__sqr): Likewise.
10642         (__inv): Likewise.
10643         (__dvd): Likewise.
10645         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10646         commented code.
10647         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10648         (__dubcos): Likewise.
10649         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10650         (__ieee754_acos): Likewise.
10651         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10652         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10653         (__exp1): Likewise.
10654         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10655         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10656         (log1): Likewise.
10657         (my_log2): Likewise.
10658         (checkint): Likewise.
10659         * sysdeps/ieee754/dbl-64/e_remainder.c
10660         (__ieee754_remainder): Likewise.
10661         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10662         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10663         (bsloww): Likewise.
10664         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10666         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10667         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10668         MANTISSA_STORE_T to store computations on mantissa.  Use
10669         macros for rounding and division.
10670         (denorm): Likewise.
10671         (__dbl_mp): Likewise.
10672         (add_magnitudes): Likewise.
10673         (sub_magnitudes): Likewise.
10674         (__mul): Likewise.
10675         (__sqr): Likewise.
10676         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10677         powers of two in terms of TWOPOW macro.
10678         (mp_no): Make type of mantissa as MANTISSA_T.
10679         [!RADIXI]: Define RADIXI.
10680         [!TWO52]: Define TWO52.
10681         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10683 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10685         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10686         llroundl symbol when building for PPC32.
10688 2013-03-24  Mark H Weaver  <mhw@netris.org>
10690         * manual/arith.texi (Normalization Functions): Fix prototypes for
10691         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10693 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10695         [BZ #13889]
10696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10697         high value to check if expl overflow.
10698         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10699         to check for underflow and overflow.
10700         * math/libm-test.inc: Add exp test.
10702 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10704         [BZ #11120]
10705         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10706         with NOT_IN_libc.
10708 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10710         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10711         symbol.
10713 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10715         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10716         wrap blocks consisting of several statements.
10718         * sysdeps/generic/math-tests.h: New file.
10719         * sysdeps/i386/fpu/math-tests.h: Likewise.
10720         * math/test-snan.c: Include it.
10721         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10723 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10725         [BZ #15285]
10726         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10727         (__ieee754_j0l): Do not improve calculations using cos of twice
10728         input for inputs above LDBL_MAX / 2.0L.
10729         (__ieee754_y0l): Likewise.
10730         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10731         (__ieee754_j1l): Do not improve calculations using cos of twice
10732         input for inputs above LDBL_MAX / 2.0L.
10733         (__ieee754_y1l): Likewise.
10734         * math/libm-test.inc (j0_test): Add another test.
10735         (j1_test): Likewise.
10736         (y0_test): Likewise.
10737         (y1_test): Likewise.
10738         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10742         * Rules ($(objpfx)bench-%.c): Include code from a C source
10743         file.
10745 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10747         [BZ #15287]
10748         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10749         imaginary part 1.0 and real part less than 0.5 specially.
10750         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10751         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10752         * math/libm-test.inc (cacos_test): Add more tests.
10753         (casin_test): Likewise.
10754         (casinh_test): Likewise.
10755         * sysdeps/i386/fpu/libm-test-ulps: Update.
10756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10760         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10761         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10763 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10765         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10766         * config.make.in (config-cflags-sse4): Remove variable.
10767         (config-cflags-avx): Likewise.
10768         (config-cflags-sse2avx): Likewise.
10769         (config-cflags-novzeroupper): Likewise.
10770         (config-asflags-i686): Likewise.
10771         (have-mfma4): Likewise.
10772         (have-as-vis3): Likewise.
10773         (MIG): Likewise.
10774         * configure.in (MIG): Do not AC_SUBST.
10775         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10776         (libc_cv_cc_sse4): Do not AC_SUBST.
10777         (libc_cv_cc_avx): Likewise.
10778         (libc_cv_cc_sse2avx): Likewise.
10779         (libc_cv_cc_novzeroupper): Likewise.
10780         (libc_cv_cc_fma4): Likewise.
10781         (libc_cv_as_i686): Likewise.
10782         (libc_cv_sparc_as_vis3): Likewise.
10783         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10784         LIBC_CONFIG_VAR.
10785         (config-asflags-i686): Likewise.
10786         (config-cflags-avx): Likewise.
10787         (config-cflags-sse2avx): Likewise.
10788         (have-mfma4): Likewise.
10789         (config-cflags-novzeroupper): Likewise.
10790         * sysdeps/mach/configure.in (MIG): Likewise.
10791         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10792         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10793         LIBC_CONFIG_VAR.
10794         (config-cflags-avx): Likewise.
10795         (config-cflags-sse2avx): Likewise.
10796         (have-mfma4): Likewise.
10797         (config-cflags-novzeroupper): Likewise.
10798         * configure: Regenerated.
10799         * sysdeps/i386/configure: Likewise.
10800         * sysdeps/mach/configure: Likewise.
10801         * sysdeps/sparc/configure: Likewise.
10802         * sysdeps/x86_64/configure: Likewise.
10804 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10806         [BZ #14812]
10807         * locale/programs/localedef.c (options): Put N_ translation marker
10808         on argument names, not just descriptions.
10810 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10812         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10814 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10816         [BZ #14176]
10817         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10819 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10821         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10822         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10823         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10824         [!BEFORE_ABORT] (before_abort): New function.
10825         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10826         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10827         (writev_for_fatal): New function.
10828         (WRITEV_FOR_FATAL): New macro; call that.
10829         (backtrace_and_maps): New function.
10830         (BEFORE_ABORT): New macro; call that.
10831         (struct str_list): Type removed.
10832         (__libc_message, __libc_fatal): Functions removed.
10833         Include <sysdeps/posix/libc_fatal.c> instead.
10835 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10837         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10838         constants.
10839         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10840         double constants.
10842 2013-03-19  Andreas Schwab  <schwab@suse.de>
10844         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10845         * sysdeps/gnu/configure: Regenerate.
10847         * configure.in: Substitute libc_cv_rtlddir.
10848         * configure: Regenerate.
10849         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10850         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10851         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10852         * elf/Makefile (install-others, CFLAGS-interp.c)
10853         (ldso_install, common-ldd-rewrite): Likewise.
10854         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10855         $(inst_slibdir)/$(rtld-installed-name).
10856         * scripts/rellns-sh: Add -p option.
10857         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10858         for source.
10860 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10862         * manual/nptl.texi: Renamed to ...
10863         * manual/threads.texi: ... this.
10864         * manual/Makefile (chapters): Update.
10866 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10868         [BZ #14812]
10869         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10870         on argument names, not just descriptions.
10871         * malloc/memusagestat.c (options): Likewise.
10872         * nss/getent.c (options): Likewise.
10874 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10876         [BZ #14812]
10877         * iconv/iconv_prog.c (options): Put N_ translation marker
10878         on argument names, not just descriptions.
10879         * iconv/iconvconfig.c (options): Likewise.
10881 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10883         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10884         implementation which is faster on all x86_64 architectures.
10885         Tested on AMD, Intel Nehalem, SNB, IVB.
10886         * sysdeps/x86_64/strnlen.S: Likewise.
10888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10889         Remove all multiarch strlen and strnlen versions.
10890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10891         Remove strlen and strnlen related parts.
10893         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10894         Inline strlen part.
10895         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10897         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10898         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10899         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10900         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10901         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10902         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10904 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10906         * manual/memory.texi (Malloc Tunable Parameters):
10907         Sort parameters alphabetically. Add comments for missing entries.
10909 2013-03-17  David S. Miller  <davem@davemloft.net>
10911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10913 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10915         [BZ #15283]
10916         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10917         for arguments at most half maximum finite value.
10918         * math/libm-test.inc (j0_test): Add more tests.
10919         (j1_test): Likewise.
10920         (y0_test): Likewise.
10921         (y1_test): Likewise.
10922         * sysdeps/i386/fpu/libm-test-ulps: Update.
10923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10925         [BZ #14155]
10926         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10927         1 / x and functions P and Q for arguments above 0x1p256L.
10928         (__ieee754_y0l): Likewise.
10929         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10930         (__ieee754_y1l): Likewise.
10931         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10932         (j1_test): Likewise.
10933         (y0_test): Likewise.
10934         (y1_test): Likewise.
10936 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10938         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10939         variable.
10941 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10943         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10944         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10945         zero since it's initialized to EXEC_PAGESIZE.
10947         * sysdeps/unix/sysv/linux/ldsodefs.h
10948         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10949         * sysdeps/generic/ldsodefs.h: ... here.
10951 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10953         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10955         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10956         math/test-snan.c.
10957         * math/test-snan.c: Renamed from
10958         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10959         * math/Makefile (tests): Add test-snan.
10960         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10961         test-powerpc-snan.
10963         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10964         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10965         functions.
10966         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10967         __builtin_nan family of functions.
10968         * math/libm-test.inc (initialize): Initialize qnan_value with
10969         __builtin_nan family of functions.
10970         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10971         Remove variables.
10972         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10973         Remove functions.
10974         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10975         storage class.  Initialize qNaN_var and sNaN_var with
10976         __builtin_nan and __builtin_nans families of functions,
10977         respectively.
10979         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10980         (sqrt_test): Remove duplicate test with qNaN input.
10981         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10982         (round_test, signbit_test, significand_test): Note missing +/-Inf
10983         as well as qNaN tests.
10985         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10986         qNaN_var.  Fix a few strings, too.
10987         * math/libm-test.inc (nan_value): Rename to qnan_value.
10988         * math/gen-libm-test.pl (%beautify): Adjust to that.
10989         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10990         * math/test-misc.c (main): Likewise.
10991         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10992         to __qnan_bytes, and __qnan_union, respectively.
10993         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10994         Likewise.
10995         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10996         and lqnanval, respectively.
10997         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10998         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10999         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11000         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11002         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11003         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11004         doubles.
11006         * math/test-misc.c (main): Fix copy'n'pastos.
11007         * misc/tst-efgcvt.c (special): Likewise.
11009         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11010         Remove declarations.
11012 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11014         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11015         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11016         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11017         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11019 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11021         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11022         macro to return vdso values correctly in IFUNC implementations.
11023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11024         Optimization by using IFUNC.
11026 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11027             Richard Henderson  <rth@redhat.com>
11028             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11030         * Makefile.in (bench): New target.
11031         * NEWS: Mention the benchmark framework.
11032         * Rules (bench): Likewise.
11033         (binaries-bench): Generate binaries for functions to
11034         benchmark.
11035         * benchtests/Makefile: New makefile for benchmark tests.
11036         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11037         programs.
11038         * benchtests/exp-inputs: New input file for EXP function.
11039         * benchtests/pow-inputs: New input file for POW function.
11040         * scripts/bench.pl: New script to generate source files for
11041         benchmark programs.
11043 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11045         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11047         computations on mantissa.  Use macros for rounding and
11048         division.
11049         (denorm): Likewise.
11050         (__dbl_mp): Likewise.
11051         (add_magnitudes): Likewise.
11052         (sub_magnitudes): Likewise.
11053         (__mul): Likewise.
11054         (__sqr): Likewise.
11055         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11056         powers of two in terms of TWOPOW macro.
11057         (mp_no): Make type of mantissa as MANTISSA_T.
11058         [!RADIXI]: Define RADIXI.
11059         [!TWO52]: Define TWO52.
11060         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11062         * manual/nptl.texi (cindex): Modify threads to pthreads.
11064 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11066         * sysdeps/x86_64/preconfigure: Regenerated.
11068 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11070         [BZ #14155]
11071         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11072         0x1p28 and above.
11073         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11074         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11075         0x1p28 and above.
11076         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11077         * math/libm-test.inc (j0_test): Do not allow one spurious
11078         underflow exception.
11079         (y1_test): Likewise.
11081 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11083         * manual/Makefile (chapters): Add nptl.
11084         * manual/debug.texi (Debugging Support): Add link to Threads
11085         chapter.
11086         * manual/nptl.texi: New file.
11088         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11090 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11092         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11093         for non-NULL pointer before the memory validity test. Pointed
11094         out by Holger Brunck <holger.brunck@keymile.com>.
11096 2013-03-13  Andreas Schwab  <schwab@suse.de>
11098         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11099         instead of .os.
11101 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11103         * timezone/zic.c: Update from tzcode 2013b.
11105 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11107         * manual/install.texi (Configuring and compiling):
11108         Mention i686 and i586.
11109         * INSTALL: Regenerate.
11111 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11113         * sysdeps/init_array/elf-init.c: New file.
11114         * csu/elf-init.c
11115         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11116         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11118         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11119         __gmon_start__ as global, but as static with a .preinit_array pointer.
11120         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11121         * sysdeps/init_array/crti.S: New file, empty except for comments.
11122         * sysdeps/init_array/crtn.S: Likewise.
11124 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11126         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11127         definining bcopy.
11128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11129         Remove Prefer_SSE_for_memop.
11130         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11131         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11132         HAS_PREFER_SSE_FOR_MEMOP.
11133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11134         memset-x86-64.
11135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11136         Remove bzero, memset ifunc support.
11137         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11138         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11139         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11140         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11142 2013-03-11  Andreas Schwab  <schwab@suse.de>
11144         [BZ #15234]
11145         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11146         by SHLIB_COMPAT.
11147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11148         (GLIBC_2.16): Remove pthread_atfork.
11150 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11152         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11153         (ptestcases.h): Likewise.
11155 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11157         * Makeconfig ($(common-objpfx)config.status): Depend on
11158         sysdeps/*/preconfigure{,.in} too.
11160 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11162         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11163         (__free_hook): Use void * instead of __malloc_ptr_t.
11164         (__malloc_hook): Likewise.
11165         (__realloc_hook): Likewise.
11166         (__memalign_hook): Likewise.
11167         (__after_morecore_hook): Likewise.
11168         * malloc/arena.c (save_malloc_hook): Likewise.
11169         (save_free_hook): Likewise.
11170         * malloc/hooks.c (malloc_hook_ini): Likewise.
11171         (realloc_hook_ini): Likewise.
11172         (memalign_hook_ini): Likewise.
11173         * malloc/malloc.c (malloc_hook_ini): Likewise.
11174         (realloc_hook_ini): Likewise.
11175         (memalign_hook_ini): Likewise.
11176         (__free_hook): Likewise.
11177         (__malloc_hook): Likewise.
11178         (__realloc_hook): Likewise.
11179         (__memalign_hook): Likewise.
11180         (__libc_malloc): Likewise.
11181         (__libc_free): Likewise.
11182         (__libc_realloc): Likewise.
11183         (__libc_memalign): Likewise.
11184         (__libc_valloc): Likewise.
11185         (__libc_pvalloc): Likewise.
11186         (__libc_calloc): Likewise.
11187         (__posix_memalign): Likewise.
11188         * malloc/morecore.c (__sbrk): Likewise.
11189         (__default_morecore): Likewise.
11191         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11193         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11194         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11195         __malloc_ptrdiff_t.
11197         * malloc/malloc.h (__malloc_size_t): Remove macro.
11198         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11199         __malloc_size_t.
11200         (old_memalign_hook): Likewise.
11201         (old_realloc_hook): Likewise.
11202         (struct hdr): Likewise.
11203         (flood): Likewise.
11204         (mallochook): Likewise.
11205         (memalignhook): Likewise.
11206         (reallochook): Likewise.
11207         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11208         (tr_old_realloc_hook): Likewise.
11209         (tr_old_memalign_hook): Likewise.
11210         (tr_mallochook): Likewise.
11211         (tr_reallochook): Likewise.
11212         (tr_memalignhook): Likewise.
11214 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11217         default_ldbl_pack and using as default implementation.
11218         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11219         implementation.
11220         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11221         redundant definition.
11222         (ldbl_insert_mantissa): Likewise.
11223         (ldbl_canonicalize): Likewise.
11224         (ldbl_nearbyint): Likewise.
11225         (ldbl_pack): Rename to ldbl_pack_ppc.
11226         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11227         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11228         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11230 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11233         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11235         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11237         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11238         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11239         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11241 2013-03-07  Andreas Jaeger  <aj@suse.de>
11243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11244         bits/mman-linux.h.
11246 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11248         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11249         Include mpa.h and declare __MPEXP.
11250         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11251         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11252         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11253         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11254         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11255         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11256         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11258         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11259         (__slowpow): Use long double EXPL and LOGL functions to
11260         compute POW.
11261         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11262         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11263         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11264         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11265         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11266         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11269         intermediate variable to calculate exponent.
11270         (__sqr): Likewise.
11271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11272         Likewise.
11273         (__sqr): Likewise.
11275         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11276         [!NO__SQR]: Define __sqr.
11277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11278         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11279         sysdeps/ieee754/dbl-64/mpa.c.
11280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11282         [BZ #12723]
11283         * posix/Makefile (tests): Add tst-pathconf.
11284         * posix/tst-pathconf.c: New test case.
11285         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11286         _PC_PIPE_BUF.
11287         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11289 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11291         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11293 2013-03-06  Andreas Jaeger  <aj@suse.de>
11295         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11296         definition via __MAP_ANONYMOUS.
11298         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11299         it's not part of Linux headers.
11301         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11302         (MAP_HUGE_MASK): Define.
11304         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11305         Define.
11306         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11308         Define.
11309         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11310         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11311         Define.
11312         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11313         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11314         Define.
11315         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11317         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11318         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11319         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11320         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11321         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11322         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11324         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11325         Handle f2fs.
11327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11328         Handle f2fs and efivarfs.
11330         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11331         f2fs.
11333         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11334         (EFIVARFS_MAGIC): Add.
11335         (F2FS_LINK_MAX): Add.
11337 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11339         * stdio-common/vfprintf.c: Replace __builtin_expect with
11340         __glibc_unlikely.
11342 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11344         [BZ #13550]
11345         * sysdeps/generic/bp-sym.h: Remove file.
11346         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11347         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11348         <bp-sym.h> and <bp-asm.h>.
11349         (__longjmp): Don't use BP_SYM.
11350         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11351         and <bp-asm.h>.
11352         (memcpy): Don't use BP_SYM.
11353         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11354         <bp-sym.h> and <bp-asm.h>.
11355         (memcpy): Don't use BP_SYM.
11356         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11357         <bp-asm.h>.
11358         (memcpy): Don't use BP_SYM.
11359         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11360         <bp-asm.h>.
11361         (memset): Don't use BP_SYM.
11362         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11363         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11364         (__bzero): Don't use BP_SYM.
11365         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11366         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11367         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11368         <bp-sym.h> and <bp-asm.h>.
11369         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11370         pointers.
11371         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11372         <bp-sym.h> and <bp-asm.h>.
11373         (memcpy): Don't use BP_SYM.
11374         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11375         <bp-sym.h> and <bp-asm.h>.
11376         (memset): Don't use BP_SYM.
11377         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11378         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11379         (__bzero): Don't use BP_SYM.
11380         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11381         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11382         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11383         <bp-sym.h> and <bp-asm.h>.
11384         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11385         pointers.
11386         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11387         <bp-sym.h> and <bp-asm.h>.
11388         (memcpy): Don't use BP_SYM.
11389         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11390         <bp-sym.h> and <bp-asm.h>.
11391         (memset): Don't use BP_SYM.
11392         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11393         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11394         (__bzero): Don't use BP_SYM.
11395         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11396         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11398         <bp-sym.h> and <bp-asm.h>.
11399         (__memchr): Don't use BP_SYM.
11400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11401         <bp-sym.h> and <bp-asm.h>.
11402         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11403         pointers.
11404         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11405         <bp-sym.h> and <bp-asm.h>.
11406         (memcpy): Don't use BP_SYM.
11407         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11408         <bp-sym.h> and <bp-asm.h>.
11409         (__mempcpy): Don't use BP_SYM.
11410         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11411         <bp-sym.h> and <bp-asm.h>.
11412         (__memrchr): Don't use BP_SYM.
11413         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11414         <bp-sym.h> and <bp-asm.h>.
11415         (memset): Don't use BP_SYM.
11416         (__bzero): Likewise.
11417         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11418         <bp-sym.h> and <bp-asm.h>.
11419         (__rawmemchr): Don't use BP_SYM.
11420         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11421         <bp-sym.h> and <bp-asm.h>.
11422         (__STRCMP): Don't use BP_SYM.
11423         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11424         <bp-sym.h> and <bp-asm.h>.
11425         (strchr): Don't use BP_SYM.
11426         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11427         <bp-sym.h> and <bp-asm.h>.
11428         (__strchrnul): Don't use BP_SYM.
11429         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11430         <bp-sym.h> and <bp-asm.h>.
11431         (strlen): Don't use BP_SYM.
11432         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11433         <bp-sym.h> and <bp-asm.h>.
11434         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11435         pointers.
11436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11437         <bp-sym.h> and <bp-asm.h>.
11438         (__strnlen): Don't use BP_SYM.
11439         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11440         <bp-sym.h> and <bp-asm.h>.
11441         (__GI__setjmp): Don't use BP_SYM.
11442         (_setjmp): Likewise.
11443         (__sigsetjmp): Likewise.
11444         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11445         (L(start_addresses)): Don't use BP_SYM.
11446         (_start): Likewise.
11447         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11448         <bp-asm.h>.
11449         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11450         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11451         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11452         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11453         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11454         <bp-asm.h>.
11455         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11456         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11457         about bounded pointers.
11458         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11459         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11460         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11461         <bp-asm.h>.
11462         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11463         about bounded pointers.  Remove GKM FIXME comments.
11464         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11465         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11466         <bp-asm.h>.
11467         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11468         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11469         Remove GKM FIXME comments.
11470         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11471         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11472         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11473         <bp-asm.h>.
11474         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11475         about bounded pointers.  Remove GKM FIXME comment.
11476         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11477         and <bp-asm.h>.
11478         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11479         pointers.
11480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11481         <bp-sym.h> and <bp-asm.h>.
11482         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11484         <bp-sym.h> and <bp-asm.h>.
11485         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11486         comment.
11488 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11490         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11491         call free(NULL).
11493 2013-03-05  David S. Miller  <davem@davemloft.net>
11495         * po/es.po: Update from translation team.
11497 2013-03-05  Andreas Jaeger  <aj@suse.de>
11499         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11500         <bits/mman-linux.h>.
11501         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11502         is fine.
11503         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11504         <bits/mman-linux.h> to end of file.
11505         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11506         is fine.
11507         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11508         <bits/mman-linux.h> to end of file.
11509         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11510         is fine.
11511         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11512         <bits/mman-linux.h> to end of file.
11514         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11515         (MCL_CURRENT, MCL_FUTURE): Define here.
11517 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11519         [BZ #15232]
11520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11521         attribute_hidden.
11522         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11524 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11526         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11527         fourth parameter needed for rt_sigprocmask syscall.
11528         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11529         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11530         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11531         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11532         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11535 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11537         [BZ #13550]
11538         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11539         comment about bounded pointers.
11540         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11541         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11543 2013-03-04  Andreas Jaeger  <aj@suse.de>
11545         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11546         common definitions.
11548         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11549         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11550         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11551         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11552         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11553         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11555 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11557         [BZ #15055]
11558         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11559         __ieee754_sqrl instead of __sqrl.
11561 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11563         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11564         * sysdeps/powerpc/fpu_control.h: ... here.
11565         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11566         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11567         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11568         * sysdeps/powerpc/bits/mathinline.h: ... here.
11570 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11572         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11573         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11574         to just [NEED_DL_SYSINFO_DSO].
11575         * elf/dl-support.c: Likewise.
11576         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11577         * elf/rtld.c (dl_main): Likewise.
11578         * elf/setup-vdso.h (setup_vdso): Likewise.
11579         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11580         * sysdeps/unix/sysv/linux/dl-sysdep.c
11581         (_dl_discover_osversion): Likewise.
11583 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11585         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11586         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11588 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11590         * NEWS: Mention libm performance improvements and non-x86 PI
11591         futex support.
11593         * csu/libc-start.c (__pthread_initialize_minimal): Change
11594         function arguments.
11595         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11597 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11599         [BZ #13550]
11600         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11601         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11602         <bp-sym.h> and <bp-asm.h>.
11603         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11604         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11605         and <bp-asm.h>.
11606         (memcpy): Don't use BP_SYM.
11607         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11608         <bp-asm.h>.
11609         (__mpn_add_n): Don't use BP_SYM.
11610         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11611         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11612         and <bp-asm.h>.
11613         (__mpn_addmul_1): Don't use BP_SYM.
11614         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11615         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11616         <bp-sym.h>.
11617         (_setjmp): Don't use BP_SYM.
11618         (__novmx_setjmp): Likewise.
11619         (__GI__setjmp): Likewise.
11620         (__vmx_setjmp): Likewise.
11621         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11622         <bp-sym.h>.
11623         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11624         (__bzero): Don't use BP_SYM.
11625         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11626         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11627         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11628         <bp-sym.h> and <bp-asm.h>.
11629         (memcpy): Don't use BP_SYM.
11630         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11631         <bp-sym.h> and <bp-asm.h>.
11632         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11633         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11634         <bp-sym.h> and <bp-asm.h>.
11635         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11636         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11637         <bp-asm.h>.
11638         (__mpn_lshift): Don't use BP_SYM.
11639         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11640         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11641         <bp-asm.h>.
11642         (memset): Don't use BP_SYM.
11643         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11644         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11645         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11646         <bp-asm.h>.
11647         (__mpn_mul_1): Don't use BP_SYM.
11648         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11649         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11650         <bp-sym.h> and <bp-asm.h>.
11651         (memcmp): Don't use BP_SYM.
11652         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11653         <bp-sym.h> and <bp-asm.h>.
11654         (memcpy): Don't use BP_SYM.
11655         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11656         <bp-sym.h> and <bp-asm.h>.
11657         (memset): Don't use BP_SYM.
11658         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11659         <bp-sym.h> and <bp-asm.h>.
11660         (strncmp): Don't use BP_SYM.
11661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11662         <bp-sym.h> and <bp-asm.h>.
11663         (memcpy): Don't use BP_SYM.
11664         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11665         <bp-sym.h> and <bp-asm.h>.
11666         (memset): Don't use BP_SYM.
11667         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11668         <bp-sym.h> and <bp-asm.h>.
11669         (__memchr): Don't use BP_SYM.
11670         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11671         <bp-sym.h> and <bp-asm.h>.
11672         (memcmp): Don't use BP_SYM.
11673         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11674         <bp-sym.h> and <bp-asm.h>.
11675         (memcpy): Don't use BP_SYM.
11676         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11677         <bp-sym.h> and <bp-asm.h>.
11678         (__mempcpy): Don't use BP_SYM.
11679         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11680         <bp-sym.h> and <bp-asm.h>.
11681         (__memrchr): Don't use BP_SYM.
11682         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11683         <bp-sym.h> and <bp-asm.h>.
11684         (memset): Don't use BP_SYM.
11685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11686         <bp-sym.h> and <bp-asm.h>.
11687         (__rawmemchr): Don't use BP_SYM.
11688         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11689         <bp-sym.h> and <bp-asm.h>.
11690         (__STRCMP): Don't use BP_SYM.
11691         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11692         <bp-sym.h> and <bp-asm.h>.
11693         (strchr): Don't use BP_SYM.
11694         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11695         <bp-sym.h> and <bp-asm.h>.
11696         (__strchrnul): Don't use BP_SYM.
11697         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11698         <bp-sym.h> and <bp-asm.h>.
11699         (strlen): Don't use BP_SYM.
11700         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11701         <bp-sym.h> and <bp-asm.h>.
11702         (strncmp): Don't use BP_SYM.
11703         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11704         <bp-sym.h> and <bp-asm.h>.
11705         (__strnlen): Don't use BP_SYM.
11706         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11707         <bp-asm.h>.
11708         (__mpn_rshift): Don't use BP_SYM.
11709         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11710         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11711         <bp-sym.h> and <bp-asm.h>.
11712         (__sigsetjmp): Don't use BP_SYM.
11713         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11714         (L(start_addresses)): Don't use BP_SYM.
11715         (_start): Likewise.
11716         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11717         <bp-asm.h>.
11718         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11719         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11720         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11721         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11722         <bp-asm.h>.
11723         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11724         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11725         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11726         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11727         <bp-asm.h>.
11728         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11729         comments.
11730         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11731         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11732         <bp-asm.h>.
11733         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11734         FIXME comments.
11735         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11736         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11737         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11738         <bp-asm.h>.
11739         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11740         comment.
11741         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11742         and <bp-asm.h>.
11743         (strncmp): Don't use BP_SYM,
11744         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11745         <bp-asm.h>.
11746         (__mpn_sub_n): Don't use BP_SYM.
11747         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11748         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11749         and <bp-asm.h>.
11750         (__mpn_submul_1): Don't use BP_SYM.
11751         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11753         <bp-sym.h> and <bp-asm.h>.
11754         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11756         <bp-sym.h> and <bp-asm.h>.
11757         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11758         comment.
11760 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11763         Use ZK to minimize writes to Z.
11764         (sub_magnitudes): Simplify code a bit.
11765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11766         Use ZK to minimize writes to Z.
11767         (sub_magnitudes): Simplify code a bit.
11769 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11771         * csu/gmon-start.c: Add special exception to license text.
11773 2013-02-27  Richard Henderson  <rth@redhat.com>
11775         * scripts/config.guess: Update from config.git.
11776         * scripts/config.sub: Likewise.
11778 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11780         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11782         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11784         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11786         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11788         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11790 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11792         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11793         [$(build-shared = yes].
11795 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11798         (__mul): Reduce iterations for calculating mantissa.
11800         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11801         MPTWO.
11802         (__mpranred): Likewise.
11804         [BZ #15160]
11805         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11806         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11808 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11810         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11811         Define __attribute__.
11813 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11815         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11816         unused.
11817         * posix/regex_internal.h (__attribute): Remove.
11818         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11819         (re_string_context_at): Likewise.
11820         (bitset_not): Use __attribute__ and mark function as possibly
11821         unused.
11822         (bitset_merge): Likewise.
11823         (bitset_mask): Likewise.
11824         (re_string_char_size_at): Likewise.
11825         (re_string_wchar_at): Likewise.
11826         (re_string_elem_size_at): Likewise.
11828 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11831         code.
11832         (cc32): Likewise.
11834         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11835         (__acr): Likewise.
11836         (__cpy): Likewise.
11837         (norm): Likewise.
11838         (denorm): Likewise.
11839         (__dbl_mp): Likewise.
11840         (add_magnitudes): Likewise.
11841         (sub_magnitudes): Likewise.
11842         (__mul): Likewise.
11843         (__inv): Likewise.
11845         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11846         style.
11848         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11849         style.
11851         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11852         code.
11854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11855         up changes with default code.
11856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11857         Likewise.
11859 2013-02-24  Allan McRae  <allan@archlinux.org>
11861         * manual/socket.texi (The Internet Namespace): Order menu items
11862         to match that in the file.
11864         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11865         node listing of the info page menu.
11867 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11869         [BZ #13550]
11870         * sysdeps/i386/bp-asm.h: Remove file.
11871         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11872         (PARMS): Do not use macros from bp-asm.h.
11873         (S1): Likewise.
11874         (S2): Likewise.
11875         (SIZE): Likewise.
11876         (__mpn_add_n): Do not use BP_SYM
11877         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11878         "bp-asm.h".
11879         (PARMS): Do not use macros from bp-asm.h.
11880         (S1): Likewise.
11881         (SIZE): Likewise.
11882         (__mpn_addmul_1): Do not use BP_SYM
11883         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11884         "bp-asm.h".
11885         (PARMS): Do not use macros from bp-asm.h.
11886         (SIGMSK): Likewise.
11887         (_setjmp): Likewise.  Do not use BP_SYM.
11888         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11889         "bp-asm.h".
11890         (PARMS): Do not use macros from bp-asm.h.
11891         (SIGMSK): Likewise.
11892         (setjmp): Likewise.  Do not use BP_SYM.
11893         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11894         "bp-asm.h".
11895         (PARMS): Do not use macros from bp-asm.h.
11896         (__frexp): Do not use BP_SYM.
11897         (frexp): Likewise.
11898         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11899         "bp-asm.h".
11900         (PARMS): Do not use macros from bp-asm.h.
11901         (__frexpf): Do not use BP_SYM.
11902         (frexpf): Likewise.
11903         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11904         "bp-asm.h".
11905         (PARMS): Do not use macros from bp-asm.h.
11906         (__frexpl): Do not use BP_SYM.
11907         (frexpl): Likewise.
11908         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11909         "bp-asm.h".
11910         (PARMS): Do not use macros from bp-asm.h.
11911         (__remquo): Do not use BP_SYM.
11912         (remquo): Likewise.
11913         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11914         "bp-asm.h".
11915         (PARMS): Do not use macros from bp-asm.h.
11916         (__remquof): Do not use BP_SYM.
11917         (remquof): Likewise.
11918         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11919         "bp-asm.h".
11920         (PARMS): Do not use macros from bp-asm.h.
11921         (__remquol): Do not use BP_SYM.
11922         (remquol): Likewise.
11923         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11924         "bp-asm.h".
11925         (PARMS): Do not use macros from bp-asm.h.
11926         (DEST): Likewise.
11927         (SRC): Likewise.
11928         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11929         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11930         "bp-asm.h".
11931         (PARMS): Do not use macros from bp-asm.h.
11932         (strlen): Do not use BP_SYM.
11933         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11934         "bp-asm.h".
11935         (PARMS): Do not use macros from bp-asm.h.
11936         (S1): Likewise.
11937         (S2): Likewise.
11938         (SIZE): Likewise.
11939         (__mpn_add_n): Do not use BP_SYM.
11940         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11941         "bp-asm.h".
11942         (PARMS): Do not use macros from bp-asm.h.
11943         (S1): Likewise.
11944         (SIZE): Likewise.
11945         (__mpn_addmul_1): Do not use BP_SYM.
11946         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11947         weak_alias.
11948         (bzero): Likewise.
11949         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11950         "bp-asm.h".
11951         (PARMS): Do not use macros from bp-asm.h.
11952         (S): Likewise.
11953         (SIZE): Likewise.
11954         (__mpn_lshift): Do not use BP_SYM.
11955         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11956         "bp-asm.h".
11957         (PARMS): Do not use macros from bp-asm.h.
11958         (DEST): Likewise.
11959         (SRC): Likewise.
11960         (LEN): Likewise.
11961         (memcpy): Likewise.  Do not use BP_SYM.
11962         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11963         libc_hidden_def and weak_alias.
11964         (mempcpy): Do not use BP_SYM in weak_alias.
11965         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11966         "bp-asm.h".
11967         (PARMS): Do not use macros from bp-asm.h.
11968         (DEST): Likewise.
11969         (LEN): Likewise.
11970         [!BZERO_P] (CHR): Likewise.
11971         (memset): Likewise.  Do not use BP_SYM.
11972         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11973         "bp-asm.h".
11974         (PARMS): Do not use macros from bp-asm.h.
11975         (S1): Likewise.
11976         (SIZE): Likewise.
11977         (__mpn_mul_1): Do not use BP_SYM.
11978         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11979         "bp-asm.h".
11980         (PARMS): Do not use macros from bp-asm.h.
11981         (S): Likewise.
11982         (SIZE): Likewise.
11983         (__mpn_rshift): Do not use BP_SYM.
11984         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11985         "bp-asm.h".
11986         (PARMS): Do not use macros from bp-asm.h.
11987         (STR): Likewise.
11988         (CHR): Likewise.
11989         (strchr): Likewise.  Do not use BP_SYM.
11990         (index): Do not use BP_SYM in weak_alias.
11991         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11992         "bp-asm.h".
11993         (PARMS): Do not use macros from bp-asm.h.
11994         (DEST): Likewise.
11995         (SRC): Likewise.
11996         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11997         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11998         "bp-asm.h".
11999         (PARMS): Do not use macros from bp-asm.h.
12000         (strlen): Do not use BP_SYM.
12001         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12002         "bp-asm.h".
12003         (PARMS): Do not use macros from bp-asm.h.
12004         (S1): Likewise.
12005         (S2): Likewise.
12006         (SIZE): Likewise.
12007         (__mpn_sub_n): Do not use BP_SYM.
12008         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12009         "bp-asm.h".
12010         (PARMS): Do not use macros from bp-asm.h.
12011         (S1): Likewise.
12012         (SIZE): Likewise.
12013         (__mpn_submul_1): Do not use BP_SYM.
12014         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12015         "bp-asm.h".
12016         (PARMS): Do not use macros from bp-asm.h.
12017         (S1): Likewise.
12018         (S2): Likewise.
12019         (SIZE): Likewise.
12020         (__mpn_add_n): Do not use BP_SYM.
12021         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12022         weak_alias.
12023         (bzero): Likewise.
12024         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12025         "bp-asm.h".
12026         (PARMS): Do not use macros from bp-asm.h.
12027         (BLK2): Likewise.
12028         (LEN): Likewise.
12029         (memcmp): Do not use BP_SYM.
12030         (bcmp): Do not use BP_SYM in weak_alias.
12031         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12032         "bp-asm.h".
12033         (PARMS): Do not use macros from bp-asm.h.
12034         (DEST): Likewise.
12035         (SRC): Likewise.
12036         (LEN): Likewise.
12037         (memcpy): Likewise.  Do not use BP_SYM.
12038         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12039         "bp-asm.h".
12040         (PARMS): Do not use macros from bp-asm.h.
12041         (DEST): Likewise.
12042         (SRC): Likewise.
12043         (LEN): Likewise.
12044         (memmove): Likewise.  Do not use BP_SYM.
12045         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12046         "bp-asm.h".
12047         (PARMS): Do not use macros from bp-asm.h.
12048         (DEST): Likewise.
12049         (SRC): Likewise.
12050         (LEN): Likewise.
12051         (__mempcpy): Likewise.  Do not use BP_SYM.
12052         (mempcpy): Do not use BP_SYM in weak_alias.
12053         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12054         "bp-asm.h".
12055         (PARMS): Do not use macros from bp-asm.h.
12056         (DEST): Likewise.
12057         (LEN): Likewise.
12058         [!BZERO_P] (CHR): Likewise.
12059         (memset): Likewise.  Do not use BP_SYM.
12060         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12061         "bp-asm.h".
12062         (PARMS): Do not use macros from bp-asm.h.
12063         (STR2): Likewise.
12064         (strcmp): Do not use BP_SYM.
12065         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12066         "bp-asm.h".
12067         (PARMS): Do not use macros from bp-asm.h.
12068         (STR): Likewise.
12069         (DELIM): Likewise.
12070         [USE_AS_STRTOK_R] (SAVE): Likewise.
12071         (FUNCTION): Likewise.  Do not use BP_SYM.
12072         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12073         aliases.
12074         (strtok_r): Likewise.
12075         (__GI___strtok_r): Likewise.
12076         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12077         (PARMS): Do not use macros from bp-asm.h.
12078         (S): Likewise.
12079         (SIZE): Likewise.
12080         (__mpn_lshift): Do not use BP_SYM.
12081         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12082         (PARMS): Do not use macros from bp-asm.h.
12083         (STR): Likewise.
12084         (CHR): Likewise.
12085         (__memchr): Do not use BP_SYM.
12086         (memchr): Do not use BP_SYM in weak_alias.
12087         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12088         (PARMS): Do not use macros from bp-asm.h.
12089         (BLK2): Likewise.
12090         (LEN): Likewise.
12091         (memcmp): Do not use BP_SYM.
12092         (bcmp): Do not use BP_SYM in weak_alias.
12093         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12094         (PARMS): Do not use macros from bp-asm.h.
12095         (S1): Likewise.
12096         (SIZE): Likewise.
12097         (__mpn_mul_1): Do not use BP_SYM.
12098         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12099         "bp-asm.h".
12100         (PARMS): Do not use macros from bp-asm.h.
12101         (STR): Likewise.
12102         (CHR): Likewise.
12103         (__rawmemchr): Do not use BP_SYM.
12104         (rawmemchr): Do not use BP_SYM in weak_alias.
12105         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12106         (PARMS): Do not use macros from bp-asm.h.
12107         (S): Likewise.
12108         (SIZE): Likewise.
12109         (__mpn_rshift): Do not use BP_SYM.
12110         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12111         (PARMS): Do not use macros from bp-asm.h.
12112         (SIGMSK): Likewise.
12113         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12114         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12115         (_start): Do not use BP_SYM.
12116         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12117         (PARMS): Do not use macros from bp-asm.h.
12118         (DEST): Likewise.
12119         (SRC): Likewise.
12120         (__stpcpy): Likewise.  Do not use BP_SYM.
12121         (stpcpy): Do not use BP_SYM in weak_alias.
12122         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12123         "bp-asm.h".
12124         (PARMS): Do not use macros from bp-asm.h.
12125         (DEST): Likewise.
12126         (SRC): Likewise.
12127         (LEN): Likewise.
12128         (__stpncpy): Likewise.  Do not use BP_SYM.
12129         (stpncpy): Do not use BP_SYM in weak_alias.
12130         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12131         (PARMS): Do not use macros from bp-asm.h.
12132         (STR): Likewise.
12133         (CHR): Likewise.
12134         (strchr): Likewise.  Do not use BP_SYM.
12135         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12136         "bp-asm.h".
12137         (PARMS): Do not use macros from bp-asm.h.
12138         (STR): Likewise.
12139         (CHR): Likewise.
12140         (__strchrnul): Likewise.  Do not use BP_SYM.
12141         (strchrnul): Do not use BP_SYM in weak_alias.
12142         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12143         "bp-asm.h".
12144         (PARMS): Do not use macros from bp-asm.h.
12145         (STOP): Likewise.
12146         (strcspn): Do not use BP_SYM.
12147         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12148         "bp-asm.h".
12149         (PARMS): Do not use macros from bp-asm.h.
12150         (STR): Likewise.
12151         (STOP): Likewise.
12152         (strpbrk): Likewise.  Do not use BP_SYM.
12153         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12154         "bp-asm.h".
12155         (PARMS): Do not use macros from bp-asm.h.
12156         (STR): Likewise.
12157         (CHR): Likewise.
12158         (strrchr): Likewise.  Do not use BP_SYM.
12159         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12160         (PARMS): Do not use macros from bp-asm.h.
12161         (SKIP): Likewise.
12162         (strspn): Do not use BP_SYM.
12163         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12164         (PARMS): Do not use macros from bp-asm.h.
12165         (STR): Likewise.
12166         (DELIM): Likewise.
12167         (SAVE): Likewise.
12168         (FUNCTION): Likewise.  Do not use BP_SYM.
12169         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12170         aliases.
12171         (strtok_r): Likewise.
12172         (__GI___strtok_r): Likewise.
12173         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12174         (PARMS): Do not use macros from bp-asm.h.
12175         (S1): Likewise.
12176         (S2): Likewise.
12177         (SIZE): Likewise.
12178         (__mpn_sub_n): Do not use BP_SYM.
12179         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12180         "bp-asm.h".
12181         (PARMS): Do not use macros from bp-asm.h.
12182         (S1): Likewise.
12183         (SIZE): Likewise.
12184         (__mpn_submul_1): Do not use BP_SYM.
12185         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12186         <bp-sym.h>.
12187         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12188         and <bp-asm.h>.
12189         (PARMS): Do not use macros from bp-asm.h.
12190         (FLAGS): Likewise.
12191         (PTID): Likewise.
12192         (TLS): Likewise.
12193         (CTID): Likewise.
12194         (__clone): Do not use BP_SYM.
12195         (clone): Do not use BP_SYM in weak_alias.
12196         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12197         and <bp-asm.h>.
12198         (PARMS): Do not use macros from bp-asm.h.
12199         (LEN): Likewise.
12200         (__mmap64): Do not use BP_SYM.
12201         (mmap64): Do not use BP_SYM in weak_alias.
12202         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12203         <bp-sym.h> and <bp-asm.h>.
12204         (PARMS): Do not use macros from bp-asm.h.
12205         (__posix_fadvise64_l64): Do not use BP_SYM.
12206         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12207         (PARMS): Do not use macros from bp-asm.h.
12208         (NSOPS): Likewise.
12209         (semtimedop): Do not use BP_SYM.
12210         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12211         and <bp-asm.h>.
12213 2013-02-21  Allan McRae  <allan@archlinux.org>
12215         * manual/message.texi (Charset conversion in gettext):
12216         Move @end statement to beginning of line.
12218 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12221         static.
12222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12223         Likewise.
12225         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12226         (denorm): Likewise.
12227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12230 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12232         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12233         tail-call to the resolved function if pltexit isn't needed.
12235 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12238         or Y being zero as being unlikely.
12239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12240         Likewise.
12242 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12244         * manual/nss.texi (System Databases and Name Service Switch):
12245         Remove frobnicate @pxref.
12247 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12249         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12250         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12252 2013-02-20  Petr Machata  <pmachata@redhat.com>
12254         * elf/elf.h (R_ARM_TARGET1): New macro.
12255         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12256         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12257         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12258         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12259         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12260         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12261         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12262         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12263         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12264         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12265         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12266         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12267         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12268         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12269         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12270         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12271         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12272         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12273         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12274         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12275         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12276         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12277         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12278         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12279         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12280         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12281         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12282         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12283         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12284         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12285         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12286         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12287         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12288         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12289         (R_ARM_THM_GOT_BREL12): Likewise.
12290         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12291         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12292         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12293         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12294         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12295         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12296         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12297         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12298         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12300 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12302         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12303         __attribute_used__ to __attribute__ ((unused)).
12305 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12308         powerpc mpa.c.
12309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12310         comment formatting.
12311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12313 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12315         [BZ #13550]
12316         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12317         Remove macro.
12318         (ENTER): Remove both macro definitions.
12319         (LEAVE): Likewise.
12320         (CHECK_BOUNDS_LOW): Likewise.
12321         (CHECK_BOUNDS_HIGH): Likewise.
12322         (CHECK_BOUNDS_BOTH): Likewise.
12323         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12324         (RETURN_BOUNDED_POINTER): Likewise.
12325         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12326         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12327         (POP_ERRNO_LOCATION_RETURN): Likewise.
12328         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12329         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12330         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12331         macros.
12332         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12333         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12334         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12335         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12336         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12337         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12338         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12339         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12340         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12341         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12342         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12343         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12344         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12345         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12346         removed macros.
12347         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12348         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12349         macros.
12350         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12351         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12352         * sysdeps/i386/i586/memset.S (memset): Likewise.
12353         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12354         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12355         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12356         macros.
12357         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12358         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12359         Change uses of L(2) to L(out).
12360         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12361         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12362         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12364         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12365         removed macros.
12366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12367         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12368         macros.
12369         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12370         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12371         (RETURN): Do not use macro LEAVE.
12372         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12373         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12374         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12375         * sysdeps/i386/i686/memset.S (memset): Likewise.
12376         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12377         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12378         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12379         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12380         Likewise.
12381         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12382         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12383         L(1_2) and L(1_3) into L(1).
12384         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12385         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12386         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12387         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12388         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12389         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12390         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12391         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12392         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12393         macros.
12394         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12396         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12397         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12398         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12399         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12400         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12401         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12402         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12403         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12404         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12405         * sysdeps/i386/strspn.S (strspn): Likewise.
12406         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12407         conditional code.
12408         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12409         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12410         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12411         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12412         L(1_3) into L(1_1).
12413         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12414         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12415         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12416         macros.
12417         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12419 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12421         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12422         macro.
12424 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12426         * math/atest-exp.c (exp_mpn): Remove ROUND.
12427         * math/atest-exp2.c (exp_mpn): Likewise.
12428         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12430         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12431         * stdlib/tst-tls-atexit-lib.c: Likewise.
12432         * stdlib/tst-tls-atexit.c: Likewise.
12434 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12436         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12437         and __attribute_alloc_size__.
12439 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12441         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12442         __attribute_alloc_size__.
12443         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12444         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12446 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12448         * include/programs/xmalloc.h: New file.
12449         * catgets/gencat.c: Include it.
12450         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12451         * elf/pldd.c: Likewise.
12452         * iconv/iconv_charmap.c: Likewise.
12453         * iconv/iconvconfig.c: Likewise.
12454         * iconv/strtab.c: Likewise.
12455         * locale/programs/locale.c: Likewise.
12456         * locale/programs/localedef.h: Likewise.
12457         * locale/programs/simple-hash.c: Likewise.
12458         * nscd/nscd.h: Likewise.
12459         * nss/makedb.c: Likewise.
12460         * sysdeps/generic/ldconfig.h: Likewise.
12462 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12464         * Versions.def: Add GLIBC_2.18.
12465         * include/link.h (struct link_map): New member l_tls_dtor_count.
12466         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12467         (__call_tls_dtors): Likewise.
12468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12469         __cxa_thread_atexit_impl.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12471         Likewise.
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12473         Likewise.
12474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12475         Likewise.
12476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12477         Likewise.
12478         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12485         Likewise.
12486         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12487         (tests): Add test case tst-tls-atexit.
12488         (modules-names): Add shared library for tst-tls-atexit.
12489         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12490         (GLIBC_PRIVATE): Add __call_tls_dtors.
12491         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12492         for libstdc++.
12493         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12494         * stdlib/tst-tls-atexit.c: New test case.
12495         * stdlib/tst-tls-atexit-lib.c: New test case.
12497         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12499         * elf/Versions (ld): Add _dl_find_dso_for_object.
12500         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12501         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12502         (dl_open_worker): Use _dl_find_dso_for_object.
12503         * elf/dl-sym.c (do_sym): Likewise.
12504         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12506 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12508         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12509         Syntactic changes only.
12510         (_dl_runtime_profile): Do a tail-call to the resolved function.
12512 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12514         [BZ #13550]
12515         * sysdeps/x86_64/bp-asm.h: Remove file.
12516         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12517         <bp-sym.h> and <bp-asm.h>.
12518         (__clone): Do not use BP_SYM.
12519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12520         <bp-sym.h> and <bp-asm.h>.
12521         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12522         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12523         "bp-asm.h".
12524         (_setjmp): Do not use BP_SYM.
12525         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12526         "bp-asm.h".
12527         (setjmp): Do not use BP_SYM.
12528         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12529         libc_hidden_def.
12530         (mempcpy): Do not use BP_SYM in weak_alias.
12531         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12532         "bp-asm.h".
12533         (strchr): Do not use BP_SYM.
12534         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12535         "bp-asm.h".
12536         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12537         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12538         (_start): Do not use BP_SYM.
12539         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12540         "bp-asm.h".
12541         (strcat): Do not use BP_SYM.
12542         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12543         "bp-asm.h".
12544         (STRCMP): Do not use BP_SYM.
12545         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12546         "bp-asm.h".
12547         (STRCPY): Do not use BP_SYM.
12548         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12549         "bp-asm.h".
12550         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12551         "bp-asm.h".
12552         (FUNCTION): Do not use BP_SYM.
12553         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12554         weak_alias.
12555         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12557 2013-02-17  Andreas Jaeger  <aj@suse.de>
12559         * time/Versions: Sort entries.
12560         * string/Versions: Likewise.
12561         * resolv/Versions: Likewise.
12562         * posix/Versions: Likewise.
12563         * iconv/Versions: Likewise.
12564         * elf/Versions: Likewise.
12565         * wcsmbs/Versions: Likewise.
12567 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12569         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12570         loop termination condition.
12572         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12573         variable to calculate EZ.
12574         (__sqr): Likewise.
12576         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12577         the lower precision input.
12579 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12581         [BZ #13550]
12582         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12583         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12584         (run-via-rtld-prefix): Do not handle %-bp tests.
12585         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12586         (all-object-suffixes): Remove .ob.
12587         (bppfx): Remove variable.
12588         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12589         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12590         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12591         [$(build-bounded) = yes] (libtype.ob): Likewise.
12592         * Makerules (elide-routines.ob): Remove variable.
12593         (do-tests-clean): Do not handle *-bp.out.
12594         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12595         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12596         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12597         (tests): Do not include $(tests-bp.out).
12598         (xtests): Do not include $(xtests-bp.out).
12599         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12600         [$(build-bounded) = yes] ($(addprefix
12601         $(objpfx),$(binaries-bounded))): Remove rule.
12602         ($(objpfx)%-bp.out): Remove rule.
12603         * config.make.in (build-bounded): Remove variable.
12604         * crypt/Makefile [$(build-bounded) = yes]
12605         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12606         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12607         append to variable.
12608         [$(build-bounded) = yes] (install-lib): Likewise.
12609         [$(build-bounded) = yes] (generated): Likewise.
12610         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12611         Remove rule.
12612         * intl/Makefile [$(build-bounded) = yes]
12613         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12614         * math/Makefile [$(build-bounded) = yes]
12615         ($(tests:%=$(objpfx)%-bp): Likewise.
12616         * misc/Makefile [$(build-bounded) = yes]
12617         ($(objpfx)tst-tsearch-bp): Likewise.
12618         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12619         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12620         Remove dependency.
12621         * string/Makefile (o-objects.ob): Remove variable.
12622         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12623         (CFLAGS-.ob): Remove variable.
12624         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12625         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12626         both definitions of variable.
12627         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12628         (ASFLAGS-.ob): Remove variable.
12630 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12632         [BZ #13550]
12633         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12634         Remove __BOUNDED_POINTERS__ from condition.
12635         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12636         * string/bits/string2.h [!__NO_STRING_INLINES &&
12637         !__BOUNDED_POINTERS__]: Likewise.
12638         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12641         Remove conditional code.
12642         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12643         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12644         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12645         condition.
12647         [BZ #13550]
12648         * csu/libc-start.c: Do not include <bp-sym.h>.
12649         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12650         * elf/dl-open.c: Do not include <bp-sym.h>.
12651         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12652         * math/fegetenv.c: Do not include <bp-sym.h>.
12653         (fegetenv): Do not use BP_SYM in versioned symbols.
12654         * nptl/sysdeps/pthread/bits/libc-lockP.h
12655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12656         <bp-sym.h>.
12657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12658         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12660         (__pthread_mutex_destroy): Likewise.
12661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12662         (__pthread_mutex_lock): Likewise.
12663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12664         (__pthread_mutex_trylock): Likewise.
12665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12666         (__pthread_mutex_unlock): Likewise.
12667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12668         (__pthread_mutexattr_init): Likewise.
12669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12670         (__pthread_mutexattr_destroy): Likewise.
12671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12672         (__pthread_mutexattr_settype): Likewise.
12673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12674         (__pthread_rwlock_init): Likewise.
12675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12676         (__pthread_rwlock_destroy): Likewise.
12677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12678         (__pthread_rwlock_rdlock): Likewise.
12679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12680         (__pthread_rwlock_tryrdlock): Likewise.
12681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12682         (__pthread_rwlock_wrlock): Likewise.
12683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12684         (__pthread_rwlock_trywrlock): Likewise.
12685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12686         (__pthread_rwlock_unlock): Likewise.
12687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12688         (__pthread_key_create): Likewise.
12689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12690         (__pthread_setspecific): Likewise.
12691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12692         (__pthread_getspecific): Likewise.
12693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12694         Likewise.
12695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12696         (_pthread_cleanup_push_defer): Likewise.
12697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12698         (_pthread_cleanup_pop_restore): Likewise.
12699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12700         (pthread_setcancelstate): Likewise.
12701         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12702         <bp-sym.h>.
12703         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12704         (memchr): Do not use BP_SYM in weak_alias.
12705         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12706         (fegetenv): Do not use BP_SYM in versioned symbols.
12707         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12708         (fesetenv): Do not use BP_SYM in versioned symbols.
12709         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12710         (feupdateenv): Do not use BP_SYM in versioned symbols.
12711         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12712         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12713         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12714         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12715         (open64): Do not use BP_SYM in weak_alias.
12716         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12717         (fegetenv): Do not use BP_SYM in versioned symbols.
12718         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12719         (fesetenv): Do not use BP_SYM in versioned symbols.
12720         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12721         (feupdateenv): Do not use BP_SYM in versioned symbols.
12722         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12723         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12724         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12725         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12726         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12727         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12728         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12729         <bp-sym.h>.
12730         (__libc_start_main): Do not use BP_SYM.
12732 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12735         redundant return line.
12736         (norm): Likewise.
12737         (denorm): Likewise.
12738         (dbl_mp): Likewise.
12739         (sub_magnitudes): Likewise.
12740         (__add): Likewise.
12741         (__sub): Likewise.
12742         (__mul): Likewise.
12743         (__inv): Likewise.
12744         (__dvd): Likewise.
12745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12746         (norm): Likewise.
12747         (denorm): Likewise.
12748         (dbl_mp): Likewise.
12749         (sub_magnitudes): Likewise.
12750         (__add): Likewise.
12751         (__sub): Likewise.
12752         (__mul): Likewise.
12753         (__inv): Likewise.
12754         (__dvd): Likewise.
12756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12757         instead of __mul.
12758         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12759         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12760         (cc32): Likewise.
12762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12763         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12765         of __mul for squares.
12766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12767         function
12768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12769         Likewise.
12770         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12771         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12773 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12775         [BZ #13550]
12776         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12777         code.
12778         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12779         prototype or function definition.  Rename ubp_* variables and
12780         parameters.  Remove argv definitions conditional on
12781         [__BOUNDED_POINTERS__].
12782         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12783         * elf/dl-runtime.c (_dl_fixup): Likewise.
12784         * include/set-hooks.h (RUN_HOOK): Likewise.
12785         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12786         definition.
12787         * string/strcpy.c (strcpy): Do not use __unbounded.
12788         * sysdeps/generic/frame.h (struct layout): Likewise.
12789         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12790         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12791         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12792         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12793         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12794         (__backtrace): Likewise.
12795         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12796         use __ptrvalue.
12797         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12798         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12799         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12800         Likewise.
12801         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12802         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12803         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12804         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12805         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12806         Do not use __unbounded.
12807         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12808         Rename __unboundedrlimits parameter to rlimits in prototype.
12809         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12810         Do not use __unbounded.
12811         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12812         not use __ptrvalue.
12813         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12814         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12815         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12816         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12817         __ptrvalue or __unbounded.
12818         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12819         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12820         use __unbounded.
12821         (__new_msgctl): Do not use __ptrvalue.
12822         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12823         __unbounded.
12824         (__libc_msgrcv): Do not use __ptrvalue.
12825         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12826         startup_info): Do not use __unbounded.
12827         (__libc_start_main): Likewise.  Rename ubp_* variables and
12828         parameters.  Remove argv definitions conditional on
12829         [__BOUNDED_POINTERS__].
12830         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12831         __ptrvalue.
12832         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12833         use __unbounded.
12834         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12835         or __ptrvalue.
12836         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12837         use __unbounded.
12838         (__new_shmctl): Do not use __ptrvalue.
12839         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12840         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12841         Likewise.
12842         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12843         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12844         (__libc_sigaction): Likewise.
12845         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12846         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12847         Likewise.
12848         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12850 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12852         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12854         * string/mempcpy.c: Implement by calling memcpy.
12856 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12861         evaluation.
12863         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12864         values in the mantissa.
12866         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12867         minimize writes to Z.
12868         (sub_magnitudes): Simplify code a bit.
12870 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12872         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12873         from the message.  The linker prefixes all warnings with that already.
12875 2013-02-12  Andreas Schwab  <schwab@suse.de>
12877         [BZ #15078]
12878         * posix/regexec.c (extend_buffers): Add parameter min_len.
12879         (check_matching): Pass minimum needed length.
12880         (clean_state_log_if_needed): Likewise.
12881         (get_subexp): Likewise.
12882         * posix/Makefile (tests): Add bug-regex34.
12883         (bug-regex34-ENV): Define.
12884         * posix/bug-regex34.c: New file.
12886         [BZ #11561]
12887         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12888         elements compare against the byte sequence of it, not its name.
12889         * posix/Makefile (tests): Add bug-regex35.
12890         (bug-regex35-ENV): Define.
12891         * posix/bug-regex35.c: New file.
12893 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12895         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12896         comment.
12897         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12898         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12899         (CHECK_EOL): Add undef.
12901 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12903         * bits/stdlib-bsearch.h: New file.
12904         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12905         * stdlib/stdlib.h: Likewise.
12907 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12909         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12910         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12911         declaration.
12912         * manual/search.texi (Array Search Function): Add missing const in
12913         lfind prototype.
12914         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12915         declaration to use rlim_t.
12916         (Basic Scheduling Functions): Remove erroneous const from
12917         sched_getparam prototype.  Remove erroneous * from
12918         sched_get_priority_max and sched_get_priority_min prototypes.
12919         (Resource Usage): Fix summary @comment on vtimes to refer to
12920         sys/vtimes.h rather than vtimes.h.
12921         Add missing *s in vtimes prototype.
12922         (Limits on Resources): Fix ulimit prototype to return long int.
12923         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12924         prototypes to use long int rather than double.
12925         (BSD Random): Fix initstate and setstate to use char *, not void *.
12926         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12927         prototype to make second argument 'struct aiocb64 *const[]'.
12928         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12929         (Status of AIO Operations): Remove erroneous const in aio_return and
12930         aio_return64 prototypes.
12931         (Synchronizing I/O): Fix sync prototype to return void.
12932         * manual/startup.texi (Suboptions): Remove an erroneous const in
12933         getsubopt prototype.
12934         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12935         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12936         use size_t rather than int.
12937         (Scanning All Users): Likewise for getpwent_r.
12938         (Setting Groups): Add missing const to setgroups prototype.
12939         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12940         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12941         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12942         'const void *' rather than 'const char *'.
12943         (Host Address Functions): Likewise for inet_ntop.
12944         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12945         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12946         ssize_t for return value.
12947         (Sending Data): Likewise for send, sendto, sendmsg.
12948         (Socket Option Functions): Add a missing const in setsockopt prototype.
12949         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12950         use wchar_t for the argument.
12951         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12952         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12953         take no arguments.
12954         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12955         double/float/long double for second argument.
12956         Fix return types of significand, significandf, significandl.
12957         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12958         argument in fchmod prototype.
12959         (File Owner): Use uid_t and gid_t in fchown prototype.
12960         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12961         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12962         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12963         use 'const struct dirent **' as argument types to CMP function pointer
12964         argument.
12965         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12966         (File Times): Fix summary magic @comment for struct utimbuf and utime
12967         to refer to utime.h, not time.h.
12968         * manual/string.texi (Argz Functions): Add missing const in
12969         argz_extract and argz_next prototypes.
12970         (Finding Tokens in a String): Likewise for basename.
12971         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12972         (Copying and Concatenation): Fix typo in wmemmove prototype.
12973         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12974         (Signal Stack): Remove erroneous const in sigstack prototype.
12975         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12976         prototype.
12977         (Simple Calendar Time): Likewise for stime.
12978         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12979         prototype.
12980         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12981         say sys/sysctl.h instead.
12982         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12983         and vsyslog prototypes.
12985 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12987         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12988         Remove.
12990 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12992         * misc/sys/mman.h: Fix typo in mremap comment.
12994 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12996         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12997         the '\0' terminator.
12999 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13001         [BZ #13550]
13002         * debug/segfault.c: Don't include <bp-checks.h>.
13003         * sysdeps/generic/bp-checks.h: Remove file.
13004         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13005         (__GETDENTS): Don't use CHECK_N.
13006         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13007         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13008         (__getgroups): Don't use CHECK_N.
13009         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13010         (setgroups): Don't use CHECK_N.
13011         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13012         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13013         (__libc_msgrcv): Don't use CHECK_N.
13014         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13015         (__libc_msgsnd): Don't use CHECK_N.
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13017         <bp-checks.h>.
13018         (__libc_pread): Don't use CHECK_N.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13020         include <bp-checks.h>.
13021         (__libc_pread64): Don't use CHECK_N.
13022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13023         include <bp-checks.h>.
13024         (__libc_pwrite): Don't use CHECK_N.
13025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13026         include <bp-checks.h>.
13027         (__libc_pwrite64): Don't use CHECK_N.
13028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13029         <bp-checks.h>.
13030         (__libc_pread): Don't use CHECK_N.
13031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13032         include <bp-checks.h>.
13033         (__libc_pread64): Don't use CHECK_N.
13034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13035         include <bp-checks.h>.
13036         (__libc_pwrite): Don't use CHECK_N.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13038         include <bp-checks.h>.
13039         (__libc_pwrite64): Don't use CHECK_N.
13040         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13041         (do_pread): Don't use CHECK_N.
13042         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13043         (do_pread64): Don't use CHECK_N.
13044         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13045         (do_pwrite): Don't use CHECK_N.
13046         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13047         (do_pwrite64): Don't use CHECK_N.
13048         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13049         (__libc_readv): Don't use CHECK_N.
13050         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13051         (semop): Don't use CHECK_N.
13052         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13053         <bp-checks.h>.
13054         (semtimedop): Don't use CHECK_N.
13055         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13056         (__libc_pread): Don't use CHECK_N.
13057         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13058         <bp-checks.h>.
13059         (__libc_pread64): Don't use CHECK_N.
13060         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13061         <bp-checks.h>.
13062         (__libc_pwrite): Don't use CHECK_N.
13063         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13064         <bp-checks.h>.
13065         (__libc_pwrite64): Don't use CHECK_N.
13066         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13067         <bp-checks.h>.
13068         (__libc_msgrcv): Don't use CHECK_N.
13069         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13070         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13071         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13072         (__libc_writev): Don't use CHECK_N.
13074 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13076         * string/strcpy.c: Removed unused variable.
13078         * Makeconfig (+sysdep-includes): Define with := rather than =.
13079         Use an existing include/ subdir of each sysdeps dir before it.
13081 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13083         * nscd/connection.c (register_traced_file): Comment function.
13084         [HAVE_INOTIFY] (union __inev): Define.
13085         [HAVE_INOTIFY] (inotify_check_files): New function.
13086         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13087         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13088         clear_db_cache.
13089         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13091 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13093         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13094         loaded if not already and that a failure is permanent.
13096 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13098         [BZ #15006]
13099         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13100         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13102 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13104         [BZ #13550]
13105         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13106         (CHECK_1_NULL_OK): Likewise.
13107         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13108         (__fxstat): Do not use CHECK_1.
13109         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13110         <bp-checks.h>.
13111         (___fxstat64): Do not use CHECK_1.
13112         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13113         <bp-checks.h>.
13114         (__fxstatat): Do not use CHECK_1.
13115         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13116         <bp-checks.h>.
13117         (__fxstatat64): Do not use CHECK_1.
13118         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13119         <bp-checks.h>.
13120         (__fxstat): Do not use CHECK_1.
13121         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13122         <bp-checks.h>.
13123         (__fxstatat): Do not use CHECK_1.
13124         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13125         <bp-checks.h>.
13126         (__getresgid): Do not use CHECK_1.
13127         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13128         <bp-checks.h>.
13129         (__getresuid): Do not use CHECK_1.
13130         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13131         <bp-checks.h>.
13132         (__lxstat): Do not use CHECK_1.
13133         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13134         <bp-checks.h>.
13135         (__old_msgctl): Do not use CHECK_1.
13136         (__new_msgctl): Likewise.
13137         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13138         <bp-checks.h>.
13139         (__new_setrlimit): Do not use CHECK_1.
13140         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13141         <bp-checks.h>.
13142         (__old_shmctl): Do not use CHECK_1.
13143         (__new_shmctl): Likewise.
13144         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13145         <bp-checks.h>.
13146         (__xstat): Do not use CHECK_1.
13147         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13148         (__lxstat): Do not use CHECK_1.
13149         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13150         <bp-checks.h>.
13151         (___lxstat64): Do not use CHECK_1.
13152         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13153         (__old_msgctl): Do not use CHECK_1.
13154         (__new_msgctl): Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13156         <bp-checks.h>.
13157         (__gettimeofday): Do not use CHECK_1.
13158         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13159         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13160         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13161         <bp-checks.h>.
13162         (__gettimeofday): Do not use CHECK_1.
13163         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13164         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13165         (__new_shmctl): Do not use CHECK_1.
13166         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13167         <bp-checks.h>.
13168         (do_sigtimedwait): Do not use CHECK_1.
13169         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13170         <bp-checks.h>.
13171         (do_sigwaitinfo): Do not use CHECK_1.
13172         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13173         <bp-checks.h>.
13174         (msgctl): Do not use CHECK_1.
13175         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13176         <bp-checks.h>.
13177         (shmctl): Do not use CHECK_1.
13178         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13179         (ustat): Do not use CHECK_1.
13180         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13181         <bp-checks.h>.
13182         (__fxstat): Do not use CHECK_1.
13183         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13184         <bp-checks.h>.
13185         (__fxstatat): Do not use CHECK_1.
13186         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13187         <bp-checks.h>.
13188         (__lxstat): Do not use CHECK_1.
13189         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13190         <bp-checks.h>.
13191         (__xstat): Do not use CHECK_1.
13192         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13193         (__xstat): Do not use CHECK_1.
13194         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13195         (___xstat64): Do not use CHECK_1.
13197         [BZ #13550]
13198         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13199         definitions.
13200         (CHECK_BOUNDS_HIGH): Likewise.
13201         * string/strcpy.c: Do not include <bp-checks.h>.
13202         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13204 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13206         * nscd/nscd-client.h (__nscd_drop_map_ref):
13207         Add __attribute__ ((unused)).
13208         * nis/nss-nisplus.h (niserr2nss): Likewise.
13210         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13211         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13213         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13214         Remove inline keyword.
13215         * include/rounding-mode.h (round_away): Likewise.
13216         * libio/wfileops.c (adjust_wide_data): Likewise.
13217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13218         (__m128i_strloadu_tolower): Likewise.
13219         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13220         (__m128i_strloadu_tolower): Likewise.
13221         * time/mktime.c (ydhms_diff): Likewise.
13222         * locale/elem-hash.h (elem_hash): Likewise.
13223         * locale/setlocale.c (setdata): Likewise.
13224         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13225         (re_string_wchar_at): Likewise.
13226         (bitset_not, bitset_merge, bitset_mask): Likewise.
13227         [!(__GNUC__ > 3)] (inline): Remove macro.
13228         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13229         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13230         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13231         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13232         * string/memcmp.c (memcmp_bytes): Likewise.
13233         * locale/programs/locarchive.c (compute_hashval): Likewise.
13234         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13235         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13236         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13237         * nss/getent.c (print_rpc, print_protocols): Likewise.
13238         (print_passwd, print_group, print_aliases): Likewise.
13239         * nis/nss-nisplus.h (niserr2nss): Likewise.
13240         * nscd/connections.c (restart_p): Likewise.
13241         Change return type to bool.
13243 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13245         * Makeconfig (all-Depend-files): Add existing
13246         $(sorted-subdirs:=/Depend) files.
13247         (all-subdirs): Remove nss.
13248         * sysdeps/unix/inet/Subdirs: Add it here instead.
13249         * hesiod/Depend: New file.
13251         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13252         instead of calling alloca.
13254         * io/lseek.c (__lseek): Rename to __libc_lseek.
13255         Define __lseek as an alias.
13257         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13259 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13261         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13262         else clause and remove check for non-standard endianness.
13264 2013-02-04  David S. Miller  <davem@davemloft.net>
13266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13268 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13270         [BZ #13550]
13271         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13272         (__ubp_memchr): Remove prototype.
13273         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13274         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13275         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13276         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13277         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13278         Remove alias.
13279         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13280         (__ubp_memchr): Likewise.
13281         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13282         (__ubp_memchr): Likewise.
13283         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13284         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13285         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13286         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13287         CHECK_STRING.
13288         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13289         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13290         (__getcwd): Do not use CHECK_STRING.
13291         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13292         <bp-checks.h>.
13293         (__real_chown): Do not use CHECK_STRING.
13294         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13295         <bp-checks.h>.
13296         (fchownat): Do not use CHECK_STRING.
13297         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13298         CHECK_STRING.
13299         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13300         <bp-checks.h>.
13301         (__lchown): Do not use CHECK_STRING.
13302         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13303         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13304         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13305         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13307         include <bp-checks.h>.
13308         (truncate64): Do not use CHECK_STRING.
13309         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13310         <bp-checks.h>.
13311         (__real_chown): Do not use CHECK_STRING.
13312         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13313         <bp-checks.h>.
13314         (__lchown): Do not use CHECK_STRING.
13315         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13316         <bp-checks.h>.
13317         (__chown): Do not use CHECK_STRING.
13318         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13319         <bp-checks.h>.
13320         (truncate64): Do not use CHECK_STRING.
13321         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13322         Likewise.
13323         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13324         (__xmknod): Do not use CHECK_STRING.
13325         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13326         <bp-checks.h>.
13327         (__xmknodat): Do not use CHECK_STRING.
13328         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13329         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13331 2013-02-04  Andreas Schwab  <schwab@suse.de>
13333         [BZ #14142]
13334         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13335         * include/netdb.h: Likewise for h_errno.
13336         * elf/tst-stackguard1.c: Include <tls.h>.
13338 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13340         * elf/link.h (struct link_map): Extend the l_addr comment.
13341         * include/link.h (struct link_map): Likewise.
13343 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13345         [BZ #13550]
13346         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13347         (BOUNDED_1): Remove macro.
13348         * debug/backtrace.c: Don't include <bp-checks.h>.
13349         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13350         (__backtrace): Likewise.
13351         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13352         <bp-checks.h>.
13353         (__backtrace): Don't use BOUNDED_1.
13354         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13355         <bp-checks.h>.
13356         (__backtrace): Don't use BOUNDED_1.
13357         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13358         (__backtrace): Don't use BOUNDED_1.
13359         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13360         (shmat): Don't use BOUNDED_N.
13362 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13364         [BZ #13550]
13365         * sysdeps/generic/bp-start.h: Remove file.
13366         * csu/libc-start.c: Don't include <bp-start.h>.
13367         (LIBC_START_MAIN): Set up __environ directly instead of using
13368         INIT_ARGV_and_ENVIRON.
13369         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13370         <bp-start.h>.
13372         [BZ #13550]
13373         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13374         definitions.
13375         (CHECK_FCNTL): Likewise.
13376         (CHECK_N_PAGES): Likewise.
13378         [BZ #13550]
13379         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13380         definitions.
13381         (CHECK_SIGSET_NULL_OK): Likewise.
13382         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13383         <bp-checks.h>.
13384         (sigpending): Don't use CHECK_SIGSET.
13385         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13386         <bp-checks.h>.
13387         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13388         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13389         <bp-checks.h>.
13390         (do_sigsuspend): Don't use CHECK_SIGSET.
13391         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13392         use CHECK_SIGSET.
13393         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13394         (do_sigwait): Don't use CHECK_SIGSET.
13395         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13396         use CHECK_SIGSET.
13397         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13398         include <bp-checks.h>.
13399         (sigpending): Don't use CHECK_SIGSET.
13400         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13401         include <bp-checks.h>.
13402         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13403         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13404         <bp-checks.h>.
13405         (sigpending): Don't use CHECK_SIGSET.
13406         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13407         <bp-checks.h>.
13408         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13410         [BZ #13550]
13411         * sysdeps/generic/bp-semctl.h: Remove file.
13412         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13413         <bp-checks.h> and <bp-semctl.h>.
13414         (__old_semctl): Don't use CHECK_SEMCTL.
13415         (__new_semctl): Likewise.
13416         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13417         and <bp-semctl.h>.
13418         (__old_semctl): Don't use CHECK_SEMCTL.
13419         (__new_semctl): Likewise.
13420         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13421         <bp-checks.h> and <bp-semctl.h>.
13422         (__old_semctl): Don't use CHECK_SEMCTL.
13423         (__new_semctl): Likewise.
13424         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13425         <bp-checks.h> and <bp-semctl.h>.
13426         (semctl): Don't use CHECK_SEMCTL.
13428         [BZ #13550]
13429         * Makerules (elide-bp-thunks): Remove variable.
13430         (elide-routines.oS): Don't use $(elide-bp-thunks).
13431         (elide-routines.os): Likewise.
13432         (elide-routines.o): Likewise.
13433         (elide-routines.op): Likewise.
13434         (elide-routines.og): Likewise.
13435         (objects): Don't use $(bp-thunks).
13436         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13437         include.
13438         (common-generated): Do not add s-proto-bp.d.
13439         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13440         (int): Likewise.
13441         (typ): Likewise.
13442         Do not generate makefile rules for bounded-pointer thunks.
13443         * sysdeps/generic/bp-thunks.h: Remove file.
13444         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13445         * sysdeps/unix/s-proto-bp.S: Likewise.
13447         [BZ #15062]
13448         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13449         parts of result separately when argument is not close to line from
13450         -i to i and one part of argument is small.
13451         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13452         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13453         * math/libm-test.inc (cacos_test): Add more tests.
13454         (casin_test): Likewise.
13455         (casinh_test): Likewise.
13456         * sysdeps/i386/fpu/libm-test-ulps: Update.
13457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459 2013-01-31  David S. Miller  <davem@davemloft.net>
13461         * po/de.po: Update from translation team.
13463 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13465         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13467 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13469         * configure.in (_AC_PROG_CC_C89): New definition.
13470         * configure: Regenerate.
13472         * configure.in (AC_PROG_CPP): New definition.
13473         * configure: Regenerate.
13475 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13477         * debug/tst-backtrace.h: New file.
13478         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13479         (ret): Remove variable.
13480         (x): Likewise.
13481         (FAIL): Remove macro.
13482         (NO_INLINE): Likewise.
13483         (fn1): Use match function instead of strstr.
13484         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13485         (ret): Remove variable.
13486         (x): Likewise.
13487         (FAIL): Remove macro.
13488         (NO_INLINE): Likewise.
13489         (fn): Use match function instead of strstr.
13490         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13491         (ret): Remove variable.
13492         (x): Likewise.
13493         (FAIL): Remove macro.
13494         (NO_INLINE): Likewise.
13495         (handle_signal): Use match function instead of strstr.
13496         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13497         (ret): Remove variable.
13498         (x): Likewise.
13499         (FAIL): Remove macro.
13500         (NO_INLINE): Likewise.
13501         (handle_signal): Use match function instead of strstr.
13503 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13505         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13507 2013-01-23  David S. Miller  <davem@davemloft.net>
13509         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13510         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13511         argument of CAS if possible.
13512         * sysdeps/sparc/sparc64/bits/atomic.h
13513         (__arch_compare_and_exchange_val_32_acq): Likewise.
13514         (__arch_compare_and_exchange_val_64_acq): Likewise.
13516 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13518         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13519         * sysdeps/posix/ulimit.c: ... this.
13520         Include <limits.h>.
13521         * sysdeps/unix/bsd/ulimit.c: Remove file.
13523 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13525         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13526         (LDFLAGS-tst-array5): Likewise.
13528 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13530         [BZ #15036]
13531         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13532         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13533         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13534         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13536 2013-01-21  David S. Miller  <davem@davemloft.net>
13538         * sysdeps/sparc/backtrace.c: New file.
13539         * sysdeps/sparc/sparc32/backtrace.h: New file.
13540         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13541         * sysdeps/sparc/sparc64/backtrace.h: New file.
13542         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13543         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13544         -funwind-tables.
13546 2013-01-21  Andreas Schwab  <schwab@suse.de>
13548         [BZ #15020]
13549         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13550         closed its stdout.
13552 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13555         "mpa2.h".
13556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13558 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13559             Mark Mitchell  <mark@codesourcery.com>
13560             Tom de Vries  <tom@codesourcery.com>
13561             Paul Pluzhnikov  <ppluzhnikov@google.com>
13563         * debug/tst-backtrace2.c: New file.
13564         * debug/tst-backtrace3.c: Likewise.
13565         * debug/tst-backtrace4.c: Likewise.
13566         * debug/tst-backtrace5.c: Likewise.
13567         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13568         (CFLAGS-tst-backtrace3.c): Likewise.
13569         (CFLAGS-tst-backtrace4.c): Likewise.
13570         (CFLAGS-tst-backtrace5.c): Likewise.
13571         (LDFLAGS-tst-backtrace2): Likewise.
13572         (LDFLAGS-tst-backtrace3): Likewise.
13573         (LDFLAGS-tst-backtrace4): Likewise.
13574         (LDFLAGS-tst-backtrace5): Likewise.
13575         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13576         tst-backtrace4 and tst-backtrace5.
13578 2013-01-18  Anton Blanchard  <anton@samba.org>
13579             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13581         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13582         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13583         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13584         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13586         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13587         "+r" and remove output regs list as redundant.  Add explicit inline
13588         asm to specify register of return val to work around compiler codegen
13589         bug.  Remove (int) cast on return value.  Add return type parameter to
13590         use in macro so that this macro does not truncate return value for
13591         64-bit values.
13592         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13593         pass to INTERNAL_VSYSCALL_NCS.
13594         (INLINE_VSYSCALL): Add 'long int' as return type to
13595         INTERNAL_VSYSCALL_NCS macro invocation.
13596         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13597         INTERNAL_VSYSCALL_NCS macro invocation.
13598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13600 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13602         [BZ #14496]
13603         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13604         Fix application of SIMD FP exception mask.
13606         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13607         mp_no from a power of two.
13608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13609         __mpexp_twomm1.  Use __pow_mp.
13611         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13612         multiplication.
13614 2013-01-17  David S. Miller  <davem@davemloft.net>
13616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13620         [BZ #15023]
13621         * include/complex.h: Condition contents on [!_COMPLEX_H].
13622         (__kernel_casinhf): New prototype.
13623         (__kernel_casinh): Likewise.
13624         (__kernel_casinhl): Likewise.
13625         * math/Makefile (libm_calls): Add k_casinh.
13626         * math/k_casinh.c: New file.
13627         * math/k_casinhf.c: Likewise.
13628         * math/k_casinhl.c: Likewise.
13629         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13630         finite nonzero arguments.
13631         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13632         finite nonzero arguments.
13633         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13634         finite nonzero arguments.
13635         * math/s_casinh.c: Do not include <float.h>.
13636         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13637         * math/s_casinhf.c: Do not include <float.h>.
13638         (__casinhf): Move code for finite nonzero arguments to
13639         k_casinhf.c.
13640         * math/s_casinhl.c: Do not include <float.h>.
13641         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13642         redefine.
13643         (__casinhl): Move code for finite nonzero arguments to
13644         k_casinhl.c.
13645         * math/libm-test.inc (cacos_test): Add more tests.
13646         * sysdeps/i386/fpu/libm-test-ulps: Update.
13647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13649 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13651         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13652         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13653         [!HAVE_MREMAP]: Remove [defined linux] case.
13654         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13656 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13658         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13660 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13662         * elf/elf.h (R_386_SIZE32): New relocation.
13663         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13664         R_386_SIZE32.
13665         (elf_machine_rela): Likewise.
13666         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13667         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13669 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13671         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13672         (FP_FAST_FMA): Do not define.
13673         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13674         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13675         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13676         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13677         !_SOFT_FLOAT]: Likewise.
13678         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13679         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13680         value.
13681         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13682         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13683         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13684         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13685         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13686         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13687         file.
13689 2013-01-16  Andreas Schwab  <schwab@suse.de>
13691         [BZ #14327]
13692         * include/stdlib.h (__mktemp): Add declaration.
13693         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13694         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13696 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13698         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13699         definitions.
13700         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13701         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13702         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13703         definitions here.
13704         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13705         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13706         definitions.
13707         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13708         and ONE.
13709         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13710         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13711         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13712         definitions.
13713         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13714         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13715         definitions.
13716         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13718         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13720 2013-01-15  David S. Miller  <davem@davemloft.net>
13722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13723         trunc{,f} to libm-sysdep_routes.
13724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13726         file.
13727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13729         file.
13730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13731         file.
13732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13734         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13735         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13736         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13737         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13738         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13739         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13742         nearbyint{,f} to libm-sysdep_routes.
13743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13745         New file.
13746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13747         file.
13748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13749         New file.
13750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13751         file.
13752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13754         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13755         file.
13756         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13757         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13758         file.
13759         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13760         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13761         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13763         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13764         libc_feholdexcept and libc_fesetenv.
13766 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13768         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13770 2013-01-14  David S. Miller  <davem@davemloft.net>
13772         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13773         (SPARC_ASM_VIS2_IFUNC): Likewise.
13774         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13776         use of 'siam' instruction.
13777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13778         Likewise.
13779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13780         Likewise.
13781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13782         Likewise.
13783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13788         file.
13789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13790         file.
13791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13792         file.
13793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13794         file.
13795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13800         new VIS2 routines.
13801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13804         Likewise.
13805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13810         routines to libm-sysdep_routines.
13811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13814         fdim/fdimf to libm-sysdep_routines.
13815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13816         file.
13817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13819         file.
13820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13823         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13824         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13825         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13826         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13828 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13830         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13831         to optimize copies.
13833         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13838         local variable MPTWO.
13839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13840         Likewise.
13842 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13844         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13845         GLOB_NOESCAPE.
13847 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13849         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13851 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13853         * manual/pattern.texi (glob_t): Document gl_flags.
13854         (glob64_t): Likewise.
13856 2013-01-11  David S. Miller  <davem@davemloft.net>
13858         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13859         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13860         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13861         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13862         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13863         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13864         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13865         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13866         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13867         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13868         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13869         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13870         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13872         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13873         sparc V9 rather than using V8 code.
13874         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13875         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13877         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13878         Move to...
13879         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13880         Here.
13882 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13884         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13885         not in the main loop.
13886         * configure: Regenerated.
13888 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13890         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13891         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13892         to just #else.
13893         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13894         [!__GLIBC_HAVE_LONG_LONG] case.
13895         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13896         condition to just #else.
13897         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13898         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13899         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13900         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13901         unconditional.
13902         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13903         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13904         #elif condition to just #else.
13905         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13906         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13907         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13908         #elif condition to just #else.
13910 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13912         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13913         (EF_MIPS_ARCH_64): Fix value.
13914         (EF_MIPS_ARCH_32R2): New.
13915         (EF_MIPS_ARCH_64R2): New.
13917 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13919         * Makeconfig (+link-pie-before-libc): New.
13920         (+link-pie-after-libc): Likewise.
13921         (+link-pie-tests): Likewise.
13922         (+link-pie): Rewritten.
13923         (link-before-libc): Remove $(config-LDFLAGS).
13924         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13925         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13926         (config-LDFLAGS): Renamed to ...
13927         (rtld-LDFLAGS): This.
13928         (rtld-tests-LDFLAGS): New macro.
13929         (link-libc-rpath-link): Likewise.
13930         (link-libc-tests-rpath-link): Likewise.
13931         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13932         (link-libc): Prepand $(link-libc-rpath-link).
13933         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13934         (test-program-prefix): New macro.
13935         (test-via-rtld-prefix): Likewise.
13936         (test-program-cmd): Likewise.
13937         (host-test-program-cmd): Likewise.
13938         * Makefile ($(common-objpfx)testrun.sh): Replace
13939         $(run-program-prefix) with $(test-program-prefix).
13940         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13941         $(rtld-LDFLAGS).
13942         ($(common-objpfx)shlib.lds): Likewise.
13943         (build-module-helper): Likewise.
13944         ($(common-objpfx)format.lds): Likewise.
13945         * Rules (binaries-pie-tests): New.
13946         (binaries-pie-notests): Likewise.
13947         (binaries-pie): Rewritten.
13948         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13949         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13950         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13951         (make-test-out): Replace $(host-built-program-cmd) with
13952         $(host-test-program-cmd).
13953         * config.make.in (build-hardcoded-path-in-tests): New variable.
13954         * configure.in (--enable-hardcoded-path-in-tests): New configure
13955         option.
13956         (hardcoded_path_in_tests): New AC_SUBST.
13957         * configure: Regenerated.
13958         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13959         $(built-program-cmd) with $(test-program-cmd).
13960         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13961         (test_program_cmd): This.
13962         * elf/Makefile ($(objpfx)order.out): Run test with
13963         $(test-program-prefix).
13964         ($(objpfx)order2.out): Likewise.
13965         ($(objpfx)tst-initorder.out): Likewise.
13966         ($(objpfx)tst-initorder2.out): Likewise.
13967         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13968         $(test-program-cmd).
13969         ($(objpfx)tst-array1-static.out): Likewise.
13970         ($(objpfx)tst-array2.out): Likewise.
13971         ($(objpfx)tst-array3.out): Likewise.
13972         ($(objpfx)tst-array4.out): Likewise.
13973         ($(objpfx)tst-array5.out): Likewise.
13974         ($(objpfx)tst-array5-static.out): Likewise.
13975         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13976         $(test-program-cmd).
13977         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13978         $(run-program-prefix) with $(test-program-prefix).
13979         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13980         (test_program_prefix): This.
13981         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13982         $(run-program-prefix) with $(test-program-prefix).
13983         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13984         (test_program_prefix): This.
13985         * iconvdata/tst-tables.sh: Likewise.
13986         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13987         $(run-program-prefix) with $(test-program-prefix).
13988         ($(objpfx)tst-translit.out): Likewise.
13989         ($(objpfx)tst-gettext2.out): Likewise.
13990         ($(objpfx)tst-gettext4.out): Likewise.
13991         ($(objpfx)tst-gettext6.out): Likewise.
13992         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13993         (test_program_prefix): This.
13994         * intl/tst-gettext2.sh: Likewise.
13995         * intl/tst-gettext4.sh  Likewise.
13996         * intl/tst-gettext6.sh: Likewise.
13997         * intl/tst-translit.sh: Likewise.
13998         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13999         with $(test-program-cmd).
14000         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14001         $(run-program-prefix) with $(test-program-prefix).
14002         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14003         (test_program_prefix): This.
14004         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14005         $(run-program-prefix) with $(test-program-prefix).
14006         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14007         (test_program_prefix): This.
14008         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14009         * posix/Makefile ($(objpfx)globtest.out): Replace
14010         $(run-via-rtld-prefix) and $(test-wrapper) with
14011         $(test-program-prefix) and $(test-via-rtld-prefix).
14012         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14013         $(test-program-prefix).
14014         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14015         $(host-test-program-cmd).
14016         (tst-spawn-ARGS): Likewise.
14017         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14018         $(test-program-prefix).
14019         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14020         (test_via_rtld_prefix): This.
14021         (test_wrapper): Renamed to ...
14022         (test_program_prefix): This.
14023         (run_program_prefix): Replaced by test_program_prefix.
14024         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14025         (test_program_prefix): This.
14026         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14027         with $(host-test-program-cmd).
14028         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14029         $(run-program-prefix) with $(test-program-prefix).
14030         ($(objpfx)tst-printf.out): Likewise.
14031         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14032         $(test-program-cmd).
14033         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14034         (test_program_prefix): This.
14035         * stdio-common/tst-unbputc.sh: Likewise.
14036         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14037         $(run-program-prefix) with $(test-program-prefix).
14038         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14039         (test_program_prefix): This.
14040         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14041         $(built-program-cmd) with $(test-program-cmd).
14043 2013-01-11  Andreas Jaeger  <aj@suse.de>
14045         [BZ #15003]
14046         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14047         value. Sync with Linux 3.7.
14049 2013-01-10  David S. Miller  <davem@davemloft.net>
14051         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14052         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14053         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14055 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14057         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14058         never set.
14059         * configure: Regenerated.
14061 2013-01-10  David S. Miller  <davem@davemloft.net>
14063         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14064         sparc V9 rather than using V8 code.
14065         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14066         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14068 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14070         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14071         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14072         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14073         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14074         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14075         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14076         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14077         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14078         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14079         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14080         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14081         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14082         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14083         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14084         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14085         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14086         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14087         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14088         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14089         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14090         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14091         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14092         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14093         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14094         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14095         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14096         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14098 2013-01-10  David S. Miller  <davem@davemloft.net>
14100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14102 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14104         * posix/Makefile (tests-static): New variable.
14105         (tests): Add $(tests-static).
14106         (tst-exec-static-ARGS): New variable.
14107         (tst-spawn-static-ARGS): Likewise.
14108         * posix/tst-exec-static.c: New file.
14109         * posix/tst-spawn-static.c: Likewise.
14110         * posix/tst-exec.c: Support run directly.
14111         * posix/tst-spawn.c: Likewise.
14113 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14115         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14116         long.
14117         * math/bits/mathcalls.h (llrint): Likewise.
14118         (llround): Likewise.
14119         * stdlib/stdlib.h (struct drand48_data): Likewise.
14120         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14121         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14122         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14123         Likewise.
14124         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14125         Likewise.
14126         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14127         (elf_greg_t): Likewise.
14128         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14129         (__jmp_buf): Likewise.
14130         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14131         definitions.
14132         (llrint): Likewise, for all definitions.
14133         (llrintl): Likewise.
14135         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14136         Remove [__GNUC__] condition.
14137         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14138         condition to just [__USE_ISOC99].
14139         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14141 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14143         [BZ #14200]
14144         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14145         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14146         defined.
14147         (_POSIX_V6_ILP32_OFF32): Likewise.
14148         (_XBS5_ILP32_OFF32): Likewise.
14149         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14150         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14152 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14154         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14157         doubles __mpexp_twomm1.  Adjust usage.
14158         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14159         Remove.
14161 2013-01-10  Andreas Schwab  <schwab@suse.de>
14163         [BZ #14964]
14164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14165         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14167 2013-01-09  David S. Miller  <davem@davemloft.net>
14169         [BZ #15003]
14170         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14171         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14172         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14173         TCP_FASTOPEN): Define.
14174         (tcp_repair_opt): New structure.
14175         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14176         enum values.
14177         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14178         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14179         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14180         (tcp_cookie_transactions): New structure.
14182 2013-01-09  Anton Blanchard  <anton@samba.org>
14184         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14185         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14186         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14187         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14189 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14191         * include/features.h (__USE_ANSI): Remove.
14193 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14195         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14197         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14199 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201         * sysdeps/s390/fpu/libm-test-ulps: Update.
14203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14205         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14206         (__acr): Likewise.
14207         (__cpy): Likewise.
14208         (norm): Likewise.
14209         (denorm): Likewise.
14210         (__mp_dbl): Likewise.
14211         (__dbl_mp): Likewise.
14212         (add_magnitudes): Likewise.
14213         (sub_magnitudes): Likewise.
14214         (__add): Likewise.
14215         (__sub): Likewise.
14216         (__mul): Likewise.
14217         (__inv): Likewise.
14218         (__dvd): Likewise.
14219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14220         (__acr): Likewise.
14221         (__cpy): Likewise.
14222         (norm): Likewise.
14223         (denorm): Likewise.
14224         (__mp_dbl): Likewise.
14225         (__dbl_mp): Likewise.
14226         (add_magnitudes): Likewise.
14227         (sub_magnitudes): Likewise.
14228         (__add): Likewise.
14229         (__sub): Likewise.
14230         (__mul): Likewise.
14231         (__inv): Likewise.
14232         (__dvd): Likewise.
14233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14234         (__acr): Likewise.
14235         (__cpy): Likewise.
14236         (norm): Likewise.
14237         (denorm): Likewise.
14238         (__mp_dbl): Likewise.
14239         (__dbl_mp): Likewise.
14240         (add_magnitudes): Likewise.
14241         (sub_magnitudes): Likewise.
14242         (__add): Likewise.
14243         (__sub): Likewise.
14244         (__mul): Likewise.
14245         (__inv): Likewise.
14246         (__dvd): Likewise.
14248 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14250         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14251         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14252         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14253         2 && __USE_EXTERN_INLINES]: Likewise.
14255 2013-01-08  Andreas Jaeger  <aj@suse.de>
14257         [BZ# 14985]
14258         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14259         Remove.
14260         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14261         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14263 2013-01-07  Anton Blanchard  <anton@samba.org>
14265         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14266         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14267         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14268         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14269         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14270         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14271         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14272         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14274         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14275         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14276         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14277         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14278         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14279         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14280         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14281         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14282         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14283         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14285         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14286         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14287         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14288         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14289         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14290         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14291         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14292         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14293         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14294         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14295         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14297         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14298         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14299         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14300         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14301         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14302         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14303         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14304         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14305         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14306         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14307         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14309 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14311         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14312         (__MALLOC_PMT): Likewise.
14313         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14314         [__GNUC__], only on [_LIBC].
14315         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14316         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14317         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14318         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14319         forward declaration.
14320         (realloc_hook_ini): Likewise.
14321         (memalign_hook_ini): Likewise.
14322         (__libc_memalign): Do not use __MALLOC_PMT in variable
14323         declaration.
14324         (__libc_valloc): Likewise.
14325         (__libc_pvalloc): Likewise.
14326         (__libc_calloc): Likewise.
14327         (__posix_memalign): Likewise.
14329         [BZ #14996]
14330         * math/s_casinh.c: Include <float.h>.
14331         (__casinh): Do not do computation with squaring and square root
14332         for large arguments.
14333         * math/s_casinhf.c: Include <float.h>.
14334         (__casinhf): Do not do computation with squaring and square root
14335         for large arguments.
14336         * math/s_casinhl.c: Include <float.h>.
14337         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14338         (__casinhl): Do not do computation with squaring and square root
14339         for large arguments.
14340         * math/libm-test.inc (casin_test): Add more tests.
14341         (casinh_test): Likewise.
14342         * sysdeps/i386/fpu/libm-test-ulps: Update.
14343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14345 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14347         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14348         (__x86_64_raw_data_cache_size): Likewise.
14349         (__x86_64_data_cache_size_half): Likewise.
14350         (__x86_64_raw_data_cache_size_half): Likewise.
14351         (__x86_64_shared_cache_size): Likewise.
14352         (__x86_64_raw_shared_cache_size): Likewise.
14353         (__x86_64_shared_cache_size_half): Likewise.
14354         (__x86_64_raw_shared_cache_size_half): Likewise.
14355         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14356         to ...
14357         (__x86_data_cache_size): This.
14358         (__x86_64_raw_data_cache_size): Renamed to ...
14359         (__x86_raw_data_cache_size): This.
14360         (__x86_64_data_cache_size_half): Renamed to ...
14361         (__x86_data_cache_size_half): This.
14362         (__x86_64_raw_data_cache_size_half): Renamed to ...
14363         (__x86_raw_data_cache_size_half): This.
14364         (__x86_64_shared_cache_size): Renamed to ...
14365         (__x86_shared_cache_size): This.
14366         (__x86_64_raw_shared_cache_size): Renamed to ...
14367         (__x86_raw_shared_cache_size): This.
14368         (__x86_64_shared_cache_size_half): Renamed to ...
14369         (__x86_shared_cache_size_half): This.
14370         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14371         (__x86_raw_shared_cache_size_half): This.
14372         * sysdeps/x86_64/memcpy.S: Updated.
14373         * sysdeps/x86_64/memset.S: Likewise.
14374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14375         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14376         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14378 2013-01-04  David S. Miller  <davem@davemloft.net>
14380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14382 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14384         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14385         1 to avoid redefinition warning.
14386         (__USE_GNU): Don't define.
14387         (init_signaling_nan): Protoize.
14389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14391 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14393         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14395         (__cpymn): Likewise.
14396         (norm): Remove commented code.
14397         (denorm): Likewise.
14398         (__mp_dbl): Likewise.
14399         (__inv): Likewise.
14400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14401         (__cpymn): Likewise.
14402         (norm): Remove commented code.
14403         (denorm): Likewise.
14404         (__mp_dbl): Likewise.
14405         (__inv): Likewise.
14407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14408         mp_no value for 1.0 and 2.0.
14409         (norm): Use RADIXI instead of radixi.d.
14410         (denorm): Likewise.
14411         (__mul): Use 0.0 instead of zero.d.
14412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14413         mp_no value for 1.0 and 2.0.
14414         (norm): Use RADIXI instead of radixi.d.
14415         (denorm): Likewise.
14416         (__mul): Use 0.0 instead of zero.d.
14418 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14420         [BZ #14994]
14421         * math/s_casinh.c (__casinh): Reduce finite argument to first
14422         quadrant then set signs of results at the end.
14423         * math/s_casinhf.c (__casinhf): Likewise.
14424         * math/s_casinhl.c (__casinhl): Likewise.
14425         * math/libm-test.inc (casin_test): Add more tests.
14426         (casinh_test): Likewise.
14427         * sysdeps/i386/fpu/libm-test-ulps: Update.
14428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14432         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14434         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14436         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14437         declarations.
14438         (denorm): Likewise.
14439         (__mp_dbl): Likewise.
14440         (__inv): Likewise.
14442         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14443         and adjust the header comment.
14445         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14446         variable name from declaration.
14448 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14451         Initialize COMMON_CPUID_INDEX_7 element.
14452         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14453         (CPUID_RTM): Likewise.
14454         (HAS_RTM): Likewise.
14455         (COMMON_CPUID_INDEX_7): New enum.
14457 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14459         [BZ #14981]
14460         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14461         size is zero, record memory as freed.
14463 2013-01-03  Andreas Jaeger  <aj@suse.de>
14465         * po/ia.po: Add new Interlingua translation.
14467 2012-01-03  Allan McRae  <allan@archlinux.org>
14469         * locale/programs/localedef.c: Fix description of '--posix' flag.
14471 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14473         * NEWS: Update dates in second copyright notice.
14474         * README: Update copyright dates in example.
14475         * manual/libc.texinfo: Update copyright dates.
14476         * scripts/test-installation.pl: Update copyright date in --version
14477         output.
14479         * hurd/ctty-input.c: Fix copyright notice formatting.
14480         * hurd/ctty-output.c: Likewise.
14481         * hurd/dtable.c: Likewise.
14482         * hurd/hurd-raise.c: Likewise.
14483         * hurd/hurdprio.c: Likewise.
14484         * hurd/msgportdemux.c: Likewise.
14485         * misc/sys/file.h: Likewise.
14486         * misc/sys/ioctl.h: Likewise.
14487         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14488         * sysdeps/mach/hurd/chdir.c: Likewise.
14489         * sysdeps/mach/hurd/fchdir.c: Likewise.
14490         * sysdeps/mach/hurd/rename.c: Likewise.
14491         * sysdeps/mach/hurd/rmdir.c: Likewise.
14492         * sysdeps/mach/hurd/seekdir.c: Likewise.
14493         * sysdeps/mach/hurd/setsid.c: Likewise.
14494         * sysdeps/posix/wait3.c: Likewise.
14496         * All files with FSF copyright notices: Update copyright dates
14497         using scripts/update-copyrights.
14498         * intl/plural.c: Regenerated.
14499         * locale/programs/charmap-kw.h: Likewise.
14500         * locale/programs/locfile-kw.h: Likewise.
14502 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14505         four values.
14507         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14508         calculation loop and add branch prediction.
14510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14511         check access beyond bounds of m1np.
14513         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14514         MPTWO.
14515         (__inv): Remove local variable MPTWO to use the global
14516         constant.
14517         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14518         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14519         variable MPTWO.
14520         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14521         MP3HALFS static const.
14523 2013-01-01  David S. Miller  <davem@davemloft.net>
14525         * po/ca.po: Update from translation team.
14527 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14529         * scripts/update-copyrights: New file.
14530         * Makeconfig: Reformat copyright notice.
14531         * ctype/ctype.h: Likewise.
14532         * debug/swprintf_chk.c: Likewise.
14533         * elf/dl-cache.c: Likewise.
14534         * elf/dl-debug.c: Likewise.
14535         * elf/dl-object.c: Likewise.
14536         * grp/initgroups.c: Likewise.
14537         * hurd/Makefile: Likewise.
14538         * hurd/hurd/signal.h: Likewise.
14539         * hurd/hurdfault.c: Likewise.
14540         * hurd/hurdioctl.c: Likewise.
14541         * hurd/hurdlookup.c: Likewise.
14542         * hurd/intr-msg.c: Likewise.
14543         * iconv/gconv_open.c: Likewise.
14544         * libio/swprintf.c: Likewise.
14545         * locale/lc-ctype.c: Likewise.
14546         * locale/nl_langinfo.c: Likewise.
14547         * mach/Machrules: Likewise.
14548         * mach/Makefile: Likewise.
14549         * malloc/obstack.h: Likewise.
14550         * manual/Makefile: Likewise.
14551         * manual/tsort.awk: Likewise.
14552         * misc/bits/stab.def: Likewise.
14553         * nis/nis_print_group_entry.c: Likewise.
14554         * nis/nis_table.c: Likewise.
14555         * nis/nss_compat/compat-pwd.c: Likewise.
14556         * nis/nss_compat/compat-spwd.c: Likewise.
14557         * po/Makefile: Likewise.
14558         * posix/fnmatch.c: Likewise.
14559         * posix/regex.h: Likewise.
14560         * resolv/Makefile: Likewise.
14561         * resolv/nss_dns/dns-network.c: Likewise.
14562         * resolv/res_hconf.c: Likewise.
14563         * scripts/gen-sorted.awk: Likewise.
14564         * soft-fp/soft-fp.h: Likewise.
14565         * stdio-common/printf.h: Likewise.
14566         * stdlib/monetary.h: Likewise.
14567         * stdlib/random.c: Likewise.
14568         * stdlib/random_r.c: Likewise.
14569         * sysdeps/generic/Makefile: Likewise.
14570         * sysdeps/gnu/Makefile: Likewise.
14571         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14572         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14573         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14575         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14577         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14578         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14581         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14582         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14583         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14584         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14586         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14587         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14588         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14589         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14599         * sysdeps/mach/hurd/errnos.awk: Likewise.
14600         * sysdeps/mach/hurd/fork.c: Likewise.
14601         * sysdeps/mach/hurd/getcwd.c: Likewise.
14602         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14603         * sysdeps/mach/hurd/mmap.c: Likewise.
14604         * sysdeps/mach/hurd/utimes.c: Likewise.
14605         * sysdeps/mach/hurd/xmknod.c: Likewise.
14606         * sysdeps/posix/profil.c: Likewise.
14607         * sysdeps/posix/readdir_r.c: Likewise.
14608         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14609         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14610         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14611         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14613         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14614         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14615         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14617         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14618         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14619         * sysdeps/pthread/lio_listio.c: Likewise.
14620         * sysdeps/sparc/dl-procinfo.h: Likewise.
14621         * sysdeps/unix/i386/sysdep.S: Likewise.
14622         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14623         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14624         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14625         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14627         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14628         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14629         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14630         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14631         * sysdeps/wordsize-32/divdi3.c: Likewise.
14632         * time/sys/time.h: Likewise.
14633         * wcsmbs/Makefile: Likewise.
14635 2013-01-01  David S. Miller  <davem@davemloft.net>
14637         * po/fr.po: Update from translation team.
14639         * catgets/gencat.c: Update copyright year.
14640         * csu/version.c: Likewise.
14641         * debug/catchsegv.sh: Likewise.
14642         * debug/pcprofiledump.c: Likewise.
14643         * debug/xtrace.sh: Likewise.
14644         * elf/ldconfig.c: Likewise.
14645         * elf/ldd.bash.in: Likewise.
14646         * elf/pldd.c: Likewise.
14647         * elf/sotruss.ksh: Likewise.
14648         * elf/sprof.c: Likewise.
14649         * iconv/iconv_prog.c: Likewise.
14650         * iconv/iconvconfig.c: Likewise.
14651         * locale/programs/locale.c: Likewise.
14652         * locale/programs/localedef.c: Likewise.
14653         * login/programs/pt_chown.c: Likewise.
14654         * malloc/memusage.sh: Likewise.
14655         * malloc/memusagestat.c: Likewise.
14656         * malloc/mtrace.pl: Likewise.
14657         * nscd/nscd.c: Likewise.
14658         * nss/getent.c: Likewise.
14659         * nss/makedb.c: Likewise.
14660         * posix/getconf.c: Likewise.
14662 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14664         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14665         numbers.
14667 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14669         * math/bits/mathcalls.h (modf): Use __nonnull.
14671 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14673         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14674         (split): Use macro CN instead of the bare value.
14675         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14676         could be used.
14677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14678         instead of the bare value.
14679         (power1): Likewise.
14681 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14684         __ATAN_TWOM.
14685         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14687         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14688         their values.
14689         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14691         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14692         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14694 2012-12-28  Andreas Jaeger  <aj@suse.de>
14696         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14697         values are from Linux 3.7.
14699         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14700         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14702 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14704         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14705         TRUE case.
14707         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14708         (norm): Likewise.
14709         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14710         variables with preprocessor constants.
14711         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14712         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14713         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14715 2012-12-27  Bruno Haible  <bruno@clisp.org>
14717         [BZ #14317]
14718         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14719         only if needed.
14721 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14724         and use variable directly.
14725         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14727         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14728         MPONE.
14729         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14730         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14731         variable MPONE.
14732         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14734         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14735         include directive.  Remove local variable MPONE.
14736         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14737         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14738         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14740 2012-12-25  David S. Miller  <davem@davemloft.net>
14742         * version.h (RELEASE): Set to "development".
14743         (VERSION): Set to "2.17.90".
14744         * NEWS: Add 2.18 section.
14746 2012-12-21  David S. Miller  <davem@davemloft.net>
14748         * po/hr.po: Update from translation team.
14750 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14752         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14754 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14756         * NEWS:  Mention new memcpy for MIPS.
14758 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14760         * manual/contrib.texi (Contributors): Spelling correction.
14762 2012-12-15  David S. Miller  <davem@davemloft.net>
14764         * po/ru.po: Update from translation team.
14766 2012-12-13  David S. Miller  <davem@davemloft.net>
14768         * NEWS: Mention IFUNC testsuite enhancements.
14770         * po/pl.po: Update from translation team.
14771         * po/bg.po: Likewise.
14773         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14774         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14776 2012-12-11  David S. Miller  <davem@davemloft.net>
14778         * po/sv.po: Update from translation team.
14780         * po/vi.po: Update from translation team.
14782         * po/cs.po: Update from translation team.
14784         * po/de.po: Update from translation team.
14785         * po/eo.po: Likewise.
14786         * po/nl.po: Likewise.
14788 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14790         [BZ #14246]
14791         * manual/argp.texi (Argp Helper Functions): Move node to follow
14792         Argp Parsing State.
14794         [BZ #14872]
14795         * manual/conf.texi (Limits on File System Capacity): Mention if
14796         terminating null is included in the max size.
14798 2012-12-10  Andreas Jaeger  <aj@suse.de>
14800         * po/cs.po: Update from translation team.
14802 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14805         void pointer and cast to uintptr_t.
14806         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14807         path.
14808         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14809         * sysdeps/s390/s390-64/memset.S: Likewise.
14811 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14813         [BZ #14833]
14814         * menual/message.texi (Message Translation): Fix typos.
14815         (Helper programs for gettext): Likewise.
14817 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14819         [BZ #14898]
14820         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14821         Change to -1.
14823 2012-12-07  David S. Miller  <davem@davemloft.net>
14825         * po/libc.pot: Update.
14827 2012-12-07  Richard Henderson  <rth@redhat.com>
14829         [BZ #10114]
14830         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14831         normal/normal case to before the switch.
14832         (_FP_DIV): Likewise.
14834 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14835             Mike Frysinger  <vapier@gentoo.org>
14837         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14838         check for __NR_fadvise64_64.
14840 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14842         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14843         0, not just to plain "0" as a statement.
14844         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14845         with cw.
14847 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14849         * NEWS: Use sourceware.org in Bugzilla URL.
14851 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14854         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14856         * stdio-common/tst-put-error.c (do_test): Add newline to the
14857         padded test to ensure flush.
14859 2012-12-05  Jeff Law  <law@redhat.com>
14861         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14863 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14865         * README: Don't refer to ports add-on as distributed separately.
14866         Mention AArch64 in list of systems supported in the ports add-on.
14868         * LICENSES: Add more non-FSF copyright and license notices.
14870         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14871         ((unused)).
14873         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14875         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14876         10000 as width of padded output.
14878 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14880         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14882         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14883         variable LX with __attribute__ ((unused)).
14884         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14885         Likewise.
14886         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14888         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14889         with __attribute__ ((unused)).
14891 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14893         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14895 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14897         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14898         (CFLAGS-nldbl-acos.c): New variable.
14899         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14900         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14901         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14902         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14903         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14904         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14905         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14906         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14907         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14908         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14909         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14910         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14911         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14912         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14913         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14914         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14915         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14916         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14917         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14918         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14919         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14920         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14921         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14922         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14923         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14924         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14925         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14926         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14927         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14928         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14929         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14930         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14931         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14932         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14933         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14934         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14935         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14936         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14937         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14938         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14939         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14940         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14941         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14942         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14943         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14944         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14945         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14946         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14947         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14948         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14949         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14950         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14998         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15000         [BZ #14914]
15001         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15002         whole low double instead of just low 47 bits when splitting values
15003         into two parts.
15005 2012-12-03  Allan McRae  <allan@archlinux.org>
15007         * manual/stdio.texi (Predefined Printf Handlers): Remove
15008         @hsep and @vsep usage.
15010 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15012         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15013         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15015 2012-12-03  Jeff Law  <law@redhat.com>
15017         * time/sys/time.h (settimeofday): Do not mark TV argument
15018         as __nonnull.
15020 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15022         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15023         when currently writing and seek to current position when not.
15024         * libio/Makefile (tests): Remove bug-fclose1.
15025         * libio/bug-fclose1.c: Delete.
15027 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15029         * manual/arith.texi (feenableexcept): Fix typo.
15030         (fedisableexcept): Likewise.
15032 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15034         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15035         second, differently-typed declaration, rather than a cast.
15037 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15039         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15040         * include/rpc/svc.h: ... here.
15042 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15044         [BZ #13013]
15045         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15046         depending n and resplen2 to catch cases where answer
15047         equals answerp2.
15049 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15051         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15052         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15054 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15058 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15060         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15062 2012-11-28  Jeff Law  <law@redhat.com>
15064         [BZ #13761]
15065         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15066         dataset_temporary.  Track alloca usage into alloca_used.
15067         If dataset is large allocate and release it via malloc/free.
15069 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15071         [BZ #14197]
15072         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15074 2012-11-28  David S. Miller  <davem@davemloft.net>
15076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15078 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15080         [BZ #14803]
15081         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15082         of pi/2 rounded to nearest to 64 bits.
15083         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15084         nearest to 64 bits.
15085         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15086         bits.
15088 2012-11-28  Jeff Law <law@redhat.com>
15089             Martin Osvald <mosvald@redhat.com>
15091         [BZ #14889]
15092         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15093         * sunrpc/svc.c: Include time.h.
15094         (__svc_accept_failed): New function.
15095         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15096         any reason other than EINTR, call __svc_accept_failed.
15097         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15098         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15100 2012-11-28  Andreas Schwab  <schwab@suse.de>
15102         * scripts/abilist.awk: Also handle indirect functions in .opd
15103         section.
15105 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15107         [BZ #13881]
15108         * sysdeps/x86/fpu/powl_helper.c: New file.
15109         * sysdeps/x86/fpu/Makefile: Likewise.
15110         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15111         (p3): New object.
15112         (__ieee754_powl): Use __powl_helper for finite arguments except
15113         integer exponents below 8.
15114         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15115         (p3): New object.
15116         (__ieee754_powl): Use __powl_helper for finite arguments except
15117         integer exponents below 8.
15118         * math/libm-test.inc (pow_test): Add more tests and enable some
15119         previously disabled tests.
15120         * sysdeps/i386/fpu/libm-test-ulps: Update.
15121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15123 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15124             Carlos O'Donell  <carlos_odonell@mentor.com>
15126         * nss/makedb.c (is_prime): Assert that input is odd and greater
15127         than 4.  Note that fact in a comment too.
15128         (next_prime): Add 4 to input.
15130 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132         [BZ #11741]
15133         * libio/Makefile (tests): Add test case tst-fwrite-error.
15134         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15135         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15136         * libio/tst-fwrite-error.c: New test case.
15138 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15140         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15141         before casting to void *.
15142         * include/libc-internal.h (__pointer_type): New macro.
15143         (__integer_if_pointer_type_sub): Likewise.
15144         (__integer_if_pointer_type): Likewise.
15145         (cast_to_integer): Likewise.
15146         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15147         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15148         before casting to atomic64_t.
15149         (atomic_exchange_acq): Likewise.
15150         (__arch_exchange_and_add_body): Likewise.
15151         (__arch_add_body): Likewise.
15152         (atomic_add_negative): Likewise.
15153         (atomic_add_zero): Likewise.
15155 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15157         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15158         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15159         (add_fdes): Likewise.
15160         (linear_search_fdes): Likewise.
15161         (binary_search_unencoded_fdes): Likewise.
15163 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15165         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15167 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15169         * configure.in: Autodetect C++ header directories.
15170         * configure: Regenerated.
15172 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15174         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15176 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15180 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15182         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15183         LDBL_MANT_DIG == 106]: Disable some tests.
15184         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15185         Likewise.
15186         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15187         Likewise.
15189         [BZ #14871]
15190         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15191         input for small inputs.  Return +/- pi/2 for large inputs.
15192         * math/libm-test.inc (atan_test): Add more tests.
15194         * sysdeps/generic/unwind-dw2-fde-glibc.c
15195         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15196         __attribute__ ((unused)).
15198         [BZ #14645]
15199         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15200         x * y if x and y are nonzero and z is zero.
15202         [BZ #14811]
15203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15204         nonzero exponents with absolute value below 0x1p-117 to +/-
15205         0x1p-117.
15207         [BZ #14869]
15208         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15209         up arguments below 2**-450, not just those below 2**-500.
15210         * math/libm-test.inc (hypot_test): Add another test.
15212         [BZ #14868]
15213         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15214         Return a+b for ratio over 2**120, not 2**60.
15215         * math/libm-test.inc (hypot_test): Add another test.
15217         * math/libm-test.inc (clog_test): Use
15218         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15219         (clog10_test): Likewise.
15221         [BZ #6778]
15222         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15224 2012-11-22  Andreas Schwab  <schwab@suse.de>
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15228 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15230         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15231         printf output with newline.
15233 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15235         [BZ #14865]
15236         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15237         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15238         -z nodlopen, -z initfirst and -z execstack support.
15239         * configure: Regenerated.
15241         * elf/elf.h (DF_1_NODIRECT): New macro.
15242         (DF_1_IGNMULDEF): Likewise.
15243         (DF_1_NOKSYMS): Likewise.
15244         (DF_1_NOHDR): Likewise.
15245         (DF_1_EDITED): Likewise.
15246         (DF_1_NORELOC): Likewise.
15247         (DF_1_SYMINTPOSE): Likewise.
15248         (DF_1_GLOBAUDIT): Likewise.
15249         (DF_1_SINGLETON): Likewise.
15250         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15251         DT_1_SUPPORTED_MASK bits.
15252         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15254 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15256         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15258 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15260         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15261         macro.
15263         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15264         (sendmmsg): Move declarations...
15265         * socket/sys/socket.h: ... here.
15266         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15267         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15268         include it from...
15269         * socket/recvmmsg.c: ... this new file.
15270         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15271         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15272         definition of __sendmmsg hidden.
15273         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15274         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15275         Move ENOSYS stub into and include it from...
15276         * socket/sendmmsg.c: ... this new file.
15277         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15278         (sysdep_routines): Move recvmmsg and sendmmsg...
15279         * socket/Makefile (routines): ... here.
15280         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15281         (GLIBC_PRIVATE): Add __sendmmsg.
15282         * include/sys/socket.h (__sendmmsg): Add declarations.
15283         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15284         sendmmsg.
15286 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15288         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15289         variable I1 with __attribute__ ((unused)).
15290         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15292 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15294         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15295         DUMMY variables with __attribute__ ((unused)).
15297         * bits/byteswap.h: Include <bits/types.h>.
15298         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15300 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15302         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15303         string_t.  Do not manually set errno.
15304         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15305         length with __strnlen.  Make sure to both set errno and return it on
15306         failure.
15308 2012-11-19  David S. Miller  <davem@davemloft.net>
15310         With help from Joseph Myers.
15311         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15312         very large arguments properly.
15313         * math/libm-test.inc (atan_test): New tests.
15314         (atan2_test): New tests.
15315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15318 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15320         [BZ #14856]
15321         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15322         Define to 3.
15324         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15325         [POSIX] (EADDRNOTAVAIL): Likewise.
15326         [POSIX] (EAFNOSUPPORT): Likewise.
15327         [POSIX] (EALREADY): Likewise.
15328         [POSIX] (ECONNABORTED): Likewise.
15329         [POSIX] (ECONNREFUSED): Likewise.
15330         [POSIX] (ECONNRESET): Likewise.
15331         [POSIX] (EDESTADDRREQ): Likewise.
15332         [POSIX] (EDQUOT): Likewise.
15333         [POSIX] (EHOSTUNREACH): Likewise.
15334         [POSIX] (EIDRM): Likewise.
15335         [POSIX] (EISCONN): Likewise.
15336         [POSIX] (ELOOP): Likewise.
15337         [POSIX] (EMULTIHOP): Likewise.
15338         [POSIX] (ENETDOWN): Likewise.
15339         [POSIX] (ENETUNREACH): Likewise.
15340         [POSIX] (ENOBUFS): Likewise.
15341         [POSIX] (ENODATA): Likewise.
15342         [POSIX] (ENOLINK): Likewise.
15343         [POSIX] (ENOMSG): Likewise.
15344         [POSIX] (ENOPROTOOPT): Likewise.
15345         [POSIX] (ENOSR): Likewise.
15346         [POSIX] (ENOSTR): Likewise.
15347         [POSIX] (ENOTCONN): Likewise.
15348         [POSIX] (ENOTSOCK): Likewise.
15349         [POSIX] (EOPNOTSUPP): Likewise.
15350         [POSIX] (EOVERFLOW): Likewise.
15351         [POSIX] (EPROTO): Likewise.
15352         [POSIX] (EPROTONOSUPPORT): Likewise.
15353         [POSIX] (EPROTOTYPE): Likewise.
15354         [POSIX] (ESTALE): Likewise.
15355         [POSIX] (ETIME): Likewise.
15356         [POSIX] (ETXTBSY): Likewise.
15357         [POSIX] (EWOULDBLOCK): Likewise.
15358         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15359         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15360         [POSIX] (SEEK_CUR): Likewise.
15361         [POSIX] (SEEK_END): Likewise.
15362         [POSIX || UNIX98] (mode_t): Do not require.
15363         [POSIX] (off_t): Likewise.
15364         [POSIX] (pid_t): Likewise.
15365         [POSIX] (sys/stat.h): Do not allow header.
15366         [POSIX] (unistd.h): Likewise.
15367         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15368         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15369         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15370         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15371         require.
15372         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15373         sigevent): Specify elements.
15374         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15375         entry.
15376         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15377         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15379         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15380         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15381         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15382         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15383         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15384         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15385         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15386         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15387         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15388         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15389         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15390         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15391         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15392         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15393         Likewise.
15394         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15395         Likewise.
15396         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15397         Likewise.
15398         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15399         Likewise.
15400         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15401         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15402         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15403         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15404         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15405         Specify lower bound on value.
15406         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15407         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15408         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15409         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15410         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15411         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15412         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15413         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15414         value.
15415         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15416         as optional.
15417         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15418         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15419         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15420         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15421         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15422         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15423         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15424         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15425         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15427         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15428         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15429         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15430         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15431         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15432         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15433         entry.
15434         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15435         optional.
15436         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15442         Likewise.
15443         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15448         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15449         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15450         as optional.
15451         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15455         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15456         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15457         specify as optional.
15458         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15461         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15462         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15463         [XPG3] (NL_LANGMAX): Likewise.
15464         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15465         [POSIX || XPG3] (NL_NMAX): Likewise.
15466         [POSIX || XPG3] (NL_SETMAX): Likewise.
15467         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15468         [XPG3] (NZERO): Likewise.
15469         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15470         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15471         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15472         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15473         (REG_ERANGE): Expect.
15474         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15475         optional-constant.
15476         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15477         Use (void) in prototype.
15478         [POSIX] (*_t): Allow.
15479         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15480         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15481         (WRDE_BADVAL): Expect.
15483         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15484         expect.
15485         [XPG3 || XPG4] (O_RSYNC): Likewise.
15486         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15487         Likewise.
15488         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15489         [XPG3 || XPG4] (sigqueue): Likewise.
15490         [XPG3 || XPG4] (sigtimedwait): Likewise.
15491         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15492         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15493         [XPG3 || XPG4] (vsnprintf): Likewise.
15494         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15495         Likewise.
15496         [XPG3 || XPG4] (blksize_t): Likewise.
15497         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15498         Likewise.
15499         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15500         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15501         [XPG3 || XPG4] (struct itimerspec): Likewise.
15502         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15503         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15504         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15505         [XPG3 || XPG4] (clockid_t): Likewise.
15506         [XPG3 || XPG4] (timer_t): Likewise.
15507         [XPG3 || XPG4] (clock_getres): Likewise.
15508         [XPG3 || XPG4] (clock_gettime): Likewise.
15509         [XPG3 || XPG4] (clock_settime): Likewise.
15510         [XPG3 || XPG4] (nanosleep): Likewise.
15511         [XPG3 || XPG4] (timer_create): Likewise.
15512         [XPG3 || XPG4] (timer_delete): Likewise.
15513         [XPG3 || XPG4] (timer_gettime): Likewise.
15514         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15515         [XPG3 || XPG4] (timer_settime): Likewise.
15516         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15517         [XPG3 || XPG4] (getlogin_r): Likewise.
15518         [XPG3 || XPG4] (pread): Likewise.
15519         [XPG3 || XPG4] (pthread_atfork): Likewise.
15520         [XPG3 || XPG4] (pwrite): Likewise.
15522         [BZ #14835]
15523         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15524         <bits/siginfo.h>.
15526 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15528         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15529         finalizing MALLSTREAM.
15531         * sysdeps/mach/hurd/syncfs.c: New file.
15533 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15535         [BZ #14719]
15536         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15537         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15538         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15539         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15540         (_nss_dns_gethostbyname4_r): Likewise.
15541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15542         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15544 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15546         [BZ #13763]
15547         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15549 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15551         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15552         * elf/cache.c (print_entry): Print ",AArch64" for
15553         FLAG_AARCH64_LIB64
15555         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15556         * elf/cache.c (print_entry): Print ",hard-float" for
15557         FLAG_ARM_LIBHF.
15559 2012-11-18  David S. Miller  <davem@davemloft.net>
15561         With help from Joseph Myers.
15562         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15563         cutoff to 2**-13.
15564         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15565         cutoff to 2**-25.
15566         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15567         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15568         small.
15569         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15570         * math/libm-test.inc (y0_test): New tests.
15571         (y1_test): New tests.
15572         * sysdeps/i386/fpu/libm-test-ulps: Update.
15573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15576 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15578         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15579         64-bit targets.
15580         * configure: Regenerated.
15582 2012-11-17  David S. Miller  <davem@davemloft.net>
15584         [BZ #14811]
15585         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15586         nonzero exponents with absolute value below 0x1p-128 to +/-
15587         0x1p-128.
15589 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15591         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15593         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15595         * posix/getconf-speclist.c: New file.
15596         * posix/posix-envs.def: Likewise.
15597         * posix/confstr.c (START_ENV_GROUP): New macro.
15598         (END_ENV_GROUP): Likewise.
15599         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15600         (KNOWN_PRESENT_ENV_STRING): Likewise.
15601         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15602         (UNKNOWN_ENVIRONMENT): Likewise.
15603         (confstr): Include posix-envs.def instead of handling
15604         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15605         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15606         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15607         (END_ENV_GROUP): Likewise.
15608         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15609         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15610         (UNKNOWN_ENVIRONMENT): Likewise.
15611         (__sysconf): Include posix-envs.def instead of handling associated
15612         cases directly here.
15613         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15614         preprocessing getconf-speclist.c rather than running getconf or
15615         generating empty file.
15617 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15619         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15621 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15623         [BZ #14672]
15624         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15626 2012-11-16  David S. Miller  <davem@davemloft.net>
15628         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15629         smaller than LDBL_EPSILON/2.0L, just return xm1.
15631 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15633         * elf/tst-array1.c (init): Set constructor priority to 1000.
15634         (fini): Set destructor priority to 1000.
15635         * elf/tst-array2dep.c: Likewise.
15637 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15639         [BZ #11741]
15640         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15641         (_IO_new_file_xsputn): Also return EOF if none of the input
15642         data was written when overflow failed.
15643         * libio/iopadn.c (_IO_padn): Likewise.
15644         * libio/iowpadn.c (_IO_wpadn): Likewise.
15645         * stdio-common/tst-put-error.c: Add copyright notice.
15646         (do_test): Add case for printing padded string.
15647         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15648         _IO_padn returned error.
15649         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15650         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15651         return EOF.
15653 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15655         * libio/libioP.h: Add comment note that the references to C++
15656         bits are now obsolete.
15658 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15660         * math/libm-test.inc (check_complex): Use asprintf.
15662 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15664         * debug/pcprofiledump.c (print_version): Update copyright year.
15665         * malloc/memusagestat.c (print_version): Likewise.
15667 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15669         [BZ #14831]
15670         * elf/Makefile (tests): Add tst-audit8.
15671         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15672         ($(objpfx)tst-audit8.out): New target.
15673         (tst-audit8-ENV): New variable.
15674         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15675         audit if l_reloc_result is NULL.
15676         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15677         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15678         * elf/tst-audit8.c: New file.
15680 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15682         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15683         * misc/Makefile (CFLAGS-select.c): Define.
15684         * posix/Makefile (CFLAGS-pause.c): Define.
15686 2012-11-13  David S. Miller  <davem@davemloft.net>
15688         * crypt/Makefile: Move test targets after toplevel Rules
15689         inclusion.  Grab any necessary sysdep routines when linking.
15690         * crypt/md5.c (md5_process_block): Remove define, we will always
15691         name it __md5_process_block.
15692         (md5_finish_ctx): Update md5_process_block call.
15693         (md5_stream): Likewise.
15694         (md5_process_bytes): Likewise.
15695         (md5_process_block): Rename to __md5_process_block and move to ...
15696         * crypt/md5-block.c: ... here.
15697         * crypt/sha256.c (sha256_process_block): Move to ...
15698         * crypt/sha256-block.c: ... here.
15699         * crypt/sha512.c (sha512_process_block): Move to ...
15700         * crypt/sha512-block.c: ... here.
15701         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15702         path.
15703         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15704         * sysdeps/sparc/sparc64/multiarch/Makefile
15705         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15706         crypt subdir.
15707         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15708         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15709         multiarch changes.
15710         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15711         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15712         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15713         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15714         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15715         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15716         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15717         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15718         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15719         file.
15720         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15721         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15722         file.
15723         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15725 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15727         * timezone/tzselect.ksh: Update from tzcode git revision
15728         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15729         * timezone/zdump.c: Likewise.
15730         * timezone/zic.c: Likewise.
15731         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15732         in TZVERSION setting, not $(PKGVERSION).
15733         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15734         REPORT_BUGS_TO settings.
15736         [BZ #14838]
15737         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15738         macro.
15740 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15742         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15743         detection to immediately after _FP_ROUND().
15744         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15745         bits are 0.
15747 2012-11-11  David S. Miller  <davem@davemloft.net>
15749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15750         inttypes.h
15751         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15752         __close rather than their public counterparts.
15754 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15756         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15757         file.
15758         [UNIX98] (sem_timedwait): Do not expect.
15759         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15760         [XPG4 || UNIX98] (sockatmark): Do not expect.
15761         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15762         (clock_getcpuclockid): Do not expect.
15763         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15764         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15765         Do not expect.
15766         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15767         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15768         [UNIX98] (vwscanf): Likewise.
15769         [UNIX98] (vswscanf): Likewise.
15771 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15773         * timezone/version.h: Remove file.
15774         * timezone/README: Do not refer to version.h.
15775         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15776         $(objpfx)version.h.
15777         ($(objpfx)zdump.o): Likewise.
15778         ($(objpfx)version.h): New target.
15780         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15781         2012i.
15782         * timezone/README: Don't mention modification to tzselect.ksh.
15783         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15784         work on unmodified tzselect.ksh.  Substitute version numbers in
15785         tzselect.ksh.
15787         * Makefile (format-me): Remove.
15788         (INSTALL): Adjust indentation.  Use commands directly instead of
15789         using $(format-me).
15791         * aclocal.m4 (ACX_PKGVERSION): New macro.
15792         (ACX_BUGURL): Likewise.
15793         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15794         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15795         (REPORT_BUGS_TO): Likewise.
15796         * configure: Regenerated.
15797         * config.h.in (PKGVERSION): New macro.
15798         (REPORT_BUGS_TO): Likewise.
15799         * config.make.in (PKGVERSION): New variable.
15800         (PKGVERSION_TEXI): Likewise.
15801         (REPORT_BUGS_TO): Likewise.
15802         (REPORT_BUGS_TEXI): Likewise.
15803         * Makefile (format-me): Use -I$(common-objpfx)manual.
15804         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15805         ($(common-objpfx)manual/%): New target.
15806         (manual/%): Remove target.
15807         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15808         (print_version): Use PKGVERSION.
15809         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15810         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15811         and REPORT_BUGS_TO.
15812         ($(objpfx)xtrace): Likewise.
15813         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15814         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15815         (print_version): Use PKGVERSION.
15816         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15817         (do_version): Use PKGVERSION.
15818         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15819         REPORT_BUGS_TO.
15820         (common-ldd-rewrite): Likewise.
15821         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15822         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15823         (print_version): Use PKGVERSION.
15824         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15825         * elf/pldd.c (argp_program_bug_address): Remove variable.
15826         (more_help): New function.
15827         (argp): Use more_help.
15828         (print_version): Use PKGVERSION.
15829         * elf/sln.c (main): Use PKGVERSION.
15830         (usage): Use REPORT_BUGS_TO.
15831         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15832         (top level): Use PKGVERSION.
15833         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15834         (print_version): Use PKGVERSION.
15835         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15836         (print_version): Use PKGVERSION.
15837         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15838         (print_version): Use PKGVERSION.
15839         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15840         (print_version): Use PKGVERSION.
15841         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15842         (print_version): Use PKGVERSION.
15843         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15844         (print_version): Use PKGVERSION.
15845         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15846         and BUGURL.
15847         ($(objpfx)memusage): Likewise.
15848         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15849         (do_version): Use PKGVERSION.
15850         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15851         (print_version): Use PKGVERSION.
15852         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15853         ($PKGVERSION): New variable.
15854         ($REPORT_BUGS_TO): Likewise.
15855         (usage): Use $REPORT_BUGS_TO.
15856         (top level): Use $PKGVERSION.
15857         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15858         ($(objpfx)pkgvers.texi): New rule.
15859         ($(objpfx)stamp-pkgvers): Likewise.
15860         * manual/install.texi: Include pkgvers.texi.
15861         (--with-pkgversion): Document new configure option.
15862         (--with-bugurl): Likewise.
15863         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15864         than necessarily for this particular distribution.  Use
15865         REPORT_BUGS_TO for where to report bugs.
15866         * INSTALL: Regenerated.
15867         * manual/libc.texinfo: Include pkgvers.texi.
15868         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15869         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15870         (print_version): Use PKGVERSION.
15871         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15872         (print_version): Use PKGVERSION.
15873         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15874         (print_version): Use PKGVERSION.
15875         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15876         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15877         macro.
15878         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15879         (print_version): Use PKGVERSION.
15880         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15881         (print_version): Use PKGVERSION.
15882         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15883         and PKGVERSION.
15885         * timezone/checktab.awk: Update from tzcode 2012i.
15886         * timezone/ialloc.c: Likewise.
15887         * timezone/private.h: Likewise.
15888         * timezone/scheck.c: Likewise.
15889         * timezone/tzfile.h: Likewise.
15890         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15891         (TZVERSION): Hardcode tzcode version number.
15892         * timezone/zdump.c: Update from tzcode 2012i.
15893         * timezone/zic.c: Likewise.
15894         * timezone/version.h: New file.
15895         * timezone/README: Describe version.h.  Update upstream location.
15897         [BZ #14824]
15898         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15899         (mktemp): Enable declaration.
15900         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15901         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15903         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15904         Likewise.
15905         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15906         Likewise.
15907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15908         Likewise.
15909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15910         Likewise.
15911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15912         Likewise.
15913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15914         Likewise.
15916         [BZ #14821]
15917         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15918         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15919         for copies of such integer values.
15920         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15921         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15923 2012-11-09  Andreas Jaeger  <aj@suse.de>
15925         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15926         definitions and declarations that are provided by
15927         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15929 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15931         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15932         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15933         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15934         definition.
15936 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15938         * elf/elf.h: Update comment before AArch64 relocations.
15940 2012-11-07  David S. Miller  <davem@davemloft.net>
15942         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15943         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15944         (__start_context): Declare.
15945         (__makecontext_ret): Delete.
15946         (__makecontext): Hook up __start_context instead of
15947         __makecontext_ret.
15948         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15949         (sysdep_routines): Add __start_context when in stdlib.
15951 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15953         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15954         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15955         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15956         hardcoded "nm".
15957         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15958         (READELF): New variable.  Use it instead of hardcoded "readelf".
15960 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15962         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15963         * sysdeps/x86/Makefile: Here.
15964         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15965         * sysdeps/x86/tst-xmmymm.sh: This.
15967 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15969         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15970         expectations.
15971         [UNIX98] (pthread_barrier_t): Do not expect.
15972         [UNIX98] (pthread_barrierattr_t): Likewise.
15973         [UNIX98] (pthread_spinlock_t): Likewise.
15974         [UNIX98] (pthread_barrier_destroy): Likewise.
15975         [UNIX98] (pthread_barrier_init): Likewise.
15976         [UNIX98] (pthread_barrier_wait): Likewise.
15977         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15978         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15979         [UNIX98] (pthread_barrierattr_init): Likewise.
15980         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15981         [UNIX98] (pthread_getcpuclockid): Likewise.
15982         [UNIX98] (pthread_mutex_timedlock): Likewise.
15983         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15984         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15985         [UNIX98] (pthread_sigmask): Likewise.
15986         [UNIX98] (pthread_spin_destroy): Likewise.
15987         [UNIX98] (pthread_spin_init): Likewise.
15988         [UNIX98] (pthread_spin_lock): Likewise.
15989         [UNIX98] (pthread_spin_trylock): Likewise.
15990         [UNIX98] (pthread_spin_unlock): Likewise.
15991         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15992         Do not expect.
15993         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15994         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15995         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15996         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15997         [XPG3 || XPG4] (pthread_key_t): Likewise.
15998         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15999         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16000         [XPG3 || XPG4] (pthread_once_t): Likewise.
16001         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16002         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16003         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16004         [XPG3 || XPG4] (pthread_t): Likewise.
16006         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16007         not expect.
16008         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16010         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16011         Change function return type to int.
16013         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16014         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16015         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16016         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16017         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16018         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16019         [!POSIX] (posix_madvise): Likewise.
16020         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16021         && !UNIX98].
16022         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16023         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16024         (mode_t): Likewise.
16025         (posix_mem_offset): Likewise.
16026         (posix_typed_mem_get_info): Likewise.
16027         (posix_typed_mem_open): Likewise.
16029         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16030         Change condition to [XOPEN2K8].
16032         * conform/conformtest.pl: Preprocess allow-header data with -x c
16033         instead of from stdin.
16034         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16035         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16036         [C99-based standards] (cerfc): Likewise.
16037         [C99-based standards] (cexp2): Likewise.
16038         [C99-based standards] (cexpm1): Likewise.
16039         [C99-based standards] (clog10): Likewise.
16040         [C99-based standards] (clog1p): Likewise.
16041         [C99-based standards] (clog2): Likewise.
16042         [C99-based standards] (clgamma): Likewise.
16043         [C99-based standards] (ctgamma): Likewise.
16044         [C99-based standards] (cerff): Likewise.
16045         [C99-based standards] (cerfcf): Likewise.
16046         [C99-based standards] (cexp2f): Likewise.
16047         [C99-based standards] (cexpm1f): Likewise.
16048         [C99-based standards] (clog10f): Likewise.
16049         [C99-based standards] (clog1pf): Likewise.
16050         [C99-based standards] (clog2f): Likewise.
16051         [C99-based standards] (clgammaf): Likewise.
16052         [C99-based standards] (ctgammaf): Likewise.
16053         [C99-based standards] (cerfl): Likewise.
16054         [C99-based standards] (cerfcl): Likewise.
16055         [C99-based standards] (cexp2l): Likewise.
16056         [C99-based standards] (cexpm1l): Likewise.
16057         [C99-based standards] (clog10l): Likewise.
16058         [C99-based standards] (clog1pl): Likewise.
16059         [C99-based standards] (clog2l): Likewise.
16060         [C99-based standards] (clgammal): Likewise.
16061         [C99-based standards] (ctgammal): Likewise.
16062         * conform/data/inttypes.h-data [C99-based standards]: Include
16063         stdint.h-data.  Remove all expectations for stdint.h contents.
16064         [C99-based standards] (PRI*): Do not allow.
16065         [C99-based standards] (SCN*): Likewise.
16066         [C99-based standards] (*_t): Likewise.
16067         [C99-based-standards] (PRId8): Expect macro.
16068         [C99-based-standards] (PRIi8): Likewise.
16069         [C99-based-standards] (PRIo8): Likewise.
16070         [C99-based-standards] (PRIu8): Likewise.
16071         [C99-based-standards] (PRIx8): Likewise.
16072         [C99-based-standards] (PRIX8): Likewise.
16073         [C99-based-standards] (SCNd8): Likewise.
16074         [C99-based-standards] (SCNi8): Likewise.
16075         [C99-based-standards] (SCNo8): Likewise.
16076         [C99-based-standards] (SCNu8): Likewise.
16077         [C99-based-standards] (SCNx8): Likewise.
16078         [C99-based-standards] (PRIdLEAST8): Likewise.
16079         [C99-based-standards] (PRIiLEAST8): Likewise.
16080         [C99-based-standards] (PRIoLEAST8): Likewise.
16081         [C99-based-standards] (PRIuLEAST8): Likewise.
16082         [C99-based-standards] (PRIxLEAST8): Likewise.
16083         [C99-based-standards] (PRIXLEAST8): Likewise.
16084         [C99-based-standards] (SCNdLEAST8): Likewise.
16085         [C99-based-standards] (SCNiLEAST8): Likewise.
16086         [C99-based-standards] (SCNoLEAST8): Likewise.
16087         [C99-based-standards] (SCNuLEAST8): Likewise.
16088         [C99-based-standards] (SCNxLEAST8): Likewise.
16089         [C99-based-standards] (PRIdFAST8): Likewise.
16090         [C99-based-standards] (PRIiFAST8): Likewise.
16091         [C99-based-standards] (PRIoFAST8): Likewise.
16092         [C99-based-standards] (PRIuFAST8): Likewise.
16093         [C99-based-standards] (PRIxFAST8): Likewise.
16094         [C99-based-standards] (PRIXFAST8): Likewise.
16095         [C99-based-standards] (SCNdFAST8): Likewise.
16096         [C99-based-standards] (SCNiFAST8): Likewise.
16097         [C99-based-standards] (SCNoFAST8): Likewise.
16098         [C99-based-standards] (SCNuFAST8): Likewise.
16099         [C99-based-standards] (SCNxFAST8): Likewise.
16100         [C99-based-standards] (PRId16): Likewise.
16101         [C99-based-standards] (PRIi16): Likewise.
16102         [C99-based-standards] (PRIo16): Likewise.
16103         [C99-based-standards] (PRIu16): Likewise.
16104         [C99-based-standards] (PRIx16): Likewise.
16105         [C99-based-standards] (PRIX16): Likewise.
16106         [C99-based-standards] (SCNd16): Likewise.
16107         [C99-based-standards] (SCNi16): Likewise.
16108         [C99-based-standards] (SCNo16): Likewise.
16109         [C99-based-standards] (SCNu16): Likewise.
16110         [C99-based-standards] (SCNx16): Likewise.
16111         [C99-based-standards] (PRIdLEAST16): Likewise.
16112         [C99-based-standards] (PRIiLEAST16): Likewise.
16113         [C99-based-standards] (PRIoLEAST16): Likewise.
16114         [C99-based-standards] (PRIuLEAST16): Likewise.
16115         [C99-based-standards] (PRIxLEAST16): Likewise.
16116         [C99-based-standards] (PRIXLEAST16): Likewise.
16117         [C99-based-standards] (SCNdLEAST16): Likewise.
16118         [C99-based-standards] (SCNiLEAST16): Likewise.
16119         [C99-based-standards] (SCNoLEAST16): Likewise.
16120         [C99-based-standards] (SCNuLEAST16): Likewise.
16121         [C99-based-standards] (SCNxLEAST16): Likewise.
16122         [C99-based-standards] (PRIdFAST16): Likewise.
16123         [C99-based-standards] (PRIiFAST16): Likewise.
16124         [C99-based-standards] (PRIoFAST16): Likewise.
16125         [C99-based-standards] (PRIuFAST16): Likewise.
16126         [C99-based-standards] (PRIxFAST16): Likewise.
16127         [C99-based-standards] (PRIXFAST16): Likewise.
16128         [C99-based-standards] (SCNdFAST16): Likewise.
16129         [C99-based-standards] (SCNiFAST16): Likewise.
16130         [C99-based-standards] (SCNoFAST16): Likewise.
16131         [C99-based-standards] (SCNuFAST16): Likewise.
16132         [C99-based-standards] (SCNxFAST16): Likewise.
16133         [C99-based-standards] (PRId32): Likewise.
16134         [C99-based-standards] (PRIi32): Likewise.
16135         [C99-based-standards] (PRIo32): Likewise.
16136         [C99-based-standards] (PRIu32): Likewise.
16137         [C99-based-standards] (PRIx32): Likewise.
16138         [C99-based-standards] (PRIX32): Likewise.
16139         [C99-based-standards] (SCNd32): Likewise.
16140         [C99-based-standards] (SCNi32): Likewise.
16141         [C99-based-standards] (SCNo32): Likewise.
16142         [C99-based-standards] (SCNu32): Likewise.
16143         [C99-based-standards] (SCNx32): Likewise.
16144         [C99-based-standards] (PRIdLEAST32): Likewise.
16145         [C99-based-standards] (PRIiLEAST32): Likewise.
16146         [C99-based-standards] (PRIoLEAST32): Likewise.
16147         [C99-based-standards] (PRIuLEAST32): Likewise.
16148         [C99-based-standards] (PRIxLEAST32): Likewise.
16149         [C99-based-standards] (PRIXLEAST32): Likewise.
16150         [C99-based-standards] (SCNdLEAST32): Likewise.
16151         [C99-based-standards] (SCNiLEAST32): Likewise.
16152         [C99-based-standards] (SCNoLEAST32): Likewise.
16153         [C99-based-standards] (SCNuLEAST32): Likewise.
16154         [C99-based-standards] (SCNxLEAST32): Likewise.
16155         [C99-based-standards] (PRIdFAST32): Likewise.
16156         [C99-based-standards] (PRIiFAST32): Likewise.
16157         [C99-based-standards] (PRIoFAST32): Likewise.
16158         [C99-based-standards] (PRIuFAST32): Likewise.
16159         [C99-based-standards] (PRIxFAST32): Likewise.
16160         [C99-based-standards] (PRIXFAST32): Likewise.
16161         [C99-based-standards] (SCNdFAST32): Likewise.
16162         [C99-based-standards] (SCNiFAST32): Likewise.
16163         [C99-based-standards] (SCNoFAST32): Likewise.
16164         [C99-based-standards] (SCNuFAST32): Likewise.
16165         [C99-based-standards] (SCNxFAST32): Likewise.
16166         [C99-based-standards] (PRId64): Likewise.
16167         [C99-based-standards] (PRIi64): Likewise.
16168         [C99-based-standards] (PRIo64): Likewise.
16169         [C99-based-standards] (PRIu64): Likewise.
16170         [C99-based-standards] (PRIx64): Likewise.
16171         [C99-based-standards] (PRIX64): Likewise.
16172         [C99-based-standards] (SCNd64): Likewise.
16173         [C99-based-standards] (SCNi64): Likewise.
16174         [C99-based-standards] (SCNo64): Likewise.
16175         [C99-based-standards] (SCNu64): Likewise.
16176         [C99-based-standards] (SCNx64): Likewise.
16177         [C99-based-standards] (PRIdLEAST64): Likewise.
16178         [C99-based-standards] (PRIiLEAST64): Likewise.
16179         [C99-based-standards] (PRIoLEAST64): Likewise.
16180         [C99-based-standards] (PRIuLEAST64): Likewise.
16181         [C99-based-standards] (PRIxLEAST64): Likewise.
16182         [C99-based-standards] (PRIXLEAST64): Likewise.
16183         [C99-based-standards] (SCNdLEAST64): Likewise.
16184         [C99-based-standards] (SCNiLEAST64): Likewise.
16185         [C99-based-standards] (SCNoLEAST64): Likewise.
16186         [C99-based-standards] (SCNuLEAST64): Likewise.
16187         [C99-based-standards] (SCNxLEAST64): Likewise.
16188         [C99-based-standards] (PRIdFAST64): Likewise.
16189         [C99-based-standards] (PRIiFAST64): Likewise.
16190         [C99-based-standards] (PRIoFAST64): Likewise.
16191         [C99-based-standards] (PRIuFAST64): Likewise.
16192         [C99-based-standards] (PRIxFAST64): Likewise.
16193         [C99-based-standards] (PRIXFAST64): Likewise.
16194         [C99-based-standards] (SCNdFAST64): Likewise.
16195         [C99-based-standards] (SCNiFAST64): Likewise.
16196         [C99-based-standards] (SCNoFAST64): Likewise.
16197         [C99-based-standards] (SCNuFAST64): Likewise.
16198         [C99-based-standards] (SCNxFAST64): Likewise.
16199         [C99-based-standards] (PRIdMAX): Likewise.
16200         [C99-based-standards] (PRIiMAX): Likewise.
16201         [C99-based-standards] (PRIoMAX): Likewise.
16202         [C99-based-standards] (PRIuMAX): Likewise.
16203         [C99-based-standards] (PRIxMAX): Likewise.
16204         [C99-based-standards] (PRIXMAX): Likewise.
16205         [C99-based-standards] (SCNdMAX): Likewise.
16206         [C99-based-standards] (SCNiMAX): Likewise.
16207         [C99-based-standards] (SCNoMAX): Likewise.
16208         [C99-based-standards] (SCNuMAX): Likewise.
16209         [C99-based-standards] (SCNxMAX): Likewise.
16210         [C99-based-standards] (PRIdPTR): Likewise.
16211         [C99-based-standards] (PRIiPTR): Likewise.
16212         [C99-based-standards] (PRIoPTR): Likewise.
16213         [C99-based-standards] (PRIuPTR): Likewise.
16214         [C99-based-standards] (PRIxPTR): Likewise.
16215         [C99-based-standards] (PRIXPTR): Likewise.
16216         [C99-based-standards] (SCNdPTR): Likewise.
16217         [C99-based-standards] (SCNiPTR): Likewise.
16218         [C99-based-standards] (SCNoPTR): Likewise.
16219         [C99-based-standards] (SCNuPTR): Likewise.
16220         [C99-based-standards] (SCNxPTR): Likewise.
16221         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16222         allow.
16223         * conform/data/stdint.h-data: Update comments to clarify
16224         requirements.
16225         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16226         type.
16227         [C99-based standards] (INT8_MAX): Likewise.
16228         [C99-based standards] (INT16_MIN): Likewise.
16229         [C99-based standards] (INT16_MAX): Likewise.
16230         [C99-based standards] (INT32_MIN): Likewise.
16231         [C99-based standards] (INT32_MAX): Likewise.
16232         [C99-based standards] (INT64_MIN): Likewise.
16233         [C99-based standards] (INT64_MAX): Likewise.
16234         [C99-based standards] (UINT8_MAX): Likewise.
16235         [C99-based standards] (UINT16_MAX): Likewise.
16236         [C99-based standards] (UINT32_MAX): Likewise.
16237         [C99-based standards] (UINT64_MAX): Likewise.
16238         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16239         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16240         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16241         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16242         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16243         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16244         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16245         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16246         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16247         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16248         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16249         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16250         [C99-based standards] (INT_FAST8_MIN): Likewise.
16251         [C99-based standards] (INT_FAST8_MAX): Likewise.
16252         [C99-based standards] (INT_FAST16_MIN): Likewise.
16253         [C99-based standards] (INT_FAST16_MAX): Likewise.
16254         [C99-based standards] (INT_FAST32_MIN): Likewise.
16255         [C99-based standards] (INT_FAST32_MAX): Likewise.
16256         [C99-based standards] (INT_FAST64_MIN): Likewise.
16257         [C99-based standards] (INT_FAST64_MAX): Likewise.
16258         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16259         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16260         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16261         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16262         [C99-based standards] (INTPTR_MIN): Likewise.
16263         [C99-based standards] (INTPTR_MAX): Likewise.
16264         [C99-based standards] (UINTPTR_MAX): Likewise.
16265         [C99-based standards] (INTMAX_MIN): Likewise.
16266         [C99-based standards] (INTMAX_MAX): Likewise.
16267         [C99-based standards] (UINTMAX_MAX): Likewise.
16268         [C99-based standards] (PTRDIFF_MIN): Likewise.
16269         [C99-based standards] (PTRDIFF_MAX): Likewise.
16270         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16271         [C99-based standards] (SIZE_MAX): Likewise.
16272         [C99-based standards] (WCHAR_MAX): Likewise.
16273         [C99-based standards] (WINT_MAX): Likewise.
16274         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16275         constraint on value.
16276         [C99-based standards] (WCHAR_MIN): Likewise.
16277         [C99-based standards] (WINT_MIN): Likewise.
16278         [C99-based standards] (*_t): Allow.
16279         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16280         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16281         Include math.h-data and complex.h-data.  Remove all expectations
16282         of math.h and complex.h contents.
16283         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16284         at end of line.
16285         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16286         (struct tm): Expect tag.
16287         [C99-based-standards] (wcstof): Expect function.
16288         [C99-based-standards] (wcstold): Likewise.
16289         [C99-based-standards] (wcstoll): Likewise.
16290         [C99-based-standards] (wcstoull): Likewise.
16291         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16292         macro-int-constant.  Specify type.
16293         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16294         constraint on value.
16295         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16296         Specify type.
16297         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16298         Specify value.
16299         [ISO C standards]: Do not allow headers.
16300         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16301         wcs[abcdefghijklmnopqrstuvwxyz]*.
16302         [ISO C standards] (*_t): Do not allow.
16303         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16304         Expect function.
16305         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16306         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16307         Specify type.
16308         [ISO C standards]: Do not allow headers.
16309         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16310         is[abcdefghijklmnopqrstuvwxyz]*.
16311         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16312         to[abcdefghijklmnopqrstuvwxyz]*.
16313         [ISO C standards] (*_t): Do not allow.
16314         * conform/data/stdalign.h-data: New file.
16315         * conform/data/stdbool.h-data: Likewise.
16316         * conform/data/stdnoreturn.h-data: Likewise.
16318 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16320         [BZ #14815]
16321         * manual/filesys.texi (Directory Entries): Typo fix.
16322         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16324 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16326         * elf/elf.h (EM_AARCH64): New macro.
16327         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16328         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16329         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16330         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16331         (R_AARCH64_TLSDESC): Likewise.
16332         (NT_ARM_TLS): Likewise.
16333         (NT_ARM_HW_BREAK): Likewise.
16334         (NT_ARM_HW_WATCH): Likewise.
16336 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16338         [BZ #14811]
16339         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16340         (__ieee754_powl): Saturate nonzero exponents with absolute value
16341         below 0x1p-79 to +/- 0x1p-79.
16342         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16343         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16344         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16345         nonzero exponents with absolute value below 0x1p-32 to +/-
16346         0x1p-32.
16347         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16348         (__ieee754_powl): Saturate nonzero exponents with absolute value
16349         below 0x1p-79 to +/- 0x1p-79.
16350         * math/libm-test.inc (pow_test): Add more tests.
16352 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16354         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16355         _dl_s390_cap_flags with kernel. Increase string length.
16356         (_dl_s390_platforms): Add z196 and zEC12.
16358 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16360         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16361         Change XOPEN21K to XOPEN2K.
16363 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16365         * string/memmove.c: Use memcpy when possible.
16367 2012-11-06  Andreas Jaeger  <aj@suse.de>
16369         * po/eo.po: Update from translation team.
16371 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16373         [BZ #14793]
16374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16375         exponent and small x and y exponents, scale x or y up.  Increase
16376         by 2 the exponent used in scaling up.
16377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16379         * math/libm-test.inc (fma_test): Add more tests.
16380         (fma_test_towardzero): Likewise.
16381         (fma_test_downward): Likewise.
16382         (fma_test_upward): Likewise.
16384 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16386         [BZ #14805]
16387         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16388         fenv_t *.
16390         [BZ #14801]
16391         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16392         namespace for names of struct fields.
16393         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16394         fenv_t fields.
16395         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16396         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16398 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16400         [BZ #3665]
16401         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16403 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16405         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16406         PTR_DEMANGLE.
16408         [BZ #5246]
16409         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16410         PTR_DEMANGLE.
16412 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16414         [BZ #14797]
16415         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16416         definitely overflow as x * y not x * y + z.
16417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16419         * math/libm-test.inc (fma_test): Add more tests.
16420         (fma_test_towardzero): Likewise.
16421         (fma_test_downward): Likewise.
16422         (fma_test_upward): Likewise.
16424 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16426         [BZ #157]
16428         * include/stub-tag.h: Remove file.
16429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16430         '#include' of it.
16431         * manual/maint.texi (Porting): Don't reference it.
16432         * Makerules ($(objpfx)stubs): Likewise.
16433         * dirent/closedir.c: Don't include <stub-tag.h>.
16434         * dirent/dirfd.c: Likewise.
16435         * dirent/fdopendir.c: Likewise.
16436         * dirent/getdents.c: Likewise.
16437         * dirent/getdents64.c: Likewise.
16438         * dirent/opendir.c: Likewise.
16439         * dirent/readdir.c: Likewise.
16440         * dirent/readdir64.c: Likewise.
16441         * dirent/readdir64_r.c: Likewise.
16442         * dirent/readdir_r.c: Likewise.
16443         * dirent/rewinddir.c: Likewise.
16444         * dirent/seekdir.c: Likewise.
16445         * dirent/telldir.c: Likewise.
16446         * gmon/profil.c: Likewise.
16447         * grp/setgroups.c: Likewise.
16448         * inet/if_index.c: Likewise.
16449         * io/access.c: Likewise.
16450         * io/chdir.c: Likewise.
16451         * io/chmod.c: Likewise.
16452         * io/chown.c: Likewise.
16453         * io/close.c: Likewise.
16454         * io/dup.c: Likewise.
16455         * io/dup2.c: Likewise.
16456         * io/dup3.c: Likewise.
16457         * io/euidaccess.c: Likewise.
16458         * io/faccessat.c: Likewise.
16459         * io/fchdir.c: Likewise.
16460         * io/fchmod.c: Likewise.
16461         * io/fchmodat.c: Likewise.
16462         * io/fchown.c: Likewise.
16463         * io/fchownat.c: Likewise.
16464         * io/fcntl.c: Likewise.
16465         * io/flock.c: Likewise.
16466         * io/fstatfs.c: Likewise.
16467         * io/fstatfs64.c: Likewise.
16468         * io/fstatvfs.c: Likewise.
16469         * io/fstatvfs64.c: Likewise.
16470         * io/futimens.c: Likewise.
16471         * io/fxstat.c: Likewise.
16472         * io/fxstat64.c: Likewise.
16473         * io/fxstatat.c: Likewise.
16474         * io/fxstatat64.c: Likewise.
16475         * io/getcwd.c: Likewise.
16476         * io/isatty.c: Likewise.
16477         * io/lchmod.c: Likewise.
16478         * io/lchown.c: Likewise.
16479         * io/link.c: Likewise.
16480         * io/linkat.c: Likewise.
16481         * io/lseek.c: Likewise.
16482         * io/lseek64.c: Likewise.
16483         * io/lxstat64.c: Likewise.
16484         * io/mkdir.c: Likewise.
16485         * io/mkdirat.c: Likewise.
16486         * io/mkfifo.c: Likewise.
16487         * io/mkfifoat.c: Likewise.
16488         * io/open.c: Likewise.
16489         * io/open64.c: Likewise.
16490         * io/openat.c: Likewise.
16491         * io/openat64.c: Likewise.
16492         * io/pipe.c: Likewise.
16493         * io/pipe2.c: Likewise.
16494         * io/poll.c: Likewise.
16495         * io/posix_fadvise.c: Likewise.
16496         * io/posix_fadvise64.c: Likewise.
16497         * io/posix_fallocate.c: Likewise.
16498         * io/posix_fallocate64.c: Likewise.
16499         * io/read.c: Likewise.
16500         * io/readlink.c: Likewise.
16501         * io/readlinkat.c: Likewise.
16502         * io/rmdir.c: Likewise.
16503         * io/sendfile.c: Likewise.
16504         * io/sendfile64.c: Likewise.
16505         * io/statfs.c: Likewise.
16506         * io/statfs64.c: Likewise.
16507         * io/statvfs.c: Likewise.
16508         * io/statvfs64.c: Likewise.
16509         * io/symlink.c: Likewise.
16510         * io/symlinkat.c: Likewise.
16511         * io/ttyname.c: Likewise.
16512         * io/ttyname_r.c: Likewise.
16513         * io/umask.c: Likewise.
16514         * io/unlink.c: Likewise.
16515         * io/unlinkat.c: Likewise.
16516         * io/utime.c: Likewise.
16517         * io/utimensat.c: Likewise.
16518         * io/write.c: Likewise.
16519         * io/xmknod.c: Likewise.
16520         * io/xmknodat.c: Likewise.
16521         * io/xstat.c: Likewise.
16522         * io/xstat64.c: Likewise.
16523         * login/getpt.c: Likewise.
16524         * login/grantpt.c: Likewise.
16525         * login/unlockpt.c: Likewise.
16526         * math/e_acoshl.c: Likewise.
16527         * math/e_acosl.c: Likewise.
16528         * math/e_asinl.c: Likewise.
16529         * math/e_atan2l.c: Likewise.
16530         * math/e_atanhl.c: Likewise.
16531         * math/e_coshl.c: Likewise.
16532         * math/e_expl.c: Likewise.
16533         * math/e_fmodl.c: Likewise.
16534         * math/e_gammal_r.c: Likewise.
16535         * math/e_hypotl.c: Likewise.
16536         * math/e_j0l.c: Likewise.
16537         * math/e_j1l.c: Likewise.
16538         * math/e_jnl.c: Likewise.
16539         * math/e_lgammal_r.c: Likewise.
16540         * math/e_log10l.c: Likewise.
16541         * math/e_log2l.c: Likewise.
16542         * math/e_logl.c: Likewise.
16543         * math/e_powl.c: Likewise.
16544         * math/e_rem_pio2l.c: Likewise.
16545         * math/e_sinhl.c: Likewise.
16546         * math/e_sqrtl.c: Likewise.
16547         * math/fclrexcpt.c: Likewise.
16548         * math/fedisblxcpt.c: Likewise.
16549         * math/feenablxcpt.c: Likewise.
16550         * math/fegetenv.c: Likewise.
16551         * math/fegetexcept.c: Likewise.
16552         * math/fegetround.c: Likewise.
16553         * math/feholdexcpt.c: Likewise.
16554         * math/fesetenv.c: Likewise.
16555         * math/fesetround.c: Likewise.
16556         * math/feupdateenv.c: Likewise.
16557         * math/fgetexcptflg.c: Likewise.
16558         * math/fraiseexcpt.c: Likewise.
16559         * math/fsetexcptflg.c: Likewise.
16560         * math/ftestexcept.c: Likewise.
16561         * math/k_cosl.c: Likewise.
16562         * math/k_rem_pio2l.c: Likewise.
16563         * math/k_sinl.c: Likewise.
16564         * math/k_tanl.c: Likewise.
16565         * math/s_asinhl.c: Likewise.
16566         * math/s_atanl.c: Likewise.
16567         * math/s_cbrtl.c: Likewise.
16568         * math/s_erfl.c: Likewise.
16569         * math/s_expm1l.c: Likewise.
16570         * math/s_log1pl.c: Likewise.
16571         * math/s_tanhl.c: Likewise.
16572         * misc/acct.c: Likewise.
16573         * misc/brk.c: Likewise.
16574         * misc/chflags.c: Likewise.
16575         * misc/chroot.c: Likewise.
16576         * misc/fchflags.c: Likewise.
16577         * misc/fgetxattr.c: Likewise.
16578         * misc/flistxattr.c: Likewise.
16579         * misc/fremovexattr.c: Likewise.
16580         * misc/fsetxattr.c: Likewise.
16581         * misc/fsync.c: Likewise.
16582         * misc/ftruncate.c: Likewise.
16583         * misc/futimes.c: Likewise.
16584         * misc/futimesat.c: Likewise.
16585         * misc/getdomain.c: Likewise.
16586         * misc/getdtsz.c: Likewise.
16587         * misc/gethostid.c: Likewise.
16588         * misc/gethostname.c: Likewise.
16589         * misc/getloadavg.c: Likewise.
16590         * misc/getpagesize.c: Likewise.
16591         * misc/getsysstats.c: Likewise.
16592         * misc/getxattr.c: Likewise.
16593         * misc/gtty.c: Likewise.
16594         * misc/ioctl.c: Likewise.
16595         * misc/lgetxattr.c: Likewise.
16596         * misc/listxattr.c: Likewise.
16597         * misc/llistxattr.c: Likewise.
16598         * misc/lremovexattr.c: Likewise.
16599         * misc/lsetxattr.c: Likewise.
16600         * misc/lutimes.c: Likewise.
16601         * misc/madvise.c: Likewise.
16602         * misc/mincore.c: Likewise.
16603         * misc/mlock.c: Likewise.
16604         * misc/mlockall.c: Likewise.
16605         * misc/mmap.c: Likewise.
16606         * misc/mprotect.c: Likewise.
16607         * misc/msync.c: Likewise.
16608         * misc/munlock.c: Likewise.
16609         * misc/munlockall.c: Likewise.
16610         * misc/munmap.c: Likewise.
16611         * misc/preadv.c: Likewise.
16612         * misc/preadv64.c: Likewise.
16613         * misc/ptrace.c: Likewise.
16614         * misc/pwritev.c: Likewise.
16615         * misc/pwritev64.c: Likewise.
16616         * misc/readv.c: Likewise.
16617         * misc/reboot.c: Likewise.
16618         * misc/remap_file_pages.c: Likewise.
16619         * misc/removexattr.c: Likewise.
16620         * misc/revoke.c: Likewise.
16621         * misc/select.c: Likewise.
16622         * misc/setdomain.c: Likewise.
16623         * misc/setegid.c: Likewise.
16624         * misc/seteuid.c: Likewise.
16625         * misc/sethostid.c: Likewise.
16626         * misc/sethostname.c: Likewise.
16627         * misc/setregid.c: Likewise.
16628         * misc/setreuid.c: Likewise.
16629         * misc/setxattr.c: Likewise.
16630         * misc/sstk.c: Likewise.
16631         * misc/stty.c: Likewise.
16632         * misc/swapoff.c: Likewise.
16633         * misc/swapon.c: Likewise.
16634         * misc/sync.c: Likewise.
16635         * misc/syncfs.c: Likewise.
16636         * misc/syscall.c: Likewise.
16637         * misc/truncate.c: Likewise.
16638         * misc/ualarm.c: Likewise.
16639         * misc/usleep.c: Likewise.
16640         * misc/ustat.c: Likewise.
16641         * misc/utimes.c: Likewise.
16642         * misc/vhangup.c: Likewise.
16643         * misc/writev.c: Likewise.
16644         * posix/_exit.c: Likewise.
16645         * posix/alarm.c: Likewise.
16646         * posix/execve.c: Likewise.
16647         * posix/fexecve.c: Likewise.
16648         * posix/fork.c: Likewise.
16649         * posix/fpathconf.c: Likewise.
16650         * posix/getaddrinfo.c: Likewise.
16651         * posix/getegid.c: Likewise.
16652         * posix/geteuid.c: Likewise.
16653         * posix/getgid.c: Likewise.
16654         * posix/getgroups.c: Likewise.
16655         * posix/getlogin.c: Likewise.
16656         * posix/getlogin_r.c: Likewise.
16657         * posix/getpgid.c: Likewise.
16658         * posix/getpid.c: Likewise.
16659         * posix/getppid.c: Likewise.
16660         * posix/getresgid.c: Likewise.
16661         * posix/getresuid.c: Likewise.
16662         * posix/getsid.c: Likewise.
16663         * posix/getuid.c: Likewise.
16664         * posix/glob64.c: Likewise.
16665         * posix/nanosleep.c: Likewise.
16666         * posix/pathconf.c: Likewise.
16667         * posix/pause.c: Likewise.
16668         * posix/posix_madvise.c: Likewise.
16669         * posix/pread.c: Likewise.
16670         * posix/pread64.c: Likewise.
16671         * posix/pwrite.c: Likewise.
16672         * posix/pwrite64.c: Likewise.
16673         * posix/sched_getaffinity.c: Likewise.
16674         * posix/sched_getp.c: Likewise.
16675         * posix/sched_gets.c: Likewise.
16676         * posix/sched_primax.c: Likewise.
16677         * posix/sched_primin.c: Likewise.
16678         * posix/sched_rr_gi.c: Likewise.
16679         * posix/sched_setaffinity.c: Likewise.
16680         * posix/sched_setp.c: Likewise.
16681         * posix/sched_sets.c: Likewise.
16682         * posix/sched_yield.c: Likewise.
16683         * posix/setgid.c: Likewise.
16684         * posix/setlogin.c: Likewise.
16685         * posix/setpgid.c: Likewise.
16686         * posix/setresgid.c: Likewise.
16687         * posix/setresuid.c: Likewise.
16688         * posix/setsid.c: Likewise.
16689         * posix/setuid.c: Likewise.
16690         * posix/sleep.c: Likewise.
16691         * posix/spawni.c: Likewise.
16692         * posix/sysconf.c: Likewise.
16693         * posix/times.c: Likewise.
16694         * posix/wait.c: Likewise.
16695         * posix/wait3.c: Likewise.
16696         * posix/wait4.c: Likewise.
16697         * posix/waitpid.c: Likewise.
16698         * resolv/gai_sigqueue.c: Likewise.
16699         * resource/getpriority.c: Likewise.
16700         * resource/getrlimit.c: Likewise.
16701         * resource/getrusage.c: Likewise.
16702         * resource/nice.c: Likewise.
16703         * resource/setpriority.c: Likewise.
16704         * resource/setrlimit.c: Likewise.
16705         * resource/ulimit.c: Likewise.
16706         * rt/aio_cancel.c: Likewise.
16707         * rt/aio_fsync.c: Likewise.
16708         * rt/aio_read.c: Likewise.
16709         * rt/aio_sigqueue.c: Likewise.
16710         * rt/aio_suspend.c: Likewise.
16711         * rt/aio_write.c: Likewise.
16712         * rt/clock_getres.c: Likewise.
16713         * rt/clock_gettime.c: Likewise.
16714         * rt/clock_nanosleep.c: Likewise.
16715         * rt/clock_settime.c: Likewise.
16716         * rt/lio_listio.c: Likewise.
16717         * rt/mq_close.c: Likewise.
16718         * rt/mq_getattr.c: Likewise.
16719         * rt/mq_notify.c: Likewise.
16720         * rt/mq_open.c: Likewise.
16721         * rt/mq_receive.c: Likewise.
16722         * rt/mq_send.c: Likewise.
16723         * rt/mq_setattr.c: Likewise.
16724         * rt/mq_timedreceive.c: Likewise.
16725         * rt/mq_timedsend.c: Likewise.
16726         * rt/mq_unlink.c: Likewise.
16727         * rt/shm_open.c: Likewise.
16728         * rt/shm_unlink.c: Likewise.
16729         * rt/timer_create.c: Likewise.
16730         * rt/timer_delete.c: Likewise.
16731         * rt/timer_getoverr.c: Likewise.
16732         * rt/timer_gettime.c: Likewise.
16733         * rt/timer_settime.c: Likewise.
16734         * setjmp/__longjmp.c: Likewise.
16735         * setjmp/setjmp.c: Likewise.
16736         * signal/kill.c: Likewise.
16737         * signal/killpg.c: Likewise.
16738         * signal/raise.c: Likewise.
16739         * signal/sigaction.c: Likewise.
16740         * signal/sigaltstack.c: Likewise.
16741         * signal/sigblock.c: Likewise.
16742         * signal/sigignore.c: Likewise.
16743         * signal/sigintr.c: Likewise.
16744         * signal/signal.c: Likewise.
16745         * signal/sigpause.c: Likewise.
16746         * signal/sigpending.c: Likewise.
16747         * signal/sigqueue.c: Likewise.
16748         * signal/sigreturn.c: Likewise.
16749         * signal/sigset.c: Likewise.
16750         * signal/sigsetmask.c: Likewise.
16751         * signal/sigstack.c: Likewise.
16752         * signal/sigsuspend.c: Likewise.
16753         * signal/sigtimedwait.c: Likewise.
16754         * signal/sigvec.c: Likewise.
16755         * signal/sigwait.c: Likewise.
16756         * signal/sigwaitinfo.c: Likewise.
16757         * signal/sysv_signal.c: Likewise.
16758         * socket/accept.c: Likewise.
16759         * socket/accept4.c: Likewise.
16760         * socket/bind.c: Likewise.
16761         * socket/connect.c: Likewise.
16762         * socket/getpeername.c: Likewise.
16763         * socket/getsockname.c: Likewise.
16764         * socket/getsockopt.c: Likewise.
16765         * socket/isfdtype.c: Likewise.
16766         * socket/listen.c: Likewise.
16767         * socket/recv.c: Likewise.
16768         * socket/recvfrom.c: Likewise.
16769         * socket/recvmsg.c: Likewise.
16770         * socket/send.c: Likewise.
16771         * socket/sendmsg.c: Likewise.
16772         * socket/sendto.c: Likewise.
16773         * socket/setsockopt.c: Likewise.
16774         * socket/shutdown.c: Likewise.
16775         * socket/sockatmark.c: Likewise.
16776         * socket/socket.c: Likewise.
16777         * socket/socketpair.c: Likewise.
16778         * stdio-common/ctermid.c: Likewise.
16779         * stdio-common/cuserid.c: Likewise.
16780         * stdio-common/remove.c: Likewise.
16781         * stdio-common/rename.c: Likewise.
16782         * stdio-common/renameat.c: Likewise.
16783         * stdio-common/tempname.c: Likewise.
16784         * stdlib/getcontext.c: Likewise.
16785         * stdlib/makecontext.c: Likewise.
16786         * stdlib/setcontext.c: Likewise.
16787         * stdlib/swapcontext.c: Likewise.
16788         * stdlib/system.c: Likewise.
16789         * streams/fattach.c: Likewise.
16790         * streams/fdetach.c: Likewise.
16791         * streams/getmsg.c: Likewise.
16792         * streams/getpmsg.c: Likewise.
16793         * streams/putmsg.c: Likewise.
16794         * streams/putpmsg.c: Likewise.
16795         * sysdeps/unix/bsd/getpt.c: Likewise.
16796         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16797         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16798         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16800         Likewise.
16801         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16802         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16803         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16804         * sysvipc/msgctl.c: Likewise.
16805         * sysvipc/msgget.c: Likewise.
16806         * sysvipc/msgrcv.c: Likewise.
16807         * sysvipc/msgsnd.c: Likewise.
16808         * sysvipc/semctl.c: Likewise.
16809         * sysvipc/semget.c: Likewise.
16810         * sysvipc/semop.c: Likewise.
16811         * sysvipc/semtimedop.c: Likewise.
16812         * sysvipc/shmat.c: Likewise.
16813         * sysvipc/shmctl.c: Likewise.
16814         * sysvipc/shmdt.c: Likewise.
16815         * sysvipc/shmget.c: Likewise.
16816         * termios/tcdrain.c: Likewise.
16817         * termios/tcflow.c: Likewise.
16818         * termios/tcflush.c: Likewise.
16819         * termios/tcgetattr.c: Likewise.
16820         * termios/tcgetpgrp.c: Likewise.
16821         * termios/tcsendbrk.c: Likewise.
16822         * termios/tcsetattr.c: Likewise.
16823         * termios/tcsetpgrp.c: Likewise.
16824         * time/adjtime.c: Likewise.
16825         * time/clock.c: Likewise.
16826         * time/getitimer.c: Likewise.
16827         * time/gettimeofday.c: Likewise.
16828         * time/setitimer.c: Likewise.
16829         * time/settimeofday.c: Likewise.
16830         * time/stime.c: Likewise.
16831         * time/time.c: Likewise.
16833 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16835         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16836         /usr/old/bin.
16838         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16839         instead of spaces.
16840         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16842 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16844         [BZ #14796]
16845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16846         FE_TONEAREST before applying Dekker multiplication and Knuth
16847         addition.  Clear inexact exceptions and check for exact zero
16848         results afterwards.
16849         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16850         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16852         * math/libm-test.inc (fma_test): Add more tests.
16853         (fma_test_towardzero): Likewise.
16854         (fma_test_downward): Likewise.
16855         (fma_test_upward): Likewise.
16856         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16857         function.
16858         (libc_fesetround): New macro.
16859         (libc_fesetroundf): Likewise.
16860         (libc_fesetroundl): Likewise.
16861         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16862         function.
16863         (libc_fesetround_387): Likewise.
16864         (libc_fesetroundf): New macro.
16865         (libc_fesetround): Likewise.
16866         (libc_fesetroundl): Likewise.
16867         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16868         function.
16869         (libc_fesetroundf): New macro.
16870         (libc_fesetround): Likewise.
16871         (libc_fesetroundl): Likewise.
16872         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16873         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16874         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16875         libm_hidden_ver.
16876         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16877         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16878         libm_hidden_def.
16879         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16880         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16881         libm_hidden_ver.
16882         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16883         libm_hidden_def.
16885         [BZ #3439]
16886         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16887         integer constant usable in #if and use that to give value to enum
16888         constant.
16889         (FE_DIVBYZERO): Likewise.
16890         (FE_UNDERFLOW): Likewise.
16891         (FE_OVERFLOW): Likewise.
16892         (FE_INVALID): Likewise.
16893         (FE_INVALID_SNAN): Likewise.
16894         (FE_INVALID_ISI): Likewise.
16895         (FE_INVALID_IDI): Likewise.
16896         (FE_INVALID_ZDZ): Likewise.
16897         (FE_INVALID_IMZ): Likewise.
16898         (FE_INVALID_COMPARE): Likewise.
16899         (FE_INVALID_SOFTWARE): Likewise.
16900         (FE_INVALID_SQRT): Likewise.
16901         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16902         (FE_TONEAREST): Likewise.
16903         (FE_TOWARDZERO): Likewise.
16904         (FE_UPWARD): Likewise.
16905         (FE_DOWNWARD): Likewise.
16906         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16907         (FE_DIVBYZERO): Likewise.
16908         (FE_OVERFLOW): Likewise.
16909         (FE_UNDERFLOW): Likewise.
16910         (FE_INEXACT): Likewise.
16911         (FE_TONEAREST): Likewise.
16912         (FE_DOWNWARD): Likewise.
16913         (FE_UPWARD): Likewise.
16914         (FE_TOWARDZERO): Likewise.
16915         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16916         (FE_UNDERFLOW): Likewise.
16917         (FE_OVERFLOW): Likewise.
16918         (FE_DIVBYZERO): Likewise.
16919         (FE_INVALID): Likewise.
16920         (FE_TONEAREST): Likewise.
16921         (FE_TOWARDZERO): Likewise.
16922         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16923         (FE_OVERFLOW): Likewise.
16924         (FE_UNDERFLOW): Likewise.
16925         (FE_DIVBYZERO): Likewise.
16926         (FE_INEXACT): Likewise.
16927         (FE_TONEAREST): Likewise.
16928         (FE_TOWARDZERO): Likewise.
16929         (FE_UPWARD): Likewise.
16930         (FE_DOWNWARD): Likewise.
16931         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16932         (FE_DIVBYZERO): Likewise.
16933         (FE_OVERFLOW): Likewise.
16934         (FE_UNDERFLOW): Likewise.
16935         (FE_INEXACT): Likewise.
16936         (FE_TONEAREST): Likewise.
16937         (FE_DOWNWARD): Likewise.
16938         (FE_UPWARD): Likewise.
16939         (FE_TOWARDZERO): Likewise.
16941 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16943         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16945 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16947         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16948         commands.  Quote $PWD.
16949         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16950         -x" by "export".
16951         (remove_newlines): Remove.
16953 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16955         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16956         * stdlib/stdlib.h (atof): Moved to ...
16957         * include/bits/stdlib-float.h: Here.  New file.
16958         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16959         * stdlib/bits/stdlib-float.h: New file.
16960         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16961         -mno-sse -mno-mmx.
16962         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16963         <xmmintrin.h>.
16965 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16967         * conform/conformtest.pl (@headers): Add fenv.h.
16968         * conform/data/fenv.h-data: New file.
16969         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16970         include of <math/fenv.h>.
16972         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16973         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16974         && !UNIX98].  Enables tests for XOPEN2K8.
16975         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16976         POSIX2008]: Likewise.
16978         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16979         (struct rusage): Do not expect type or its members.
16981         [BZ #3439]
16982         * math/math.h (FP_NAN): Define macro to integer constant usable in
16983         #if and use that to give value to enum constant.
16984         (FP_INFINITE): Likewise.
16985         (FP_ZERO): Likewise.
16986         (FP_SUBNORMAL): Likewise.
16987         (FP_NORMAL): Likewise.
16989 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16991         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16992         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16993         arguments.
16995 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16997         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16998         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16999         autoconf-time if not.
17000         * configure.in: Remove AC_PREREQ.
17002 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17004         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17005         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17006         of the internal implementation.
17008 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17010         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17011         except include of <misc/sys/syslog.h>.
17013 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17016         function returns with a NULL context exit with zero.
17018 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17020         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17022 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17024         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17025         (run_program_cmd): This.
17026         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17027         (tst_langinfo): New variable.  Use it.
17029 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17031         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17032         floating point opcodes.
17034 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17036         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17037         variable.
17039         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17041         * sysdeps/mach/hurd/powerpc: Remove directory.
17042         * sysdeps/mach/powerpc: Likewise.
17044 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17046         * scripts/check-local-headers.sh: Ignore c++ headers.
17048 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17050         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17051         __libc_cleanup_region_start argument.
17053 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17055         [BZ #14784]
17056         [BZ #14785]
17057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17058         x * y using scaling, not as x * y + z.
17059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17061         * math/libm-test.inc (fma_test): Add more tests.
17062         (fma_test_towardzero): Likewise.
17063         (fma_test_downward): Likewise.
17064         (fma_test_upward): Likewise.
17066 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17068         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17070 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17072         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17073         New variable.
17075 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17077         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17079 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17082         Fix sort order.
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17084         Likewise.
17086 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17089         Fix the order of the list for glibc 2.17.
17090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17091         Likewise.
17093 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17097 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17099         [BZ #14610]
17100         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17101         for low part of x being zero before using __atanl (y).
17102         * math/libm-test.inc (atan2_test): Add another test.
17104         * manual/install.texi (Configuring and compiling): Document
17105         general use of test-wrapper and test-wrapper-env.
17106         * INSTALL: Regenerated.
17108         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17109         (__fma): Do not extract and scale down low bits on after-rounding
17110         systems when result rounded to normal precision would have normal
17111         exponent.
17112         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17113         (__fmal): Do not extract and scale down low bits on after-rounding
17114         systems when result rounded to normal precision would have normal
17115         exponent.
17116         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17117         (__fmal): Do not extract and scale down low bits on after-rounding
17118         systems when result rounded to normal precision would have normal
17119         exponent.
17120         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17121         macro.
17122         (fma_test): Add more tests.
17123         (fma_test_towardzero): Likewise.
17124         (fma_test_downward): Likewise.
17125         (fma_test_upward): Likewise.
17127 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17129         * sysdeps/i386/tininess.h: Renamed to ...
17130         * sysdeps/x86/tininess.h: This.
17131         * sysdeps/x86_64/tininess.h: Removed.
17133 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17135         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17136         input.  Use $(build-program-cmd).
17137         ($(objpfx)tst-array1-static.out): Likewise.
17138         ($(objpfx)tst-array2.out): Likewise.
17139         ($(objpfx)tst-array3.out): Likewise.
17140         ($(objpfx)tst-array4.out): Likewise.
17141         ($(objpfx)tst-array5.out): Likewise.
17142         ($(objpfx)tst-array5-static.out): Likewise.
17144 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17146         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17147         if defined.
17149         * nss/nsswitch.h (nss_interface_function): Provide new
17150         macro for use with NSS functions.
17151         * grp/initgroups.c: Use new macro.
17152         * nss/getXXbyYY.c: Likewise.
17153         * nss/getXXbyYY_r.c: Likewise.
17154         * nss/getXXent.c: Likewise.
17155         * nss/getXXent_r.c: Likewise.
17156         * sysdeps/posix/getaddrinfo.c: Likewise.
17158 2012-10-30  Andreas Jaeger  <aj@suse.de>
17160         * po/ru.po: Update Russion translation from translation project.
17162 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17164         [BZ #14152]
17165         [BZ #14783]
17166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17167         result and shift together with sticky bit instead of replicating
17168         round-to-nearest rounding.
17169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17170         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17171         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17172         missing underflow exceptions.
17173         (fma_test_towardzero): Add more tests.
17174         (fma_test_downward): Likewise.
17175         (fma_test_upward): Likewise.
17177         [BZ #14047]
17178         * sysdeps/generic/tininess.h: New file.
17179         * sysdeps/i386/tininess.h: Likewise.
17180         * sysdeps/sh/tininess.h: Likewise.
17181         * sysdeps/x86_64/tininess.h: Likewise.
17182         * stdlib/tst-strtod-underflow.c: Likewise.
17183         * stdlib/tst-tininess.c: Likewise.
17184         * stdlib/strtod_l.c: Include <tininess.h>.
17185         (round_and_return): Do not set errno for exact underflow cases.
17186         Force an underflow exception when setting errno for underflow.
17187         Determine underflow based on rounding to normal precision if
17188         TININESS_AFTER_ROUNDING.
17189         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17190         ERANGE for exact underflow cases.
17191         * stdlib/Makefile (tests): Add tst-tininess and
17192         tst-strtod-underflow.
17193         ($(objpfx)tst-tininess): Use $(link-libm).
17194         ($(objpfx)tst-strtod-underflow): Likewise.
17196 2012-10-30  Andreas Jaeger  <aj@suse.de>
17198         [BZ#14767]
17199         * elf/Makefile (tests): Remove conditional for have-initfini-array
17200         since this is now always required and the variable does not exist
17201         anymore.
17202         (tests-static): Likewise.
17203         (modules-names): Likewise.
17205         * po/eo.po: Add Esperanto translation from translation project.
17207         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17208         merged with constructor/destructor.
17209         (init_array): Likewise.
17210         * elf/tst-array2dep.c (fini_array): Likewise.
17211         (init_array): Likewise.
17213 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17215         * manual/message.texi: Delete @cartouche tags.
17217 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17219         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17220         EOPNOTSUPP.
17221         * sysdeps/mach/hurd/fsync.c: Likewise.
17223         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17224         [_POSIX_REALTIME_SIGNALS]: Change condition to
17225         [_POSIX_REALTIME_SIGNALS > 0].
17227 2012-10-27  Andreas Jaeger  <aj@suse.de>
17229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17230         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17231         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17232         [__WORDSIZE != 64]: Likewise.
17234 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17236         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17237         *  iconvdata/tst-tables.sh: Likewise.
17239 2012-10-25  David S. Miller  <davem@davemloft.net>
17241         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17242         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17243         of strtoull.
17245         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17246         ifunc-impl-list.c
17247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17248         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17249         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17250         file.
17252 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17254         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17255         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17256         __getdirentries.
17258 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17259             Jim Blandy  <jimb@codesourcery.com>
17261         * scripts/cross-test-ssh.sh: New file.
17262         * manual/install.texi (Configuring and compiling): Document use of
17263         cross-test-ssh.sh.
17264         * INSTALL: Regenerated.
17266 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17268         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17269         EOPNOTSUPP.
17271 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17273         * Makeconfig (run-program-prefix): Fix comment.
17275 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17276             Jim Blandy  <jimb@codesourcery.com>
17278         * Makeconfig (test-wrapper): New variable,
17279         (test-wrapper-env): Likewise.
17280         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17281         (run-built-tests): Define to yes.
17282         (run-program-prefix): Use $(test-wrapper).
17283         (built-program-cmd): Likewise.
17284         * Rules (make-test-out): Use $(test-wrapper-env) and
17285         $(host-built-program-cmd).
17286         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17287         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17288         tst-pathopt.sh.
17289         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17290         $(test-wrapper-env) to tst-rtld-load-self.sh.
17291         ($(objpfx)order2.out): Use $(test-wrapper).
17292         ($(objpfx)tst-initorder.out): Likewise.
17293         ($(objpfx)tst-initorder2.out): Likewise.
17294         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17295         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17296         (test_wrapper_env): New variable.  Use it to run ld.so.
17297         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17298         Use it to run ld.so.
17299         (test_wrapper_env): Likewise.
17300         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17301         $(test-wrapper) to run-iconv-test.sh.
17302         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17303         (ICONV): Use $test_wrapper.
17304         * posix/Makefile ($(objpfx)globtest.out): Pass
17305         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17306         globtest.sh, not $(run-program-prefix).
17307         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17308         (test_wrapper): Likewise.
17309         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17310         set together with run_via_rtld_prefix.
17311         (run_program_prefix): Define in terms of test_wrapper and
17312         run_via_rtld_prefix.
17314 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17316         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17317         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17318         Targets removed.
17320         [BZ #14743]
17321         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17322         Declare __clock_getres, __clock_gettime, __clock_settime,
17323         __clock_nanosleep, and __clock_getcpuclockid.
17324         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17325         Remove librt_hidden_def (clock_gettime).
17326         * sysdeps/unix/clock_gettime.c: Likewise.
17327         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17329         * rt/clock_getres.c: Define __clock_getres as an alias.
17330         * sysdeps/posix/clock_getres.c: Likewise.
17331         * rt/clock_settime.c: Define __clock_settime as an alias.
17332         * sysdeps/unix/clock_settime.c: Likewise.
17333         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17334         * sysdeps/unix/clock_nanosleep.c: Likewise.
17335         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17336         * rt/clock-compat.c: New file.
17337         * rt/Makefile (librt-routines): Add clock-compat and move
17338         $(clock-routines) to ...
17339         (routines): ... here, new variable.
17340         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17341         Don't add get_clockfreq here.
17342         * rt/Versions (libc: GLIBC_2.17): New version set.
17343         Add clock_* symbols here.
17344         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17346         (GLIBC_2.17): Add clock_* symbols.
17347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17349         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17351         Likewise.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17353         Likewise.
17354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17358         * NEWS: Mention the move.
17360         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17361         Use __open, __read, __close rather than their public counterparts.
17362         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17363         (__get_clockfreq_via_cpuinfo): Likewise.
17364         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17365         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17367         * config.h.in (HAVE_IFUNC): New #undef.
17368         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17369         was successful.
17370         * configure: Regenerated.
17372 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17374         * configure.in: Move READELF check to start of file.
17375         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17376         libc_cv_asm_gnu_indirect_function in the process.
17377         * configure: Regenerated.
17379 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17381         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17382         send the output to /dev/null.
17383         (libc_cv_cc_with_libunwind): Likewise.
17384         (libc_cv_as_noexecstack): Likewise.
17385         * configure: Regenerate.
17387 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17389         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17391         * posix/globtest.sh (TMPDIR): Do not set.
17392         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17393         (testout): Likewise.
17395 2012-10-24  Andreas Jaeger  <aj@suse.de>
17397         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17398         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17399         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17400         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17401         posix_fadvise64, posix_fallocate64.
17403         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17404         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17405         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17406         Likewise.
17407         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17408         Likewise.
17409         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17412         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17413         <bits/fcntl-linux.h>.
17414         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17417         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17418         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17419         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17420         [__WORDSIZE != 64]: Likewise.
17422 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17424         * Makeconfig (run-built-tests): New variable.
17425         * Rules [$(cross-compiling) = yes]: Change condition to
17426         [$(run-built-tests) = no].
17427         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17428         to [$(run-built-tests) = yes].
17429         * elf/Makefile [$(cross-compiling) = no]: Likewise
17430         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17431         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17432         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17433         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17434         * io/Makefile [$(cross-compiling) = no]: Likewise.
17435         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17436         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17437         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17438         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17439         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17440         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17441         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17442         * string/Makefile [$(cross-compiling) = no]: Likewise.
17444         * posix/Makefile ($(objpfx)globtest.out): Pass
17445         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17446         $(rtld-installed-name).
17447         * posix/globtest.sh (elf_objpfx): Remove variable.
17448         (rtld_installed_name): Likewise.
17449         (library_path): Likewise.
17450         (run_program_prefix): New variable.  Use for running globtest
17451         binary.
17453 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17454             Joseph Myers  <joseph@codesourcery.com>
17456         * Makeconfig (host-built-program-cmd): New variable.
17457         * elf/Makefile (tst-stackguard1-ARGS): Use
17458         $(host-built-program-cmd).
17459         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17460         (tst-spawn-ARGS): Likewise.
17461         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17463 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17464             Jim Blandy  <jimb@codesourcery.com>
17466         * Makeconfig (run-via-rtld-prefix): New variable.
17467         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17468         (built-program-cmd): Likewise.
17470 2012-10-22  Andreas Jaeger  <aj@suse.de>
17472         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17473         __O_RSYNC if it exists, otherwise to O_SYNC.
17475 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17476             Joseph Myers  <joseph@codesourcery.com>
17478         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17479         /dev/null.
17480         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17481         from /dev/null
17482         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17483         /dev/null.
17485 2012-10-22  Andreas Jaeger  <aj@suse.de>
17487         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17488         Define always.
17489         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17492         bits/fcntl-linux.h.
17494         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17495         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17497         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17498         to __O_LARGEFILE.
17499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17500         to __O_LARGEFILE.
17502 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17503             Joseph Myers  <joseph@codesourcery.com>
17505         * config.make.in (NM): New variable.
17507 2012-10-21  Andreas Jaeger  <aj@suse.de>
17509         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17510         definitions and declarations that are provided by
17511         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17513 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17515         [BZ #14683]
17516         * elf/Makefile (tests-static): Add tst-leaks1-static.
17517         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17518         ($(objpfx)tst-leaks1-static): New rule.
17519         ($(objpfx)tst-leaks1-static-mem): Likewise.
17520         (tst-leaks1-static-ENV): New macro.
17521         * elf/dl-open.c (dl_open_worker): Check the main application
17522         only if SHARED is defined.
17523         * elf/tst-leaks1-static.c: New file.
17525 2012-10-20  Andreas Jaeger  <aj@suse.de>
17527         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17528         generic values for Linux.
17529         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17530         and declarations that are provided by <bits/fcntl-linux.h> and
17531         include <bits/fcntl-linux.h>.
17532         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17535 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17537         * io/fcntl.h: Move include of <bits/types.h> to the top and
17538         include it unconditionally.
17540 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17542         * wcsmbs/Makefile (tests-ifunc): New variable.
17543         (tests): Add $(tests-ifunc).
17544         * wcsmbs/test-wcschr-ifunc.c: New file.
17545         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17546         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17547         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17548         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17549         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17551         * string/Makefile (tests-ifunc): New variable.
17552         (tests): Add $(tests-ifunc).
17553         * string/test-memccpy.c (TEST_NAME): New macro.
17554         * string/test-memchr.c (TEST_NAME): Likewise.
17555         * string/test-memcmp.c (TEST_NAME): Likewise.
17556         * string/test-memcpy.c (TEST_NAME): Likewise.
17557         * string/test-memmem.c (TEST_NAME): Likewise.
17558         * string/test-memmove.c (TEST_NAME): Likewise.
17559         * string/test-memset.c (TEST_NAME): Likewise.
17560         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17561         * string/test-stpcpy.c (TEST_NAME): Likewise.
17562         * string/test-stpncpy.c (TEST_NAME): Likewise.
17563         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17564         * string/test-strcasestr.c (TEST_NAME): Likewise.
17565         * string/test-strcat.c (TEST_NAME): Likewise.
17566         * string/test-strchr.c (TEST_NAME): Likewise.
17567         * string/test-strcmp.c(TEST_NAME): Likewise.
17568         * string/test-strcpy.c (TEST_NAME): Likewise.
17569         * string/test-strcspn.c (TEST_NAME): Likewise.
17570         * string/test-strlen.c (TEST_NAME): Likewise.
17571         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17572         * string/test-strncmp.c (TEST_NAME): Likewise.
17573         * string/test-strncpy.c (TEST_NAME): Likewise.
17574         * string/test-strnlen.c (TEST_NAME): Likewise.
17575         * string/test-strpbrk.c (TEST_NAME): Likewise.
17576         * string/test-strrchr.c (TEST_NAME): Likewise.
17577         * string/test-strspn.c (TEST_NAME): Likewise.
17578         * string/test-strstr.c (TEST_NAME): Likewise.
17579         * string/test-bcopy-ifunc.c: New file.
17580         * string/test-bzero-ifunc.c: Likewise.
17581         * string/test-memccpy-ifunc.c: Likewise.
17582         * string/test-memchr-ifunc.c: Likewise.
17583         * string/test-memcmp-ifunc.c: Likewise.
17584         * string/test-memcpy-ifunc.c: Likewise.
17585         * string/test-memmem-ifunc.c: Likewise.
17586         * string/test-memmove-ifunc.c: Likewise.
17587         * string/test-mempcpy-ifunc.c: Likewise.
17588         * string/test-memset-ifunc.c: Likewise.
17589         * string/test-rawmemchr-ifunc.c: Likewise.
17590         * string/test-stpcpy-ifunc.c: Likewise.
17591         * string/test-stpncpy-ifunc.c: Likewise.
17592         * string/test-strcasecmp-ifunc.c: Likewise.
17593         * string/test-strcasestr-ifunc.c: Likewise.
17594         * string/test-strcat-ifunc.c: Likewise.
17595         * string/test-strchr-ifunc.c: Likewise.
17596         * string/test-strchrnul-ifunc.c: Likewise.
17597         * string/test-strcmp-ifunc.c: Likewise.
17598         * string/test-strcpy-ifunc.c: Likewise.
17599         * string/test-strcspn-ifunc.c: Likewise.
17600         * string/test-strlen-ifunc.c: Likewise.
17601         * string/test-strncasecmp-ifunc.c: Likewise.
17602         * string/test-strncat-ifunc.c: Likewise.
17603         * string/test-strncmp-ifunc.c: Likewise.
17604         * string/test-strncpy-ifunc.c: Likewise.
17605         * string/test-strnlen-ifunc.c: Likewise.
17606         * string/test-strpbrk-ifunc.c: Likewise.
17607         * string/test-strrchr-ifunc.c: Likewise.
17608         * string/test-strspn-ifunc.c: Likewise.
17609         * string/test-strstr-ifunc.c: Likewise.
17611         * debug/Makefile (tests-ifunc): New variable.
17612         (tests): Add $(tests-ifunc).
17613         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17614         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17615         * debug/test-stpcpy_chk-ifunc.c: New file.
17616         * debug/test-strcpy_chk-ifunc.c: Likewise.
17618 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17620         [BZ #13601]
17621         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17622         header is not read in.
17624 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17626         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17627         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17628         directly.  Pass built executable to script as
17629         $(built-program-cmd).
17630         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17631         $testprogram without using LD_LIBRARY_PATH and $ldso.
17633         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17634         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17635         $(rtld-installed-name).
17636         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17637         (rtld_installed_name): Likewise.
17638         (library_path): Likewise.
17639         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17640         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17641         $(run-program-prefix) to tst-tables.sh.
17642         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17643         it to run tst-table-from and tst-table-to.
17644         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17645         Pass it to tst-table.sh.
17646         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17647         $(run-program-prefix) to tst-gettext.sh.
17648         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17649         tst-translit.sh.
17650         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17651         tst-gettext2.sh.
17652         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17653         to run tst-gettext.
17654         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17655         to run tst-gettext2.
17656         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17657         to run tst-translit.
17658         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17659         $(run-program-prefix) to tst-mtrace.sh.
17660         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17661         to run tst-mtrace.
17662         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17663         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17664         $(rtld-installed-name).
17665         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17666         (rtld_installed_name): Likewise.
17667         (run_program_prefix): New variable.  Use it to run wordexp-test.
17669         * Makeconfig (ARCH): Remove all definitions.
17670         (machine): Likewise.
17671         [ARCH]: Remove conditional code.
17672         [!objdir]: Give error.
17673         [!objdir] (objpfx): Remove.
17674         [!objdir] (common-objpfx): Likewise.
17675         [!objdir] (common-objdir): Likewise.
17676         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17677         AC_CONFIG_FILES call.
17678         * configure: Regenerated.
17680         [BZ #13888]
17681         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17682         or TMPDIR.
17683         (testout): Likewise.
17685         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17686         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17687         $(rtld-installed-name).
17688         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17689         (rtld_installed_name): Likwise.
17690         (runit): Remove function.
17691         (run_getconf): New variable,  Use it for running getconf binary.
17693 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17695         [BZ #14716]
17696         * string/test-memmem.c (check_result): New function.
17697         (do_one_test): Use it.
17698         (check1): New function.
17699         (test_main): Use it.
17701 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17703         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17705 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17707         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17708         (_G_LSEEK64): Likewise.
17709         (_G_MMAP64): Likewise.
17710         (_G_FSTAT64): Likewise.
17711         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17712         (_G_LSEEK64): Likewise.
17713         (_G_MMAP64): Likewise.
17714         (_G_FSTAT64): Likewise.
17715         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17716         unconditional.  Call __mmap64 directly.
17717         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17718         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17719         __lseek64 directly.
17720         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17721         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17722         __mmap64 directly.
17723         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17724         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17725         __lseek64 directly.
17726         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17727         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17728         __lseek64 directly.
17729         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17730         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17731         __lseek64 directly.
17732         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17733         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17734         __fxstat64 directly.
17735         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17736         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17737         unconditional.
17738         (freopen64) [!_G_OPEN64]: Remove conditional code.
17739         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17740         unconditional.
17741         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17742         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17743         unconditional.
17744         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17745         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17746         unconditional.
17747         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17748         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17749         unconditional.
17750         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17751         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17752         unconditional.
17753         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17754         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17755         unconditional.
17756         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17757         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17758         unconditional.
17759         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17761 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17763         [BZ #12140]
17764         * manual/memory.texi (Malloc Tunable Parameters): Add note
17765         about free list pointers overwriting some perturb bytes.
17766         Wording suggested by Roland McGrath.
17768 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17770         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17771         (lgamma_test): Likewise.
17772         (tgamma_test): Likewise.
17774 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17776         [BZ #14700]
17777         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17778         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17780 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17782         * NEWS: Mention BZ #14716.
17783         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17784         when removing AVAILABLE1_USES_J macro.
17786 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17788         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17789         (__bswap_64): __uint64_t for unsigned 64-bit int.
17791 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17793         * include/string.h (memmem): Declare libc hidden alias.
17794         * string/memmem.c (memmem): Define libc hidden alias.
17795         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17796         __read, __close instead of open, read, close.
17798 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17801         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17802         global and hidden.
17803         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17804         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17805         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17806         Likewise.
17807         (__rawmemchr_sse2): Likewise.
17808         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17809         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17810         (__strchr_sse2): Likewise.
17811         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17812         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17813         (__strcasecmp_sse2): Likewise.
17814         (__strncasecmp_sse2): Likewise.
17815         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17816         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17817         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17818         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17819         (__strrchr_sse2): Likewise.
17820         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17821         ifunc-impl-list.c.
17822         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17823         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17824         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17825         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17826         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17827         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17828         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17830         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17831         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17832         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17833         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17834         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17835         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17836         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17837         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17838         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17839         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17840         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17841         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17842         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17843         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17844         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17845         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17846         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17847         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17848         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17849         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17850         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17851         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17853         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17854         global and hidden.
17855         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17856         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17857         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17858         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17859         Likewise.
17860         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17861         Likewise.
17862         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17863         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17864         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17865         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17866         ifunc-impl-list.c.
17867         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17868         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17869         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17870         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17871         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17872         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17873         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17874         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17875         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17876         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17877         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17879         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17880         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17881         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17882         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17883         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17884         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17885         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17886         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17887         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17888         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17889         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17890         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17891         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17892         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17893         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17894         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17895         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17896         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17897         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17898         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17899         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17900         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17901         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17902         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17903         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17905         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17906         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17907         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17909         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17910         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17911         * include/ifunc-impl-list.h: New file.
17912         * misc/ifunc-impl-list.c: Likewise.
17913         * misc/Makefile (routines): Add ifunc-impl-list.
17914         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17915         * string/test-string.h: Include <ifunc-impl-list.h>.
17916         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17917         impl_array): New variables.
17918         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17919         are defined.
17920         (test_init): Call __libc_ifunc_impl_list to initialize
17921         func_list if TEST_IFUNC and TEST_NAME are defined.
17923         * string/Makefile (strop-tests): Add bcopy and bzero.
17924         * string/test-bcopy.c: New file.
17925         * string/test-bzero.c: Likewise.
17926         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17927         defined.
17928         * string/test-memset.c: Support bzero test if TEST_BZERO is
17929         defined.
17930         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17931         __libc_memmove.
17932         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17933         __libc_memset.
17934         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17935         of memset.
17937 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17939         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17940         * configure: Regenerated.
17942         * Makeconfig (+link-static-before-libc): Don't include
17943         $(link-static-libc).
17945         * libio/libio.h (_IO_pos_t): Remove.
17947 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17949         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17950         McGrath.
17952 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17954         * crypt/crypt-entry.c: Include fips-private.h.
17955         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17956         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17957         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17958         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17960 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17962         * crypt/crypt-private.h: Include stdbool.h.
17963         (_ufc_setup_salt_r): Return bool.
17964         * crypt/crypt-entry.c: Include errno.h.
17965         (__crypt_r): Return NULL with EINVAL for bad salt.
17966         * crypt/crypt_util.c (bad_for_salt): New.
17967         (_ufc_setup_salt_r): Check that salt is long enough and within
17968         the specified alphabet.
17969         * crypt/badsalttest.c: New file.
17970         * crypt/Makefile (tests): Add it.
17971         ($(objpfx)badsalttest): New.
17973 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17975         * NEWS: Add entry for BZ #14602.
17977 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17979         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17980         type-generic.
17981         * math/libm-test.inc: Update comment listing what functions and
17982         macros are tested.
17983         (isgreater_test): New function.
17984         (isgreaterequal_test): Likewise.
17985         (isless_test): Likewise.
17986         (islessequal_test): Likewise.
17987         (islessgreater_test): Likewise.
17988         (isunordered_test): Likewise.
17989         (main): Call the new functions.
17991 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17993         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17994         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17995         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17996         * sysdeps/i386/configure: Regenerated.
17997         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17998         * sysdeps/mach/configure: Regenerated.
17999         * sysdeps/mach/hurd/configure: Regenerated.
18000         * sysdeps/powerpc/configure: Regenerated.
18001         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18002         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18003         * sysdeps/s390/s390-32/configure: Regenerated.
18004         * sysdeps/s390/s390-64/configure: Regenerated.
18005         * sysdeps/sh/configure: Regenerated.
18006         * sysdeps/sparc/configure: Regenerated.
18007         * sysdeps/unix/sysv/linux/configure: Regenerated.
18008         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18009         * sysdeps/x86_64/configure: Regenerated.
18011         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18012         defined.  Don't check if MAP is NULL.
18014 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18016         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18017         (_G_stat64): Likewise.
18018         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18019         (_G_stat64): Likewise.
18020         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18021         instead of struct _G_stat64.
18022         * libio/fileops.c (mmap_remap_check): Likewise.
18023         (decide_maybe_mmap): Likewise.
18024         (_IO_new_file_seekoff): Likewise.
18025         (_IO_file_stat): Likewise.
18026         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18027         _G_off64_t.
18028         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18029         instead of struct _G_stat64.
18030         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18032 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18034         [BZ #14602]
18035         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18036         Replace with ...
18037         (CHECK_EOL): New macro.
18038         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18039         CHECK_EOL.
18040         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18041         Replace with CHECK_EOL.
18042         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18043         Replace with CHECK_EOL.
18045 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18047         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18048         type-generic.
18049         * math/libm-test.inc: Update comment listing what functions and
18050         macros are tested.
18051         (finite_test): New function.
18052         (isinf_test): Likewise.
18053         (isnan_test): Likewise.
18054         (fpclassify_test): Test subnormal input.
18055         (isfinite_test): Likewise.
18056         (isnormal_test): Likewise.
18057         (main): Call the new functions.
18059 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18061         [BZ #14660]
18062         * Makerules (%.dynsym): Force C locale when running
18063         $(OBJDUMP) --dynamic-syms.
18065 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18067         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18068         <stdint.h>.
18070 2012-10-06  David S. Miller  <davem@davemloft.net>
18072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18073         upper 32-bits of the length value in %o2 since we use branch-on-register
18074         tests which consider the entire 64-bit register.
18076 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18078         * string/test-strstr.c (check2): Add a test for page boundary.
18080 2012-10-05  David S. Miller  <davem@davemloft.net>
18082         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18083         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18084         file.
18085         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18086         sysdep_routines.
18087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18088         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18089         and bzero when HWCAP_SPARC_CRYPTO is present.
18091 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18093         [BZ #14602]
18094         * string/test-strstr.c (check2): New function.
18095         (test_main): Call check2.
18097         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18098         and bug-strchr1.
18099         * string/bug-strcasestr1.c (do_test): Moved to ...
18100         * string/test-strcasestr.c (check1): Here.  New function.
18101         (do_one_test): Break out result checking code into ...
18102         (check_result): This.  New function.
18103         (do_one_test): Call check_result.
18104         (test_main): Call check1.
18105         * string/bug-strchr1.c (do_test): Moved to ...
18106         * string/test-strchr.c (check1): Here.  New function.
18107         (do_one_test): Break out result checking code into ...
18108         (check_result): This.  New function.
18109         (do_one_test): Call check_result.
18110         (test_main): Call check1.
18111         * string/bug-strstr1.c (main): Moved to ...
18112         * string/test-strstr.c (check1): Here.  New function.
18113         (do_one_test): Break out result checking code into ...
18114         (check_result): This.  New function.
18115         (do_one_test): Call check_result.
18116         (test_main): Call check1.
18117         * string/bug-strcasestr1.c: Removed.
18118         * string/bug-strchr1.c: Likewise.
18119         * string/bug-strstr1.c: Likewise.
18121         * elf/Makefile (dl-routines): Add hwcaps.
18122         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18123         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18124         (_dl_important_hwcaps): Moved to ...
18125         * elf/dl-hwcaps.c: Here.  New file.
18126         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18128         [BZ #14557]
18129         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18130         if IS_IN_rtld isn't defined.
18132         * elf/dl-support.c (_dl_sysinfo_map): New.
18133         Include "get-dynamic-info.h" and "setup-vdso.h".
18134         (_dl_non_dynamic_init): Call setup_vdso.
18135         * elf/dynamic-link.h: Don't include <assert.h>.
18136         (elf_get_dynamic_info): Moved to ...
18137         * elf/get-dynamic-info.h: Here.  New file.
18138         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18139         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18140         * elf/setup-vdso.h: Here.  New file.
18141         * elf/rtld.c: Include "setup-vdso.h".
18142         (dl_main): Call setup_vdso.
18144 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18146         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18147         creal in comment listing functions tested.  List finite, isinf,
18148         isnan, isless, islessequal, isgreater, isgreaterequal,
18149         islessgreater, isunordered, lgamma_r and pow10 as functions and
18150         macros not tested.  Mention which functions not tested are aliases
18151         for other functions.  Fix typo.  Note that signs of NaNs are not
18152         tested.
18154         * scripts/config.guess: Update from config.git.
18155         * scripts/config.sub: Likewise.
18157 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18159         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18160         * misc/madvise.c (madvise): Renamed to __madvise.
18161         Make madvise a weak alias.
18162         * include/sys/mman.h: Declare __madvise.
18163         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18164         * sysdeps/unix/syscalls.list
18165         (madvise): Make __madvise the strong name, and madvise a weak alias.
18166         * sysdeps/unix/sysv/linux/syscalls.list
18167         (madvise, mmap): Remove redundant entries.
18168         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18169         * malloc/malloc.c (mtrim): Likewise.
18170         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18172 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18174         * sysdeps/mach/hurd/dl-cache.c: File removed.
18175         * config.h.in (USE_LDCONFIG): New #undef.
18176         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18177         * configure: Regenerated.
18178         * elf/Makefile (dl-routines): Add dl-cache only under
18179         [$(use-ldconfig) = yes].
18180         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18181         cache on [USE_LDCONFIG].
18182         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18183         [USE_LDCONFIG].
18184         * elf/rtld.c (dl_main): Likewise.
18186 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18188         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18189         _SC_LEVEL4_CACHE_LINESIZE.
18191 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18193         * sysdeps/unix/bsd/confstr.h: File removed.
18195 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18197         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18198         sys/sdt-config.h.
18200 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18202         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18203         Make 'mapoff' field ElfW(Off) rather than off_t.
18205 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18207         * nscd/Makefile: Remove nscd-cflags and all its users.
18208         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18209         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18211         [BZ #10631]
18212         * malloc.c (malloc_printerr): Clarify error message.
18214 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18216         [BZ #14648]
18217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18218         Set bit_FMA_Usable if FMA is supported.
18219         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18220         macro.
18221         (bit_FMA4_Usable): Updated.
18222         (index_FMA_Usable): New macro.
18223         (CPUID_FMA): Likewise
18224         (HAS_FMA): Defined with bit_FMA_Usable.
18226 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18228         * bits/types.h (__swblk_t): Type removed.
18229         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18230         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18232         (__SWBLK_T_TYPE): Likewise.
18233         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18234         (__SWBLK_T_TYPE): Likewise.
18235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18236         (__SWBLK_T_TYPE): Likewise.
18237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18238         (__SWBLK_T_TYPE): Likewise.
18240 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18241             Honza Horak <hhorak@redhat.com>
18243         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18244         (xdr_mapname): Use YPMAXMAP as maxsize.
18245         (xdr_peername): Use YPMAXPEER as maxsize.
18246         (xdr_keydat): Use YPAXRECORD as maxsize.
18247         (xdr_valdat): Use YPMAXRECORD as maxsize.
18249 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18251         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18253         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18254         * csu/init-first.c: ... here.
18255         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18256         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18257         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18258         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18259         * sysdeps/i386/init-first.c: File removed.
18260         * sysdeps/sh/init-first.c: File removed.
18262 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18264         [BZ #14645]
18265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18266         if x * y might underflow to zero and z is zero.
18267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18268         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18269         * math/libm-test.inc (min_subnorm_value): New variable.
18270         (fma_test): Add more tests.
18271         (fma_test_towardzero): Likewise.
18272         (fma_test_downward): Likewise
18273         (fma_test_upward): Likewise.
18274         (initialize): Set min_subnorm_value.
18276 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18278         [BZ #14638]
18279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18280         0 + 0.
18281         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18282         mode for addition resulting in exact zero.
18283         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18285         exact 0 + 0.
18286         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18288         * math/libm-test.inc (fma_test): Add more tests.
18289         (fma_test_towardzero): New function.
18290         (fma_test_downward): Likewise.
18291         (fma_test_upward): Likewise.
18292         (main): Call the new functions.
18294 2012-09-28  David S. Miller  <davem@davemloft.net>
18296         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18298 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18300         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18301         instead of SIGALRM.
18303         * sysdeps/gnu/_G_config.h: Moved to ...
18304         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18305         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18306         * sysdeps/generic/_G_config.h: ... here.
18308         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18310         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18312         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18313         Conditionalize target on [libnss_test1.so-version].
18315         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18317         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18318         (elfobjdir): Move out of conditionals.
18320         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18321         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18322         (__nss_lookup_function): Conditionalize label remove_from_tree on
18323         [!DO_STATIC_NSS || SHARED], matching its only use.
18325 2012-09-28  David S. Miller  <davem@davemloft.net>
18327         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18328         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18329         file.
18330         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18331         sysdep_routines.
18332         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18334         when HWCAP_SPARC_CRYPTO is present.
18336 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18338         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18340 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18342         [BZ #6530]
18343         * stdio-common/vfprintf.c (process_string_arg): Revert
18344         2000-07-22 change.
18346 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18348         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18349         for testcase.
18350         * stdio-common/tst-sprintf.c: Include <locale.h>
18351         (main): Test sprintf's handling of incomplete multibyte
18352         characters.
18354 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18356         * elf/dl-runtime.c (VERSYMIDX): Removed.
18357         * elf/dl-version.c (VERSYMIDX): Likewise.
18358         * elf/do-rel.h (VERSYMIDX): Likewise.
18359         (VALIDX): Likewise.
18360         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18361         * elf/rtld.c (VALIDX): Likewise.
18362         (ADDRIDX): Likewise.
18363         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18364         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18365         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18366         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18367         (VALIDX): Likewise.
18368         (ADDRIDX): Likewise.
18370 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18372         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18374 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18376         [BZ #11438]
18377         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18378         to global scope.
18379         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18380         addresses are in the same scope as 192.0.2/24.
18381         * posix/gai.conf: Document new scope table defaults.
18383 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18385         [BZ #5298]
18386         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18387         for ftell.  Compute offsets from write pointers instead.
18388         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18390 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         [BZ #14543]
18393         * libio/Makefile (tests): New test case tst-fseek.
18394         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18395         combination works in wide mode.
18396         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18397         state when the external buffer state changes.
18399 2012-09-27  David S. Miller  <davem@davemloft.net>
18401         [BZ #14376]
18402         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18403         pass reloc->r_addend in as the 'high' argument to
18404         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18408 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18410         * rt/tst-aio2.c: Include <pthread.h>.
18411         * rt/tst-aio3.c: Likewise.
18413 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18415         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18417 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18419         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18420         contents on [SHARED].
18422 2012-09-26  Marek Polacek  <polacek@redhat.com>
18424         [BZ #14530]
18425         [BZ #13741]
18426         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18427         for C++ and GCC <4.3 as well as for non GCC compilers.
18429 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18433 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18435         * Makefile.in (all, install): Declare with .PHONY.
18436         Reported by Michael Hope <michael.hope@linaro.org>.
18438 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18440         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18441         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18442         system header.
18443         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18444         Likewise.
18445         (sydep_routines): Add the new and the internal functions.
18446         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18447         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18449         (GLIBC_2.17): Add the new function.
18450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18451         (GLIBC_2.17): Likewise.
18452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18453         (GLIBC_2.17): Likewise.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18455         (GLIBC_2.17): Likewise.
18456         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18458 2012-09-25  Alan Modra  <amodra@gmail.com>
18460         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18461         Add release barrier before setting once_control to say
18462         initialisation is done.  Add hints on lwarx.  Use macro in
18463         place of isync.
18464         (clear_once_control): Add release barrier.
18466 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18468         [BZ #13629]
18469         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18470         specially.
18471         * math/s_clog10.c (__clog10): Likewise.
18472         * math/s_clog10f.c (__clog10f): Likewise.
18473         * math/s_clog10l.c (__clog10l): Likewise.
18474         * math/s_clogf.c (__clogf): Likewise.
18475         * math/s_clogl.c (__clogl): Likewise.
18476         * math/Makefile (libm-calls): Add x2y2m1.
18477         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18478         (__x2y2m1): Likewise.
18479         (__x2y2m1l): Likewise.
18480         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18481         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18482         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18483         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18484         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18485         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18486         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18487         * sysdeps/i386/fpu/libm-test-ulps: Update.
18488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18490         [BZ #14621]
18491         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18492         int as type of variable DEPTH.
18493         (glob): Use size_t instead of int as type of variables NEWCOUNT
18494         and OLD_PATHC.
18496 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18498         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18499         Add s_sincosf-sse2.
18500         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18501         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18502         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18503         macros for using routine as __sincosf_ia32.
18504         Use macro for function declaration and weak_alias.
18505         * sysdeps/i386/fpu/libm-test-ulps: Update.
18507         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18510         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18511         subnormal argument.
18512         * math/s_cexpf.c (__cexpf): Likewise.
18513         * math/s_csinf.c (__csinf): Likewise.
18514         * math/s_csinhf.c (__csinhf): Likewise.
18515         * math/s_ctanf.c (__ctanf): Likewise.
18516         * math/s_ctanhf.c (__ctanhf): Likewise.
18517         * math/s_ccosh.c (__ccoshf): Likewise.
18518         * math/s_cexp.c (__cexpl): Likewise.
18519         * math/s_csin.c (__csin): Likewise.
18520         * math/s_csinh.c (__csinh): Likewise.
18521         * math/s_ctan.c (__ctan): Likewise.
18522         * math/s_ctanh.c (ctanh): Likewise.
18523         * math/s_ccoshl.c (__ccoshl): Likewise.
18524         * math/s_cexpl.c (__cexpl): Likewise.
18525         * math/s_csinl.c (__csinl): Likewise.
18526         * math/s_csinhl.c (__csinhl): Likewise.
18527         * math/s_ctanl.c (__ctanl): Likewise.
18528         * math/s_ctanhl.c (__ctanhl): Likewise.
18530 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18532         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18533         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18534         (_IO_off_t): Define to __off_t, not _G_off_t.
18535         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18536         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18537         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18538         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18539         type of __dummy and __dummy2 fields.
18540         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18541         (_G_ssize_t): Likewise.
18542         (_G_off_t): Likewise.
18543         (_G_pid_t): Likewise.
18544         (_G_uid_t): Likewise.
18545         (_G_wchar_t): Likewise.
18546         (_G_wint_t): Likewise.
18547         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18548         (_G_ssize_t): Likewise.
18549         (_G_off_t): Likewise.
18550         (_G_pid_t): Likewise.
18551         (_G_uid_t): Likewise.
18552         (_G_wchar_t): Likewise.
18553         (_G_wint_t): Likewise.
18554         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18555         (_G_ssize_t): Likewise.
18556         (_G_off_t): Likewise.
18557         (_G_pid_t): Likewise.
18558         (_G_uid_t): Likewise.
18559         (_G_wchar_t): Likewise.
18560         (_G_wint_t): Likewise.
18562 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18564         * malloc/arena.c: Include malloc-sysdep.h.
18565         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18566         is sufficient to shrink the heap or an unmap is needed.
18567         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18568         new function check_may_shrink_heap.
18569         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18570         new function check_may_shrink_heap.
18572 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18574         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18575         comments.
18577 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18579         * catgets/test-gencat.sh: Add "set -e".
18580         * elf/tst-pathopt.sh: Likewise.
18581         * grp/tst_fgetgrent.sh: Likewise.
18582         * iconvdata/run-iconv-test.sh: Likewise.
18583         * intl/tst-gettext.sh: Likewise.
18584         * intl/tst-gettext2.sh: Likewise.
18585         * intl/tst-gettext4.sh: Likewise.
18586         * intl/tst-gettext6.sh: Likewise.
18587         * intl/tst-translit.sh: Likewise.
18588         * io/ftwtest-sh: Likewise.
18589         * libio/test-freopen.sh: Likewise.
18590         * malloc/tst-mtrace.sh: Likewise.
18591         * posix/globtest.sh: Likewise.
18592         * posix/tst-getconf.sh: Likewise.
18593         * posix/wordexp-tst.sh: Likewise.
18594         * stdio-common/tst-printf.sh: Likewise.
18595         * stdio-common/tst-unbputc.sh: Likewise.
18596         * stdlib/tst-fmtmsg.sh: Likewise.
18597         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18598         * catgets/Makefile: Do not specify -e option when running
18599         testsuite shell scripts.
18600         * elf/Makefile: Likewise.
18601         * grp/Makefile: Likewise.
18602         * iconvdata/Makefile: Likewise.
18603         * intl/Makefile: Likewise.
18604         * io/Makefile: Likewise.
18605         * libio/Makefile: Likewise.
18606         * malloc/Makefile: Likewise.
18607         * posix/Makefile: Likewise.
18608         * stdio-common/Makefile: Likewise.
18609         * stdlib/Makefile: Likewise.
18610         * sysdeps/x86_64/Makefile: Likewise.
18612         * io/ftwtest-sh: Add copyright header.
18613         * posix/globtest.sh: Likewise.
18614         * posix/tst-getconf.sh: Likewise.
18615         * posix/wordexp-tst.sh: Likewise.
18616         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18618 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18620         [BZ #13679]
18621         * Makeconfig (+link): Defined as $(+link-static) if
18622         $(build-shared) isn't yes.
18623         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18624         isn't yes.
18625         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18627         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18629         [BZ #14562]
18630         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18631         new chunk size with MALLOC_ALIGN_MASK.
18633 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18635         [BZ #5044]
18636         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18637         <rounding-mode.h>.
18638         (__printf_fphex): Determine rounding using get_rounding_mode and
18639         round_away.
18640         * stdio-common/tst-printf-round.c (struct hex_test): New
18641         structure.
18642         (hex_tests): New variable.
18643         (test_hex_in_one_mode): New function.
18644         (do_test): Also run tests for hex float output.
18646 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18648         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18649         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18650         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18651         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18652         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18653         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18654         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18655         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18657 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18659         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18660         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18661         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18662         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18664 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18666         [BZ #14579]
18667         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18668         mode only.
18669         * elf/tst-rtld-load-self.sh: New test.
18670         * elf/Makefile: Run it.
18672 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18674         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18675         (tst-writev-ENV): Remove.
18676         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18678 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18680         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18682 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18684         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18685         unconditional.
18686         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18687         Likewise.
18688         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18689         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18690         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18691         Likewise.
18693 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18695         [BZ #14587]
18696         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18697         * config.make.in (have-cpp-asm-debuginfo): Removed.
18698         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18699         * configure: Regenerated.
18701 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #5044]
18704         * stdio-common/printf_fp.c: Include <stdbool.h> and
18705         <rounding-mode.h>.
18706         (___printf_fp): Determine rounding using get_rounding_mode and
18707         round_away.
18708         * stdio-common/tst-printf-round.c: New file.
18709         * stdio-common/Makefile (tests): Add tst-printf-round.
18710         (link-libm): New variable.
18711         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18713 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18715         [BZ #14576]
18716         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18717         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18718         Likewise.
18719         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18720         Likewise.
18722 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18724         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18725         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18726         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18727         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18729 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18731         [BZ #14518]
18732         * include/rounding-mode.h: New file.
18733         * sysdeps/generic/get-rounding-mode.h: Likewise.
18734         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18735         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18736         (MAX_VALUE): New macro.
18737         (MIN_VALUE): Likewise.
18738         (overflow_value): New function.
18739         (underflow_value): Likewise.
18740         (round_and_return): Use overflow_value and underflow_value to
18741         determine return values in overflow and underflow cases.  Use
18742         round_away to determine rounding depending on rounding mode.
18743         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18744         determine return values in overflow and underflow cases.
18745         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18746         (struct test_results): New structure.
18747         (struct test): Use struct test_results to store expected results
18748         for all rounding modes.
18749         (TEST): Include expected results for all rounding modes.
18750         (test_in_one_mode): New function.
18751         (do_test): Use test_in_one_mode to compute and check results.
18752         Check results for all rounding modes.
18753         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18754         $(link-libm).
18756 2012-12-09  Allan McRae  <allan@archlinux.org>
18758         * sysdeps/i386/fpu/libm-test-ulps: Update
18760 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18762         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18763         (_G_int32_t): Likewise.
18764         (_G_uint16_t): Likewise.
18765         (_G_uint32_t): Likewise.
18766         (_G_HAVE_BOOL): Likewise.
18767         (_G_HAVE_ATEXIT): Likewise.
18768         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18769         (_G_HAVE_IO_FILE_OPEN): Likewise.
18770         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18771         (_G_int32_t): Likewise.
18772         (_G_uint16_t): Likewise.
18773         (_G_uint32_t): Likewise.
18774         (_G_HAVE_BOOL): Likewise.
18775         (_G_HAVE_ATEXIT): Likewise.
18776         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18777         (_G_HAVE_IO_FILE_OPEN): Likewise.
18778         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18779         (_G_int32_t): Likewise.
18780         (_G_uint16_t): Likewise.
18781         (_G_uint32_t): Likewise.
18782         (_G_HAVE_BOOL): Likewise.
18783         (_G_HAVE_ATEXIT): Likewise.
18784         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18785         (_G_HAVE_IO_FILE_OPEN): Likewise.
18787 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18789         * csu/libc-tls.c: Update copyright years.
18791 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18793         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18794         [!_G_USING_THUNKS]: Remove conditional code.
18795         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18796         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18798         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18799         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18800         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18801         (_G_VTABLE_LABEL_PREFIX): Likewise.
18802         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18803         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18804         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18805         (_G_VTABLE_LABEL_PREFIX): Likewise.
18806         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18807         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18808         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18809         (_G_VTABLE_LABEL_PREFIX): Likewise.
18810         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18812 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18814         * libio/Makefile: Include ../Makeconfig before tests.
18815         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18816         only if $(build-shared) is yes.
18818         * iconv/gconv_db.c: Update copyright years.
18820 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18822         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18823         unwind info if defined PIC. Fix special cases description.
18824         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18826         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18827         DP_HI_MASK entry.
18828         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18830 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18832         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18834         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18835         is NULL.
18837         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18838         (LDLIBS-tst-chk4): This.
18839         (LDFLAGS-tst-chk5): Renamed to ...
18840         (LDLIBS-tst-chk5): This.
18841         (LDFLAGS-tst-chk6): Renamed to ...
18842         (LDLIBS-tst-chk6): This.
18843         (LDFLAGS-tst-lfschk4): Renamed to ...
18844         (LDLIBS-tst-lfschk4): This.
18845         (LDFLAGS-tst-lfschk5): Renamed to ...
18846         (LDLIBS-tst-lfschk5): This.
18847         (LDFLAGS-tst-lfschk6): Renamed to ...
18848         (LDLIBS-tst-lfschk6): This.
18850         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18851         on $(common-objpfx)soversions.mk.
18853 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18855         [BZ #10014]
18856         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18857         example host name.
18859 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18861         * malloc/arena.c (arena_get_retry): New function that gets
18862         another arena for the caller to try its request on.
18863         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18864         current arena cannot fulfill the request.
18865         (__libc_memalign): Likewise.
18866         (__libc_memalign): Likewise.
18867         (__libc_pvalloc): Likewise.
18868         (__libc_calloc): Likewise.
18870 2012-09-05  John Tobey  <john.tobey@gmail.com>
18872         [BZ #13542]
18873         * manual/arith.texi (Operations on Complex): Fix description
18874         of carg branch cut.
18876 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18878         [BZ #10014]
18879         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18880         host name.
18882         [BZ #10038]
18883         * manual/memory.texi (Memory): Make order of menu items match
18884         order of sections.
18886 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18888         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18889         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18890         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18892 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18894         * csu/libc-tls.c (static_dtv): Renamed to ...
18895         (_dl_static_dtv): This.  Make it global.
18896         (_dl_initial_dtv): Removed.
18897         (__libc_setup_tls): Updated.
18898         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18899         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18900         DL_INITIAL_DTV.
18902 2012-09-06  Petr Machata  <pmachata@redhat.com>
18904         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18905         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18906         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18907         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18909 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18911         [BZ #14545]
18912         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18913         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18914         freeing dtv[-1].
18916 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18918         [BZ #14544]
18919         * Makeconfig (link-static-before-libc): Replace $(+prector)
18920         with $(+prectorT).
18921         (link-static-after-libc): Replace $(+postctor) with
18922         $(+postctorT).
18923         (link-bounded): Replace $(+prector)/$(+postctor) with
18924         $(+prectorT)/$(+postctorT).
18925         (+prectorT): New macro.
18926         (+postctorT): Likewise.
18928 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18930         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18931         (round_str): Handle values above the maximum for IBM long double
18932         as inexact.
18933         * stdlib/tst-strtod-round.c (tests): Regenerated.
18935 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18937         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18938         assembler flag.
18939         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18940         zarch_nohighgprs around the zarch optimized routines.
18941         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18942         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18943         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18944         for zarch.
18946 2012-09-05  David S. Miller  <davem@davemloft.net>
18948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18950         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18951         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18952         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18953         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18954         entries.
18956 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18958         * malloc/arena.c: Fold copyright years.
18959         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18961 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18963         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18965 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18967         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18969 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18971         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18972         change internal state upon failure.
18974 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18976         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18977         * malloc/memusage.c (mmap): Likewise.
18978         (mmap64, mremap): Likewise.  Adjust name in comment.
18980 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18982         * libio/fileops.c: Fix typos in comments.
18983         * libio/oldfileops.c: Likewise.
18984         * libio/wfileops.c: Likewise.
18986 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18988         [BZ #1349]
18989         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18990         (tst-malloc-usable-ENV): Set environment for test case.
18991         * malloc/hooks.c (malloc_check_get_size): New function to get
18992         requested size.
18993         * malloc/malloc.c (musable): Use malloc_check_get_size.
18994         * malloc/tst-malloc-usable.c: New test case.
18996 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18998         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19000 2012-09-05  Allan McRae  <allan@archlinux.org>
19002         [BZ #13966]
19003         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19004         determine header location.
19005         * configure: Regenerated.
19007 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19009         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19010         float format.
19011         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19012         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19013         format.
19014         (test): Regenerate.
19016 2012-09-04  David S. Miller  <davem@davemloft.net>
19018         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19019         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19020         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19022 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19024         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19025         failures.
19027         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19029 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19031         [BZ #9914]
19032         * libio/iogetdelim.c: Include <limits.h>.
19033         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19034         + len + 1 would overflow.
19036 2012-09-03  Andreas Jaeger  <aj@suse.de>
19038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19039         * sysdeps/i386/fpu/libm-test-ulps: Update.
19041 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19043         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19044         Add s_sinf-sse2, s_conf-sse2.
19046         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19047         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19048         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19049         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19051         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19052         for using routine as __sinf_ia32.
19053         Use macro for function declaration and weak_alias.
19054         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19055         for using routine as __cosf_ia32.
19056         Use macro for function declaration and weak_alias.
19058         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19059         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19061         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19062         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19065         * math/libm-test.inc (cos_test): Add more test cases.
19066         (sin_test): Likewise.
19067         (sincos_test): Likewise.
19069 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19071         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19072         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19073         hidden.
19074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19076 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19078         [BZ #14538]
19079         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19080         first element of the GOT.
19081         (elf_machine_load_address): Return the difference between
19082         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19084 2012-09-01  Allan McRae  <allan@archlinux.org>
19086         [BZ #13412]
19087         * configure.in (AWK): Require gawk version 3.0 or later.
19088         * configure: Regenerated.
19090 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19092         * sysdeps/unix/sysv/linux/kernel-features.h
19093         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19094         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19095         [__NR_clock_getres]: Make code unconditional.
19096         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19097         (clock_getcpuclockid): Remove code left unreachable by removal of
19098         conditionals.
19099         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19100         code unconditional.
19101         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19102         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19103         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19104         Make code unconditional.
19105         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19106         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19107         * sysdeps/unix/sysv/linux/clock_settime.c
19108         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19109         conditional code.
19110         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19111         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19113 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19115         [BZ #14476]
19116         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19117         scripts/test-installation.pl.
19119         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19120         and $ld_so_version if it is set.
19122 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19124         [BZ #14516]
19125         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19126         failure if reading from procfs failed.
19127         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19129 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19131         * sysdeps/unix/sysv/linux/kernel-features.h
19132         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19133         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19134         Remove conditional code.
19135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19136         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19137         Remove conditional code.
19138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19139         * sysdeps/unix/sysv/linux/i386/fxstat.c
19140         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19142         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19143         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19145         * sysdeps/unix/sysv/linux/i386/lxstat.c
19146         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19148         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19149         Remove conditional code.
19150         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19151         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19152         Remove conditional code.
19153         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19154         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19155         <kernel-features.h>.
19156         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19157         Remove.
19158         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19159         Remove conditional code.
19160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19161         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19162         Remove conditional.
19164 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19166         [BZ #5400]
19167         * NEWS: Add fixed bug number.
19169 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19171         [BZ #14519]
19172         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19173         underflowing exponent in case of negative sign.
19174         * stdlib/tst-strtod-round-data: Add more tests.
19175         * stdlib/tst-strtod-round.c (tests): Regenerated.
19177         [BZ #3479]
19178         * stdlib/strtod_l.c (NDIG): Remove.
19179         (HEXNDIG): Likewise.
19180         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19181         smallest representable value.
19182         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19183         lie within an exact representation of 1/2 ulp of the result.
19184         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19185         unconditionally.
19186         (TENS_P9_IDX): Define unconditionally.
19187         (TENS_P9_SIZE): Likewise.
19188         (TENS_P10_IDX): Likewise.
19189         (TENS_P10_SIZE): Likewise.
19190         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19191         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19192         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19193         entries for 10^2^13 and 10^2^14.
19194         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19195         (TENS_P13_IDX): Define.
19196         (TENS_P13_SIZE): Likewise.
19197         (TENS_P14_IDX): Likewise.
19198         (TENS_P14_SIZE): Likewise.
19199         (_fpioconst_pow10): Change array size to
19200         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19201         unconditional.
19202         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19203         1024]: Add entries for 10^2^13 and 10^2^14.
19204         [LAST_POW10 > _LAST_POW10]: Remove #error.
19205         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19206         (_fpioconst_pow10): Change array size to
19207         FPIOCONST_POW10_ARRAY_SIZE.
19208         * stdlib/gen-fpioconst.c: New file.
19209         * stdlib/gen-tst-strtod-round.c: Likewise.
19210         * stdlib/tst-strtod-round-data: Likewise.
19211         * stdlib/tst-strtod-round.c: Likewise.
19212         * stdlib/Makefile (tests): Add tst-strtod-round.
19214         [BZ #14459]
19215         * stdlib/strtod_l.c: Include <stdint.h>.
19216         (NDEBUG): Do not define.
19217         (round_and_return): Change EXPONENT parameter to type intmax_t.
19218         Rearrange calculations to avoid internal overflow possibilities.
19219         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19220         Rearrange calculations to avoid internal overflow possibilities.
19221         Assert that number fits inside MPNSIZE limbs.
19222         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19223         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19224         calculations and add assertions to avoid internal overflow
19225         possibilities.  Add casts to avoid signed/unsigned operations.
19226         * stdlib/tst-strtod-overflow.c: New file.
19227         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19229 2012-08-25  Marek Polacek  <polacek@redhat.com>
19231         * time/time.h: Fix some typos in comments.
19233 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19235         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19236         * posix/tst-rfc3484-2.c: Likewise.
19237         * posix/tst-rfc3484-3.c: Likewise.
19239 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19241         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19242         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19244 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19246         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19247         #include of fxstatat64.c.
19249 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19251         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19252         * shadow/getspent_r.c: Likewise.
19253         * shadow/getspnam.c: Likewise.
19254         * shadow/getspnam_r.c: Likewise.
19255         * gshadow/getsgent.c: Likewise.
19256         * gshadow/getsgent_r.c: Likewise.
19257         * gshadow/getsgnam.c: Likewise.
19258         * gshadow/getsgnam_r.c: Likewise.
19259         * inet/getnetbyad.c: Likewise.
19260         * inet/getnetbyad_r.c: Likewise.
19261         * inet/getnetbynm.c: Likewise.
19262         * inet/getnetbynm_r.c: Likewise.
19263         * inet/getnetent.c: Likewise.
19264         * inet/getnetent_r.c: Likewise.
19265         * inet/getproto.c: Likewise.
19266         * inet/getproto_r.c: Likewise.
19267         * inet/getprtent.c: Likewise.
19268         * inet/getprtent_r.c: Likewise.
19269         * inet/getprtname.c: Likewise.
19270         * inet/getprtname_r.c: Likewise.
19271         * inet/getrpcbyname.c: Likewise.
19272         * inet/getrpcbyname_r.c: Likewise.
19273         * inet/getrpcbynumber.c: Likewise.
19274         * inet/getrpcbynumber_r.c: Likewise.
19275         * inet/getrpcent.c: Likewise.
19276         * inet/getrpcent_r.c: Likewise.
19277         * inet/getaliasent.c: Likewise.
19278         * inet/getaliasent_r.c: Likewise.
19279         * inet/getaliasname.c: Likewise.
19280         * inet/getaliasname_r.c: Likewise.
19281         * nscd/getgrgid_r.c: Likewise.
19282         * nscd/getgrnam_r.c: Likewise.
19283         * nscd/gethstbyad_r.c: Likewise.
19284         * nscd/gethstbynm3_r.c: Likewise.
19285         * nscd/getpwnam_r.c: Likewise.
19286         * nscd/getpwuid_r.c: Likewise.
19287         * nscd/getsrvbynm_r.c: Likewise.
19288         * nscd/getsrvbypt_r.c: Likewise.
19289         * nscd/gai.c: Likewise.
19291         * configure.in (build_nscd): New substituted variable, set
19292         by --disable-build-nscd and defaults to $use_nscd.
19293         * configure: Regenerated.
19294         * config.make.in (build-nscd): New substituted variable.
19295         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19296         Change conditional to require [$(build-nscd) = yes] as well.
19297         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19299         [BZ# 13696]
19300         * configure.in (use_nscd): New substituted variable, set by
19301         --disable-nscd.  If enabled, define USE_NSCD.
19302         * configure: Regenerated.
19303         * config.h.in: Add USE_NSCD.
19304         * config.make.in (use-nscd): New substituted variable.
19305         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19306         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19307         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19308         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19309         (CFLAGS-getgrnam_r.c): Likewise.
19310         (CFLAGS-initgroups.c): Likewise.
19311         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19312         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19313         Variables removed.
19314         * inet/getnetgrent_r.c
19315         (nscd_setnetgrent): New function, broken out of ...
19316         (setnetgrent): ... here.  Call it.
19317         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19318         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19319         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19320         * nscd/Makefile (routines, aux): Move definitions after include of
19321         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19322         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19323         Conditionalize on [USE_NSCD].
19324         (is_nscd, nscd_init_cb): Likewise.
19325         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19326         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19327         * nss/nss_db/db-init.c: Likewise.
19328         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19329         [USE_NSCD].
19330         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19331         (make_request): Use it.
19332         (cache_valid_p): New function.
19333         (__check_pf): Use it.
19334         * NEWS: Add item for --disable-nscd.
19336 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19338         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19339         to support sed >= 4.2.1-20-ga9bf076.
19340         * configure: Regenerated.
19342 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19344         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19345         Conditionalize whole body on [IREL].
19347 2012-08-22  Jeff Law <law@redhat.com>
19349         [BZ #14505]
19350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19351         if the family is PF_UNSPEC.
19353 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19355         * Makerules (lib-version): Rename from V.
19356         (install-lib-nosubdir): Change V to lib-version.
19358 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19360         [BZ #14252]
19361         * powerpc32/power6/wcschr.c: New file.
19362         * powerpc32/power6/wcscpy.c: New file.
19363         * powerpc32/power6/wcsrchr.c: New file.
19364         * powerpc64/power6/wcschr.c: New file.
19365         * powerpc64/power6/wcscpy.c: New file.
19366         * powerpc64/power6/wcsrchr.c: New file.
19368 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19370         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19371         (two_way_short_needle): Use it.
19372         * string/strstr.c (AVAILABLE1_USES_J): Define.
19373         * string/strcasestr.c: Likewise.
19375         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19376         array references.
19377         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19379         [BZ #11607]
19380         * NEWS: Add an entry.
19381         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19382         define their defaults.
19383         (two_way_short_needle): Detect end-of-string on-the-fly.
19384         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19385         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19386         * string/bug-strcasestr1.c: New test.
19387         * string/Makefile: Run it.
19389 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19391         [BZ #11607]
19392         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19393         the first character.
19395 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19397         * csu/elf-init.c (__libc_csu_irel): Function removed.
19398         * csu/libc-start.c (apply_irel): New function.
19399         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19401 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19403         * sysdeps/unix/sysv/linux/kernel-features.h
19404         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19405         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19406         <kernel-features.h>.
19407         [__NR_fadvise64_64]: Make code unconditional.
19408         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19409         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19410         !__NR_fadvise64_64)]: Likewise.
19411         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19412         !__NR_fadvise64_64))]: Likewise.
19413         [__NR_fadvise64]: Make code unconditional.
19414         [!__NR_fadvise64]: Remove conditional code.
19415         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19416         <kernel-features.h>.
19417         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19418         unconditional.
19419         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19420         conditional code.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19422         not include <kernel-features.h>.
19423         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19424         unconditional.
19425         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19426         conditional code.
19427         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19428         include <kernel-features.h>.
19429         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19430         unconditional.
19431         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19432         conditional code.
19434 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19436         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19437         slight instruction rearrangements per scrollpipe analysis.
19438         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19440 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19442         * manual/syslog.texi (syslog; vsyslog, closelog):
19443         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19444         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19446         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19447         DSOCAPS to match condition on defining it.
19449 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19451         * sysdeps/unix/sysv/linux/kernel-features.h
19452         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19454         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19455         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19457         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19458         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19460         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19461         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19463         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19464         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19466         * sysdeps/unix/sysv/linux/kernel-features.h
19467         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19468         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19469         unconditional.
19470         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19471         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19472         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19473         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19474         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19475         Make code unconditional.
19476         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19477         (__mmap64) [!__NR_mmap2]: Likewise.
19478         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19479         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19480         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19481         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19482         [__NR_mmap2]: Make code unconditional.
19483         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19484         (__mmap64) [!__NR_mmap2]: Likewise.
19486 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19488         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19490 2012-08-18  Andreas Jaeger  <aj@suse.de>
19492         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19494 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19496         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19497         * include/unistd.h (__have_sock_cloexec): Likewise.
19498         (__have_pipe2): Likewise.
19499         (__have_dup3): Likewise.
19501 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19503         [BZ #9685]
19504         * include/unistd.h (__have_pipe2): Change define into an extern int.
19505         (__have_dup3): Likewise.
19506         * socket/have_sock_cloexec.c: Include fcntl.h.
19507         (__have_pipe2): New variable.
19508         (__have_dup3): Likewise.
19510 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19512         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19514 2012-08-17  Marek Polacek  <polacek@redhat.com>
19516         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19517         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19519 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19521         * configure.in: Add AC_SUBST for sysheaders.
19522         * configure: Regenerated.
19523         * config.make.in (sysheaders): New substituted variable.
19525         * sysdeps/unix/mkfifo.c: Moved ...
19526         * sysdeps/posix/mkfifo.c: ... here.
19527         * sysdeps/unix/mkfifoat.c: Moved ...
19528         * sysdeps/posix/mkfifoat.c: ... here.
19530         * sysdeps/unix/utime.c: Moved ...
19531         * sysdeps/posix/utime.c: ... here.
19533         * sysdeps/unix/time.c: Moved ...
19534         * sysdeps/posix/time.c: ... here.
19535         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19536         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19538         * sysdeps/unix/nice.c: Moved ...
19539         * sysdeps/posix/nice.c: ... here.
19541         * sysdeps/unix/alarm.c: Moved ...
19542         * sysdeps/posix/alarm.c: ... here.
19544         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19546 2012-08-17  Jeff Law <law@redhat.com>
19548         * intl/Makefile (codeset_mo): New variable.
19549         ($(codeset_mo)): New target.
19550         (tst-codeset.out): Depend on that.  Remove explicit rule.
19551         (tst-gettext3.out, tst-gettext5.out): Likewise.
19552         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19553         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19554         * intl/tst-codeset.sh: Remove.
19555         * intl/tst-gettext3.sh: Likewise.
19556         * intl/tst-gettext5.sh: Likewise.
19558 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19560         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19561         * sysdeps/unix/syscalls.list: ... here.
19563         * sysdeps/posix/getaddrinfo.c
19564         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19565         (gaiconf_init, gaiconf_reload): Use them.
19566         [!_STATBUF_ST_NSEC]
19567         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19568         Define using time_t rather than struct timespec.
19570         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19571         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19572         Macros removed.
19573         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19574         [!NO_THREADS].
19575         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19576         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19577         Likewise.
19579         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19580         __libc_cleanup_push argument.
19582         * bits/param.h: New file.
19583         * misc/sys/param.h: New file.
19584         * include/sys/param.h: New file.
19585         * misc/Makefile (headers): Add bits/param.h.
19586         * sysdeps/generic/sys/param.h: File removed.
19587         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19588         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19589         * sysdeps/mach/hurd/bits/param.h: New file.
19590         * sysdeps/mach/hurd/sys/param.h: File removed.
19592         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19593         last change.
19595         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19596         [_IO_MTSAFE_IO].
19597         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19598         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19599         New macros.
19601         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19602         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19603         rather than -D_IO_MTSAFE_IO conditionally.
19604         * stdio-common/Makefile (CPPFLAGS): Likewise.
19605         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19606         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19607         Use $(libio-mtsafe).
19608         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19609         of -D_IO_MTSAFE_IO.
19610         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19611         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19612         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19613         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19614         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19615         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19616         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19617         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19618         (CFLAGS-fread_u_chk.c): Likewise.
19619         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19620         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19621         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19622         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19623         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19624         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19625         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19626         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19627         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19629         * libio/Makefile: Test [$(libc-reentrant) = yes]
19630         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19632         * Makeconfig
19633         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19634         * sysdeps/pthread/configure: File removed.
19635         * sysdeps/pthread/Makeconfig: New file.
19636         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19637         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19639 2012-08-16  Gary Benson  <gbenson@redhat.com>
19641         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19642         unmapping the first object in a namespace.
19644 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19646         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19647         (__internal_setnetgrent): ... this.  Add internal_function to
19648         definition.  Add libc_hidden_def.
19649         (setnetgrent): Update caller.
19650         (internal_endnetgrent): Renamed to ...
19651         (__internal_endnetgrent): ... this.  Add internal_function to
19652         definition.  Add libc_hidden_def.
19653         (endnetgrent): Update caller.
19654         (internal_getnetgrent_r): Renamed to ...
19655         (__internal_getnetgrent_r): ... this.  Add internal_function to
19656         definition.  Add libc_hidden_def.
19657         (__getnetgrent_r): Update caller.
19658         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19660 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19662         * stdlib/longlong.h: Update from GCC.
19664 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19666         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19667         on _QL, which is set by umul_ppmm but never used.
19668         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19669         variables, which are set by GMP macros but never used.
19670         * stdio-common/_itowa.c (_itowa): Likewise.
19671         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19672         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19674 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19676         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19677         struct La_sh_regs is not constant.
19678         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19679         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19680         and struct La_sparc64_regs are not constant.
19682 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19684         * sysdeps/unix/sysv/linux/kernel-features.h
19685         (__ASSUME_POSIX_TIMERS): Remove.
19686         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19687         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19688         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19689         Make code unconditional.
19690         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19691         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19692         Make code unconditional.
19693         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19694         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19695         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19696         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19697         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19698         Make code unconditional.
19699         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19700         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19701         (__libc_missing_posix_timers): Remove.
19703 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19705         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19706         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19708         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19710         * elf/dl-sym.c: Include <stdlib.h>.
19712         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19713         constants, which avoids warnings in 32-bit builds.
19715         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19716         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19718         * misc/lseek.c: File moved to ...
19719         * io/lseek.c: ... here.
19721         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19723         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19724         shifting LEN more than 31 bits at once.
19726 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19728         [BZ #14195]
19729         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19730         segmentation fault for a case of two empty input strings.
19731         * string/test-strncasecmp.c (check1): Renamed to...
19732         (bz12205): ...this.
19733         (bz14195): Add new testcase for two empty input strings and N > 0.
19734         (test_main): Call new testcase, adapt for renamed function.
19736 2012-08-15  Andreas Jaeger  <aj@suse.de>
19738         [BZ #14090]
19739         * crypt/md5test2.c: New test, based on test supplied by Serge
19740         Belyshev <belyshev@depni.sinp.msu.ru>.
19741         * crypt/Makefile (xtests): Add md5test-giant..
19742         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19744 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19746         [BZ #14090]
19747         * crypt/md5.c (md5_process_block): Don't assume the buffer
19748         length is less than 2**32.
19749         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19750         length is less than 2**64.
19752 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19754         * string/str-two-way.h: Include <sys/param.h>.
19755         (MAX): Macro removed.
19757         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19758         Move #define and #undef of memmove to just before and after
19759         including <string.h>.
19761         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19762         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19763         and after including <string.h>.  Move declarations of
19764         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19765         to before #include "string/memmove.c".
19767         * include/dirent.h: Declare __getdirentries.
19769         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19770         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19772 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19774         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19775         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19776         * sysdeps/i386/configure: Regenerated.
19777         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19778         STABS_CURRENT_FILE, and STABS_FUN.
19779         (END): Remove call to STABS_FUN_END.
19780         (STABS_CURRENT_FILE1): Delete.
19781         (STABS_CURRENT_FILE): Likewise.
19782         (STABS_FUN): Likewise.
19783         (STABS_FUN_END): Likewise.
19784         (STABS_FUN2): Likewise.
19785         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19786         * sysdeps/x86_64/configure: Regenerated.
19788 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19790         * elf/dl-open.c: Include <atomic.h>.
19791         * elf/dl-lookup.c: Likewise.
19793 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19795         * sysdeps/unix/sysv/linux/kernel-features.h
19796         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19797         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19798         unconditionally.
19799         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19800         unconditionally.
19801         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19802         condition on __ASSUME_CLONE_THREAD_FLAGS.
19804 2012-08-14  Andreas Jaeger  <aj@suse.de>
19806         * sysdeps/i386/fpu/libm-test-ulps: Update.
19808 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19810         * include/atomic.h (atomic_exchange_and_add): Split into ...
19811         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19812         New atomic macros.
19814 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19818 2012-08-13  Jeff Law <law@redhat.com>
19820         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19821         null byte in the output string.
19823 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19825         * sysdeps/unix/sysv/linux/kernel-features.h
19826         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19827         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19828         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19829         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19830         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19831         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19832         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19834 2012-08-09  Jeff Law <law@redhat.com>
19836         [BZ #13939]
19837         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19838         When avoid_arena is set, don't retry in the that arena.  Pick the
19839         next one, whatever it might be.
19840         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19841         (arena_lock): Pass in new parameter to arena_get2.
19842         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19843         arena_get2.
19844         (__libc_malloc): Unify retrying after main arena failure with
19845         __libc_memalign version.
19846         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19848 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19850         [BZ #14166]
19851         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19852         to __redirect_strstr.
19853         (__strstr_sse42): Use typeof __redirect_strstr.
19854         (__strstr_ia32): Likewise.
19855         (__libc_strstr): New prototype.
19856         (strstr): Renamed to ...
19857         (__libc_strstr): This.
19858         (strstr): New strong alias of __libc_strstr.
19859         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19860         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19861         __redirect_time.
19862         Include <time.h>.
19863         (__libc_time): New prototype.
19864         (time_ifunc): Replace time with __libc_time.
19865         (time): New strong alias and hidden definition of __libc_time.
19866         (__GI_time): Remove strong alias.
19867         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19868         Include <stddef.h>.
19869         (memmove): Redefined to __redirect_memmove.
19870         (__memmove_sse2): Use typeof __redirect_memmove.
19871         (__memmove_ssse3): Likewise.
19872         (__memmove_ssse3_back): Likewise.
19873         (__libc_memmove): New prototype.
19874         (memmove): Renamed to ...
19875         (__libc_memmove): This.
19876         (memmove): New strong alias of __libc_memmove.
19878 2012-08-08  Mark Salter  <msalter@redhat.com>
19880         * elf/elf.h
19881         (R_MN10300_TLS_GD): Define.
19882         (R_MN10300_TLS_LD): Likewise.
19883         (R_MN10300_TLS_LDO): Likewise.
19884         (R_MN10300_TLS_GOTIE): Likewise.
19885         (R_MN10300_TLS_IE): Likewise.
19886         (R_MN10300_TLS_LE): Likewise.
19887         (R_MN10300_TLS_DTPMOD): Likewise.
19888         (R_MN10300_TLS_DTPOFF): Likewise.
19889         (R_MN10300_TLS_TPOFF): Likewise.
19890         (R_MN10300_SYM_DIFF): Likewise.
19891         (R_MN10300_ALIGN): Likewise.
19892         (R_MN10300_NUM): Update.
19894 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19897         Remove.
19899 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19901         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19903         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19904         sysdeps/unix -> sysdeps/posix move.
19905         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19907 2012-08-07      Allan McRae     <allan@archlinux.org>
19909         [BZ #14303]
19910         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19911         (SUNOS_CPP): Likewise.
19912         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19913         not found.
19914         (open_input): Call CPP using execvp.
19916 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19918         * sysdeps/unix/sysv/linux/kernel-features.h
19919         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19920         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19921         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19922         (__ASSUME_WAITID_SYSCALL): Likewise.
19923         * sysdeps/unix/sysv/linux/dl-execstack.c
19924         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19925         code unconditional.
19926         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19927         conditional code.
19928         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19929         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19930         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19931         code.
19932         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19933         unconditional.
19934         [__ASSUME_WAITID_SYSCALL]: Likewise.
19935         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19937 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19939         * sysdeps/unix/closedir.c: Renamed to ...
19940         * sysdeps/posix/closedir.c: ... here.
19941         * sysdeps/unix/dirfd.c: Renamed to ...
19942         * sysdeps/posix/dirfd.c: ... here.
19943         * sysdeps/unix/dirstream.h: Renamed to ...
19944         * sysdeps/posix/dirstream.h: ... here.
19945         * sysdeps/unix/fdopendir.c: Renamed to ...
19946         * sysdeps/posix/fdopendir.c: ... here.
19947         * sysdeps/unix/opendir.c: Renamed to ...
19948         * sysdeps/posix/opendir.c: ... here.
19949         * sysdeps/unix/readdir.c: Renamed to ...
19950         * sysdeps/posix/readdir.c: ... here.
19951         * sysdeps/unix/readdir_r.c: Renamed to ...
19952         * sysdeps/posix/readdir_r.c: ... here.
19953         * sysdeps/unix/rewinddir.c: Renamed to ...
19954         * sysdeps/posix/rewinddir.c: ... here.
19955         * sysdeps/unix/seekdir.c: Renamed to ...
19956         * sysdeps/posix/seekdir.c: ... here.
19957         * sysdeps/unix/telldir.c: Renamed to ...
19958         * sysdeps/posix/telldir.c: ... here.
19959         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19960         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19961         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19962         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19964         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19965         * bits/fcntl.h: ... here.
19967         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19968         not 0.
19969         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19970         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19971         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19972         (struct flock): Move l_start, l_len to the beginning.
19973         Use __pid_t for l_pid.
19974         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19975         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19976         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19977         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19978         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19979         [__USE_LARGEFILE64] (struct flock64): New type.
19980         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19982         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19983         * bits/dirent.h: ... here.
19985         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19986         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19988 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19990         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19991         Change from 2.6.0 to 2.6.16.
19992         * sysdeps/unix/sysv/linux/configure: Regenerated.
19993         * sysdeps/unix/sysv/linux/kernel-features.h
19994         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19995         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19996         version.
19997         (__ASSUME_UTIMES): Likewise.
19998         (__ASSUME_CLONE_STOPPED): Remove.
19999         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20000         architectures, not kernel version.
20001         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20002         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20003         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20004         (__ASSUME_WAITID_SYSCALL): Likewise.
20005         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20006         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20007         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20008         refer to older versions.
20010 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20012         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20013         Define alphasort64 as an alias.
20014         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20015         Define versionsort64 as an alias.
20016         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20017         Define scandir64 as an alias.
20018         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20019         Define scandirat64 as an alias.
20020         * dirent/alphasort64.c (alphasort64):
20021         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20022         * dirent/versionsort64.c: Likewise.
20023         * dirent/scandir64.c: Likewise.
20024         * dirent/scandirat64.c: Likewise.
20025         * sysdeps/wordsize-64/alphasort.c: File removed.
20026         * sysdeps/wordsize-64/alphasort64.c: File removed.
20027         * sysdeps/wordsize-64/scandir.c: File removed.
20028         * sysdeps/wordsize-64/scandir64.c: File removed.
20029         * sysdeps/wordsize-64/scandirat.c: File removed.
20030         * sysdeps/wordsize-64/scandirat64.c: File removed.
20031         * sysdeps/wordsize-64/versionsort.c: File removed.
20032         * sysdeps/wordsize-64/versionsort64.c: File removed.
20033         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20034         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20035         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20036         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20037         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20038         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20039         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20040         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20042         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20044         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20046         [defined __arch64__ || defined __sparcv9]
20047         (__INO_T_MATCHES_INO64_T): New macro.
20048         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20049         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20050         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20051         * sysdeps/unix/sysv/linux/bits/dirent.h
20052         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20053         (_DIRENT_MATCHES_DIRENT64): New macro.
20055         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20056         Define lockf64 as an alias.
20057         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20058         Define fseeko64 as an alias.
20059         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20060         Define ftello64 as an alias.
20061         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20062         Define _IO_fgetpos64 and fgetpos64 as aliases.
20063         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20064         Define _IO_fsetpos64 and fsetpos64 as aliases.
20065         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20066         Conditionalize body on this.
20067         * libio/fseeko64.c: Likewise.
20068         * libio/ftello64.c: Likewise.
20069         * libio/iofgetpos64.c: Likewise.
20070         * libio/iofsetpos64.c: Likewise.
20071         * sysdeps/wordsize-64/lockf.c: File removed.
20072         * sysdeps/wordsize-64/lockf64.c: File removed.
20073         * sysdeps/wordsize-64/fseeko.c: File removed.
20074         * sysdeps/wordsize-64/fseeko64.c: File removed.
20075         * sysdeps/wordsize-64/ftello.c: File removed.
20076         * sysdeps/wordsize-64/ftello64.c: File removed.
20077         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20078         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20079         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20080         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20081         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20082         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20083         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20085         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20086         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20087         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20088         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20089         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20090         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20092         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20094         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20096         [defined __arch64__ || defined __sparcv9]
20097         (__OFF_T_MATCHES_OFF64_T): New macro.
20098         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20099         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20101         (__OFF_T_MATCHES_OFF64_T): New macro.
20103 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20105         * stdlib/secure-getenv.c (__secure_getenv): Replace
20106         GLIBC_2_16 with GLIBC_2_17.
20108 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20110         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20111         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20113 2012-08-03  David S. Miller  <davem@davemloft.net>
20115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20117 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20120         Remove.
20121         (__ASSUME_CORRECT_SI_PID): Likewise.
20122         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20123         (__ASSUME_TMPFS_NAME): Likewise.
20124         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20125         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20126         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20127         (HAVE_AUX_SECURE): Make definition unconditional.
20128         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20129         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20131 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20133         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20134         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20135         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20136         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20137         __eloop_threshold instead of SYMLOOP_MAX.
20139         * sysdeps/generic/eloop-threshold.h: New file.
20140         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20141         of MAXSYMLINKS.
20142         * elf/chroot_canon.c (chroot_canon): Likewise.
20144 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20146         [BZ #13717]
20147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20148         Change to 2.6.0 everywhere.
20149         * sysdeps/unix/sysv/linux/configure: Regenerated.
20150         * sysdeps/unix/sysv/linux/kernel-features.h
20151         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20152         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20153         kernel versions.
20154         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20155         (__ASSUME_FUTEX_REQUEUE): Remove.
20156         (__ASSUME_STATFS64): Define unconditionally.
20157         (__ASSUME_AT_SECURE): Likewise.
20158         (__ASSUME_CORRECT_SI_PID): Likewise.
20159         (__ASSUME_TGKILL): Define without depending on kernel version for
20160         i386.
20161         (__ASSUME_UTIMES): Likewise.
20162         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20163         kernel version.
20164         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20165         (__ASSUME_TMPFS_NAME): Likewise.
20166         * README: Update reference to Linux kernel versions.
20168 2012-08-02  Marek Polacek  <polacek@redhat.com>
20170         [BZ# 14150]
20171         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20172         libc_cv_asm_type_prefix with %.
20173         * configure: Regenerated.
20174         * include/libc-symbols.h: Remove comment about
20175         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20176         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20177         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20178         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20179         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20180         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20181         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20182         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20183         * elf/tst-unique2mod1.c: Likewise.
20184         * elf/tst-unique1mod2.c: Likewise.
20185         * elf/tst-unique1mod1.c: Likewise.
20186         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20187         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20188         Replace ASM_TYPE_DIRECTIVE with .type.
20189         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20190         * sysdeps/i386/sysdep.h: Likewise.
20191         * sysdeps/x86_64/sysdep.h: Likewise.
20192         * sysdeps/sh/sysdep.h: Likewise.
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20194         Do not define ASM_TYPE_DIRECTIVE.
20195         * sysdeps/powerpc/sysdep.h: Likewise.
20196         * sysdeps/powerpc/powerpc32/sysdep.h:
20197         Replace ASM_TYPE_DIRECTIVE with .type.
20198         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20199         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20200         * sysdeps/i386/fpu/e_powf.S: Likewise.
20201         * sysdeps/i386/fpu/e_expl.S: Likewise.
20202         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20203         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20204         * sysdeps/i386/fpu/e_pow.S: Likewise.
20205         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20206         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20207         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20208         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20209         * sysdeps/i386/fpu/e_log2.S: Likewise.
20210         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20211         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20212         * sysdeps/i386/fpu/e_powl.S: Likewise.
20213         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20214         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20215         * sysdeps/i386/fpu/e_logl.S: Likewise.
20216         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20217         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20218         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20219         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20220         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20221         * sysdeps/i386/fpu/e_log.S: Likewise.
20222         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20223         * sysdeps/i386/fpu/e_logf.S: Likewise.
20224         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20225         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20226         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20227         * sysdeps/i386/fpu/e_log10.S: Likewise.
20228         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20229         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20230         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20231         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20232         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20233         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20234         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20235         * sysdeps/i386/i686/strtok.S: Likewise.
20236         * sysdeps/i386/i386-mcount.S: Likewise.
20237         * sysdeps/i386/strtok.S: Likewise.
20238         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20239         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20240         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20241         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20242         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20243         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20244         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20245         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20246         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20247         * sysdeps/x86_64/_mcount.S: Likewise.
20248         * sysdeps/x86_64/strtok.S: Likewise.
20249         * sysdeps/sh/_mcount.S: Likewise.
20251 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20253         * libio/iofopen.c: Include <fcntl.h>.
20254         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20255         (_IO_fopen64, fopen64): Define as aliases.
20256         * libio/iofopen64.c: Include <fcntl.h>.
20257         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20258         Conditionalize body on this.
20259         * sysdeps/wordsize-64/iofopen.c: File removed.
20260         * sysdeps/wordsize-64/iofopen64.c: File removed.
20262 2012-08-01  Marek Polacek  <polacek@redhat.com>
20264         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20265         Use dlfcn directly instead of a variable.
20266         (binfmt-subdir): Do not define.
20267         (dlfcn): Likewise.
20269 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20272         Remove all definitions.
20273         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20274         <kernel-features.h>.
20275         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20276         (miss_F_GETOWN_EX): Remove all definitions.
20277         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20278         macro definition.
20279         [!__ASSUME_FCNTL64]: Remove conditional code.
20280         [__ASSUME_FCNTL64]: Make code unconditional.
20281         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20282         <kernel-features.h>.
20283         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20284         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20285         (lockf64) [__NR_fcntl64]: Make code unconditional.
20286         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20288         * sysdeps/unix/sysv/linux/kernel-features.h
20289         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20290         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20291         Make code unconditional.
20292         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20293         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20295         [__NR_vfork]: Make code unconditional.
20296         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20297         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20299         [__NR_vfork]: Make code unconditional.
20300         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20301         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20303 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20305         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20306         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20308         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20309         Define mkstemp64 as an alias.
20310         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20311         Define mkstemps64 as an alias.
20312         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20313         Define mkostemp64 as an alias.
20314         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20315         Define mkostemps64 as an alias.
20316         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20317         Conditionalize body on this.
20318         * misc/mkostemp64.c: Likewise.
20319         * misc/mkostemps64.c: Likewise.
20320         * misc/mkstemps64.c: Likewise.
20321         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20322         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20323         * sysdeps/wordsize-64/mkostemp.c: File removed.
20324         * sysdeps/wordsize-64/mkstemp.c: File removed.
20325         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20326         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20327         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20328         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20330         [BZ #14138]
20331         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20332         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20333         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20334         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20336         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20337         compat_symbol macros from <shlib-compat.h> rather than the underlying
20338         default_symbol_version and symbol_version macros, so that DEFAULT
20339         lines in shlib-versions are respected.
20340         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20342 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20344         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20345         Declare with warn_unused_result.
20346         (setgid, setregid, setegid, setresgid): Likewise.
20347         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20348         Likewise.
20349         * WUR-REPORT: Remove set*id functions.
20351 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20353         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20355 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20357         [BZ #10191]
20358         * include/sys/socket.h (__libc_accept, __libc_accept4):
20359         Add attribute_hidden.
20360         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20362         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20363         use of PTR_MANGLE.
20364         * inet/getnetgrent_r.c (setup): Likewise.
20366         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20368 2012-07-31  David S. Miller  <davem@davemloft.net>
20370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20372 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20374         [BZ #13629]
20375         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20376         value between 1.0 and 2.0 and smaller part has absolute value less
20377         than 1.0.
20378         * math/s_clog10.c (__clog10): Likewise.
20379         * math/s_clog10f.c (__clog10f): Likewise.
20380         * math/s_clog10l.c (__clog10l): Likewise.
20381         * math/s_clogf.c (__clogf): Likewise.
20382         * math/s_clogl.c (__clogl): Likewise.
20383         * math/libm-test.inc (clog_test): Add more tests.
20384         (clog10_test): Likewise.
20385         * sysdeps/i386/fpu/libm-test-ulps: Update.
20386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20388 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20390         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20391         Exit with zero in case no suitable GID is found, and write a
20392         message to standard error.
20394 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20396         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20397         rather than to 1.
20398         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20399         (MAXPATHLEN): Removed.
20400         (NOGROUP, NODEV): New macros.
20401         (setbit, clrbit, isset, isclr): New macros.
20402         (howmany, roundup, powerof2): New macros.
20403         (DEV_BSIZE): New macro.
20405         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20406         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20408         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20409         definition on [!__NO_LONG_DOUBLE_MATH].
20411         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20412         PTR_MANGLE and PTR_DEMANGLE.
20414         * socket/accept4.c (accept4): Rename to __libc_accept4.
20415         Define accept4 as a weak alias.
20417         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20418         on [_DIRENT_HAVE_D_TYPE].
20419         * io/ftw.c (ftw_dir): Likewise.
20421         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20423         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20425         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20426         Use the BSD numbers rather than the arbitrary ones we had.
20427         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20428         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20429         (SIGXCPU, SIGXFSZ): New macros.
20430         (_NSIG): Now 32.
20432         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20433         initializer on [_LIBC_REENTRANT].
20435         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20436         definitions inside [_POSIX_MAPPED_FILES].
20438         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20440         * dirent/opendir.c: Include <fcntl.h>.
20442         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20443         (__libc_getspecific): Likewise.
20444         (__libc_key_create): Likewise.
20446         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20447         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20448         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20449         (tmpfile64): Define as alias.
20450         * sysdeps/wordsize-64/tmpfile.c: File removed.
20451         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20452         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20453         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20455         * stdio-common/vfscanf.c: Include <stdbool.h>.
20456         * nss/makedb.c: Likewise.
20457         * stdio-common/_i18n_number.h: Likewise.
20458         * argp/argp-help.c: Likewise.
20459         * posix/wordexp.c: Likewise.
20460         * sysdeps/posix/spawni.c: Likewise.
20461         * nss/nss_files/files-initgroups.c: Likewise.
20462         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20463         * nss/nss_files/files-initgroups.c: Likewise.
20464         * nss/nss_db/db-netgrp.c: Likewise.
20465         * nss/nss_db/db-initgroups.c: Likewise.
20466         * io/fchmodat.c: Include <sys/stat.h>.
20468         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20469         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20471         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20472         [HAVE_MMAP].
20474         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20475         Add multiple inclusion protection.
20477 2012-07-27  David S. Miller  <davem@davemloft.net>
20479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20481 2012-07-27  Gary Benson  <gbenson@redhat.com>
20483         [BZ #14298]
20484         * elf/rtld.c: Include <stap-probe.h>.
20485         (dl_main): Added static probes "init_start" and "init_complete".
20486         * elf/dl-load.c: Include <stap-probe.h>.
20487         (lose): Take new parameter "nsid".
20488         Added static probe "map_failed".
20489         (_dl_map_object_from_fd): Pass namespace id to lose.
20490         Added static probe "map_start".
20491         (open_verify): Pass namespace id to lose.
20492         * elf/dl-open.c: Include <stap-probe.h>.
20493         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20494         and "reloc_complete".
20495         * elf/dl-close.c: Include <stap-probe.h>.
20496         (_dl_close_worker): Added static probes "unmap_start" and
20497         "unmap_complete".
20498         * elf/rtld-debugger-interface.txt: New file documenting the above.
20500 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20502         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20503         rather than a string variable.
20504         * sunrpc/rpc_main.c (h_output): Likewise.
20505         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20507 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20509         * inet/check_native.c: New file.
20511 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20513         [BZ #13629]
20514         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20515         if larger part has absolute value 1.0.
20516         * math/s_clog10.c (__clog10): Likewise.
20517         * math/s_clog10f.c (__clog10f): Likewise.
20518         * math/s_clog10l.c (__clog10l): Likewise.
20519         * math/s_clogf.c (__clogf): Likewise.
20520         * math/s_clogl.c (__clogl): Likewise.
20521         * math/libm-test.inc (clog_test): Add more tests.
20522         (clog10_test): Likewise.
20523         * sysdeps/i386/fpu/libm-test-ulps: Update.
20524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20527         (pltexit): Likewise.
20528         (La_regs): Likewise.
20529         (La_retval): Likewise.
20530         (int_retval): Likewise.
20531         Update #error for removed macros to refer only to definitions in
20532         tst-audit.h.
20533         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20534         macro.
20535         (pltexit): Likewise.
20536         (La_regs): Likewise.
20537         (La_retval): Likewise.
20538         (int_retval): Likewise.
20539         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20540         macro.
20541         (pltexit): Likewise.
20542         (La_regs): Likewise.
20543         (La_retval): Likewise.
20544         (int_retval): Likewise.
20545         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20546         macro.
20547         (pltexit): Likewise.
20548         (La_regs): Likewise.
20549         (La_retval): Likewise.
20550         (int_retval): Likewise.
20551         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20552         macro.
20553         (pltexit): Likewise.
20554         (La_regs): Likewise.
20555         (La_retval): Likewise.
20556         (int_retval): Likewise.
20557         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20558         macro.
20559         (pltexit): Likewise.
20560         (La_regs): Likewise.
20561         (La_retval): Likewise.
20562         (int_retval): Likewise.
20563         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20564         macro.
20565         (pltexit): Likewise.
20566         (La_regs): Likewise.
20567         (La_retval): Likewise.
20568         (int_retval): Likewise.
20569         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20570         macro definitions in tst-audit.h.
20571         * sysdeps/i386/tst-audit.h: New file.
20572         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20573         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20574         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20575         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20576         * sysdeps/sh/tst-audit.h: Likewise.
20577         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20578         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20579         * sysdeps/x86_64/tst-audit.h: Likewise.
20581 2012-07-26  Andreas Jaeger  <aj@suse.de>
20583         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20584         ptrace.
20586         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20587         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20588         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20589         PTRACE_O_MASK.
20590         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20591         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20592         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20594         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20595         value.
20597         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20598         _sigsys.
20599         (si_call_addr, si_syscall, si_arch): Define new macro.
20600         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20601         _sigsys.
20602         (si_call_addr, si_syscall, si_arch): Define new marcro.
20603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20604         _sigsys.
20605         (si_call_addr, si_syscall, si_arch): Define new macro.
20606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20607         _sigsys.
20608         (si_call_addr, si_syscall, si_arch): Define new macro.
20610 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20612         [BZ #13717]
20613         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20614         Change to 2.4.21 where previously 2.4.1.
20615         * sysdeps/unix/sysv/linux/configure: Regenerated.
20616         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20617         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20618         Linux kernel version.
20619         (__ASSUME_STD_AUXV): Remove.
20620         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20621         kernel version.
20622         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20623         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20624         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20625         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20626         (__ASSUME_NETLINK_SUPPORT): Likewise.
20627         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20628         (__no_netlink_support): Remove conditional definition.
20629         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20630         Remove.
20631         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20632         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20633         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20634         (if_nameindex_ioctl): Remove.
20635         (if_nameindex_netlink): Do not handle __no_netlink_support.
20636         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20637         code.
20638         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20639         Remove conditional code.
20640         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20641         code.
20642         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20643         unconditional.
20644         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20645         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20646         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20647         Remove.
20648         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20649         [!__ASSUME_STD_AUXV]: Remove conditional code.
20650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20651         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20652         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20654         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20655         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20656         code.
20657         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20659         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20660         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20661         conditional code.
20662         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20664         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20665         code.
20666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20667         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20668         conditional code.
20669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20670         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20671         code unconditional.
20672         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20673         conditional code.
20674         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20675         unconditional.
20676         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20677         conditional code.
20678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20679         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20680         unconditional.
20681         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20682         conditional code.
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20684         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20685         code unconditional.
20686         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20687         conditional code.
20688         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20689         unconditional.
20690         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20691         conditional code.
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20693         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20694         code unconditional.
20695         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20696         conditional code.
20697         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20698         unconditional.
20699         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20700         conditional code.
20702 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20704         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20705         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20706         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20707         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20708         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20709         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20711         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20712         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20713         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20714         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20715         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20716         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20717         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20718         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20719         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20720         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20722         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20724         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20725         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20728 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20730         * Versions.def: Add GLIBC_2.17.
20731         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20732         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20733         Introduce __libc_secure_getenv.
20734         * stdlib/Versions (2.17): Add secure_getenv
20735         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20736         * stdlib/secure-getenv.c: Rename __secure_getenv to
20737         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20738         symbol __secure_getenv for GLIBC_2.0.
20739         * stdlib/tst-secure-getenv.c: New.
20740         * stdlib/Makefile (tests): Add testcase.
20741         * manual/startup.texi (Environment Access): Document
20742         secure_getenv.
20743         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20744         __libc_secure_getenv.
20745         * inet/ruserpass.c (ruserpass): Likewise.
20746         * malloc/mtrace.c (mtrace): Likewise.
20747         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20748         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20749         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20750         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20751         HAVE_SECURE_GETENV.
20752         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20753         __secure_getenv to __libc_secure_getenv.
20754         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20756         Likewise.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20758         Likewise.
20759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20767 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20769         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20770         (struct La_i86_retval): Likewise.
20771         (struct La_x86_64_regs): Likewise.
20772         (struct La_x86_64_retval): Likewise.
20773         (struct La_x32_regs): Likewise.
20774         (struct La_x32_retval): Likewise.
20775         (struct La_ppc32_regs): Likewise.
20776         (struct La_ppc32_retval): Likewise.
20777         (struct La_ppc64_regs): Likewise.
20778         (struct La_ppc64_retval): Likewise.
20779         (struct La_sh_regs): Likewise.
20780         (struct La_sh_retval): Likewise.
20781         (struct La_s390_32_regs): Likewise.
20782         (struct La_s390_32_retval): Likewise.
20783         (struct La_s390_64_regs): Likewise.
20784         (struct La_s390_64_retval): Likewise.
20785         (struct La_sparc32_regs): Likewise.
20786         (struct La_sparc32_retval): Likewise.
20787         (struct La_sparc64_regs): Likewise.
20788         (struct La_sparc64_retval): Likewise.
20789         (struct audit_ifaces): Remove architecture-specific pltenter and
20790         pltexit members.
20791         * sysdeps/i386/ldsodefs.h: New file.
20792         * sysdeps/powerpc/ldsodefs.h: Likewise.
20793         * sysdeps/s390/ldsodefs.h: Likewise.
20794         * sysdeps/sh/ldsodefs.h: Likewise.
20795         * sysdeps/sparc/ldsodefs.h: Likewise.
20796         * sysdeps/x86_64/ldsodefs.h: Likewise.
20798 2012-07-25  Marek Polacek  <polacek@redhat.com>
20800         [BZ #6808]
20801         * math/libm-test.inc (yn_test): Add another test.
20802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20803         to ERANGE when the result is +-Inf.
20804         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20805         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20806         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20807         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20809 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20811         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20812         equal to 0.
20813         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20814         clock_t.
20815         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20817 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20819         * configure.in <sysdeps resolving>: Correct printing
20820         Implies_before.
20821         * configure: Regenerate.
20823 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20825         * math/w_ilogb.c: Include <limits.h>.
20826         * math/w_ilogbl.c: Likewise.
20828 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20830         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20831         va_copy.  Document allowing for unavailable va_copy only as
20832         pre-C99 compatibility.
20833         * manual/string.texi (Copying and Concatenation): Use va_copy
20834         instead of __va_copy in concat example.
20836 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20838         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20839         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20840         it if not null.
20842         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20843         with O_NOLINK passed to __file_name_lookup.
20845         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20846         with O_NOLINK passed to __file_name_lookup.
20848         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20849         negative N or less than NGIDS.
20851         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20852         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20853         enough.  Use memcpy instead of strncpy.
20855 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20857         * elf/Makefile (check-data): Remove.
20858         (localplt.data): New vpath directive.
20859         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20860         instead of $(check-data).
20861         * scripts/data/localplt-generic.data: Move to ...
20862         * sysdeps/generic/localplt.data: ... here.
20863         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20864         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20865         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20867         ... here.
20868         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20870         ... here.
20871         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20873         ... here.
20874         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20876         ... here.
20877         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20879         ... here.
20880         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20882         ... here.
20884 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20887         PPC32 and PPC64 files.
20888         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20889         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20891 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20893         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20894         __makecontext_ret to ...
20895         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20896         ... here and call exit if uc_link is NULL.  New file.
20897         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20898         __makecontext_ret.S.
20899         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20900         __makecontext_ret to ...
20901         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20902         ... here and call exit if uc_link is NULL.  New file.
20903         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20904         __makecontext_ret.S.
20906 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20908         * elf/elf.h (R_390_IRELATIVE): New definition.
20909         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20910         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20911         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20912         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20913         (elf_machine_lazy_rel): Likewise.
20914         * sysdeps/s390/dl-irel.h: New file.
20915         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20916         * sysdeps/s390/s390-64/memset.S: New asm code.
20917         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20918         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20920         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20921         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20922         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20924         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20925         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20926         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20927         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20928         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20929         * sysdeps/s390/s390-32/memset.S: New asm code.
20930         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20932 2012-07-17  Marek Polacek  <polacek@redhat.com>
20934         [BZ #14349]
20935         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20936         * sysdeps/s390/s390-64/configure.in: Likewise.
20937         * sysdeps/sparc/configure.in: Likewise.
20938         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20939         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20940         * sysdeps/i386/configure.in: Likewise.
20941         * sysdeps/x86_64/configure.in: Likewise.
20942         * sysdeps/sh/configure.in: Likewise.
20943         * sysdeps/s390/s390-32/configure: Regenerated.
20944         * sysdeps/s390/s390-64/configure: Likewise.
20945         * sysdeps/x86_64/configure: Likewise.
20946         * sysdeps/sh/configure: Likewise.
20947         * sysdeps/powerpc/powerpc64/configure: Likewise.
20948         * sysdeps/powerpc/powerpc32/configure: Likewise.
20949         * sysdeps/sparc/configure: Likwise.
20950         * sysdeps/i386/configure: Likewise.
20952         * elf/dl-open.c: Comment fixes.
20954 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20956         * Makefile [CXX] (check-data): Remove.
20957         [CXX] (c++-types.data): New vpath directive.
20958         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20959         vpath.  Do not allow for C++ type data being missing.
20960         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20961         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20962         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20963         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20964         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20965         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20966         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20968         ... here.
20969         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20971         ... here.
20972         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20974         ... here.
20975         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20977         ... here.
20978         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20980         ... here.
20981         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20983         ... here.
20984         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20986         ... here.
20987         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20990         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20991         definitions to architecture-specific files.
20992         (TLS_IE): Likewise.
20993         (TLS_LD): Likewise.
20994         (TLS_GD): Likewise.
20995         * sysdeps/i386/tls-macros.h: New file.
20996         * sysdeps/powerpc/tls-macros.h: Likewise.
20997         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20998         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20999         * sysdeps/sh/tls-macros.h: Likewise.
21000         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21001         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21002         * sysdeps/x86_64/tls-macros.h: Likewise.
21004 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21006         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21007         zero value for regular exit case.
21009         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21010         (__start_context): Preserve zero value for regular exit case.
21012 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21013             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21015         * manual/setjmp.texi (setcontext): Clarify normal process
21016         termination when uc_link is the null pointer.
21017         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21018         exit call.
21020 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21022         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21023         preprocessor.  Test for each exception mask separately.
21025 2012-07-16  Andreas Jaeger  <aj@suse.de>
21027         * po/ru.po: Update from translation team.
21029 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21031         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21032         equal to 0.
21033         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21034         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21035         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21036         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21039 2012-07-13  Andreas Jaeger  <aj@suse.de>
21041         * po/fr.po: Update from translation team.
21043 2012-07-12  Marek Polacek  <polacek@redhat.com>
21045         [BZ #14173]
21046         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21048         loop condition.
21050 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #13717]
21053         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21054         Change to 2.4.1 where previously 2.4.0.
21055         * sysdeps/unix/sysv/linux/configure: Regenerated.
21056         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21057         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21058         version.
21059         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21060         (__ASSUME_AT_CLKTCK): Remove.
21061         (__ASSUME_AT_PAGESIZE): Likewise.
21062         (__ASSUME_AT_XID): Likewise.
21063         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21064         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21065         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21066         unconditionally.
21067         (HAVE_AUX_PAGESIZE): Likewise.
21068         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21069         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21070         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21072 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21074         [BZ #14307]
21075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21076         the temporary buffer used to invoke __gethostbyname2_r,
21077         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21078         host_data / struct gaih_addrtuple.
21079         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21080         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21081         header file nss/nsswitch.h.
21082         * nss/nsswitch.h (global scope): Add definition of implementation
21083         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21084         resolv/nss_dns/dns-host.c).
21086 2012-07-11  Andreas Jaeger  <aj@suse.de>
21088         * po/fr.po: Update from translation team.
21090         * po/sv.po: Update from translation team
21091         * po/fr.po: Another update from translation team.
21093 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21095         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21096         for subnormals or multiply small sinh result by itself.
21097         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21100 2012-07-11  David S. Miller  <davem@davemloft.net>
21102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21104 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21106         [BZ #14347]
21107         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21108         (INTERNAL_MARK): Shift it here.
21110 2012-07-10  Marek Polacek  <polacek@redhat.com>
21112         [BZ #14151]
21113         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21114         libc_cv_asm_global_directive with .globl.
21115         * configure: Regenerated.
21116         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21117         with .globl.
21118         * sysdeps/i386/configure: Regenerated.
21119         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21120         with .globl.
21121         * sysdeps/x86_64/configure: Regenerated.
21122         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21123         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21124         * elf/tst-unique2mod2.c: Likewise.
21125         * elf/tst-unique2mod1.c: Likewise.
21126         * elf/tst-unique1mod2.c: Likewise.
21127         * elf/tst-unique1mod1.c: Likewise.
21128         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21129         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21130         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21131         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21132         * sysdeps/mach/sysdep.h: Likewise.
21133         * sysdeps/i386/sysdep.h: Likewise.
21134         * sysdeps/i386/i386-mcount.S: Likewise.
21135         * sysdeps/x86_64/_mcount.S: Likewise.
21136         * sysdeps/x86_64/sysdep.h: Likewise.
21137         * sysdeps/sh/_mcount.S: Likewise.
21138         * sysdeps/sh/sysdep.h: Likewise.
21139         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21140         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21141         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21142         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21143         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21144         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21145         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21146         * locale/localeinfo.h: Likewise.
21147         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21148         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21150 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21152         [BZ #14336]
21153         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21154         system".
21155         * manual/message.texi (The Uniforum approach): Likewise.
21156         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21157         (glibc iconv Implementation): Likewise.
21159 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21161         [BZ #14337]
21162         * math/s_clog.c (__clog): Avoid scaling a value down where that
21163         could result in underflow.
21164         * math/s_clog10.c (__clog10): Likewise.
21165         * math/s_clog10f.c (__clog10f): Likewise.
21166         * math/s_clog10l.c (__clog10l): Likewise.
21167         * math/s_clogf.c (__clogf): Likewise.
21168         * math/s_clogl.c (__clogl): Likewise.
21169         * math/libm-test.inc (clog_test): Add more tests.
21170         (clog10_test): Likewise.
21171         * sysdeps/i386/fpu/libm-test-ulps: Update.
21172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21174 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21176         [BZ #14283]
21177         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21178         by 7 not 8 to examine high bit of fractional part.
21180         [BZ #14042]
21181         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21182         for call to __mcount_internal.
21183         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21184         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21185         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21187 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21189         [BZ #14154]
21190         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21191         approximation for values within 0x1p-13f of an odd multiple of
21192         pi/4.
21193         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21194         exception.  Add more tests.
21195         * sysdeps/i386/fpu/libm-test-ulps: Update.
21197         [BZ #6778]
21198         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21199         inputs and return -1 for them.  Do not check for +Inf in case not
21200         reachable for +Inf.
21201         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21202         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21203         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21204         and return -1 for them.  Do not check for +Inf in case not
21205         reachable for +Inf.
21206         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21207         define.
21208         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21209         and return -1 for them.  Do not check for +Inf in case not
21210         reachable for +Inf.
21211         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21212         spurious underflow.
21213         * sysdeps/i386/fpu/libm-test-ulps: Update.
21214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21216 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21218         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21220 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21222         [BZ #14157]
21223         [BZ #14331]
21224         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21225         could result in spurious underflow.  Scale down values above
21226         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21227         * math/s_csqrtf.c (__csqrtf): Likewise.
21228         * math/s_csqrtl.c (__csqrtl): Likewise.
21229         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21230         spurious underflow.
21231         * sysdeps/i386/fpu/libm-test-ulps: Update.
21232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21236         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21237         xopen-msg.sed.
21238         * catgets/xopen-msg.awk: New file.
21239         * catgets/xopen-msg.sed: Removed.
21241         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21242         po2text.sed.
21243         * intl/po2test.awk: New file.
21244         * intl/po2test.sed: Removed.
21246 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21248         [BZ #14328]
21249         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21250         or multiply small sinh result by itself.
21251         * math/s_ctanf.c (__ctanf): Likewise.
21252         * math/s_ctanh.c (__ctanh): Likewise.
21253         * math/s_ctanhf.c (__ctanhf): Likewise.
21254         * math/s_ctanhl.c (__ctanhl): Likewise.
21255         * math/s_ctanl.c (__ctanl): Likewise.
21256         * math/libm-test.inc (ctan_test_tonearest): New function.
21257         (ctan_test_towardzero): Likewise.
21258         (ctan_test_downward): Likewise.
21259         (ctan_test_upward): Likewise.
21260         (ctanh_test_tonearest): Likewise.
21261         (ctanh_test_towardzero): Likewise.
21262         (ctanh_test_downward): Likewise.
21263         (ctanh_test_upward): Likewise.
21264         (main): Call these new functions.
21265         * sysdeps/i386/fpu/libm-test-ulps: Update.
21266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21268 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21270         * .gitignore: Delete /ports entry.
21272 2012-07-03  Andreas Jaeger  <aj@suse.de>
21274         * po/bg.po: Update from translation team.
21275         * po/cs.po: Likewise.
21276         * po/de.po: Likewise.
21277         * po/hr.po: Likewise.
21278         * po/nl.pl: Likewise.
21279         * po/pl.po: Likewise.
21280         * po/vi.po: Likewise.
21282 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21284         * Makeconfig [!+link] (+link-before-libc): New variable.
21285         [!+link] (+link-after-libc): Likewise.
21286         [!+link] (+link-tests): Likewise.
21287         [!+link] (+link): Define in terms of $(+link-before-libc) and
21288         $(+link-after-libc).
21289         [!+link-static] (+link-static-before-libc): New variable.
21290         [!+link-static] (+link-static-after-libc): Likewise.
21291         [!+link-static] (+link-static-tests): Likewise.
21292         [!+link-static] (+link-static): Define in terms of
21293         $(+link-static-before-libc) and $(+link-static-after-libc).
21294         [build-shared] (link-libc-before-gnulib): New variable.
21295         [build-shared] (link-libc-tests): Likewise.
21296         [build-shared] (link-libc): Define in terms of
21297         $(link-libc-before-gnulib).
21298         [!build-shared] (link-libc-tests): New variable.
21299         (link-libc-static-tests): New variable.
21300         [!gnulib] (gnulib-arch): New variable.
21301         [!gnulib] (gnulib-tests): Likewise.
21302         [!gnulib] (static-gnulib-arch): Likewise.
21303         [!gnulib] (static-gnulib-tests): Likewise.
21304         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21305         Define with "=" instead of ":=".
21306         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21307         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21308         * Rules (binaries-all-notests): New variable.
21309         (binaries-all-tests): Likewise.
21310         (binaries-static-notests): Likewise.
21311         (binaries-static-tests): Likewise.
21312         (binaries-all): Define using $(binaries-all-notests) and
21313         $(binaries-all-tests).
21314         (binaries-static): Define using $(binaries-static-notests) and
21315         $(binaries-static-tests).
21316         (binaries-shared-tests): New variable.
21317         (binaries-shared-notests): Likewise.
21318         (binaries-shared): Remove variable.
21319         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21320         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21321         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21322         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21323         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21324         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21325         * elf/Makefile (sln-modules): New variable.
21326         (extra-objs): Add $(sln-modules:=.o).
21327         (ldconfig-modules): Add static-stubs.
21328         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21329         * elf/static-stubs.c: New file.
21331         [BZ #14283]
21332         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21333         by 7 not 8 to examine high bit of fractional part.  Use volatile
21334         variables when splitting into final array of floats if
21335         __FLT_EVAL_METHOD__ != 0.
21336         * math/libm-test.inc (cos_test): Add another test.
21337         (sin_test): Likewise.
21338         * sysdeps/i386/fpu/libm-test-ulps: Update.
21340         [BZ #14273]
21341         * math/libm-test.inc (cosh_test): Add more tests.
21343         * version.h (RELEASE): Set to "development".
21344         (VERSION): Set to "2.16.90".
21346 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21348         * NEWS: Update copyright. Remove last-updated date.
21349         Mention math library bug fixes and timezone data changes.
21350         * README: Mention GNU/Hurd, x32, and HPPA support status.
21352 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21354         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21356 2012-06-27  Andreas Jaeger  <aj@suse.de>
21358         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21360 2012-06-25  Andreas Jaeger  <aj@suse.de>
21362         * sysdeps/s390/fpu/libm-test-ulps: Update.
21364 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21365             Thomas Schwinge  <thomas@codesourcery.com>
21367         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21368         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21370         fanotify_mark.
21372 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21374         * sysdeps/mach/start.c: Remove file.
21375         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21376         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21377         * sysdeps/sh/init-first.c: Likewise.
21379         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21380         registers for frame unwinding purposes, add CFI directives.
21381         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21382         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21383         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21384         Likewise.
21386         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21387         __fortify_fail returning.
21388         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21390         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21391         sysdeps/sh/____longjmp_chk.S.
21392         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21393         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21394         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21395         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21397         * sysdeps/sh/abort-instr.h: New file.
21398         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21399         process in case exit returns.
21401         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21402         initialize the GOT register before use.
21404         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21405         calculation of ARGC > 4.
21407         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21408         meaningful names to some local labels.
21410 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21411             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21413         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21414         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21415         (__arch_compare_and_exchange_val_16_acq): Likewise.
21416         (__arch_compare_and_exchange_val_32_acq): Likewise.
21417         (atomic_exchange_and_add): Fix gUSA sequence.
21418         (atomic_add): Likewise.
21419         (atomic_add_negative): Likewise.
21420         (atomic_add_zero): Likewise.
21421         (atomic_bit_test_set): Likewise.
21423 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21425         [BZ #13579]
21426         * include/link.h (struct link_map): Add l_free_initfini.
21427         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21428         l_initfini.
21429         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21430         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21431         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21432         set.
21434 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21436         * configure.in: Use AC_LANG_SOURCE.
21437         * configure: Regenerate.
21439 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21441         * configure.in (libc_cv_localstatedir): New substituted variable.
21442         * configure: Regenerated.
21443         * config.make.in (localstatedir): New variable, substituted from
21444         libc_cv_localstatedir.
21445         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21446         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21447         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21448         * sysdeps/gnu/configure: Regenerated.
21450 2012-06-21  Jeff Law  <law@redhat.com>
21452         [BZ #14277]
21453         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21454         free.  Simplify list management for _LIBC case.
21456 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21458         [BZ #14273]
21459         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21460         Clear sign bit of 64-bit integer value before comparing against
21461         overflow value.
21463         * sysdeps/mach/configure: Regenerated.
21465 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21467         [BZ #14278]
21468         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21470 2012-06-21  Jeff Law  <law@redhat.com>
21472         [BZ #13882]
21473         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21474         uint16_t for elements in the "seen" array to avoid char overflows.
21475         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21476         * elf/dl-open.c (dl_open_worker): Likewise.
21478 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21480         * scripts/list-sources.sh: Scan PORTS for translations.
21481         * po/libc.pot: Regenerated.
21483 2012-06-21  Andreas Jaeger  <aj@suse.de>
21485         [BZ #12194]
21486         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21487         warning.
21488         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21489         * bits/byteswap-16.h (__bswap_16): Likewise.
21490         * bits/byteswap.h (__bswap_constant_16): Likewise.
21492 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21494         [BZ #14117]
21495         * sysdeps/i386/fpu_control.h: Removed.
21496         * sysdeps/x86_64/fpu_control.h: Moved to ...
21497         * sysdeps/x86/fpu_control.h: Here.
21499         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21500         (_FPU_SETCW): Likewise.
21502 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21504         [BZ #14117]
21505         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21506         * sysdeps/x86/fpu/bits/mathinline.h: This.
21507         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21509         [BZ #14050]
21510         [BZ #14117]
21511         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21512         functions if __x86_64__ is defined.
21514 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21516         * string/endian.h: Add !__ASSEMBLER__ condition for including
21517         conversion interfaces.
21519 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21521         [BZ #14241]
21522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21523         of ABS(x) in calculating zero to negative powers other than odd
21524         integers.
21525         * math/libm-test.inc (pow_test): Add more tests.
21527 2012-06-15  Andreas Jaeger  <aj@suse.de>
21529         * manual/contrib.texi (Contributors): Update entry of Liubov
21530         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21531         Machado Filho.
21533 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21535         * string/string.h: Add __wur to GNU version of strerror_r.
21537 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21539         [BZ #14229]
21540         * string/Makefile (tests): Add tst-strtok_r.
21541         * string/tst-strtok_r.c: New file.
21542         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21543         RAX_LP/RDX_LP on SAVE_PTR.
21545 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21547         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21549 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21551         * libm_test.inc (csqrt_test): Allow more spurious underflow
21552         exceptions.
21553         (j0_test): Likewise.
21554         (j1_test): Likewise.
21555         (y0_test): Likewise.
21556         (y1_test): Likewise.
21558 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21560         * po/Makefile (libc.pot): Use UTF-8 charset.
21562 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21564         [BZ #14210]
21565         Suppress sign-conversion warning from FD_SET.
21566         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21567         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21568         not unsigned long int.
21569         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21571 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21573         [BZ #14050]
21574         [BZ #14117]
21575         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21576         __extern_always_inline instead of __extern_inline.
21577         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21578         (__signbit): Likewise.
21579         (__signbitl): Support C++ namespace.
21580         (lrintf): New inline function.
21581         (lrint): Likewise.
21582         (llrintf): Likewise.
21583         (llrint): Likewise.
21584         (fmaxf): Likewise.
21585         (fmax): Likewise.
21586         (fminf): Likewise.
21587         (fmin): Likewise.
21588         (rint): Likewise.
21589         (rintf): Likewise.
21590         (ceil): Likewise.
21591         (ceilf): Likewise.
21592         (floor): Likewise.
21593         (floorf): Likewise.
21594         (nearbyint): Likewise.
21595         (nearbyintf): Likewise.
21597 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21600         non-default versions.
21602 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21604         [BZ #14218]
21605         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21607 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21609         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21610         (FE_UPWARD, FE_DOWNWARD): Don't define.
21611         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21612         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21614         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21615         reading it.
21616         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21617         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21619 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21621         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21623         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21624         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21626 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21628         [BZ #14117]
21629         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21630         * sysdeps/i386/fpu/Implies: New file.
21631         * sysdeps/x86_64/fpu/Implies: Likewise.
21632         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21633         * sysdeps/x86/fpu/bits/fenv.h: This.
21635         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21636         __SSE_MATH__.
21638 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21640         [BZ #14134]
21641         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21642         character 0xffff that matches the last element of the
21643         conversion table.
21645 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21647         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21648         fmodl commit.
21650 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21652         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21653         values higher than 25.6283.
21655 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21658         subnormal exponent extraction and add some __builtin_expect.
21659         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21660         Fix for subnormal mantissa calculation.
21662 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21664         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21665         cpu2 is -1 and errno is not ENOSYS.
21667 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21669         [BZ #14117]
21670         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21671         * sysdeps/x86/bits/string.h: This.
21672         * sysdeps/x86_64/bits/string.h: Removed.
21674         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21675         if not compiling for x86-64, but compiling for >= i486.
21677         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21678         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21680         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21681         New macro from Linux kernel 3.4.0.
21682         (FP_XSTATE_MAGIC2): Likewise.
21683         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21684         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21685         (struct _fpx_sw_bytes): New struct.
21686         (struct _xsave_hdr): Likewise.
21687         (struct _ymmh_state): Likewise.
21688         (struct _xstate): Likewise.
21690         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21691         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21692         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21693         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21694         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21695         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21697         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21698         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21699         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21700         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21701         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21702         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21704 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21706         [BZ #13743]
21707         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21708         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21709         (sysdep_headers): Include sys/platform/ppc.h.
21710         * sysdeps/powerpc/test-gettimebase.c: Test for
21711         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21712         * manual/Makefile (appendices): Include platform.texi.
21713         * manual/contrib.texi (Contributors): Update @node pointers.
21714         * manual/maint.texi (Maintenance): Likewise.
21715         (Platform): New node.
21716         * manual/platform.texi: New file.  Document the new features.
21718 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21719             Jakub Jelinek  <jakub@redhat.com>
21721         [BZ #14188]
21722         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21723         where __builtin_expect is unavailable.
21725 2012-06-03  David S. Miller  <davem@davemloft.net>
21727         * stdlib/longlong.h: Updated from GCC.
21729 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21731         [BZ #14042]
21732         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21733         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21734         __mcount_internal.
21735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21736         (GLIBC_2.16): Likewise.
21738 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21740         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21742 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21745         (default-abi): New variable.
21746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21747         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21748         variable.
21749         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21750         Likewise.
21751         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21752         Likewise.
21753         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21754         Likewise.
21756         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21757         definition.  Document in comment.
21759 2012-06-01  David S. Miller  <davem@davemloft.net>
21761         * stdlib/longlong.h: Updated from GCC.
21763 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21765         [BZ #14117]
21766         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21767         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21768         sys/debugreg.h sys/io.h here.
21769         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21770         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21771         sys/io.h.
21772         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21773         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21774         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21775         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21776         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21777         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21780         Define only if __x86_64__ is defined.
21782 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21784         [BZ #14048]
21785         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21786         Use int64_t for variable i.
21787         * math/libm-test.inc (fmod_test): Add more tests.
21789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21790         z computation is not scheduled after fetestexcept.
21791         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21792         Use math_force_eval instead of asm to ensure calculation scheduled
21793         before exception test.
21794         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21795         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21797 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21800         computation is not scheduled after fetestexcept.
21802 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21804         [BZ #14117]
21805         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21806         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21808 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21810         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21811         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21813 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21815         [BZ #14117]
21816         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21817         <bits/wordsize.h>.
21818         (__WCHAR_MIN): Support __WORDSIZE == 64.
21819         (__WCHAR_MAX): Likewise.
21821         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21824         [BZ #14183]
21825         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21826         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21828         [BZ #14117]
21829         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21830         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21832         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21833         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21835         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21836         Defined to 1 if __x86_64__ isn't defined.
21837         (_STAT_VER_LINUX_OLD): New.
21838         (st_atime): Remove duplicate.
21839         (st_mtime): Likewise.
21840         (st_ctime): Likewise.
21842 2012-05-31  David S. Miller  <davem@davemloft.net>
21844         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21845         entries.
21847 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21849         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21850         gen-libm-test.pl.
21852         [BZ #14132]
21853         * elf/dl-reloc.c: Include <_itoa.h>.
21854         (_dl_reloc_bad_type): Remove use of INTUSE.
21855         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21856         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21857         * stdio-common/psiginfo.c (psiginfo): Likewise.
21858         * stdio-common/psignal.c (psignal): Likewise.
21859         * string/strsignal.c (strsignal): Likewise.
21860         * include/signal.h (_sys_siglist): Declare hidden proto.
21861         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21862         INTVARDEF with libc_hidden_data_def.
21863         * stdio-common/itoa-udigits.c: Likewise.
21864         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21865         (_itoa_lower_digits_internal): Remove declaration.
21866         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21867         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21868         (_sys_sigabbrev_internal): Remove aliases.
21869         (_sys_siglist): Define hidden alias.
21871 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21874         bits/sysctl.h.
21876 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21878         [BZ #14117]
21879         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21880         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21882         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21883         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21884         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21885         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21887         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21889         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21890         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21891         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21893         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21894         with __addr.
21895         (insw): Likewise.
21896         (insl): Likewise.
21897         (outsb): Likewise.
21898         (outsw): Likewise.
21899         (outsl): Likewise.
21901         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21902         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21903         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21905         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21906         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21907         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21908         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21909         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21910         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21912         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21913         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21915         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21916         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21918         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21920         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21922         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21923         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21924         to ...
21925         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21927         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21929         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21931         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21932         for x86-64.
21933         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21935 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21937         * math/math.h (M_El): Use two more decimal places.
21938         (M_LOG2El): Likewise.
21939         (M_LOG10El): Likewise.
21940         (M_LN2l): Likewise.
21941         (M_LN10l): Likewise.
21942         (M_PIl): Likewise.
21943         (M_PI_2l): Likewise.
21944         (M_PI_4l): Likewise.
21945         (M_1_PIl): Likewise.
21946         (M_2_PIl): Likewise.
21947         (M_2_SQRTPIl): Likewise.
21948         (M_SQRT2l): Likewise.
21949         (M_SQRT1_2l): Likewise.
21951 2012-05-31  David S. Miller  <davem@davemloft.net>
21953         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21954         values between float registers.
21955         * sysdeps/sparc/sparc64/memset.S: Likewise.
21956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21958 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21960         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21961         -D_FORTIFY_SOURCE=1.
21962         (CPPFLAGS-tst-longjmp_chk.c): Define.
21963         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21964         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21965         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21966         CFLAGS-tst-wchar-h.c.
21968 2012-05-31  Marek Polacek  <polacek@redhat.com>
21970         [BZ #14132]
21971         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21972         __endmntent_internal): Remove declaration.
21973         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21974         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21975         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21977 2012-05-30  David S. Miller  <davem@davemloft.net>
21979         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21980         (___Q_simulate_exceptions): Use real FP ops rather than writing
21981         into the %fsr.
21982         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21983         Likewise.
21985 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21987         [BZ #14117]
21988         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21989         * sysdeps/x86/bits/xtitypes.h: This.
21991         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21992         * sysdeps/x86/bits/wordsize.h: This.
21994         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21995         * sysdeps/x86/bits/huge_vall.h: This.
21997         * sysdeps/i386/bits/select.h: Removed.
21998         * sysdeps/x86_64/bits/select.h: Renamed to ...
21999         * sysdeps/x86/bits/select.h: This.
22001         * sysdeps/i386/bits/setjmp.h: Removed.
22002         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22003         * sysdeps/x86/bits/setjmp.h: This.
22005         * sysdeps/i386/bits/mathdef.h: Removed.
22006         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22007         * sysdeps/x86/bits/mathdef.h: This.
22009 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22011         [BZ #14132]
22012         * include/sys/socket.h (__connect_internal)
22013         (__libc_sa_len_internal): Remove declaration.
22014         (__connect, __libc_sa_len): Declare hidden_proto.
22015         (SA_LEN): Remove use of INTUSE.
22016         * socket/connect.c: Add libc_hidden_def.
22017         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22018         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22019         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22020         alias.
22021         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22022         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22023         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22024         of adding _internal alias.
22026 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22028         [BZ #14117]
22029         * sysdeps/i386/bits/link.h: Removed.
22030         * sysdeps/i386/bits/linkmap.h: Likewise.
22031         * sysdeps/x86_64/bits/link.h: Renamed to ...
22032         * sysdeps/x86/bits/link.h: This.
22033         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22034         * sysdeps/x86/bits/linkmap.h: This.
22036         * sysdeps/i386/bits/endian.h: Removed.
22037         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22038         * sysdeps/x86/bits/endian.h: This.
22040         * sysdeps/i386/bits/byteswap.h: Removed.
22041         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22042         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22043         * sysdeps/x86/bits/byteswap.h: This.
22044         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22045         * sysdeps/x86/bits/byteswap-16.h: This.
22046         * sysdeps/i386/Implies: Add x86.
22047         * sysdeps/x86_64/Implies: Likewise.
22049 2012-05-30  David S. Miller  <davem@davemloft.net>
22051         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22052         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22053         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22054         (FP_TRAPPING_EXCEPTIONS): Define.
22055         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22056         (FP_TRAPPING_EXCEPTIONS): Define.
22057         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22058         subnormals only when inexact has been signalled or underflow
22059         exceptions are enabled.
22060         (_FP_PACK_CANONICAL): Likewise.
22062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22064         [BZ #14183]
22065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22066         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22068 2012-05-30  Richard Henderson  <rth@twiddle.net>
22070         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22071         with #ifndef NOT_IN_libc.
22073         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22074         marked to avoid plt entry.
22076 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22078         [BZ #14112]
22079         * Makeconfig (default-abi): New macro.
22080         (abi-includes): Likewise.
22081         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22082         $(abi-$(default-abi)-lib-soname) for soname if defined.
22083         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22084         abi-variants.
22085         * Makefile (installed-stubs): Likewise.
22086         * include/stubs-biarch.h: Removed.
22087         * scripts/lib-names.awk: Only handle one library at a time.
22088         * scripts/soversions.awk: Remove WORDSIZE support.
22089         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22090         entries.
22091         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22092         Removed.
22093         (syscall-list-default-condition): Likewise.
22094         (syscall-list-default-condition): Likewise.
22095         (syscall-list-includes): Likewise.
22096         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22097         syscall-list-* with abi-*.  Handle undefined abi-variants.
22098         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22099         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22100         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22101         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22102         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22103         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22104         Removed.
22105         (syscall-list-32-options): Likewise.
22106         (syscall-list-32-condition): Likewise.
22107         (syscall-list-64-options): Likewise.
22108         (syscall-list-64-condition): Likewise.
22109         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22110         macro.
22111         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22112         Renamed to ...
22113         (abi-*): This.
22114         (abi-64-ld-soname): New macro.
22115         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22116         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22117         Renamed to ...
22118         (abi-*): This.
22119         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22120         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22122 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22124         * sysdeps/unix/sysv/linux/kernel-features.h
22125         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22126         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22127         include <kernel-features.h>.
22128         [!__NR_ftruncate64]: Remove conditional code.
22129         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22130         [__NR_ftruncate64]: Make code unconditional.
22131         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22132         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22133         include <kernel-features.h>.
22134         [!__NR_ftruncate64]: Remove conditional code.
22135         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22136         [__NR_ftruncate64]: Make code unconditional.
22137         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22139         include <kernel-features.h>.
22140         [!__NR_ftruncate64]: Remove conditional code.
22141         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22142         [__NR_ftruncate64]: Make code unconditional.
22143         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22145         include <kernel-features.h>.
22146         [!__NR_ftruncate64]: Remove conditional code.
22147         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22148         [__NR_ftruncate64]: Make code unconditional.
22149         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22151         * configure.in (libc_cv_fpie): Weaken to a compile test using
22152         LIBC_TRY_CC_OPTION.
22153         * configure: Regenerated.
22155 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22161         Refreshed.
22162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22168         Refreshed.
22170 2012-05-27  David S. Miller  <davem@davemloft.net>
22172         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22173         (___Q_zero): New.
22174         (__Q_simulate_exceptions): Return void.  Change to simulate
22175         exceptions by writing into the %fsr.
22176         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22177         (__Qp_handle_exceptions): Likewise.
22178         (numbers): Delete.
22179         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22180         __Qp_handle_exceptions.
22181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22182         __Qp_handle_exceptions.
22183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22184         as unused and give dummy FP_RND_NEAREST initializer.
22185         (FP_INHIBIT_RESULTS): Define.
22186         (___Q_simulate_exceptions): Update declaration.
22187         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22188         formatting.
22189         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22190         as unused and give dummy FP_RND_NEAREST initializer.
22191         (__Qp_handle_exceptions): Update declaration.
22192         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22193         formatting.
22195 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22197         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22198         the temporary FPU control word.
22199         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22200         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22201         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22202         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22203         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22204         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22205         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22207         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22208         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22209         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22211 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22213         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22214         fields.
22216 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22218         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22219         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22220         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22221         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22222         Likewise.
22223         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22224         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22225         Likewise.
22227 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22229         * po/h.po: Update from translation team.
22231 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22233         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22235         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22236         handling of denormals.
22237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22238         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22239         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22240         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22244         Likewise.
22246 2012-05-26  Marek Polacek  <polacek@redhat.com>
22248         [BZ #14152]
22249         * math/libm-test.inc (fma_test): Don't always expect underflow
22250         exception.
22252 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22254         [BZ #12416]
22255         * elf/tst-execstack.c: Include stackinfo.h.
22256         (do_test): Adjust test case to ensure that pthread_getattr_np
22257         behaviour remains the same after marking stack executable.
22259 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22261         * sysdeps/unix/sysv/linux/kernel-features.h
22262         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22263         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22264         kernel-features.h.
22265         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22266         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22267         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22268         kernel-features.h.
22269         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22270         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22272 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22274         * configure.in: Define the default includes to being none.
22275         * configure: Regenerated.
22277 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22279         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22280         * sysdeps/x86_64/setjmp.S: Likewise.
22281         * sysdeps/i386/bsd-setjmp.S: Likewise.
22282         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22283         * sysdeps/i386/setjmp.S: Likewise.
22284         * sysdeps/i386/__longjmp.S: Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22286         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22288         * include/stap-probe.h: New file.
22289         * configure.in: Handle --enable-systemtap.
22290         * configure: Regenerated.
22291         * config.h.in (USE_STAP_PROBE): New #undef.
22292         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22293         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22294         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22296 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22298         [BZ #13717]
22299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22300         to 2.4.0 where earlier.
22301         * sysdeps/unix/sysv/linux/configure: Regenerated.
22302         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22303         <kernel-features.h>.
22304         [__ASSUME_32BITUIDS]: Make code unconditional.
22305         [!__ASSUME_32BITUIDS]: Remove conditional code.
22306         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22307         <kernel-features.h>.
22308         [__ASSUME_32BITUIDS]: Make code unconditional.
22309         [!__ASSUME_32BITUIDS]: Remove conditional code.
22310         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22311         [__ASSUME_32BITUIDS]: Make code unconditional.
22312         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22313         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22314         <kernel-features.h>.
22315         [__ASSUME_32BITUIDS]: Make code unconditional.
22316         [!__ASSUME_32BITUIDS]: Remove conditional code.
22317         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22318         <kernel-features.h>.
22319         [__ASSUME_32BITUIDS]: Make code unconditional.
22320         [!__ASSUME_32BITUIDS]: Remove conditional code.
22321         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22322         <kernel-features.h>.
22323         [__ASSUME_32BITUIDS]: Make code unconditional.
22324         [!__ASSUME_32BITUIDS]: Remove conditional code.
22325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22326         <kernel-features.h>.
22327         [__ASSUME_32BITUIDS]: Make code unconditional.
22328         [!__ASSUME_32BITUIDS]: Remove conditional code.
22329         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22330         <kernel-features.h>.
22331         [__ASSUME_32BITUIDS]: Make code unconditional.
22332         [!__ASSUME_32BITUIDS]: Remove conditional code.
22333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22334         <kernel-features.h>.
22335         [__ASSUME_32BITUIDS]: Make code unconditional.
22336         [!__ASSUME_32BITUIDS]: Remove conditional code.
22337         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22338         <kernel-features.h>.
22339         [__ASSUME_32BITUIDS]: Make code unconditional.
22340         [!__ASSUME_32BITUIDS]: Remove conditional code.
22341         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22342         <kernel-features.h>.
22343         [__ASSUME_32BITUIDS]: Make code unconditional.
22344         [!__ASSUME_32BITUIDS]: Remove conditional code.
22345         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22346         <kernel-features.h>.
22347         [__ASSUME_32BITUIDS]: Make code unconditional.
22348         [!__ASSUME_32BITUIDS]: Remove conditional code.
22349         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22350         <kernel-features.h>.
22351         [__ASSUME_32BITUIDS]: Make code unconditional.
22352         [!__ASSUME_32BITUIDS]: Remove conditional code.
22353         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22354         <kernel-features.h>.
22355         [__NR_setresgid] (__setresgid): Do not declare.
22356         [__ASSUME_32BITUIDS]: Make code unconditional.
22357         [!__ASSUME_32BITUIDS]: Remove conditional code.
22358         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22359         <kernel-features.h>.
22360         [__NR_setresuid] (__setresuid): Do not declare.
22361         [__ASSUME_32BITUIDS]: Make code unconditional.
22362         [!__ASSUME_32BITUIDS]: Remove conditional code.
22363         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22364         <kernel-features.h>.
22365         [__ASSUME_32BITUIDS]: Make code unconditional.
22366         [!__ASSUME_32BITUIDS]: Remove conditional code.
22367         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22368         <kernel-features.h>.
22369         [__ASSUME_32BITUIDS]: Make code unconditional.
22370         [!__ASSUME_32BITUIDS]: Remove conditional code.
22371         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22372         <kernel-features.h>.
22373         [__ASSUME_32BITUIDS]: Make code unconditional.
22374         [!__ASSUME_32BITUIDS]: Remove conditional code.
22375         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22376         <kernel-features.h>.
22377         [__ASSUME_32BITUIDS]: Make code unconditional.
22378         [!__ASSUME_32BITUIDS]: Remove conditional code.
22379         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22380         <kernel-features.h>.
22381         [__ASSUME_32BITUIDS]: Make code unconditional.
22382         [!__ASSUME_32BITUIDS]: Remove conditional code.
22383         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22384         <kernel-features.h>.
22385         [__ASSUME_32BITUIDS]: Make code unconditional.
22386         [!__ASSUME_32BITUIDS]: Remove conditional code.
22387         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22388         <kernel-features.h>.
22389         [__ASSUME_32BITUIDS]: Make code unconditional.
22390         [!__ASSUME_32BITUIDS]: Remove conditional code.
22391         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22392         <kernel-features.h>.
22393         [__ASSUME_32BITUIDS]: Make code unconditional.
22394         [!__ASSUME_32BITUIDS]: Remove conditional code.
22395         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22396         <kernel-features.h>.
22397         [__ASSUME_32BITUIDS]: Make code unconditional.
22398         [!__ASSUME_32BITUIDS]: Remove conditional code.
22399         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22400         <kernel-features.h>.
22401         [__ASSUME_32BITUIDS]: Make code unconditional.
22402         [!__ASSUME_32BITUIDS]: Remove conditional code.
22403         * sysdeps/unix/sysv/linux/kernel-features.h
22404         (__ASSUME_SETRESUID_SYSCALL): Remove.
22405         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22406         (__ASSUME_32BITUIDS): Likewise.
22407         (__ASSUME_LDT_WORKS): Likewise.
22408         (__ASSUME_O_DIRECTORY): Likewise.
22409         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22410         architecture but not kernel version.
22411         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22412         (__ASSUME_MMAP2_SYSCALL): Likewise.
22413         (__ASSUME_STAT64_SYSCALL): Likewise.
22414         (__ASSUME_IPC64): Likewise.
22415         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22416         <kernel-features.h>.
22417         [__ASSUME_32BITUIDS]: Make code unconditional.
22418         [!__ASSUME_32BITUIDS]: Remove conditional code.
22419         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22420         <kernel-features.h>.
22421         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22422         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22423         132096]: Remove conditional code.
22424         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22425         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22426         <kernel-features.h>.
22427         [__ASSUME_32BITUIDS]: Make code unconditional.
22428         [!__ASSUME_32BITUIDS]: Remove conditional code.
22429         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22430         <kernel-features.h>.
22431         [__ASSUME_32BITUIDS]: Make code unconditional.
22432         [!__ASSUME_32BITUIDS]: Remove conditional code.
22433         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22434         <kernel-features.h>.
22435         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22436         unconditional.
22437         (__setresgid): Do not declare.
22438         [__ASSUME_32BITUIDS]: Make code unconditional.
22439         [!__ASSUME_32BITUIDS]: Remove conditional code.
22440         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22441         <kernel-features.h>.
22442         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22443         unconditional.
22444         (__setresuid): Do not declare.
22445         [__ASSUME_32BITUIDS]: Make code unconditional.
22446         [!__ASSUME_32BITUIDS]: Remove conditional code.
22447         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22448         <kernel-features.h>.
22449         [__ASSUME_32BITUIDS]: Make code unconditional.
22450         [!__ASSUME_32BITUIDS]: Remove conditional code.
22451         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22452         <kernel-features.h>.
22453         [__ASSUME_32BITUIDS]: Make code unconditional.
22454         [!__ASSUME_32BITUIDS]: Remove conditional code.
22456 2012-05-25  Richard Henderson  <rth@twiddle.net>
22458         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22459         dl_hwcap to ifunc resolver.
22460         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22461         elf_ifunc_invoke.
22462         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22463         dl_hwcap to ifunc resolver.
22464         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22466 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22468         [BZ #14153]
22469         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22470         for |x| <= 2**-26, not 2**-57.
22471         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22472         exception.
22474 2012-05-24  Jeff Law  <law@redhat.com>
22476         * stdio-common/Makefile (tests): Add bug25.
22477         * stdio-common/bug25.c: New test.
22479 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22481         [BZ #13576]
22482         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22483         multiple of MALLOC_ALIGNMENT in size.
22484         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22486 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22488         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22489         Require >= 256.
22490         (FILENAME_MAX): Use macro-int-constant.
22491         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22492         (_IOFBF): Use macro-int-constant.
22493         (_IOLBF): Likewise.
22494         (_IONBF): Likewise.
22495         (SEEK_CUR): Likewise.
22496         (SEEK_END): Likewise.
22497         (SEEK_SET): Likewise.
22498         (TMP_MAX): Likewise.
22499         (EOF): Use macro-int-constant.  Require < 0.
22500         (NULL): Use macro-constant.  Require == 0.
22501         (stdin): Require type to be FILE *.
22502         (stdout): Likewise.
22503         (stderr): Likewise.
22504         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22505         macro-int-constant.
22506         (EXIT_SUCCESS): Likewise.
22507         (NULL): Use macro-constant.  Require == 0.
22508         (RAND_MAX): Use macro-int-constant.
22509         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22510         [C99-based standards] (strtof): Require function.
22511         [C99-based standards] (strtold): Likewise.
22512         [C99-based standards] (strtoll): Likewise.
22513         [C99-based standards] (strtoull): Likewise.
22514         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22515         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22516         [ISO || ISO99 || ISO11] (math.h): Likewise.
22517         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22518         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22519         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22521 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22523         [BZ #14132]
22524         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22525         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22526         * intl/dgettext.c (DCGETTEXT): Likewise.
22527         * intl/gettext.c (DCGETTEXT): Likewise.
22528         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22529         * posix/regex_internal.h (gettext): Likewise.
22530         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22531         Remove declaration.
22532         * include/argz.h (__argz_count_internal)
22533         (__argz_stringify_internal): Remove declaration.
22534         (__argz_count, __argz_stringify): Declare hidden proto.
22535         * intl/dcgettext.c: Remove use of INTDEF.
22536         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22537         * string/argz-stringify.c: Likewise.
22538         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22539         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22540         Declare hidden proto.
22541         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22542         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22543         Declare hidden proto.
22544         * include/stdio.h (__asprintf_internal): Don't declare.
22545         (__asprintf): Don't define as macro.  Declare hidden proto.
22546         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22547         (__fsetlocking): Declare hidden proto.
22548         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22549         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22550         hidden proto.
22551         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22552         (_IO_setlinebuf): Remove use of INTUSE.
22553         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22554         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22555         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22556         Remove declaration.
22557         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22558         (_IO_do_flush): Remove use of INTUSE.
22559         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22560         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22561         (_IO_adjust_column, _IO_least_wmarker)
22562         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22563         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22564         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22565         (_IO_default_doallocate, _IO_wdefault_doallocate)
22566         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22567         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22568         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22569         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22570         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22571         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22572         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22573         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22574         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22575         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22576         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22577         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22578         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22579         proto.
22580         (_IO_flush_all_internal, _IO_adjust_column_internal)
22581         (_IO_default_uflow_internal, _IO_default_finish_internal)
22582         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22583         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22584         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22585         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22586         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22587         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22588         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22589         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22590         (_IO_file_close_internal, _IO_file_close_it_internal)
22591         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22592         (_IO_file_init_internal, _IO_file_attach_internal)
22593         (_IO_file_fopen_internal, _IO_file_read_internal)
22594         (_IO_file_sync_internal, _IO_file_seek_internal)
22595         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22596         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22597         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22598         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22599         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22600         (_IO_list_all_internal, _IO_link_in_internal)
22601         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22602         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22603         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22604         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22605         (_IO_do_write_internal, _IO_padn_internal)
22606         (_IO_getline_info_internal, _IO_getline_internal)
22607         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22608         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22609         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22610         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22611         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22612         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22613         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22614         with libc_hidden_ver, remove use of INTUSE.
22615         * libio/genops.c: Likewise.
22616         * libio/freopen.c: Likewise.
22617         * libio/freopen64.c: Likewise.
22618         * libio/iofclose.c: Likewise.
22619         * libio/iofdopen.c: Likewise.
22620         * libio/iofflush.c: Likewise.
22621         * libio/iofflush_u.c: Likewise.
22622         * libio/iofgets.c: Likewise.
22623         * libio/iofgets_u.c: Likewise.
22624         * libio/iofopen.c: Likewise.
22625         * libio/iofopncook.c: Likewise.
22626         * libio/iofread.c: Likewise.
22627         * libio/iofread_u.c: Likewise.
22628         * libio/ioftell.c: Likewise.
22629         * libio/iofwrite.c: Likewise.
22630         * libio/iogetline.c: Likewise.
22631         * libio/iogets.c: Likewise.
22632         * libio/iogetwline.c: Likewise.
22633         * libio/iopadn.c: Likewise.
22634         * libio/iopopen.c: Likewise.
22635         * libio/ioseekoff.c: Likewise.
22636         * libio/ioseekpos.c: Likewise.
22637         * libio/iosetbuffer.c: Likewise.
22638         * libio/iosetvbuf.c: Likewise.
22639         * libio/ioungetc.c: Likewise.
22640         * libio/ioungetwc.c: Likewise.
22641         * libio/iovdprintf.c: Likewise.
22642         * libio/iovsprintf.c: Likewise.
22643         * libio/iovsscanf.c: Likewise.
22644         * libio/memstream.c: Likewise.
22645         * libio/obprintf.c: Likewise.
22646         * libio/oldfileops.c: Likewise.
22647         * libio/oldiofclose.c: Likewise.
22648         * libio/oldiofdopen.c: Likewise.
22649         * libio/oldiofopen.c: Likewise.
22650         * libio/oldiopopen.c: Likewise.
22651         * libio/oldstdfiles.c: Likewise.
22652         * libio/putc.c: Likewise.
22653         * libio/setbuf.c: Likewise.
22654         * libio/setlinebuf.c: Likewise.
22655         * libio/stdfiles.c: Likewise.
22656         * libio/strops.c: Likewise.
22657         * libio/vasprintf.c: Likewise.
22658         * libio/vscanf.c: Likewise.
22659         * libio/vsnprintf.c: Likewise.
22660         * libio/vswprintf.c: Likewise.
22661         * libio/wfiledoalloc.c: Likewise.
22662         * libio/wfileops.c: Likewise.
22663         * libio/wgenops.c: Likewise.
22664         * libio/wmemstream.c: Likewise.
22665         * libio/wstrops.c: Likewise.
22666         * libio/__fpurge.c: Likewise.
22667         * libio/__fsetlocking.c: Likewise.
22668         * assert/assert.c: Likewise.
22669         * debug/fgets_chk.c: Likewise.
22670         * debug/fgets_u_chk.c: Likewise.
22671         * debug/fread_chk.c: Likewise.
22672         * debug/fread_u_chk.c: Likewise.
22673         * debug/gets_chk.c: Likewise.
22674         * debug/obprintf_chk.c: Likewise.
22675         * debug/vasprintf_chk.c: Likewise.
22676         * debug/vdprintf_chk.c: Likewise.
22677         * debug/vsnprintf_chk.c: Likewise.
22678         * debug/vsprintf_chk.c: Likewise.
22679         * malloc/mtrace.c: Likewise.
22680         * misc/error.c: Likewise.
22681         * misc/syslog.c: Likewise.
22682         * stdio-common/asprintf.c: Likewise.
22683         * stdio-common/fxprintf.c: Likewise.
22684         * stdio-common/getw.c: Likewise.
22685         * stdio-common/isoc99_fscanf.c: Likewise.
22686         * stdio-common/isoc99_scanf.c: Likewise.
22687         * stdio-common/isoc99_vfscanf.c: Likewise.
22688         * stdio-common/isoc99_vscanf.c: Likewise.
22689         * stdio-common/isoc99_vsscanf.c: Likewise.
22690         * stdio-common/printf-prs.c: Likewise.
22691         * stdio-common/printf_fp.c: Likewise.
22692         * stdio-common/printf_fphex.c: Likewise.
22693         * stdio-common/printf_size.c: Likewise.
22694         * stdio-common/putw.c: Likewise.
22695         * stdio-common/scanf.c: Likewise.
22696         * stdio-common/sprintf.c: Likewise.
22697         * stdio-common/tmpfile.c: Likewise.
22698         * stdio-common/vfprintf.c: Likewise.
22699         * stdio-common/vfscanf.c: Likewise.
22700         * stdlib/strfmon_l.c: Likewise.
22701         * sunrpc/openchild.c: Likewise.
22702         * sunrpc/xdr_stdio.c: Likewise.
22703         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22704         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22706 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22708         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22710         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22711         in the third column, to generate for the shared library an IFUNC
22712         that uses _dl_vdso_vsym.
22713         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22714         * Makeconfig (object-suffixes-noshared): New variable.
22716         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22717         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22718         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22719         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22721         [BZ #14132]
22722         * include/sys/time.h (__gettimeofday): Remove macro.
22723         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22724         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22725         Remove INTDEF.
22726         (__gettimeofday): Add libc_hidden_def.
22727         (gettimeofday): Add libc_hidden_weak.
22728         * sysdeps/mach/gettimeofday.c: Likewise.
22729         * sysdeps/posix/gettimeofday.c: Likewise.
22730         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22731         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22733         (__gettimeofday_internal): Remove strong_alias.
22734         (__gettimeofday): Add libc_hidden_def.
22735         (gettimeofday): Add libc_hidden_weak.
22736         * sysdeps/unix/syscalls.list (gettimeofday):
22737         Remove __gettimeofday_internal alias.
22739 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22740             H.J. Lu  <hongjiu.lu@intel.com>
22742         [BZ #12495]
22743         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22744         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22745         (largebin_index_32_big): New.
22746         (largebin_index): Use it for 16-byte alignment.
22747         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22748         correction with front_misalign.
22750 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22754         Likewise.
22755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22756         Likewise.
22757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22758         Likewise.
22759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22760         Likewise.
22761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22762         Likewise.
22763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22764         Likewise.
22765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22766         Likewise.
22767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22768         Likewise.
22769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22770         Likewise.
22771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22772         Likewise.
22773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22776         Likewise.
22778         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22779         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22783         [BZ #10846]
22784         [BZ #14036]
22785         * math/libm-test.inc (exp_test): Add test from bug 14036.
22786         (pow_test): Add test from bug 10846.
22788         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22789         and other flags.
22790         (special_function): Do not include flags in test name.
22791         (parse_args): Likewise.
22792         * sysdeps/i386/fpu/libm-test-ulps: Update.
22793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22795         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22798         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22799         exceptions.
22800         * math/libm-test.inc ("Philosophy"): Update comment about
22801         exception testing.
22802         (UNDERFLOW_EXCEPTION): New macro.
22803         (UNDERFLOW_EXCEPTION_OK): Likewise.
22804         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22805         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22806         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22807         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22808         (INVALID_EXCEPTION_OK): Update value.
22809         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22810         (OVERFLOW_EXCEPTION_OK): Likewise.
22811         (IGNORE_ZERO_INF_SIGN): Likewise.
22812         (test_exceptions): Handle underflow exceptions.
22813         (acos_test): Update for underflow exception expectations.
22814         (cexp_test): Likewise.
22815         (clog_test): Likewise.
22816         (clog10_test): Likewise.
22817         (csqrt_test): Likewise.
22818         (ctan_test): Likewise.
22819         (ctanh_test): Likewise.
22820         (exp_test): Likewise.
22821         (exp10_test): Likewise.
22822         (exp2_test): Likewise.
22823         (expm1_test): Likewise.
22824         (fma_test): Likewise.
22825         (j0_test): Likewise.
22826         (jn_test): Likewise.
22827         (nexttoward_test): Likewise.
22828         (pow_test): Likewise.
22829         (scalbn_test): Likewise.
22830         (scalbln_test): Likewise.
22831         (tan_test): Likewise.
22832         (y1_test): Likewise.
22833         * sysdeps/i386/fpu/libm-test-ulps: Update.
22834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22836 2012-05-23  David S. Miller  <davem@davemloft.net>
22838         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22839         (__libc_sigaction): Remove unused local variables.
22841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22843         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22845 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22847         mktime: avoid signed integer overflow
22848         * time/mktime.c (__mktime_internal): Do not mishandle the case
22849         where diff == INT_MIN.
22851         mktime: simplify computation of average
22852         * time/mktime.c (ranged_convert): Use new time_t_avg function
22853         instead of rolling our own (probably-slower) code.
22855         mktime: do not assume signed right shift propagates sign bit
22856         * time/mktime.c (isdst_differ): New static function.
22857         (__mktime_internal): No need to normalize tm_isdst now.
22858         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22859         tm_isdst values.
22861         mktime: merge another wrapv change from gnulib
22862         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22863         from some compilers.
22865         mktime: remove incorrect attempt at unusual arithmetics
22866         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22867         The code didn't really work on such machines anyway.
22868         (TYPE_MINIMUM): Assume two's complement.
22869         (twos_complement_arithmetic): Verify that long_int and time_t
22870         are two's complement (or unsigned, in the latter case).
22872         mktime: check signed shifts on long_int and time_t, too
22873         * time/mktime.c (SHR): Check that shifts work as desired
22874         on the types long_int and time_t too, as SHR is used on
22875         such types.
22877         mktime: do not assume 'long' is wide enough
22878         * time/mktime.c (verify): Move decl up.
22879         (long_int): New type.
22880         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22881         to remove assumption in the code that 'long' is wide enough to
22882         store year values.  This assumption is not true on x32 and on
22883         some non-glibc platforms.
22885         mktime: merge wrapv change from gnulib
22886         * time/mktime.c (WRAPV): New macro.
22887         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22888         (guess_time_tm, __mktime_internal): Do not assume that signed
22889         integer overflow wraps around; modern compilers generate code
22890         where this assumption is no longer valid.
22892 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22894         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22895         Replace "jmp L(pseudo_end)" with "ret".
22896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22897         Likewise.
22899 2012-05-23  Andreas Jaeger  <aj@suse.de>
22901         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22902         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22904 2012-05-23  Andreas Jaeger  <aj@suse.de>
22905             Maximilian Attems  <max@stro.at>
22907         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22908         New macros.
22910 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22913         code so that pseudo_end is just ret and the stack pointer is
22914         correct also for static library in error case.
22916 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22918         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22919         move to syscalls.list.
22920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22925         * manual/install.texi (Running make install): Do not mention Linux
22926         kernel version for which pt_chown is not needed.
22927         (Linux): Do not mention problems with nscd with 2.0 kernels.
22928         * INSTALL: Regenerated.
22930 2012-05-23  Andreas Jaeger  <aj@suse.de>
22932         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22933         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22934         macro.
22935         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22936         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22937         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22938         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22939         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22940         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22942         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22943         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22944         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22945         * sysdeps/unix/sysv/linux/bits/in.h
22946         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22948 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22950         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22951         (PREPARE_VERSION): Just use assert instead, it will be elided
22952         under [NDEBUG] anyway.
22954 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22956         * sysdeps/unix/sysv/linux/Makefile: Include
22957         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22958         (sysdep_routines): Remove sysctl.
22959         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22960         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22962         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22963         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22965 2012-05-22  Andreas Jaeger  <aj@suse.de>
22967         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22968         that pseudo_end is just ret and the stack pointer is correct also
22969         for static library in error case.
22971 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22973         [BZ #14122]
22974         * nss/nsswitch.c (defconfig_entries): New variable.
22975         (__nss_database_lookup): Don't leak defconfig entries.
22976         (nss_parse_service_list): Don't leak on error paths.
22977         (free_database_entries): New function.
22978         (free_defconfig): New function.
22979         (free_mem): Move common code to free_database_entries.
22981 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22983         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22984         Add arch_prctl.
22985         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22987         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22988         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22990         New macro.
22991         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22992         (INTERNAL_SYSCALL_TYPES): Likewise.
22993         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22994         (LOAD_REGS_TYPES_[1-6]): Likewise.
22995         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22996         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22998 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23000         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23001         copysignl for GLIBC_2_0.
23002         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23003         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23005         logbl for GLIBC_2_0.
23006         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23007         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23011         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23012         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23014         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23015         Use "neg %eax".
23017         * time/mktime.c: Update copyright years.
23019 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23021         mktime: merge comment-quoting-style change from gnulib
23022         * time/mktime.c: Quote 'like this' in comments.
23023         The GNU coding standards suggest that we no longer quote `like this',
23024         as "`" and "'" are typically rendered asymmetrically nowadays.
23025         The typical gnulib style is to quote 'like this' when quoting
23026         code, and "like this" when quoting English.
23028         * time/mktime.c (compile-command): Add "-I.".
23030         mktime: merge mktime-internal.h change from gnulib
23031         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23033         mktime: merge time_r change from gnulib
23034         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23036         mktime: merge DEBUG change from gnulib
23037         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23038         case system <time.h> has a #define.
23040         mktime: merge <sys/types.h> change from gnulib
23041         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23042         since <time.t> is now guaranteed to define time_t.
23044         mktime: merge HAVE_CONFIG_H change from gnulib
23045         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23047 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23050         Use "neg %eax".
23052         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23053         __rlim_t cast.
23054         (struct rusage): Use anonymous union to pad each field to
23055         __syscall_slong_t.
23057 2012-05-21  David S. Miller  <davem@davemloft.net>
23059         * Makefules (o-iterator): Remove .s cases.
23060         (compile-command.s): Delete.
23061         (COMPILE.s): Delete.
23062         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23064 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23066         * configure.in (libc_cv_predef_stack_protector): Only consider
23067         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23068         * configure: Regenerated.
23070 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23073         New macro.  Use R*LP on int and pointer.
23074         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23075         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23076         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23077         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23079         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23080         [__WORDSIZE_TIME64_COMPAT32] instead of
23081         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23082         (struct utmp): Likewise.
23083         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23084         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23085         Renamed to ...
23086         (__WORDSIZE_TIME64_COMPAT32): This.
23087         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23088         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23089         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23090         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23091         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23092         (__WORDSIZE_TIME64_COMPAT32): New macro.
23094 2012-05-21  Andreas Jaeger  <aj@suse.de>
23096         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23097         only if [SHARED]. Add prototype for __wcschr_ia32.
23099 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23101         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23102         of %rbp unmolested in the jmp_buf while mangling the low bits.
23103         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23104         unmolested high bits of %rbp while demangling the low bits.
23105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23107 2012-05-21  Andreas Jaeger  <aj@suse.de>
23109         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23110         * sunrpc/svc_simple.c: Use it for registerrpc.
23111         * sunrpc/xcrypt.c: Use it for passwd2des.
23113         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23115 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23117         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23118         Don't define if [__SYSCALL_WORDSIZE != 32].
23119         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23120         New macro.
23122 2012-05-21  Bruno Haible  <bruno@clisp.org>
23123             Andreas Jaeger  <aj@suse.de>
23125         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23126         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23127         inptr and inend for must_buffer_ch.
23128         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23129         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23130         * stdio-common/Makefile (tests): Remove bug15.
23131         (bug15-ENV): Remove macro.
23132         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23133         anymore.
23135 2012-05-19  Andreas Jaeger  <aj@suse.de>
23136             Roland McGrath  <roland@hack.frob.com>
23138         * manual/contrib.texi: Completely rewritten. It contains now an
23139         alphabetical list of contributors and their contributions.
23141 2012-05-21  Richard Henderson  <rth@twiddle.net>
23143         * misc/getauxval.c (__getauxval): Use unsigned long int.
23144         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23145         (getauxval): Use unsigned long int.
23147 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23149         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23151 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23153         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23154         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23155         __alignof__ (long double).
23157 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23161 2012-05-20  Richard Henderson  <rth@twiddle.net>
23163         * misc/getauxval.c: New file.
23164         * misc/sys/auxv.h: New file.
23165         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23166         (routines): Add getauxval.
23167         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23168         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23169         * elf/dl-sysdep.c (_dl_auxv): Remove.
23170         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23171         * elf/dl-support.c (_dl_auxv): New variable.
23172         (_dl_aux_init): Initialize it.
23173         * manual/startup.texi (Auxiliary Vector): New node.
23174         * sysdeps/generic/bits/hwcap.h: New file.
23175         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23176         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23177         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23178         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23179         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23182         Update.
23183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23192 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23196 2012-05-19  David S. Miller  <davem@davemloft.net>
23198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23200 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23202         [BZ #14123]
23203         * math/s_ccosh.c: Include <float.h>
23204         (__ccosh): Avoid internal overflow calculating sinh and cosh
23205         values before multiplying by sin and cos values.
23206         * math/s_ccoshf.c: Likewise.
23207         * math/s_ccoshl.c: Likewise.
23208         * math/s_csin.c: Likewise.
23209         * math/s_csinf.c: Likewise.
23210         * math/s_csinl.c: Likewise.
23211         * math/s_csinh.c: Likewise.
23212         * math/s_csinhf.c: Likewise.
23213         * math/s_csinhl.c: Likewise.
23214         * math/libm-test.inc (ccos_test): Add more tests.
23215         (ccosh_test): Likewise.
23216         (csin_test): Likewise.
23217         (csinh_test): Likewise.
23218         * sysdeps/i386/fpu/libm-test-ulps: Update.
23219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23221 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23223         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23224         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23226         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23228 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23230         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23231         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23232         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23233         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23234         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23235         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23236         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23237         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23238         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23239         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23240         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23241         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23242         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23243         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23244         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23245         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23246         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23247         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23248         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23249         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23250         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23251         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23252         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23253         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23254         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23255         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23256         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23257         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23258         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23259         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23260         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23262 2012-05-18  Andreas Jaeger  <aj@suse.de>
23264         * csu/.gitignore: Delete.
23266 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23268         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23269         (timex): Use __syscall_slong_t.
23271 2012-05-18  Andreas Jaeger  <aj@suse.de>
23272             Carlos O'Donell  <carlos_odonell@mentor.com>
23274         * manual/install.texi (Configuring and compiling): Update
23275         description about files modified in the source directory.
23276         * INSTALL: Regenerated.
23278 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23280         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23281         value.  Use "or" to set return value to -1.
23282         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23283         negate return value.
23285 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23287         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23288         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23289         failure if the compiler has Graphite support disabled.
23290         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23291         Likewise.
23292         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23293         CFLAGS-memmove.c): Likewise.
23294         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23295         Likewise.
23297 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23299         * sysdeps/x86_64/x32/_itoa.h: New file.
23301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23302         getdents system call only if kernel and user dirents have the
23303         same d_ino and d_off.
23305         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23306         LLONG_MAX != LONG_MAX.
23307         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23308         (_fitoa_word): Likewise.
23310         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23311         years.
23312         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23313         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23314         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23316         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23317         include <bits/wordsize.h>.  Check __x86_64__ instead of
23318         __WORDSIZE.
23319         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23320         if __x86_64__ is defined.  Use anonymous union on fpstate.
23322         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23323         anonymous union.
23325 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23327         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23328         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23329         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23330         Refer to _rtld_local_ro instead of _rtld_global_ro.
23331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23332         Likewise.
23333         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23334         Likewise.
23335         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23336         Likewise.
23337         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23338         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23339         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23341         * sysdeps/powerpc/powerpc32/dl-machine.c
23342         (__elf_machine_runtime_setup) [PROF]: Don't reference
23343         _dl_prof_resolve.
23345 2012-05-18  Andreas Jaeger  <aj@suse.de>
23347         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23348         function only available for GCCs before 3.4 since GCC 3.4
23349         introduced a builtin.
23350         (lrint): Likewise.
23351         (llrintf): Likewise.
23352         (llrint): Likewise.
23353         (fmaxf): Likewise.
23354         (fmax): Likewise.
23355         (fminf): Likewise.
23356         (fmin): Likewise.
23357         (rint): Likewise.
23358         (rintf): Likewise.
23359         (nearbyint): Likewise.
23360         (nearbyintf): Likewise.
23361         (ceil): Likewise.
23362         (ceilf): Likewise.
23363         (floor): Likewise.
23364         (floorf): Likewise.
23366 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23368         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23369         on both fields and cast pointer to __syscall_ulong_t.
23371         * bits/types.h (__fsword_t): New type.
23372         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23373         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23374         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23375         (__FSWORD_T_TYPE): Likewise.
23376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23377         (__FSWORD_T_TYPE): Likewise.
23378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23379         (__FSWORD_T_TYPE): Likewise.
23380         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23381         (__FSWORD_T_TYPE): Likewise.
23382         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23383         __SWORD_TYPE with __fsword_t.
23384         (statfs64): Likewise.
23386 2012-05-17  David S. Miller  <davem@davemloft.net>
23388         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23390 2012-05-17  Andreas Jaeger  <aj@suse.de>
23392         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23393         warning.
23395 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23397         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23399 2012-05-17  Andreas Jaeger  <aj@suse.de>
23401         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23402         when it is used.
23404 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23406         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23408 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23410         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23411         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23413 2012-05-17  Andreas Jaeger  <aj@suse.de>
23414             Carlos O'Donell  <carlos_odonell@mentor.com>
23416         [BZ #14059]
23417         * sysdeps/x86_64/multiarch/init-arch.h
23418         (bit_YMM_Usable): Rename to...
23419         (bit_AVX_Usable): ... this.
23420         (bit_FMA4_Usable): New macro.
23421         (bit_XMM_state): New macro.
23422         (bit_YMM_state): New macro.
23423         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23424         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23425         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23426         (CPUID_OSXSAVE): New macro.
23427         (CPUID_AVX): New macro.
23428         (CPUID_FMA4): New macro.
23429         (index_YMM_Usable): Rename to...
23430         (index_AVX_Usable): ... this.
23431         (HAS_AVX): Use HAS_ARCH_FEATURE.
23432         (HAS_FMA4): Likewise.
23433         (HAS_YMM_USABLE): Remove.
23434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23435         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23436         are present.
23437         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23438         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23439         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23440         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23441         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23443 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23445         * math/libm-test.c: Support platforms without multiple rounding modes.
23446         * math/bug-nextafter.c: Support platforms without FP exceptions.
23447         * math/bug-nexttoward.c: Likewise.
23448         * math/test-fenv.c: Likewise.
23449         * math/test-misc.c: Likewise.
23450         * stdlib/bug-getcontext.c: Likewise.
23452 2012-05-17  Andreas Jaeger  <aj@suse.de>
23454         * manual/examples/search.c (critter_cmp): Change signature to
23455         avoid warnings.
23456         * manual/string.texi (Collation Functions): Likewise.
23458 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23460         * bits/types.h: Fold copyright years.
23461         * bits/typesizes.h: Likewise.
23462         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23466         * time/time.h: Likewise.
23468 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23470         [BZ #208]
23471         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23472         in instead of returning them.  Return void.
23473         (__libc_mallinfo): Accumulate over all arenas.
23474         (__malloc_stats): Adjust for change in int_mallinfo interface.
23476 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23478         [BZ #10375]
23479         * configure.in (NM): Add AC_CHECK_TOOL for it.
23480         (libc_extra_cflags): New substituted variable.
23481         Check for -fstack-protector being used implicitly.
23482         * configure: Regenerated.
23483         * config.make.in (config-extra-cflags): New variable,
23484         gets @libc_extra_cflags@.
23485         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23487         [BZ #10375]
23488         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23489         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23490         * configure: Regenerated.
23491         * config.make.in (CPPUNDEFS): New substituted variable.
23492         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23493         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23494         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23498         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23499         (mq_attr): Use __syscall_slong_t.
23501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23503         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23504         Check __x86_64__ instead of __WORDSIZE.
23505         (_STAT_VER_LINUX): Likewise.
23506         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23507         __syscall_ulong_t and __syscall_slong_t.
23508         (stat64): Likewise.
23510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23512         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23516         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23518 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23520         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23521         __syscall_ulong_t.
23523         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23524         include <bits/wordsize.h>.  Check __x86_64__ instead of
23525         __WORDSIZE.
23526         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23527         defined.
23528         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23531         include <bits/wordsize.h>.  Check __x86_64__ instead of
23532         __WORDSIZE.
23533         (user_regs_struct): Use "__extension__ unsigned long long"
23534         instead of "unsigned long" if __x86_64__ is defined.
23535         (user): Likewise.  Pad after pointer field if __ILP32__ is
23536         defined.
23538 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23540         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23541         versions 5 to 9.
23542         * configure: Regenerated.
23543         * manual/install.texi (texinfo): Increase version requirement to
23544         4.5 or later.
23545         * INSTALL: Regenerated.
23547         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23551         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23553         * sysdeps/x86_64/x32/ffs.c: New file.
23555         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23556         __syscall_ulong_t.
23557         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23558         defined.  Use __syscall_ulong_t.
23559         (shminfo): Use __syscall_ulong_t.
23560         (shm_info): Likewise.
23562         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23563         __syscall_ulong_t.
23565         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23566         <bits/wordsize.h>.
23567         (msgqnum_t): Use __syscall_ulong_t.
23568         (msglen_t): Likewise.
23569         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23570         __syscall_ulong_t.
23572         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23573         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23575         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23577         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23578         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23580         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23581         __syscall_slong_t.
23583         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23584         include <bits/wordsize.h>.  Check __x86_64__ instead of
23585         __WORDSIZE.
23587         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23588         "unsigned long long int" if __x86_64__ is defined.
23589         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23591         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23592         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23593         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23595         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23596         <stdint.h>.
23597         (GET_PC): Cast to uintptr_t first.
23598         (GET_FRAME): Likewise.
23599         (GET_STACK): Likewise.
23601         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23602         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23603         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23604         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23605         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23606         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23607         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23608         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23609         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23615         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23616         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23617         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23618         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23619         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23620         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23621         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23622         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23625         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23631 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23633         * Makerules (+depfiles): Also collect depfiles from .oS in
23634         $(extra-objs).
23635         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23636         .oS, $(libnldbl-routines)).
23638         * Makerules (native-compile-mkdep-flags): Define.
23639         * sunrpc/Makefile (extra-objs): Add $(addprefix
23640         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23641         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23642         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23643         calling $(make-target-directory).
23645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23647         * bits/types.h (__snseconds_t): Removed.
23648         * time/time.h (struct timespec): Replace __snseconds_t with
23649         __syscall_slong_t.
23650         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23651         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23652         Likewise.
23653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23654         (__SNSECONDS_T_TYPE): Likewise.
23655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23656         (__SNSECONDS_T_TYPE): Likewise.
23657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23658         (__SNSECONDS_T_TYPE): Likewise.
23660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23662         * sysdeps/mach/hurd/bits/typesizes.h
23663         (__SYSCALL_SLONG_TYPE): New macro.
23664         (__SYSCALL_ULONG_TYPE): Likewise.
23666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23668         * bits/types.h (__syscall_slong_t): New type.
23669         (__syscall_ulong_t): Likewise.
23671         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23672         (__SYSCALL_ULONG_TYPE): Likewise.
23673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23674         (__SYSCALL_SLONG_TYPE): Likewise.
23675         (__SYSCALL_ULONG_TYPE): Likewise.
23676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23677         (__SYSCALL_SLONG_TYPE): Likewise.
23678         (__SYSCALL_ULONG_TYPE): Likewise.
23679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23680         (__SYSCALL_SLONG_TYPE): Likewise.
23681         (__SYSCALL_ULONG_TYPE): Likewise.
23683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23685         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23686         Add sigaltstack-offsets.sym.
23687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23688         <sigaltstack-offsets.h>.
23689         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23690         longjmp_msg pointer.
23691         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23692         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23693         signal stack.
23694         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23698         * elf/stackguard-macros.h: Remove file.
23699         * sysdeps/generic/stackguard-macros.h: New file.
23700         * sysdeps/i386/stackguard-macros.h: Likewise.
23701         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23702         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23703         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23704         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23705         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23706         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23707         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23708         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23709         <elf/stackguard-macros.h>.
23711         [BZ #14109]
23712         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23713         __aligned__ in attribute.
23714         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23715         (gregset_t): Likewise.
23717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23719         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23720         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23721         * sysdeps/x86_64/x32/Implies-after: New file.
23723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23726         and access return value for _dl_profile_fixup.  Use R10_LP to
23727         load frame size.
23729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23731         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23735         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23736         * sysdeps/x86_64/x32/sysdep.h: New file.
23738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23740         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23741         * sysdeps/x86_64/setjmp.S: Likewise.
23743 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23746         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23747         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23749         remove unused global constant.
23751 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23753         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23754         include of <not-cancel.h>.
23756 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23758         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23760 2012-05-15  Jeff Law  <law@redhat.com>
23761             Andreas Jaeger  <aj@suse.de>
23763         [BZ #13594]
23764         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23765         out from...
23766         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23767         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23768         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23769         code changing __hst_map_handle.map.
23771 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23773         * configure.in (sysnames): Look for Implies-before and Implies-after
23774         files.
23775         * configure: Regenerated.
23777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23780         8-byte data alignment with LP_SIZE alignment.
23782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23784         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23785         into R10_LP.
23787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23789         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23794         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23796         Likewise.
23797         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23801         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23802         (stackinfo_sub_sp): Likewise.
23804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23806         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23807         RAX_LP.
23809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23811         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23812         into R*_LP.
23814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23817         sizes into R*_LP.
23819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23821         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23825         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23826         into R11_LP and load __x86_64_shared_cache_size_half into
23827         R8_LP.
23829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23831         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23832         R8_LP.
23834 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23837         logb for POWER7.
23838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23839         logbf for POWER7.
23840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23841         logbl for POWER7.
23842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23843         powerpc32/power7/fpu/s_logb.c via #include.
23844         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23845         powerpc32/power7/fpu/s_logbf.c via #include.
23846         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23847         powerpc32/power7/fpu/s_logbl.c via #include.
23849 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23851         * README.libm: Remove file.
23853 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23855         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23856         count for x32.  Use R*_LP and omit operand-size suffix.
23858 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23860         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23861         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23862         * sysdeps/x86_64/x32/shlib-versions: New file.
23864 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23866         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23867         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23868         Use _dl_fatal_printf instead.
23870 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23872         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23873         set if not set by the user.  Do not allow for being unset.
23874         * sysdeps/unix/sysv/linux/configure: Regenerated.
23876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23878         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23879         the `q' suffix from lea and replace .quad with ASM_ADDR.
23881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23884         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23885         instead of $17.
23886         (PTR_DEMANGLE): Likewise.
23888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23890         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23891         (LP_OP): Likewise.
23892         (ASM_ADDR): Likewise.
23893         (RAX_LP): Likewise.
23894         (RBP_LP): Likewise.
23895         (RBX_LP): Likewise.
23896         (RCX_LP): Likewise.
23897         (RDI_LP): Likewise.
23898         (RSI_LP): Likewise.
23899         (RSP_LP): Likewise.
23900         (R8_LP): Likewise.
23901         (R9_LP): Likewise.
23902         (R10_LP): Likewise.
23903         (R10_LP): Likewise.
23904         (R11_LP): Likewise.
23905         (R12_LP): Likewise.
23906         (R13_LP): Likewise.
23907         (R14_LP): Likewise.
23908         (R15_LP): Likewise.
23910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23912         * sysdeps/x86_64/x32/dl-machine.h: New file.
23914 2012-05-14  Andreas Jaeger  <aj@suse.de>
23916         * manual/Makefile (subdir): Remove export of subdir.
23917         (all): Remove target.
23918         (.PHONY): Remove all from list.
23919         (mkinstalldirs): Remove.
23920         (.PHONY): Remove installdirs from list.
23921         ($(inst_infodir)/libc.info): Use make-target-directory.
23922         (installdirs): Remove.
23923         (subdir_%): Remove.
23924         (glibc-targets): Remove.
23925         (lib): Remove.
23926         (stubs): Remove.
23927         ($(objpfx)stubs ../po/manual.pot): Remove.
23928         ($(objpfx)stamp%): Remove.
23929         (make-target-directory): Remove.
23930         (subdir_install): Remove.
23931         (routines): Remove.
23932         (aux): Remove.
23933         (sources): Remove.
23934         (objects): Remove.
23935         (headers): Remove.
23937         [BZ #13750]
23938         * manual/.gitignore: Remove, it's not needed anymore.
23939         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23940         all files in it.
23941         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23942         directory.
23943         (texis): Renamed to $(objpfx)texis.
23944         (texis-path): New, contains path to generated files.
23945         (chapters.%): Use texis-path for complete path, add extra argument
23946         libc-texinfo.sh.
23947         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23948         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23949         (summary,texi, stamp-summary): Use complete path of
23950         files. Generate files in build dir.
23951         (dir-add.texi): Build in build dir.
23952         (libm-err.texi,stamp-libm-err): Likewise.
23953         (version.texi, stamp-version): Likewise.
23954         (.%c.texi): Likewise.
23955         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23956         (mostlyclean): Remove target.
23957         (realclean): Remove target.
23958         (generated): Add new variable with contents from mostlyclean and
23959         realclean, remove entries duplicated in common-mostlyclean, add
23960         stamp-libm-err and stamp-version.
23961         (generated-dirs): Add libc directory.
23962         ($(inst_infodir)/libc.info): Install files from build dir.
23964         * manual/install.texi (Configuring and compiling): Adjust since
23965         the info files are not part of the tar ball anymore.
23967 2012-05-14  Andreas Jaeger  <aj@suse.de>
23969         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23970         variable.
23972 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23974         [BZ #13717]
23975         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23976         to 2.2.0 where earlier.
23977         * sysdeps/unix/sysv/linux/configure: Regenerated.
23978         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23979         Remove conditional code.
23980         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23981         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23982         Remove conditional code.
23983         [!__NR_lchown]: Likewise.
23984         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23985         [__NR_lchown]: Likewise.
23986         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23987         comment referencing __ASSUME_LCHOWN_SYSCALL.
23988         * sysdeps/unix/sysv/linux/i386/sigaction.c
23989         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23990         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23991         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23992         Remove conditional code.
23993         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23994         (__protocol_available): Remove #if 0 code.
23995         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23996         conditional code.
23997         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23998         * sysdeps/unix/sysv/linux/kernel-features.h
23999         (__ASSUME_GETCWD_SYSCALL): Don't define.
24000         (__ASSUME_REALTIME_SIGNALS): Likewise.
24001         (__ASSUME_PREAD_SYSCALL): Likewise.
24002         (__ASSUME_PWRITE_SYSCALL): Likewise.
24003         (__ASSUME_POLL_SYSCALL): Likewise.
24004         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24005         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24006         non-SPARC.
24007         (__ASSUME_SIOCGIFNAME): Don't define.
24008         (__ASSUME_MSG_NOSIGNAL): Likewise.
24009         (__ASSUME_SENDFILE): Define unconditionally.
24010         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24011         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24012         conditional code.
24013         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24014         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24015         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24016         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24017         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24018         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24019         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24021         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24024         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24027         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24030         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24033         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24039         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24044         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24045         Remove conditional code.
24046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24047         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24048         Remove conditional code.
24049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24050         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24051         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24052         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24053         Remove conditional code.
24054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24055         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24056         Remove conditional code.
24057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24058         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24059         Remove conditional code.
24060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24061         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24062         Remove conditional code.
24063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24064         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24065         Remove conditional code.
24066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24067         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24070         * sysdeps/unix/sysv/linux/sigaction.c
24071         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24072         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24073         * sysdeps/unix/sysv/linux/sigpending.c
24074         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24075         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24076         * sysdeps/unix/sysv/linux/sigprocmask.c
24077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24079         * sysdeps/unix/sysv/linux/sigsuspend.c
24080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24082         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24083         (__libc_missing_rt_sigs): Remove.
24084         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24085         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24086         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24087         Remove conditional code.
24088         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24089         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24090         return 1.
24091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24092         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24093         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24094         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24096 2012-05-14  Andreas Jaeger  <aj@suse.de>
24098         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24099         it's not used in glibc.
24100         (__coshm1): Likewise.
24101         (__acosh1p): Likewise.
24102         (__sgn): Likewise.
24104         * manual/string.texi (Copying and Concatenation): Add missing
24105         variable in concat example.
24106         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24110         [BZ #14103]
24111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24112         __builtin_clzl with __builtin_clzll.
24114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24116         [BZ #14104]
24117         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24118         libc_freeres_ptr.
24120 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24122         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24123         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24124         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24125         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24127 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24129         * NEWS: Update ia64 info.
24131 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24133         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24134         used as bcopy.
24136 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24138         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24139         * sysdeps/unix/syscalls.list (dup3): Likewise.
24140         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24141         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24143 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24145         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24146         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24148 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24150         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24151         thread pointer.
24152         (TLS_IE): Use mov/add instead of movq/addq to load thread
24153         pointer.
24154         (TLS_GD_PREFIX): New.
24155         (TLS_GD): Use it.
24157 2012-05-11  David S. Miller  <davem@davemloft.net>
24159         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24160         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24161         (_FPU_SETCW): Likewise.
24163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24165         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24166         is 32-byte aligned.
24168 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24170         [BZ #11837]
24171         * iconvdata/gb18030.c: Update tables.
24172         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24173         characters specially.
24174         (BODY for TO_LOOP): Add encoding of missing ranges.
24176 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24178         [BZ #13673]
24179         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24180         * sysdeps/mach/hurd/dup3.c: Likewise.
24181         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24182         * sysdeps/powerpc/memmove.c:: Likewise.
24184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24187         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24189 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24191         * elf/elf.h (R_X86_64_RELATIVE64): New.
24192         (R_X86_64_NUM): Updated.
24193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24194         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24195         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24196         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24197         tst-quad1pie tst-quad2pie
24198         (modules-names): Add tst-quadmod1 tst-quadmod2.
24199         ($(objpfx)tst-quad1): New dependency.
24200         ($(objpfx)tst-quad2): Likewise.
24201         ($(objpfx)tst-quad1pie): Likewise.
24202         ($(objpfx)tst-quad2pie): Likewise.
24203         * sysdeps/x86_64/tst-quad1.c: New file.
24204         * sysdeps/x86_64/tst-quad1pie.c: New file.
24205         * sysdeps/x86_64/tst-quad2.c: Likewise.
24206         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24207         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24208         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24209         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24210         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24214         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24215         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24216         * streams/stropts.h (t_scalar_t): Define type.
24218         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24219         (_PATH_PRESERVE): Set to "/var/lib".
24220         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24222         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24223         instead of int.
24225         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24226         if __dir_mkfile succeeded.
24228         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24229         checking for _hurd_dtablesize.  Unlock it right after having
24230         finished _hurd_dtable allocation.
24232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24234         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24235         * sysdeps/mach/hurd/configure: Regenerated.
24236         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24237         special-casing to...
24238         * sysdeps/gnu/configure.in: ... this new file.
24239         * sysdeps/unix/sysv/linux/configure: Regenerated.
24240         * sysdeps/gnu/configure: New generated file.
24242         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24243         for Linux: use nsec instead of usec, as well as:
24244         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24245         members of type struct timespec.
24246         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24247         New macros.
24248         (struct stat64): Likewise.
24249         (_STATBUF_ST_NSEC): New macro.
24250         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24252         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24253         __strtoul_internal rather than strtoul.
24255 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24257         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24258         and reject them.
24260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24262         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24263         which preserves existing values.
24264         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24266 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24268         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24269         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24270         greater than FD_SETSIZE.
24272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24274         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24275         allocated, call __vm_protect to finish enabling the existing space, and
24276         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24277         allocate the remainder.
24279 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24281         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24282         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24286         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24287         sysdeps/mach/hurd/readlink.c.
24289         * posix/tst-sysconf.c (posix_options): Only use
24290         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24291         _POSIX_SYNCHRONIZED_IO when they are defined
24292         * sysdeps/mach/hurd/bits/posix_opt.h:
24293         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24294         (_XOPEN_REALTIME): Undefine macro.
24295         (_XOPEN_REALTIME_THREADS): Undefine macro.
24296         (_XOPEN_SHM): Undefine macro.
24297         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24298         macro to -1.
24299         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24300         macro to -1.
24301         (_POSIX_ASYNC_IO): Undefine macro.
24302         (_POSIX_PRIORITIZED_IO): Undefine macro.
24303         (_POSIX_SPIN_LOCKS): Define macro to -1.
24305         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24306         SA_NODEFER, SA_RESETHAND.
24307         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24308         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24309         F_DUPFD_CLOEXEC.
24311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24313         * elf/Makefile (pldd-modules): Define unconditionally.
24315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24317         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24321         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24322         Return ENOENT when name is empty.
24323         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24327         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24329         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24333         Fix mlock in all cases except non-readable pages.
24334         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24335         instead of VM_PROT_ALL as parameter to __vm_wire function.
24337         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24338         (__mkdir): When path is `/', just fail with EEXIST.
24339         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24343         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24344         <sys/uio.h> (for writev).
24345         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24346         and <sys/param.h> (for MIN).
24348 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24350         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24351         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24352         if interrupted.
24354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24356         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24357         Depend on against $(link-rpcuserlibs).
24359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24361         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24362         (__libc_stack_end): Do not use attribute_relro.
24363         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24364         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24365         to libthread-provided value.
24366         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24367         attribute_relro.
24369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24371         [BZ #3748]
24372         * bits/libc-lock.h (__libc_once_get): New macro.
24373         * sysdeps/mach/bits/libc-lock.h: Likewise.
24374         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24376         instead of using implementation details.
24378         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24379         * libio/freopen.c: Likewise.
24380         * libio/freopen64.c: Likewise.
24381         * misc/syslog.c: Likewise.
24382         * nscd/connections.c: Likewise.
24383         * nscd/netgroupcache.c: Likewise.
24384         * sysdeps/posix/getcwd.c: Likewise.
24386 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24388         * math/w_ilogbf.c: Add #include <limits.h>.
24390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24392         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24393         path instead of returning without unlocking.
24395         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24396         immediate-write ioctls.
24397         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24401         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24402         __builtin_frame_address instead of making assumptions about the
24403         location of the return address relative to DATA.  Force early load of
24404         the return address.
24405         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24406         __builtin_frame_address.
24408         dup3 for GNU Hurd.
24409         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24410         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24411         implement dup3 and do some further code clean-ups.
24412         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24413         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24417         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24419         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24420         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24421         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24422         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24423         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24424         d->port.lock.
24426         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24427         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24428         when handler == SIG_ERR, not when handler != SIG_ERR.
24430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24432         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24433         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24434         definitions.
24436         accept4 for GNU Hurd.
24437         * include/sys/socket.h (__libc_accept4): New prototype.
24438         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24439         to implement __libc_accept4.
24440         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24441         __libc_accept4.
24442         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24444         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24445         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24446         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24447         signal-defines.sym.
24449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24451         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24455         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24456         assertion on O_CLOEXEC flag.
24457         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24458         * hurd/intern-fd.c: Likewise.
24459         * hurd/port2fd.c: Likewise.
24461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24463         [BZ #3906]
24464         * bits/in.h (IPV6_PKTINFO): Define new macro.
24465         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24467 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24469         [BZ #13954]
24470         [BZ #13955]
24471         [BZ #13956]
24472         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24474         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24475         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24477         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24478         * math/libm-test.inc (logb_test) : Additional logb tests.
24480 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24481             Andreas Jaeger  <aj@suse.de>
24483         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24484         * configure: Regenerated.
24485         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24486         * config.make.in (link-obsolete-rpc): New substituted variable.
24487         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24488         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24489         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24490         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24491         so that libc.a contains the symbols.
24492         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24493         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24494         * sunrpc/auth_none.c: Likewise.
24495         * sunrpc/auth_unix.c: Likewise.
24496         * sunrpc/authdes_prot.c: Likewise.
24497         * sunrpc/authuxprot.c: Likewise.
24498         * sunrpc/clnt_gen.c: Likewise.
24499         * sunrpc/clnt_perr.c: Likewise.
24500         * sunrpc/clnt_raw.c: Likewise.
24501         * sunrpc/clnt_simp.c: Likewise.
24502         * sunrpc/clnt_tcp.c: Likewise.
24503         * sunrpc/clnt_udp.c: Likewise.
24504         * sunrpc/clnt_unix.c: Likewise.
24505         * sunrpc/des_crypt.c: Likewise.
24506         * sunrpc/des_soft.c: Likewise.
24507         * sunrpc/get_myaddr.c: Likewise.
24508         * sunrpc/key_call.c: Likewise.
24509         * sunrpc/key_prot.c: Likewise.
24510         * sunrpc/netname.c: Likewise.
24511         * sunrpc/pm_getmaps.c: Likewise.
24512         * sunrpc/pm_getport.c: Likewise.
24513         * sunrpc/pmap_clnt.c: Likewise.
24514         * sunrpc/pmap_prot.c: Likewise.
24515         * sunrpc/pmap_prot2.c: Likewise.
24516         * sunrpc/pmap_rmt.c: Likewise.
24517         * sunrpc/publickey.c: Likewise.
24518         * sunrpc/rpc_cmsg.c: Likewise.
24519         * sunrpc/rpc_common.c: Likewise.
24520         * sunrpc/rpc_dtable.c: Likewise.
24521         * sunrpc/rpc_prot.c: Likewise.
24522         * sunrpc/rpc_thread.c: Likewise.
24523         * sunrpc/rtime.c: Likewise.
24524         * sunrpc/svc.c: Likewise.
24525         * sunrpc/svc_auth.c: Likewise.
24526         * sunrpc/svc_raw.c: Likewise.
24527         * sunrpc/svc_run.c: Likewise.
24528         * sunrpc/svc_tcp.c: Likewise.
24529         * sunrpc/svc_udp.c: Likewise.
24530         * sunrpc/svc_unix.c: Likewise.
24531         * sunrpc/svcauth_des.c: Likewise.
24532         * sunrpc/xcrypt.c: Likewise.
24533         * sunrpc/xdr.c: Likewise.
24534         * sunrpc/xdr_array.c: Likewise.
24535         * sunrpc/xdr_float.c: Likewise.
24536         * sunrpc/xdr_intXX_t.c: Likewise.
24537         * sunrpc/xdr_mem.c: Likewise.
24538         * sunrpc/xdr_rec.c: Likewise.
24539         * sunrpc/xdr_ref.c: Likewise.
24540         * sunrpc/xdr_sizeof.c: Likewise.
24541         * sunrpc/xdr_stdio.c: Likewise.
24543 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24546         change.  Update copyright years.
24548 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24550         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24552 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24553             Joseph Myers  <joseph@codesourcery.com>
24554             Paul Pluzhnikov  <ppluzhnikov@google.com>
24556         [BZ #14012]
24557         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24558         requiring rpcgen.
24559         [cross-compiling] (extra-libs): Likewise.
24560         [cross-compiling] (extra-libs-others): Likewise.
24561         [cross-compiling] (librpcsvc-routines): Likewise.
24562         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24563         [cross-compiling] (omit-deps): Likewise.
24564         (sunrpc-CPPFLAGS): New variable.
24565         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24566         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24567         (cross-rpcgen-objs): New variable.
24568         (extra-objs): Append $(cross-rpcgen-objs).
24569         ($(cross-rpcgen-objs)): New rule.
24570         ($(objpfx)cross-rpcgen): Likewise.
24571         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24572         comment.
24573         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24574         ($(objpfx)x%.stmp): Likewise.
24575         * sunrpc/proto.h [IS_IN_build] (_): Define.
24576         [IS_IN_build] (_libc_intl_domainname): Likewise.
24578 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24581         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24582         and R_X86_64_TPOFF64.
24584 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24586         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24587         sysdeps/unix/sysv/syscalls.list.
24588         (stime): Likewise.
24589         (utime): Likewise.
24590         * sysdeps/unix/sysv/syscalls.list: Remove file.
24592 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24594         [BZ #3440]
24595         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24596         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24597         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24598         (__LC_IDENTIFICATION): Make these macros useful in #if
24599         expressions, as required by C99.
24601 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24603         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24604         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24605         after this.
24607 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24609         * stdlib/longlong.h: Updated from GCC.
24611 2012-05-09  Andreas Jaeger  <aj@suse.de>
24613         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24614         default is first entry.
24615         (run_mode): Set type.
24616         (main): Remove informal message about syslog.
24617         (options): Fix typo.
24619         [BZ #14053]
24620         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24621         to asm.
24622         (lrint): Likewise.
24623         (llrintf): Likewise.
24624         (llrint): Likewise.
24625         (rint): Likewise.
24626         (rintf): Likewise.
24627         (nearbyint): Likewise.
24628         (nearbyintf): Likewise.
24630 2012-05-09  Andreas Jaeger  <aj@suse.de>
24631             Pedro Alves  <palves@redhat.com>
24633         * nscd/nscd.c (run_mode): Use enum.
24634         (main): Cleanup coding style issue.
24636 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24637             Andreas Jaeger  <aj@suse.de>
24639         * nscd/nscd.c (go_background): Replaced with...
24640         (run_mode): ... this.
24641         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24642         (options): Add -F --foreground.
24643         (main): Implement it.
24644         (parse_opt): Parse it.
24646 2012-05-09  Andreas Jaeger  <aj@suse.de>
24648         [BZ #14083]
24649         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24650         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24651         -Wconversion warning.
24652         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24653         Likewise.
24655 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24657         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24658         == 0.
24659         (LC_ALL): Use macro-int-constant.
24660         (LC_COLLATE): Likewise.
24661         (LC_CTYPE): Likewise.
24662         (LC_MESSAGES): Likewise.
24663         (LC_MONETARY): Likewise.
24664         (LC_NUMERIC): Likewise.
24665         (LC_TIME): Likewise.
24666         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24667         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24669         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24670         Specify type.
24671         [C99-based standards] (float_t): Expect type.
24672         [C99-based standards] (double_t): Expect type.
24673         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24674         type.
24675         [C99-based standards] (HUGE_VALL): Likewise.
24676         [C99-based standards] (INFINITY): Likewise.
24677         [C99-based standards] (NAN): Likewise.
24678         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24679         [C99-based standards] (FP_NAN): Likewise.
24680         [C99-based standards] (FP_NORMAL): Likewise.
24681         [C99-based standards] (FP_SUBNORMAL): Likewise.
24682         [C99-based standards] (FP_ZERO): Likewise.
24683         [C99-based standards] (FP_FAST_FMA): Use
24684         optional-macro-int-constant.  Specify type.  Require == 1.
24685         [C99-based standards] (FP_FAST_FMAF): Likewise.
24686         [C99-based standards] (FP_FAST_FMAL): Likewise.
24687         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24688         [C99-based standards] (FP_ILOGBNAN): Likewise.
24689         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24690         Specify type.
24691         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24692         [C99-based standards] (math_errhandling): Specify type.
24693         [ISO99 || ISO11] (signgam): Do not allow.
24694         [non-C99-based standards] (copysignf): Do not allow.
24695         [non-C99-based standards] (exp2f): Likewise.
24696         [non-C99-based standards] (log2f): Likewise.
24697         [non-C99-based standards] (modff): Allow.
24698         [non-C99-based standards] (erff): Do not allow.
24699         [non-C99-based standards] (erfcf): Likewise.
24700         [non-C99-based standards] (gammaf): Likewise.
24701         [non-C99-based standards] (hypotf): Likewise.
24702         [non-C99-based standards] (j0f): Likewise.
24703         [non-C99-based standards] (j1f): Likewise.
24704         [non-C99-based standards] (jnf): Likewise.
24705         [non-C99-based standards] (lgammaf): Likewise.
24706         [non-C99-based standards] (tgammaf): Likewise.
24707         [non-C99-based standards] (y0f): Likewise.
24708         [non-C99-based standards] (y1f): Likewise.
24709         [non-C99-based standards] (ynf): Likewise.
24710         [non-C99-based standards] (isnanf): Likewise.
24711         [non-C99-based standards] (acoshf): Likewise.
24712         [non-C99-based standards] (asinhf): Likewise.
24713         [non-C99-based standards] (atanhf): Likewise.
24714         [non-C99-based standards] (cbrtf): Likewise.
24715         [non-C99-based standards] (expm1f): Likewise.
24716         [non-C99-based standards] (ilogbf): Likewise.
24717         [non-C99-based standards] (log1pf): Likewise.
24718         [non-C99-based standards] (logbf): Likewise.
24719         [non-C99-based standards] (nextafterf): Likewise.
24720         [non-C99-based standards] (remainderf): Likewise.
24721         [non-C99-based standards] (rintf): Likewise.
24722         [non-C99-based standards] (scalbf): Likewise.
24723         [non-C99-based standards] (copysignl): Likewise.
24724         [non-C99-based standards] (exp2l): Likewise.
24725         [non-C99-based standards] (log2l): Likewise.
24726         [non-C99-based standards] (modfl): Allow.
24727         [non-C99-based standards] (erfl): Do not allow.
24728         [non-C99-based standards] (erfcl): Likewise.
24729         [non-C99-based standards] (gammal): Likewise.
24730         [non-C99-based standards] (hypotl): Likewise.
24731         [non-C99-based standards] (j0l): Likewise.
24732         [non-C99-based standards] (j1l): Likewise.
24733         [non-C99-based standards] (jnl): Likewise.
24734         [non-C99-based standards] (lgammal): Likewise.
24735         [non-C99-based standards] (tgammal): Likewise.
24736         [non-C99-based standards] (y0l): Likewise.
24737         [non-C99-based standards] (y1l): Likewise.
24738         [non-C99-based standards] (ynl): Likewise.
24739         [non-C99-based standards] (isnanl): Likewise.
24740         [non-C99-based standards] (acoshl): Likewise.
24741         [non-C99-based standards] (asinhl): Likewise.
24742         [non-C99-based standards] (atanhl): Likewise.
24743         [non-C99-based standards] (cbrtl): Likewise.
24744         [non-C99-based standards] (expm1l): Likewise.
24745         [non-C99-based standards] (ilogbl): Likewise.
24746         [non-C99-based standards] (log1pl): Likewise.
24747         [non-C99-based standards] (logbl): Likewise.
24748         [non-C99-based standards] (nextafterl): Likewise.
24749         [non-C99-based standards] (remainderl): Likewise.
24750         [non-C99-based standards] (rintl): Likewise.
24751         [non-C99-based standards] (scalbl): Likewise.
24752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24753         [non-C99-based standards] (FP_*): Do not allow.
24754         [C99-based standards] (FP_*): Change to
24755         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24756         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24757         allow.
24758         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24759         (SIG_ERR): Likewise.
24760         [X/Open-based standards] (SIG_HOLD): Likewise.
24761         (SIG_IGN): Likewise.
24762         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24763         positive value.
24764         (SIGFPE): Likewise.
24765         (SIGILL): Likewise.
24766         (SIGINT): Likewise.
24767         (SIGSEGV): Likewise.
24768         (SIGTER): Likewise.
24769         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24770         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24773         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24774         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24775         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24776         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24787         [X/Open-based standards] (SIGTRAP): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24792         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24793         allow.
24795 2012-05-08  Ian Wienand  <ianw@vmware.com>
24797         [BZ #14080]
24798         * time/tzset.c (__tzset_parse_tz): Update default rules for
24799         daylight time changes in the Energy Policy Act of 2005.
24801 2012-05-09  Andreas Jaeger  <aj@suse.de>
24803         [BZ #13983]
24804         * elf/ldconfig.c (parse_conf): Change string to make clear that
24805         ldconfig only issued a warning if ld.so.conf does not exist.
24807 2012-05-08  David S. Miller  <davem@davemloft.net>
24809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24810         movxtod instead of popping the value on the stack.
24812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24814 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24816         * config.h.in: Add HAVE_ARM_PCS_VFP.
24818 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24820         [BZ #13979]
24821         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24822         checking but the checks are disabled for any reason.
24824 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24826         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24827         and ELF64_R_TYPE with ELFW(R_TYPE).
24829 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24831         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24832         (ulimit): Likewise.
24834         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24835         (settimeofday): Likewise.
24837 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24839         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24840         a struct th_u2 inside the union, and move tu_block/tu_code into
24841         a new th_u3 union of tu_block/tu_code inside of that.  Move
24842         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24843         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24844         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24845         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24846         (th_stuff): Change to th_u1.tu_stuff.
24847         (th_data): Define.
24848         (th_msg): Change to th_u1.th_u2.tu_data.
24850 2012-05-07  David S. Miller  <davem@davemloft.net>
24852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24854         [BZ #14074]
24855         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24856         (SETUP_PIC_REG): Use it.
24857         (SETUP_PIC_REG_LEAF): Use it.
24859 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24861         [BZ #13885]
24862         [BZ #13923]
24863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24864         USE_AS_EXPM1L.
24865         (EXPL_FINITE): Likewise.
24866         (FLDLOG): Likewise.
24867         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24868         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24869         e_expl.S.
24870         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24871         USE_AS_EXPM1L.
24872         (EXPL_FINITE): Likewise.
24873         (FLDLOG): Likewise.
24874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24875         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24876         e_expl.S.
24877         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24878         test of -max_value argument for long double.
24879         * sysdeps/i386/fpu/libm-test-ulps: Update.
24880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24882 2012-05-06  David S. Miller  <davem@davemloft.net>
24884         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24885         quad soft-float symbols whose references which are compiler
24886         generated.
24887         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24889 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24891         [BZ #13884]
24892         [BZ #13914]
24893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24894         USE_AS_EXP10L.
24895         (EXPL_FINITE): Likewise.
24896         (FLDLOG): Likewise.
24897         (c0): Likewise.
24898         (c1): Likewise.
24899         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24900         Adjust comments for base varying.
24901         (__expl_finite): Change alias to EXPL_FINITE.
24902         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24903         e_expl.S.
24904         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24905         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24906         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24907         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24909         USE_AS_EXP10L.
24910         (EXPL_FINITE): Likewise.
24911         (FLDLOG): Likewise.
24912         (c0): Likewise.
24913         (c1): Likewise.
24914         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24915         Adjust comments for base varying.
24916         (__expl_finite): Change alias to EXPL_FINITE.
24917         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24918         tests for bugs.
24919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24921         [BZ #14064]
24922         * math/libm-test.inc (check_float_internal): Correct ulp
24923         calculation for subnormal expected results.
24925 2012-05-06  Andreas Jaeger  <aj@suse.de>
24927         * Makeconfig (+math-flags): New, set to -frounding-math.
24928         (+cflags): Add +math-flags so that all of glibc gets compiled with
24929         it.
24931         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24933 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24935         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24936         Disable one test.
24938         [BZ #13787]
24939         [BZ #13922]
24940         [BZ #14036]
24941         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24942         (__ieee754_expl): Allow for and saturate large arguments.
24943         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24944         (u_threshold): Likewise.
24945         (__exp): Call __ieee754_exp before checking for overflow and
24946         underflow.
24947         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24948         (u_threshold): Likewise.
24949         (__expf): Call __ieee754_expf before checking for overflow and
24950         underflow.
24951         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24952         (u_threshold): Likewise.
24953         (__expl): Call __ieee754_expl before checking for overflow and
24954         underflow.
24955         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24956         (__ieee754_expl): Allow for and saturate large arguments.
24957         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24958         missing overflow exception on overflow.
24959         (expm1_test): Do not allow missing overflow exception on overflow.
24961         * sysdeps/i386/fpu/e_expl.c: Move to ...
24962         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24963         rather than using inline asm.
24964         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24965         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24966         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24968         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24969         (nice): Likewise.
24970         (poll): Likewise.
24971         (signal): Likewise.
24972         (time): Likewise.
24973         (times): Likewise.
24975 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24977         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24978         sysdeps/unix/common/syscalls.list.
24979         (fchmod): Likewise.
24980         (fchown): Likewise.
24981         (ftruncate): Likewise.
24982         (getrusage): Likewise.
24983         (gettimeofday): Likewise.
24984         (setpgid): Likewise.
24985         (setregid): Likewise.
24986         (setreuid): Likewise.
24987         (sigaction): Likewise.
24988         (truncate): Likewise.
24989         (vhangup): Likewise.
24990         * sysdeps/unix/common/syscalls.list: Remove file.
24991         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24992         * sysdeps/unix/sysv/linux/Implies: Likewise.
24994 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24996         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24998         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24999         Moved to ...
25000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25001         Here.
25002         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25003         to ...
25004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25005         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25006         to ...
25007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25008         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25009         to ...
25010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25011         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25012         to ...
25013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25014         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25015         to ...
25016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25018         to ...
25019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25020         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25021         to ...
25022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25023         Here.
25024         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25025         to ...
25026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25027         Here.
25028         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25029         to ...
25030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25031         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25032         Moved to ...
25033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25034         Here.
25035         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25036         to ...
25037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25039 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25041         * sysdeps/unix/common/bits/dirent.h: Remove file.
25042         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25044         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25045         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25046         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25047         * sysdeps/unix/bsd/isatty.c: Likewise.
25048         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25049         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25050         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25052 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         [BZ #13563]
25055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25056         long double comparison inaccuracies.
25057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25060 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25062         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25067         [BZ #14049]
25068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25069         nonzero digits before rounding a hex value.
25070         * stdlib/tst-strtod.c (tests): Add another test.
25072 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25074         * sysdeps/s390/fpu/libm-test-ulps: Update.
25076 2012-05-03  Andreas Jaeger  <aj@suse.de>
25078         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25079         does not get optimized out.
25080         (malloc_opt_barrier): New.
25082 2012-05-03  Andreas Jaeger  <aj@suse.de>
25083             Roland McGrath  <roland@hack.frob.com>
25085         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25086         intermediate file deletion.
25087         (generated): Add .symlist files.
25089 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25091         [BZ #13775]
25092         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25093         Redirect under this condition.
25094         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25095         [__USE_GNU] (__dprintf_chk): Not under this condition.
25096         [__USE_GNU] (__vdprintf_chk): Likewise.
25097         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25098         under this condition.
25099         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25100         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25101         [__USE_XOPEN2K8] (vdprintf): Likewise.
25102         [__USE_GNU] (__dprintf_chk): Not under this condition.
25103         [__USE_GNU] (__vdprintf_chk): Likewise.
25104         [__USE_GNU] (dprintf): Likewise.
25105         [__USE_GNU] (vdprintf): Likewise.
25107 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25109         * elf/Makefile (common-generated): Set this instead of generated for
25110         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25111         $(all-built-dso)-derived lists.
25113 2012-05-03  Andreas Jaeger  <aj@suse.de>
25115         * sysdeps/i386/fpu/libm-test-ulps: Update.
25117         * FAQ: Removed.
25118         * FAQ.in: Likewise.
25119         * scripts/gen-FAQ.pl: Likewise.
25120         * manual/install.texi (Installation): Point to online location of
25121         FAQ.
25122         * Makefile (files-for-dist): Remove FAQ.
25123         (FAQ): Remove.
25125 2012-05-02  Allan McRae  <allan@archlinux.org>
25127         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25128         (LDFLAGS-reldepmod5.so): Likewise.
25129         (LDFLAGS-reldep6mod1.so): Likewise.
25130         (LDFLAGS-reldep6mod4.so): Likewise.
25131         (LDFLAGS-reldep8mod3.so): Likewise.
25132         (LDFLAGS-unload4mod1.so): Likewise.
25133         (LDFLAGS-unload4mod2.so): Likewise.
25134         (LDFLAGS-tst-initorder): Likewise.
25135         (LDFLAGS-tst-initordera2.so): Likewise.
25136         (LDFLAGS-tst-initordera3.so): Likewise.
25137         (LDFLAGS-tst-initordera4.so): Likewise.
25138         (LDFLAGS-tst-initorderb2.so): Likewise.
25139         (LDFLAGS-noload): Likewise.
25140         (LDFLAGS-next): Likewise.
25141         (LDFLAGS-order2mod1.so): Likewise.
25142         (LDFLAGS-order2mod2.so): Likewise.
25143         (LDFLAGS-tst-initorder2): Likewise.
25144         (LDFLAGS-tst-initorder2a.so): Likewise.
25145         (LDFLAGS-tst-initorder2b.so): Likewise.
25146         (LDFLAGS-tst-initorder2c.so): Likewise.
25147         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25149 2012-05-02  David S. Miller  <davem@davemloft.net>
25151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25153 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25155         [BZ #14055]
25156         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25158 2012-05-02  Andreas Jaeger  <aj@suse.de>
25160         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25161         since we manipulate rounding mode.
25162         (CPPFLAGS-test-idouble.c): Likewise.
25163         (CPPFLAGS-test-ifloat.c): Likewise.
25164         (CFLAGS-test-ldouble.c): Likewise.
25165         (CFLAGS-test-double.c): Likewise.
25166         (CFLAGS-test-float.c): Likewise.
25167         (CFLAGS-test-misc.c): Likewise.
25168         (CFLAGS-test-test-fenv.c): Likewise.
25170 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25172         [BZ #2550]
25173         [BZ #2570]
25174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25175         comparisons to determine direction to adjust input.
25177 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25179         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25180         output to the target.
25182         * scripts/localplt.awk: New file.
25183         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25184         (check-localplt-CFLAGS): Variable removed.
25185         ($(all-built-dso:=.jmprel)): New static pattern rule.
25186         (generated): Add those targets.
25187         (localplt-built-dso): New variable.
25188         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25190         * elf/check-localplt.c: File removed.
25192         * scripts/check-execstack.awk: New file.
25193         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25194         (check-execstack-CFLAGS): Variable removed.
25195         ($(objpfx)check-execstack.h): Target removed.
25196         ($(objpfx)execstack-default): New target.
25197         (generated): Add that instead of check-execstack.h.
25198         ($(all-built-dso:=.phdr)): New static pattern rule.
25199         (generated): Add those targets.
25200         * elf/check-execstack.c: File removed.
25202         * scripts/check-textrel.awk: New file.
25203         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25204         (check-textrel-CFLAGS): Variable removed.
25205         (all-built-dso): Use := to define.o
25206         ($(all-built-dso:=.dyn)): New static pattern rule.
25207         (generated): Add those targets.
25208         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25209         * config.make.in (READELF): New substituted variable.
25210         * elf/check-textrel.c: File removed.
25212 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25214         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25215         allow.
25216         * conform/data/ctype.h-data [C99-based standards] (isblank):
25217         Expect function.
25218         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25219         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25220         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25221         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25222         Specify type.  Require positive value.
25223         (EILSEQ): Likewise.
25224         (ERANGE): Likewise.
25225         [ISO || POSIX] (EILSEQ): Do not expect.
25226         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25227         Specify type.  Require positive value.
25228         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25229         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25230         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25231         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25232         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25233         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25234         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25235         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25236         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25237         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25238         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25239         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25240         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25241         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25242         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25243         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25244         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25245         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25246         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25247         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25248         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25249         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25250         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25251         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25252         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25253         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25254         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25255         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25256         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25257         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25258         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25259         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25260         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25261         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25262         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25263         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25264         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25265         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25266         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25267         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25268         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25269         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25270         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25271         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25272         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25273         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25274         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25275         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25276         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25277         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25278         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25279         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25302         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25303         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25304         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25305         Require >= 2.
25306         (FLT_ROUNDS): Expect as macro, not constant.
25307         (FLT_MANT_DIG): Use macro-int-constant.
25308         (DBL_MANT_DIG): Likewise.
25309         (LDBL_MANT_DIG): Likewise.
25310         (FLT_DIG): Likewise.
25311         (DBL_DIG): Likewise.
25312         (LDBL_DIG): Likewise.
25313         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25314         (DBL_MIN_EXP): Likewise.
25315         (LDBL_MIN_EXP): Likewise.
25316         (FLT_MAX_EXP): Use macro-int-constant.
25317         (DBL_MAX_EXP): Likewise.
25318         (LDBL_MAX_EXP): Likewise.
25319         (FLT_MAX_10_EXP): Likewise.
25320         (DBL_MAX_10_EXP): Likewise.
25321         (LDBL_MAX_10_EXP): Likewise.
25322         (FLT_MAX): Use macro-constant.
25323         (DBL_MAX): Likewise.
25324         (LDBL_MAX): Likewise.
25325         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25326         (DBL_EPSILON): Likewise.
25327         (LDBL_EPSILON): Likewise.
25328         (FLT_MIN): Likewise.
25329         (DBL_MIN): Likewise.
25330         (LDBL_MIN): Likewise.
25331         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25332         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25333         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25334         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25335         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25336         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25337         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25338         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25339         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25340         [ISO11] (FLT_TRUE_MIN): Likewise.
25341         [ISO11] (LDBL_TRUE_MIN): Likewise.
25342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25343         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25344         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25345         (SCHAR_MAX): Likewise.
25346         (UCHAR_MAX): Likewise.
25347         (CHAR_MIN): Likewise.
25348         (CHAR_MAX): Likewise.
25349         (MB_LEN_MAX): Use macro-int-constant.
25350         (SHRT_MIN): Use macro-int-constant.  Specify type.
25351         (SHRT_MAX): Likewise.
25352         (USHRT_MAX): Likewise.
25353         (INT_MAX): Likewise.
25354         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25355         bound negative.
25356         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25357         bound with "U".
25358         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25359         bound with "L".
25360         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25361         bound negative.  Suffix upper bound with "L".
25362         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25363         bound with "UL".
25364         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25365         Specify type.
25366         [C99-based standards] (LLONG_MAX): Likewise.
25367         [C99-based standards] (ULLONG_MAX): Likewise.
25368         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25369         == 0.
25370         [ISO11] (max_align_t): Require type.
25371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25373         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25374         from $CFLAGS, without defining away __attribute__ calls.
25375         (checknamespace): Use $CFLAGS_namespace.
25377         * conform/conformtest.pl (@keywords): Only include C99 keywords
25378         for standards based on C99 or C11.
25380         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25381         Disable tests.
25382         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25383         UNIX98]: Likewise.
25385         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25386         usability of symbols in #if.
25388         * conform/conformtest.pl: If macro or constant types start
25389         "promoted:", expect the symbol to be of the following type
25390         promoted by the integer promotions.
25392         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25393         in one place.  Also handle "macro-constant".
25395         * conform/conformtest.pl: Only accept expected macro values with
25396         "==".  Parse all "macro" lines in one place.
25397         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25399         * conform/conformtest.pl: Handle braced types on "constant" lines
25400         instead of handling "typed-constant".
25401         * conform/data/signal.h-data: Use "constant" instead of
25402         "typed-constant".
25404         * conform/conformtest.pl: Handle "optional-" at start of lines in
25405         one place rather than duplicating several cases.  Handle each
25406         format of "macro" line with initial "optional-".
25408         * conform/conformtest.pl: Only accept expected constant or
25409         optional-constant values with "==".  Parse all "constant" lines in
25410         one place.  Parse all "optional-constant" lines in one place.
25411         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25412         * conform/data/fmtmsg.h-data: Likewise.
25413         * conform/data/netinet/in.h-data: Likewise.
25414         * conform/data/tar.h-data: Likewise.
25415         * conform/data/limits.h-data: Use "==" form on "constant" and
25416         "optional-constant" lines.
25418         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25419         Use -std=c99 for XOPEN2K.
25420         (@knownproblems): Remove.
25421         (newtoken): Don't check %isknown.
25423         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25424         Do not expect macro.
25425         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25426         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25427         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25428         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25429         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25430         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25431         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25432         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25433         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25434         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25435         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25436         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25437         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25438         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25439         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25440         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25441         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25442         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25443         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25444         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25445         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25446         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25447         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25448         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25449         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25450         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25451         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25452         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25453         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25454         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25455         [XPG3] (acosh): Likewise.
25456         [XPG3] (asinh): Likewise.
25457         [XPG3] (atanh): Likewise.
25458         [XPG3] (cbrt): Likewise.
25459         [XPG3] (expm1): Likewise.
25460         [XPG3] (ilogb): Likewise.
25461         [XPG3] (log1p): Likewise.
25462         [XPG3] (logb): Likewise.
25463         [XPG3] (nextafter): Likewise.
25464         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25465         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25466         [XPG3] (remainder): Likewise.
25467         [XPG3] (rint): Likewise.
25468         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25469         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25470         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25471         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25472         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25473         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25474         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25475         [UNIX98 || XOPEN2K] (scalb): Expect.
25476         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25477         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25478         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25479         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25480         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25481         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25482         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25483         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25484         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25485         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25487         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25488         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25489         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25490         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25491         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25492         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25493         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25494         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25495         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25505         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25506         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25507         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25508         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25509         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25510         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25511         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25512         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25525         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25526         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25527         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25614         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25615         _XOPEN_SOURCE_EXTENDED for XPG4.
25617         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25619         * Makeconfig (localtime): Remove variable.
25620         (inst_localtime-file): Likewise.
25622 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25625         Update.
25626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25627         Update.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25629         Update.
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25631         Update.
25632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25633         Update.
25634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25635         Update.
25636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25637         Update.
25638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25639         Update.
25640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25641         Update.
25643 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25645         [BZ #2550]
25646         [BZ #2570]
25647         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25648         comparisons to determine direction to adjust input.
25649         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25650         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25651         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25652         Likewise.
25653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25654         Likewise.
25655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25656         Likewise.
25657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25658         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25659         Likewise.
25660         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25661         Likewise.
25662         * math/libm-test.inc (nexttoward_test): Add more tests.
25664 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25666         [BZ #14040]
25667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25668         in version GLIBC_2.1, not GLIBC_2.0.
25669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25670         Likewise.
25672 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25674         [BZ #13942]
25675         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25676         (1 - x) * (1 + x).
25677         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25678         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25679         * math/libm-test.inc (acos_test): Add more tests.
25680         (asin_test): Likewise.
25681         * sysdeps/i386/fpu/libm-test-ulps: Update.
25682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25684         [BZ #14034]
25685         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25686         of square root.
25687         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25688         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25689         * math/libm-test.inc (acos_test_tonearest): New function.
25690         (acos_test_towardzero): Likewise.
25691         (acos_test_downward): Likewise.
25692         (acos_test_upward): Likewise.
25693         (asin_test_tonearest): Likewise.
25694         (asin_test_towardzero): Likewise.
25695         (asin_test_downward): Likewise.
25696         (asin_test_upward): Likewise.
25697         (main): Call the new functions.
25698         * sysdeps/i386/fpu/libm-test-ulps: Update.
25699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25701         [BZ #13884]
25702         [BZ #13924]
25703         * math/e_exp10.c: Include <float.h>.
25704         (__ieee754_exp10): Handle underflow here rather than multiplying
25705         large negative argument by M_LN10.
25706         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25707         of __ieee754_expf.
25708         * math/e_exp10l.c: Include <float.h>.
25709         (__ieee754_exp10l): Handle underflow here rather than multiplying
25710         large negative argument by M_LN10l.
25711         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25712         spurious overflow exception on underflow.
25714 2012-04-29  Marek Polacek  <polacek@redhat.com>
25716         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25717         (__fortify_function): New macro.
25718         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25719         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25720         __extern_always_inline.
25721         * libio/bits/stdio2.h: Likewise.
25722         * libio/bits/stdio.h: Likewise.
25723         * string/string.h: Likewise.
25724         * string/bits/string3.h: Likewise.
25725         * include/stdio.h: Likewise.
25726         * stdlib/bits/stdlib.h: Likewise.
25727         * stdlib/stdlib.h: Likewise.
25728         * rt/bits/mqueue2.h: Likewise.
25729         * rt/mqueue.h: Likewise.
25730         * posix/bits/unistd.h: Likewise.
25731         * posix/unistd.h: Likewise.
25732         * io/bits/poll2.h: Likewise.
25733         * io/bits/fcntl2.h: Likewise.
25734         * io/fcntl.h: Likewise.
25735         * io/sys/poll.h: Likewise.
25736         * misc/bits/syslog.h: Likewise.
25737         * misc/bits/syslog-ldbl.h: Likewise.
25738         * misc/sys/syslog.h: Likewise.
25739         * socket/bits/socket2.h: Likewise.
25740         * socket/sys/socket.h: Likewise.
25741         * debug/tst-chk1.c: Likewise.
25742         * wcsmbs/bits/wchar2.h: Likewise.
25743         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25744         * wcsmbs/wchar.h: Likewise.
25746 2012-04-29  Andreas Jaeger  <aj@suse.de>
25748         * Makerules (tests): Remove enable-check-abi protection.
25749         (check-abi-warn): Remove.
25750         (check-abi-%): Remove check-abi-warn usage.
25752         * configure.in: Remove check-abi configure option.
25753         * configure: Regenerated.
25754         * config.make.in (enable-check-abi): Remove.
25756 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25758         [BZ #14033]
25759         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25760         double functions to double *_finite functions.
25762         [BZ #13941]
25763         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25764         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25765         LDBL_MIN_EXP.
25766         * stdio-common/Makefile (tests): Add tst-sprintf3.
25767         * stdio-common/tst-sprintf3.c: New file.
25769         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25770         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25772 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25774         * conform/conformtest.pl: Remove duplicate typed-constant
25775         handling.
25777 2012-04-28  David S. Miller  <davem@davemloft.net>
25779         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25780         (check-abi-%): Remove AWK script prerequisite and explicit
25781         abilist directory.
25782         (check-abi): Rewrite to just diff the symlist with the abilist.
25783         (config-tls, config-abi-config): Delete, no longer used.
25784         (update-abi-%): Remove AWK script and explicit abilist directory.
25785         (update-abi): Rewrite to simply compare and conditionally copy the
25786         symlist and the sysdep abilist file.  Remove update-abi-config
25787         checks.
25788         * abilist/ld.abilist: Remove.
25789         * abilist/libBrokenLocale.abilist: Remove.
25790         * abilist/libanl.abilist: Remove.
25791         * abilist/libcrypt.abilist: Remove.
25792         * abilist/libdl.abilist: Remove.
25793         * abilist/librt.abilist: Remove.
25794         * abilist/libthread_db.abilist: Remove.
25795         * abilist/libutil.abilist: Remove.
25796         * scripts/extract-abilist.awk: Remove.
25797         * scripts/merge-abilist.awk: Remove.
25798         * sysdeps/generic/libcidn.abilist: New file.
25799         * sysdeps/generic/libnss_compat.abilist: New file.
25800         * sysdeps/generic/libnss_db.abilist: New file.
25801         * sysdeps/generic/libnss_dns.abilist: New file.
25802         * sysdeps/generic/libnss_files.abilist: New file.
25803         * sysdeps/generic/libnss_hesiod.abilist: New file.
25804         * sysdeps/generic/libnss_nis.abilist: New file.
25805         * sysdeps/generic/libnss_nisplus.abilist: New file.
25806         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25807         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25808         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25809         file.
25810         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25811         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25812         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25813         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25814         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25816         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25817         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25818         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25819         file.
25820         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25821         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25822         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25823         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25824         file.
25825         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25826         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25827         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25828         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25829         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25830         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25831         file.
25832         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25833         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25834         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25835         file.
25836         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25838         New file.
25839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25840         New file.
25841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25842         New file.
25843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25844         New file.
25845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25846         New file.
25847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25848         New file.
25849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25850         New file.
25851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25852         New file.
25853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25854         New file.
25855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25856         New file.
25857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25858         New file.
25859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25860         New file.
25861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25862         New file.
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25864         file.
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25866         New file.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25868         New file.
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25870         file.
25871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25872         New file.
25873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25874         New file.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25876         file.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25878         New file.
25879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25880         New file.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25882         New file.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25884         New file.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25886         New file.
25887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25888         New file.
25889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25891         file.
25892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25893         New file.
25894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25895         file.
25896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25897         file.
25898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25899         file.
25900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25901         file.
25902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25903         file.
25904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25905         New file.
25906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25907         file.
25908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25909         file.
25910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25911         New file.
25912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25913         file.
25914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25916         file.
25917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25918         New file.
25919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25920         file.
25921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25922         file.
25923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25924         file.
25925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25926         file.
25927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25928         file.
25929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25930         New file.
25931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25932         file.
25933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25934         file.
25935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25936         New file.
25937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25938         file.
25939         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25940         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25941         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25942         file.
25943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25944         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25945         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25946         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25947         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25948         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25949         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25951         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25952         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25955         file.
25956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25957         New file.
25958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25959         file.
25960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25961         file.
25962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25963         file.
25964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25965         file.
25966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25967         file.
25968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25969         New file.
25970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25971         New file.
25972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25973         file.
25974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25975         New file.
25976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25977         file.
25978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25980         file.
25981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25982         New file.
25983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25984         file.
25985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25986         file.
25987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25988         file.
25989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25990         file.
25991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25992         file.
25993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25994         New file.
25995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25996         New file.
25997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25998         file.
25999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26000         New file.
26001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26002         file.
26004 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26006         * conform/conformtest.pl: Fix typo in handling typed-constant from
26007         allow-header.
26009 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26011         * README: Cut down references to pre-2.6 Linux kernels and
26012         Linuxthreads.  Update lists of configurations in libc and ports
26013         and sort alphabetically.  Say "or newer" with Linux kernel version
26014         requirements.
26016         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26018 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26020         [BZ #887]
26021         * math/libm-test.inc (logb_test_downward): New test to expose
26022         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26023         rounding mode.
26025 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26027         [BZ #14027]
26028         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26029         to be done.
26030         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26031         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26033 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26035         * sysdeps/unix/i386/brk.S: Remove file.
26036         * sysdeps/unix/i386/dl-brk.S: Likewise.
26037         * sysdeps/unix/i386/pipe.S: Likewise.
26038         * sysdeps/unix/i386/sigreturn.S: Likewise.
26039         * sysdeps/unix/i386/syscall.S: Likewise.
26040         * sysdeps/unix/i386/vfork.S: Likewise.
26041         * sysdeps/unix/i386/wait.S: Likewise.
26043         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26044         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26046         * configure.in (arm*-none*): Do not allow without
26047         --enable-hacker-mode.
26048         (netbsd*): Remove case setting base_os.
26049         (386bsd*): Likewise.
26050         (freebsd*): Likewise.
26051         (bsdi*): Likewise.
26052         (osf*): Likewise.
26053         (sunos*): Likewise.
26054         (ultrix*): Likewise.
26055         (newsos*): Likewise.
26056         (dynix*): Likewise.
26057         (*bsd*): Likewise.
26058         (sysv*): Likewise.
26059         (isc*): Likewise.
26060         (esix*): Likewise.
26061         (sco*): Likewise.
26062         (minix*): Likewise.
26063         (irix4*): Likewise.
26064         (irix6*): Likewise.
26065         (solaris[2-9]*): Likewise.
26066         (none): Likewise.
26067         * configure: Regenerated.
26069 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26071         [BZ #11521]
26072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26073         overflow or cancellation in calculating denominator.
26074         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26076         down expression to avoid unexpected rounding in newer GCCs.
26077         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26079 2012-04-26  David S. Miller  <davem@davemloft.net>
26081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26082         long-double compat symbols.
26083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26097 2012-04-25  David S. Miller  <davem@davemloft.net>
26099         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26100         HWCAP_* values only after the memory barriers have been defined.
26101         (atomic_full_barrier): Define.
26102         (atomic_read_barrier): Define.
26103         (atomic_write_barrier): Define.
26105 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26107         * shlib-versions: Add libgcc_s version information.
26108         * sysdeps/generic/libgcc_s.h: Remove.
26109         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26110         libgcc_s.h.
26111         * sysdeps/gnu/unwind-resume.c: Likewise.
26112         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26114 2012-04-25  David S. Miller  <davem@davemloft.net>
26116         * sysdeps/unix/sparc/brk.S: Delete.
26117         * sysdeps/unix/sparc/dl-brk.S: Delete.
26118         * sysdeps/unix/sparc/pipe.S: Delete.
26119         * sysdeps/unix/sparc/sysdep.S: Delete.
26120         * sysdeps/unix/sparc/sysdep.h: Delete.
26121         * sysdeps/unix/sparc/vfork.S: Delete.
26122         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26123         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26125         ret_ERRVAL, r0, r1, MOVE): Define.
26126         (JUMPTARGET): Remove.
26127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26128         sysdeps/unix/sparc/sysdep.h
26129         (ENTRY, END): Remove.
26130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26132 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26134         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26135         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26136         -DIS_IN_build.
26138         * timezone/README: Update upstream location and email address for
26139         tzcode and tzdata.
26140         * timezone/zdump.c: Update from tzcode 2012b.
26141         * timezone/zic.c: Likewise.
26143         * configure.in (libc_cv_as_needed): Remove test.
26144         * configure: Regenerated.
26145         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26146         conditional definition.
26147         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26148         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26149         * config.make.in (have-as-needed): Remove variable.
26151 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26152             Paul Pluzhnikov  <ppluzhnikov@google.com>
26154         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26155         strings correctly.
26157 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26159         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26160         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26161         * sysdeps/sh/strlen.S: Likewise.
26163 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26165         * sysdeps/unix/fork.S: Remove file.
26166         * sysdeps/unix/i386/fork.S: Likewise.
26167         * sysdeps/unix/sparc/fork.S: Likewise.
26169         * sysdeps/unix/system.c: Remove file.
26170         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26172         * sysdeps/unix/getegid.S: Remove file.
26173         * sysdeps/unix/geteuid.S: Likewise.
26175 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26177         * scripts/check-localplt.awk: New file.
26178         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26179         of diff.
26180         * scripts/data/localplt-generic.data: Add a comment.
26182         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26183         NODE when __dir_mkfile failed.
26184         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26185         Reported by Ludovic Courtès <ludo@gnu.org>.
26187 2012-04-24  Andreas Jaeger  <aj@suse.de>
26189         * Makerules (common-clean): Also remove gen-as-const-headers
26190         files.
26192 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26194         * Makerules (native-compile): Do not change working directory for
26195         build.  Use $(OUTPUT_OPTION) in command.
26196         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26198 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26200         [BZ #13886]
26201         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26202         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26203         * math/libm-test.inc (floor_test): Add more tests.
26204         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26206 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26208         * sysdeps/unix/getdents.c: Remove file.
26209         * sysdeps/unix/sysv/getdents.c: Likewise.
26210         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26212         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26213         sysdeps/unix/mman/syscalls.list.
26214         (mmap): Likewise.
26215         (mprotect): Likewise.
26216         (msync): Likewise.
26217         (munmap): Likewise.
26218         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26219         * sysdeps/unix/mman/syscalls.list: Remove.
26220         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26222         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26223         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26224         * configure: Regenerated.
26225         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26226         $(libgcc_s_suffix).
26227         * config.make.in (libgcc_s_suffix): Remove variable.
26229 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26231         * sysdeps/unix/sysv/gethostname.c: Move to ...
26232         * sysdeps/posix/gethostname.c: ... here.
26234         * sysdeps/unix/execve.S: Remove file.
26236         * sysdeps/unix/_exit.S: Remove file.
26238 2012-04-23  Andreas Jaeger  <aj@suse.de>
26240         [BZ #13739]
26241         * manual/Makefile: Remove make dist support, there's no
26242         need for a stand-alone documentation tar ball.
26243         (TEXI2DVI): Define always, it's not in Makeconfig.
26244         (dist): Removed.
26245         (tar-it): Removed.
26246         (edition): Removed.
26247         (glibc-doc-$(edition).tar): Removed
26248         (%.Z): Removed.
26249         (%.gz): Removed.
26250         (%.uu): Removed.
26251         (ETAGS): Remove, it's in Makeconfig.
26252         (move-if-change): Remove, it's in Makeconfig.
26254 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26256         [BZ #13970]
26257         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26258         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26259         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26260         (strtod_l, strtof_l, strtold_l): Remove __wur.
26261         It is not necessarily an error to ignore strtol's return value.
26262         One can reliably look at the stored endptr to decide whether
26263         the number had valid syntax.
26265 2012-04-21  Andreas Jaeger  <aj@suse.de>
26267         [BZ #13739]
26268         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26270 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26272         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26273         * sysdeps/unix/sysv/Versions: Remove file.
26275 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26277         [BZ #13927]
26278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26280 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26282         [BZ #7064]
26283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26284         version from __vm86.
26286 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26288         * sysdeps/unix/common/lxstat.c: Remove file.
26289         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26291         * sysdeps/unix/sysv/Makefile: Remove file.
26293         * sysdeps/unix/sysv/direct.h: Remove file.
26295         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26296         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26297         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26298         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26299         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26300         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26301         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26303         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26305         * sysdeps/unix/xmknod.c: Remove file.
26306         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26308         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26310         * sysdeps/unix/sysv/i386/time.S: Remove file.
26312         * sysdeps/unix/fxstat.c: Remove file.
26313         * sysdeps/unix/xstat.c: Likewise.
26314         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26316         * sysdeps/unix/sysv/sigaction.c: Remove file.
26318         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26319         (sysdep_headers): Remove variable.
26320         [termio.h not in sysdep_headers] (generated): Likewise.
26321         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26322         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26323         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26324         * sysdeps/unix/sysv/tcflow.c: Likewise.
26325         * sysdeps/unix/sysv/tcflush.c: Likewise.
26326         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26327         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26328         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26329         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26330         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26332         * sysdeps/unix/siglist.c: Remove file.
26334         * sysdeps/unix/getppid.S: Remove file.
26336         * sysdeps/unix/mkdir.c: Remove file.
26337         * sysdeps/unix/rmdir.c: Likewise.
26339 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26341         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26342         ERR_MAX value.
26343         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26344         errlist-compat value.
26346 2012-04-18  David S. Miller  <davem@davemloft.net>
26348         * sysdeps/generic/memcopy.h (reg_char): Delete.
26349         * debug/strcat_chk.c: Use char, not reg_char.
26350         * debug/strcpy_chk.c: Likewise.
26351         * debug/strncat_chk.c: Likewise.
26352         * debug/strncpy_chk.c: Likewise.
26353         * string/memchr.c: Likewise.
26354         * string/memrchr.c: Likewise.
26355         * string/rawmemchr.c: Likewise.
26356         * string/strcat.c: Likewise.
26357         * string/strchr.c: Likewise.
26358         * string/strchrnul.c: Likewise.
26359         * string/strcmp.c: Likewise.
26360         * string/strcpy.c: Likewise.
26361         * string/strncat.c: Likewise.
26362         * string/strncmp.c: Likewise.
26363         * string/strncpy.c: Likewise.
26365 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26367         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26368         __builtin_memcopy is called when src and dest ranges are known to not
26369         overlap.
26371 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26374         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26375         fwd_align_merge macro call.
26376         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26377         bwd_align_merge macro call.
26378         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26380 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26382         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26383         bwd_align_merge macros.
26384         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26385         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26386         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26388 2012-04-18  David S. Miller  <davem@davemloft.net>
26390         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26392 2012-04-18  Andreas Jaeger  <aj@suse.de>
26394         [BZ# 6794]
26395         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26396         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26397         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26399         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26400         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26401         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26403         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26404         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26405         Adjust for changed ldbl-128 files.
26407         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26408         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26409         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26411 2012-04-17  David S. Miller  <davem@davemloft.net>
26413         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26415 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26417         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26418         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26419         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26420         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26421         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26422         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26424 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26426         [BZ #6794]
26427         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26428         * math/libm-test.inc: Add ilogb errno and exception tests.
26429         * math/w_ilogb.c: New file: ilogb wrapper.
26430         * math/w_ilogbf.c: New file: ilogbf wrapper.
26431         * math/w_ilogbl.c: New file: ilogbl wrapper.
26432         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26433         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26434         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26435         exception being thrown with 0.0 as argument.
26436         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26437         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26438         exception being thrown with 0.0 as argument.
26439         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26440         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26441         exception being thrown with 0.0 as argument.
26442         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26443         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26444         exception being thrown with 0.0 as argument.
26445         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26446         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26447         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26448         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26449         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26450         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26451         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26452         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26453         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26455 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26457         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26458         with altivec.
26460 2012-04-16  Marek Polacek  <polacek@redhat.com>
26462         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26464 2012-04-16  Marek Polacek  <polacek@redhat.com>
26466         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26467         operands of fdivp instruction.
26469 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26471         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26472         * elf/tst-auditmod3b.c: Likewise.
26473         * elf/tst-auditmod4b.c: Likewise.
26474         * elf/tst-auditmod5b.c: Likewise.
26475         * elf/tst-auditmod6b.c: Likewise.
26476         * elf/tst-auditmod6c.c: Likewise.
26477         * elf/tst-auditmod7b.c: Likewise.
26478         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26479         * sysdeps/x86_64/preconfigure.in: Likewise.
26480         * sysdeps/x86_64/preconfigure: Regenerated.
26482 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26484         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26485         __ILP32__.
26487 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26490         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26492 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26494         [BZ #13973]
26495         * locale/iso-639.def: Fix gl language name. Spotted by
26496         Yaron Shahrabani.
26498 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26500         [BZ #2074]
26501         * libio/libio.h (__io_write_fn): Update comment.
26503 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26505         [BZ #2074]
26506         * stdio.texi (Hook Functions): The user provided writer function
26507         is not allowed to return -1.
26509 2012-04-11  David S. Miller  <davem@davemloft.net>
26511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26513 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26515         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26516         Add a leading slash to rtkaio.
26518 2012-04-11  Jim Meyering  <meyering@redhat.com>
26520         [BZ #11959]
26521         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26522         It is not necessarily an error to ignore fwrite's return
26523         value.  One can reliably use ferror to test for errors after
26524         the fact.
26526 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26528         * bits/types.h (__snseconds_t): New type.
26529         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26531         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26533         (__SNSECONDS_T_TYPE): Likewise.
26534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26535         (__SNSECONDS_T_TYPE): Likewise.
26536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26537         (__SNSECONDS_T_TYPE): Likewise.
26539 2012-04-10  Andreas Jaeger  <aj@suse.de>
26541         [BZ #2636]
26542         * manual/time.texi (Processor Time): Return type of times is
26543         elapsed real time since an arbitrary point in the past.
26544         (CPU Time): Move CLK_TCK from here...
26545         (Processor Time): ...to here.  Correct description.
26546         * manual/conf.texi (Constants for Sysconf): Correct description of
26547         _SC_CLK_TCK.
26549 2012-04-10  David S. Miller  <davem@davemloft.net>
26551         [BZ #13967]
26552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26553         where the is a gap between DT_REL(A) and DT_JMPREL.
26555 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26557         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26558         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26559         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26561 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26563         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26564         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26565         (dl_main): Handle --inhibit-cache.
26566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26567         _dl_inhibit_cache.
26568         * elf/dl-load.c (_dl_map_object): Use it.
26569         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26571 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26573         [BZ #13872]
26574         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26575         (__ieee754_powl): Saturate large exponents rather than testing for
26576         overflow of y*log2(x).
26577         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26578         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26579         exceptions.
26581         [BZ #11521]
26582         * math/s_ctan.c: Include <float.h>.
26583         (__ctan): Avoid internal overflow or cancellation in calculating
26584         denominator.
26585         * math/s_ctanf.c: Likewise.
26586         * math/s_ctanl.c: Likewise.
26587         * math/s_ctanh.c: Likewise.
26588         * math/s_ctanhf.c: Likewise.
26589         * math/s_ctanhl.c: Likewise.
26590         * math/libm-test.inc (ctan_test): Add more tests.
26591         (ctanh_test): Likewise.
26592         * sysdeps/i386/fpu/libm-test-ulps: Update.
26593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2012-04-09  Andreas Jaeger  <aj@suse.de>
26597         [BZ #6894]
26598         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26599         is an optional BSD extension.
26601         [BZ #10254]
26602         * manual/stdio.texi (Opening Streams): Document additional fopen
26603         parameters.
26605 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26607         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26608         %eax without telling the compiler.
26610 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26612         [BZ # 13963]
26613         * manual/install.texi: Use sourceware.org.
26615 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26617         [BZ #13873]
26618         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26619         (__ieee754_pow): Generate overflow and underflow using huge*huge
26620         and tiny*tiny rather than just returning constant infinity or zero
26621         for large exponents.
26622         * math/libm-test.inc (pow_test): Require overflow exceptions for
26623         applicable cases of large exponents.
26625         [BZ #706]
26626         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26627         (__ieee754_pow): Use iterative multiplication algorithm only for
26628         integer exponents with absolute value below 1024.  Check for odd
26629         integer exponents when using algorithm for real exponents.
26630         * math/libm-test.inc (pow_test): Add more tests.
26631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26633 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #13705]
26636         * math/libm-test.inc (exp_test): Do not allow overflow exception
26637         on underflow test.
26639 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26641         [BZ #13705]
26642         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26643         instead of __kernel_standard_f.
26645 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26647         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26648         * sysdeps/x86_64/memset_chk.S: Likewise.
26650 2012-04-08  Andreas Jaeger  <aj@suse.de>
26652         [BZ #10153]
26653         * manual/startup.texi (Environment Access): Describe return value
26654         for putenv and setenv.
26656         [BZ #6895]
26657         * manual/filesys.texi (Directory Entries): Add description for
26658         DT_LNK.
26660         [BZ #6890]
26661         * manual/filesys.texi (Directory Entries): Clarify that it's file
26662         system not operating system in the description of DT_UNKNOWN.
26664         [BZ #6578]
26665         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26667 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26669         [BZ #6649]
26670         * manual/llio.texi (Opening and Closing Files): Add cross
26671         reference to explain mode argument.
26673 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26675         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26676         * sysdeps/x86_64/memset_chk.S: Likewise.
26678 2012-04-07  David S. Miller  <davem@davemloft.net>
26680         * elf/elf.h (R_SPARC_WDISP10): Define.
26681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26682         R_SPARC_SIZE32.
26683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26684         R_SPARC_SIZE64 and R_SPARC_H34.
26686 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26688         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26689         conditions and remove no longer applicable assertion.
26691 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26693         * bits/byteswap.h: Include <features.h>.
26694         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26695         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26697 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26699         * bits/byteswap.h (__bswap_16): Removed.
26700         Include <bits/byteswap-16.h> to get __bswap_16.
26701         * sysdeps/i386/bits/byteswap.h: Likewise.
26702         * sysdeps/s390/bits/byteswap.h: Likewise.
26703         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26704         * bits/byteswap-16.h: New file.
26705         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26706         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26707         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26708         * string/Makefile (headers): Add bits/byteswap-16.h.
26710 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26712         [BZ #13895]
26713         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26714         extra indirection.
26715         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26716         * nss/tst-nss-static.c: New.
26718 2012-04-06  Robert Millan  <rmh@gnu.org>
26720         [BZ #6486]
26721         * manual/llio.texi (File Position Primitive): lseek
26722         refers to WHENCE when it really means OFFSET.
26724 2012-04-06  Andreas Jaeger  <aj@suse.de>
26726         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26727         strncmp declarations.
26729         * abilist/libc.abilist: Add __poll and __ppoll.
26731 2012-04-05  David S. Miller  <davem@davemloft.net>
26733         * scripts/check-local-headers.sh: Accept a host triplet in the
26734         path matched by the exclude regexp.
26736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26737         definition.
26738         * sysdeps/powerpc/powerpc32/dl-machine.h
26739         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26740         * sysdeps/s390/s390-32/dl-machine.h
26741         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26742         * sysdeps/sparc/sparc32/dl-machine.h
26743         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26744         * sysdeps/sparc/sparc64/dl-machine.h
26745         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26747         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26748         lazy binding.
26749         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26750         undefined symbol errors.
26752         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26753         DT_NEEDED entries.
26755 2012-04-05  Michael Matz  <matz@suse.de>
26757         [BZ #13592]
26758         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26760 2012-04-05  Andreas Jaeger  <aj@suse.de>
26762         [BZ #13908]
26763         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26764         comment.
26766 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26769         which ROUND is no valid rounding mode.
26771 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26773         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26774         read again.
26775         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26777 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26779         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26780         an exception using FPU order intentionally.
26782 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26785         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26786         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26787         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26789 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26791         [BZ #12340]
26792         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26793         EINVAL when BUFLEN is too smal.
26795 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26797         [BZ #13553]
26798         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26799         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26801 2012-04-03  Andreas Jaeger  <aj@suse.de>
26803         [BZ #13938]
26804         * manual/setjmp.texi (System V contexts): Fix sentence.
26806         [BZ #13926]
26807         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26808         New macro for this case.
26809         [!__GNUC__] (__bswap_64): New inline function for this case.
26810         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26811         * bits/byteswap.h: Likewise.
26812         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26813         ull, guard with __GLIBC_HAVE_LONG_LONG.
26815         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26816         __GLIBC_HAVE_LONG_LONG.
26818         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26819         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26821 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26823         [BZ #13691]
26824         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26825         inptr and inend, rather than using last_ch.
26827 2012-04-02  David S. Miller  <davem@davemloft.net>
26829         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26830         * stdio-common/printf-parse.h (read_int): Change return type to
26831         'int', return -1 on INT_MAX overflow.
26832         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26833         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26834         overflows INT_MAX.  Check for overflow of in-format-string precision
26835         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26836         SIZE_MAX not INT_MAX for integer overflow test.
26837         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26838         skip the construct in the format string but do not record anything.
26839         * stdio-common/bug22.c: Adjust to test both width/prevision
26840         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26841         explicitly for proper errno values.
26843 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26845         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26846         CHAR_MAX.
26847         * string/test-strcmp.c [! WIDE]: Likewise.
26848         * time/tst-mktime2.c: Likewise for INT_MAX.
26849         * string/test-string.h: #include <sys/param.h> for MIN.
26851         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26852         * sysdeps/i386/init-first.c (init): Likewise.
26853         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26854         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26855         * sysdeps/sh/init-first.c (init): Likewise.
26857 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26859         * po/ru.po: Update from translation team.
26860         * po/vi.po: Likewise.
26862 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26864         * resolv/nss_dns/dns-host.c: Merge copyright years.
26866 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26869         Optimize memcpy with prefetch if
26870         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26871         src, dst pointers have unequal 16 byte alignments.
26873 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26875         [BZ #13928]
26876         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26877         from a CNAME entry and return the minimum ttl for the query.
26878         (gaih_getanswer_slice): Likewise.
26880 2012-03-30  Jeff Law  <law@redhat.com>
26882         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26883         due to long keys.
26884         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26885         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26887         * resolv/nss_dns/dns-host.c: Update copyright year.
26889 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26891         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26892         requests to save a system call.  Fix check that all bytes are sent.
26894         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26895         comments for sendmmsg.
26897 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26899         [BZ #13691]
26900         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26901         with only 1 character between 0x0041 and 0x01b0.
26902         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26903         * wcsmbs/tst-mbsnrtowcs.c: New file.
26905 2012-03-29  David S. Miller  <davem@davemloft.net>
26907         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26908         small copies by hand.
26910 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912         [BZ #13761]
26913         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26914         _nss_compat_initgroups_dyn): Fall back to malloc/free
26915         for large group memberships.
26917 2012-03-28  David S. Miller  <davem@davemloft.net>
26919         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26920         that branches into memcpy.
26921         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26922         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26923         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26924         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26926         bits.
26927         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26928         implementation too.
26929         * sysdeps/sparc/mempcpy.S: New file.
26931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26932         the IFUNC routine in the libc case.
26933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26935         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26936         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26937         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26938         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26939         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26940         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26941         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26942         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26944         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26945         loop to 256 bytes instead of 64 bytes and fix test signedness.
26947         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26948         * sysdeps/sparc/sparc32/Makefile: rather than here...
26949         * sysdeps/sparc/sparc64/Makefile: and here.
26951 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26953         * malloc/mallocbug.c: Avoid warnings about unused variables.
26955 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26957         [BZ #13760]
26958         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26959         in the right place. Discard and retry query if response is
26960         larger than input buffer size.
26962 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26964         [BZ #369]
26965         [BZ #2678]
26966         [BZ #3866]
26967         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26968         x for large integer exponent.
26969         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26970         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26971         sign of result as needed afterwards.
26972         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26973         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26974         result for underflowing pow the same as for overflow.
26975         (__kernel_standard_l): Handle powl overflow and underflow here
26976         rather than calling __kernel_standard.
26977         * math/libm-test.inc (pow_test): Add more tests.
26979         [BZ #3868]
26980         [BZ #13879]
26981         [BZ #13910]
26982         [BZ #13911]
26983         [BZ #13912]
26984         [BZ #13913]
26985         [BZ #13915]
26986         [BZ #13916]
26987         [BZ #13917]
26988         [BZ #13918]
26989         [BZ #13919]
26990         [BZ #13920]
26991         [BZ #13921]
26992         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26993         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26994         (__kernel_standard_l): New function.
26995         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26996         __kernel_standard.
26997         * math/w_acosl.c (__acosl): Likewise.
26998         * math/w_asinl.c (__asinl): Likewise.
26999         * math/w_atan2l.c (__atan2l): Likewise.
27000         * math/w_atanhl.c (__atanhl): Likewise.
27001         * math/w_coshl.c (__coshl): Likewise.
27002         * math/w_exp10l.c (__exp10l): Likewise.
27003         * math/w_exp2l.c (__exp2l): Likewise.
27004         * math/w_fmodl.c (__fmodl): Likewise.
27005         * math/w_hypotl.c (__hypotl): Likewise.
27006         * math/w_j0l.c (__j0l, __y0l): Likewise.
27007         * math/w_j1l.c (__j1l, __y1l): Likewise.
27008         * math/w_jnl.c (__jnl, __ynl): Likewise.
27009         * math/w_lgammal.c (__lgammal): Likewise.
27010         * math/w_log10l.c (__log10l): Likewise.
27011         * math/w_log2l.c (__log2l): Likewise.
27012         * math/w_logl.c (__logl): Likewise.
27013         * math/w_powl.c (__powl): Likewise.
27014         * math/w_remainderl.c (__remainderl): Likewise.
27015         * math/w_scalbl.c (sysv_scalbl): Likewise.
27016         * math/w_sinhl.c (__sinhl): Likewise.
27017         * math/w_sqrtl.c (__sqrtl): Likewise.
27018         * math/w_tgammal.c (__tgammal): Likewise.
27019         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27020         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27021         * math/libm-test.inc (acos_test): Add more tests.
27022         (acosh_test): Likewise.
27023         (asin_test): Likewise.
27024         (atanh_test): Likewise.
27025         (exp_test): Likewise.
27026         (exp10_test): Likewise.
27027         (exp2_test): Likewise.
27028         (expm1_test): Likewise.
27029         (lgamma_test): Likewise.
27030         (log_test): Likewise.
27031         (log10_test): Likewise.
27032         (log1p_test): Likewise.
27033         (log2_test): Likewise.
27034         (pow_test): Do not allow some spurious overflow exceptions.
27035         (sqrt_test): Add more tests.
27036         (tgamma_test): Likewise.
27037         (y0_test): Likewise.
27038         (y1_test): Likewise.
27039         (yn_test): Likewise.
27041 2012-03-27  Anton Blanchard  <anton@samba.org>
27043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27044         MAP_HUGETLB.
27045         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27046         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27047         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27049 2012-03-27  David S. Miller  <davem@davemloft.net>
27051         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27053         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27054         have-as-vis3 check.
27056 2012-03-27  Andreas Jaeger  <aj@suse.de>
27058         * sysdeps/x86_64/elf/configure.in: Moved to ...
27059         * sysdeps/x86_64/configure.in: ... here.
27060         * sysdeps/x86_64/elf/start.S: Moved to ...
27061         * sysdeps/x86_64/start.S: ... here.
27062         * sysdeps/x86_64/elf/configure: Delete.
27064         * sysdeps/x86_64/configure.in: Merge contents from
27065         sysdeps/i386/configure.in (without i686 check).
27067         * sysdeps/i386/elf/Versions: Merge into ...
27068         * sysdeps/i386/Versions: ... this.
27069         * sysdeps/i386/elf/Versions: Delete file.
27070         * sysdeps/i386/elf/start.S: Moved to ...
27071         * sysdeps/i386/start.S: ...here.
27072         * sysdeps/i386/elf/configure.in: Merge into...
27073         * sysdeps/i386/configure.in: ...here.
27074         * sysdeps/i386/elf/configure.in: Delete file.
27075         * sysdeps/i386/elf/configure: Delete file.
27077         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27078         * debug/backtracesyms.c: ... here.
27079         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27080         * debug/backtracesymsfd.c: ... here.
27081         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27082         * sysdeps/generic/ifunc-sel.h: ... here.
27084         * sysdeps/unix/i386/start.c: Delete file.
27085         * sysdeps/unix/sparc/start.c: Delete file.
27086         * sysdeps/unix/start.c: Delete file.
27088         * sysdeps/sh/elf/configure.in: Moved to ...
27089         * sysdeps/sh/configure.in: ... here.
27090         * sysdeps/sh/elf/start.S: Moved to ...
27091         * sysdeps/sh/start.S: ... here.
27092         * sysdeps/sh/elf/configure: Delete file.
27094         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27095         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27096         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27097         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27098         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27099         * sysdeps/powerpc/powerpc64/start.S: here.
27100         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27101         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27102         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27103         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27104         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27106         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27107         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27108         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27109         * sysdeps/powerpc/powerpc32/start.S: ... here.
27110         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27111         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27112         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27114         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27115         * sysdeps/powerpc/ifunc-sel.h: ... here.
27116         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27117         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27119         * sysdeps/sparc/elf/configure.in: Moved to ...
27120         * sysdeps/sparc/configure.in: ... here.
27121         * sysdeps/sparc/elf/configure: Delete file.
27122         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27123         * sysdeps/sparc/sparc32/start.S: ... here.
27124         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27125         * sysdeps/sparc/sparc64/start.S: ... here.
27126         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27127         * sysdeps/sparc/sparc32/Makefile: ... this.
27128         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27129         * sysdeps/sparc/sparc64/Makefile: ... this.
27131         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27132         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27133         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27134         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27135         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27136         * sysdeps/s390/s390-32/setjmp.S: ... here.
27137         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27138         * sysdeps/s390/s390-32/configure.in: ... here.
27139         * sysdeps/s390/s390-32/elf/configure: Delete file.
27140         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27141         * sysdeps/s390/s390-32/start.S: ... here.
27143         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27144         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27145         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27146         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27147         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27148         * sysdeps/s390/s390-64/setjmp.S: ... here.
27149         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27150         * sysdeps/s390/s390-64/configure.in: ... here
27151         * sysdeps/s390/s390-64/elf/configure: Delete file.
27152         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27153         * sysdeps/s390/s390-64/start.S: ... here.
27154         * sysdeps/s390/s390-64/elf/configure: Delete.
27156         * configure.in: Remove support for elf directories in sysdeps.
27158         * configure: Regenerated.
27159         * sysdeps/i386/configure: Regenerated.
27160         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27161         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27162         * sysdeps/s390/s390-32/configure: Regenerated.
27163         * sysdeps/s390/s390-64/configure: Regenerated.
27164         * sysdeps/sh/configure: Regenerated.
27165         * sysdeps/sparc/configure: Regenerated.
27166         * sysdeps/x86_64/configure: Regenerated.
27168 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27173         denormal result into account.
27175 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27177         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27178         Reported by Allan McRae <allan@archlinux.org>.
27180 2012-03-23  Jeff Law  <law@redhat.com>
27182         * nss/getnssent.c (__nss_getent): Fix typo.
27184 2012-03-23  David S. Miller  <davem@davemloft.net>
27186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27188 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27190         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27191         to pad to uint64_t for each field.
27192         (dl_tls_index): Replace unsigned long with uint64_t.
27194 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27195         Paul Pluzhnikov  <ppluzhnikov@google.com>
27197         [BZ #6528]
27198         * grp/Makefile (otherlibs): Don't set it.
27199         * inet/Makefile (otherlibs): Likewise.
27200         * login/Makefile (otherlibs): Likewise.
27201         * nscd/Makefile (otherlibs): Likewise.
27202         * posix/Makefile (otherlibs): Likewise.
27203         * pwd/Makefile (otherlibs): Likewise.
27204         * rt/Makefile (otherlibs): Likewise.
27205         * sunrpc/Makefile (otherlibs): Likewise.
27206         * nss/Makefile (otherlibs): Likewise.
27207         Add libnss_files to routines and static-only-routines.
27208         ($(objpfx)getent): Remove rule.
27209         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27210         static-only-routines.
27212 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27214         [BZ #13892]
27215         * math/s_cexp.c: Include <float.h>.
27216         (__cexp): Handle exp result overflowing not necessarily
27217         overflowing both real and imaginary parts of result.
27218         * math/s_cexpf.c: Likewise.
27219         * math/s_cexpl.c: Likewise.
27220         * math/libm-test.inc (cexp_test): Add more tests.
27221         * sysdeps/i386/fpu/libm-test-ulps: Update.
27222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27224 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27226         * include/link.h (ELFW): New macro.
27227         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27228         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27230 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27232         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27233         with uint64_t.
27235 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27237         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27238         declaration.
27239         (struct La_x32_retval): Likewise.
27241 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27243         * sysdeps/x86_64/preconfigure.in: New file.
27244         * sysdeps/x86_64/preconfigure: New generated file.
27246 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27248         [BZ #13824]
27249         * math/e_exp2l.c: Include <float.h>.
27250         (__ieee754_exp2l): Handle overflow and underflow cases
27251         separately.  Only pass fractional part of argument to
27252         __ieee754_expl.
27253         * math/libm-test.inc (exp2_test): Add more tests.
27255         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27256         negating x to take absolute value.
27257         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27258         Likewise.
27259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27261         Likewise.
27262         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27263         computing low part if x was negated.
27264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27266 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27268         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27269         la_x32_gnu_pltexit.
27270         (pltexit): Cast int_retval to ptrdiff_t.
27271         * elf/tst-auditmod3b.c: Likewise.
27272         * elf/tst-auditmod4b.c: Likewise.
27273         * elf/tst-auditmod5b.c: Likewise.
27274         * elf/tst-auditmod6b.c: Likewise.
27275         * elf/tst-auditmod6c.c: Likewise.
27276         * elf/tst-auditmod7b.c: Likewise.
27278         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27279         and x32_gnu_pltexit.
27281         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27282         __ELF_NATIVE_CLASS.
27283         (La_x32_regs): New macro.
27284         (La_x32_retval): Likewise.
27285         (la_x32_gnu_pltenter): New function prototype.
27286         (la_x32_gnu_pltexit): Likewise.
27288 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27291         exponent.
27293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27295         * configure.in (libc_cv_cc_nofma): Check for option to disable
27296         generation of FMA instructions.
27297         * configure: Regenerate.
27298         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27299         * sysdeps/ieee754/dbl-64/Makefile: New file.
27300         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27301         Remove brandred-fma4.
27302         (CFLAGS-brandred-fma4.c): Remove.
27303         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27304         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27305         define.
27306         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27307         define.
27309 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27311         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27312         LLONG_MAX != LONG_MAX.
27313         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27314         (_fitoa_word): Likewise.
27315         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27316         LLONG_MAX != LONG_MAX.
27317         * stdio-common/_itowa.h: Include <_itoa.h>.
27318         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27319         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27320         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27321         only if not defined.
27322         (_ITOA_WORD_TYPE): Likewise.
27323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27324         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27326 2012-03-21  David S. Miller  <davem@davemloft.net>
27328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27330 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27332         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27333         of x86_64 when setting libc_cv_slibdir, libdir and
27334         libc_cv_localedir.
27335         * sysdeps/unix/sysv/linux/configure: Regenerated.
27337 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27339         * manual/lang.texi (Old Varargs): Remove section.
27340         (How Variadic): Update menu.
27341         (va_start): Do not mention varargs.h.
27343 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27344             Joseph Myers  <joseph@codesourcery.com>
27346         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27347         link test.
27348         * configure: Regenerated.
27350 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27352         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27353         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27354         conformtest.pl
27356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27358         * NOTES: Remove.
27359         * Makefile (files-for-dist): Remove NOTES.
27360         (NOTES): Remove rule.
27361         * README: Don't refer to NOTES.
27362         * manual/creature.texi: Don't include macros.texi.
27363         * manual/intro.texi (creature.texi): Remove comment referring to
27364         NOTES.
27366         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27367         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27368         * configure: Regenerated.
27369         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27370         LIBC_TRY_CC_OPTION.
27371         (libc_cv_as_i686): Likewise.
27372         (libc_cv_cc_avx): Likewise.
27373         (libc_cv_cc_sse2avx): Likewise.
27374         (libc_cv_cc_fma4): Likewise.
27375         (libc_cv_cc_novzeroupper): Likewise.
27376         * sysdeps/i386/configure: Regenerated.
27378         [BZ #13883]
27379         * sysdeps/i386/fpu/s_cexp.S: Remove.
27380         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27381         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27382         * math/libm-test.inc (cexp_test): Add more tests.
27383         * sysdeps/i386/fpu/libm-test-ulps: Update.
27384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27386 2012-03-21  Allan McRae  <allan@archlinux.org>
27388         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27390 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27392         [BZ #13871]
27393         * math/w_exp2.c: Do not include <float.h>.
27394         (o_threshold, u_threshold): Remove.
27395         (__exp2): Calculate result before checking finiteness and calling
27396         __kernel_standard.
27397         * math/w_exp2f.c: Likewise.
27398         * math/w_exp2l.c: Likewise.
27399         * math/libm-test.inc (exp2_test): Require overflow exception for
27400         1e6 input.
27402         [BZ #3866]
27403         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27404         range of signed 64-bit integers before using fistpll.  Remove
27405         checks for whether integers fit in mantissa bits.
27406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27407         the range of signed 32-bit integers before using fistpl.  Remove
27408         checks for whether integers fit in mantissa bits.
27409         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27410         (__ieee754_powl): Test for y outside the range of signed 64-bit
27411         integers before using fistpll.  Reduce 64-bit values to 63-bit
27412         ones as needed.
27413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27414         divide-by-zero is raised for zero to large negative powers.
27415         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27416         (__ieee754_powl): Test for y outside the range of signed 64-bit
27417         integers before using fistpll.  Reduce 64-bit values to 63-bit
27418         ones as needed.
27419         * math/libm-test.inc (pow_test): Add more tests.
27421 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27423         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27424         <stdio-common/_itoa.h>.
27425         * debug/segfault.c: Likewise.
27426         * elf/dl-cache.c: Likewise.
27427         * elf/dl-minimal.c: Likewise.
27428         * elf/dl-misc.c: Likewise.
27429         * elf/dl-sysdep.c: Likewise.
27430         * elf/dl-version.c: Likewise.
27431         * elf/rtld.c: Likewise.
27432         * hurd/hurdsock.c: Likewise.
27433         * hurd/lookup-retry.c: Likewise.
27434         * malloc/malloc.c: Likewise.
27435         * malloc/mtrace.c: Likewise.
27436         * nscd/nscd_getgr_r.c: Likewise.
27437         * nscd/nscd_getpw_r.c: Likewise.
27438         * nscd/nscd_getserv_r.c: Likewise.
27439         * posix/getopt_init.c: Likewise.
27440         * posix/wordexp.c: Likewise.
27441         * stdio-common/_itoa.c: Likewise.
27442         * stdio-common/printf_fphex.c: Likewise.
27443         * stdio-common/vfprintf.c: Likewise.
27444         * string/_strerror.c: Likewise.
27445         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27446         * sysdeps/i386/i686/hp-timing.h: Likewise.
27447         * sysdeps/mach/_strerror.c: Likewise.
27448         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27449         * sysdeps/mach/hurd/sethostid.c: Likewise.
27450         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27451         * sysdeps/mach/xpg-strerror.c: Likewise.
27452         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27454         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27455         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27457         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27458         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27459         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27460         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27461         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27462         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27463         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27464         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27466         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27467         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27468         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27469         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27470         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27471         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27472         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27474         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27476         * stdio-common/_itoa.h: Moved to ...
27477         * sysdeps/generic/_itoa.h: Here.
27479         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27481         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27482         instead of "_itoa.h" and "_itowa.h".
27483         * stdio-common/vfprintf.: Likewise.
27485 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27487         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27488         <bits/wordsize.h>.
27489         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27490         (__signbit): Likwise.
27491         (llrintf): Likwise.
27492         (llrint): Likwise.
27494 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27496         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27497         __WORDSIZE != 64.
27499 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27501         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27502         OVERFLOW_EXCEPTION_OK.
27503         * math/libm-test.inc ("Philosophy"): Update comment about
27504         exception testing.
27505         (OVERFLOW_EXCEPTION): Define.
27506         (OVERFLOW_EXCEPTION_OK): Likewise.
27507         (INVALID_EXCEPTION_OK): Renumber.
27508         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27509         (IGNORE_ZERO_INF_SIGN): Likewise.
27510         (test_exceptions): Handle FE_OVERFLOW.
27511         (exp10_test): Expect overflow exceptions.
27512         (exp2_test): Likewise.
27513         (expm1_test): Likewise.
27514         (nextafter_test): Likewise.
27515         (pow_test): Likewise.
27516         (scalbn_test): Likewise.
27517         (scalbln_test): Likewise.
27519 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27521         * sysdeps/x86_64/bits/atomic.h
27522         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27523         64bit integer.
27524         (atomic_exchange_acq): Likewise.
27525         (__arch_exchange_and_add_body): Likewise.
27526         (__arch_add_body): Likewise.
27527         (atomic_add_negative): Likewise.
27528         (atomic_add_zero): Likewise.
27530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27532         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27533         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27537         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27538         Check __x86_64__ instead of __WORDSIZE.
27540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27542         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27544 2012-03-19  David S. Miller  <davem@davemloft.net>
27546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27548         * sysdeps/sparc/fpu/fenv_private.h: New file.
27549         * sysdeps/sparc/fpu/math_private.h: Use it.
27550         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27551         Remove.
27552         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27553         (libc_feholdexcept_setroundl): Remove.
27554         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27555         Remove.
27556         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27557         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27561         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27562         int64_t instead of long int.
27563         (INSERT_WORDS64): Likwise.
27565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27567         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27568         _Unwind_GetCFA return to _Unwind_Ptr first.
27570 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27572         [BZ #13629]
27573         * math/s_clog.c: Include <float.h>.
27574         (__clog): Scale large or subnormal inputs.
27575         * math/s_clogf.c: Likewise.
27576         * math/s_clogl.c: Likewise.
27577         * math/s_clog10.c: Include <float.h>.
27578         (M_LOG10_2): Define.
27579         (__clog10): Scale large or subnormal inputs.
27580         * math/s_clog10f.c: Likewise.
27581         * math/s_clog10l.c: Likewise.
27582         * math/libm-test.inc (clog_test): Add more tests.
27583         (clog10_test): Likewise.
27584         * sysdeps/i386/fpu/libm-test-ulps: Update.
27585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27587         [BZ #11451]
27588         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27589         x and y.
27590         * math/libm-test.inc (atan2_test): Add another test.
27592         * Makerules (common-objdir-compile): Remove.
27593         * sysdeps/unix/Makefile (config-generated): Do not add
27594         $(unix-generated) to variable.
27595         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27596         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27597         Remove rule.
27598         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27599         Likewise.
27600         [generic bits/local_lim.h] (before-compile): Do not append to
27601         variable.
27602         [generic bits/local_lim.h] (common-generated): Likewise.
27603         [generic sys/param.h] (before-compile): Do not append to variable.
27604         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27605         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27606         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27607         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27608         include.
27609         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27610         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27611         [generic sys/param.h] ($(addprefix
27612         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27613         [generic sys/param.h] (common-generated): Do not append to
27614         variable.
27615         [generic sys/param.h] (sysdep_headers): Likewise.
27616         [generic bits/errno.h] (before-compile): Do not append to
27617         variable.
27618         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27619         rule.
27620         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27621         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27622         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27623         [generic bits/errno.h] (common-generated): Do not append to
27624         variable.
27625         [generic bits/ioctls.h] (before-compile): Do not append to
27626         variable.
27627         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27628         rule.
27629         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27630         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27631         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27632         rule.
27633         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27634         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27635         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27636         [generic bits/ioctls.h] (common-generated): Do not append to
27637         variable.
27638         [generic sys/syscall.h] (syscall.h): Remove variable.
27639         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27640         rule.
27641         [generic sys/syscall.h] (before-compile): Do not append to
27642         variable.
27643         [generic sys/syscall.h] (common-generated): Likewise.
27644         * sysdeps/unix/errnos-tmpl.c: Remove file.
27645         * sysdeps/unix/errnos.awk: Likewise.
27646         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27647         * sysdeps/unix/ioctls.awk: Likewise.
27648         * sysdeps/unix/mk-local_lim.c: Likewise.
27649         * sysdeps/unix/snarf-ioctls: Likewise.
27651 2012-03-19  Richard Henderson  <rth@twiddle.net>
27653         * sysdeps/i386/fpu/fenv_private.h: New file.
27654         * sysdeps/i386/fpu/math_private.h: Use it.
27655         (math_opt_barrier, math_force_eval): Remove.
27656         (libc_feholdexcept_setround_53bit): Remove.
27657         (libc_feupdateenv_53bit): Remove.
27658         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27659         (math_opt_barrier, math_force_eval): Remove.
27660         (libc_feholdexcept): Remove.
27661         (libc_feholdexcept_setround): Remove.
27662         (libc_fetestexcept, libc_fesetenv): Remove.
27663         (libc_feupdateenv_test): Remove.
27664         (libc_feupdateenv, libc_feholdsetround): Remove.
27665         (libc_feresetround): Remove.
27667         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27668         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27670         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27671         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27672         (libc_feupdateenv_testl): New.
27673         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27674         (libc_feupdateenv_testf): New.
27675         (libc_feupdateenv): Use libc_feupdateenv_test.
27676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27677         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27679         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27680         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27681         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27682         (libc_feresetround_noex): New.
27683         (libc_feresetround_noexf): New.
27684         (libc_feresetround_noexl): New.
27685         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27686         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27687         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27688         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27689         SET_RESTORE_ROUND.
27690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27692         (__cos): Likewise.
27693         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27694         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27695         SET_RESTORE_ROUND_NOEX.
27696         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27697         SET_RESTORE_ROUND_NOEXF.
27698         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27699         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27700         (libc_feholdsetroundf): New.
27701         (libc_feresetround, libc_feresetroundf): New.
27703         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27704         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27705         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27707         * sysdeps/generic/math_private.h: Include <fenv.h>.
27708         (default_libc_feholdexcept): New.
27709         (default_libc_feholdexcept_setround): New.
27710         (default_libc_fesetenv, default_libc_feupdateenv): New.
27711         (libc_feholdexcept): Only define if undefined.
27712         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27713         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27714         (libc_feholdexcept_setroundl): Likewise.
27715         (libc_feholdexcept_setround_53bit): Likewise.
27716         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27717         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27718         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27719         (libc_feupdateenv_53bit): Likewise.
27720         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27721         (libc_feholdexcept): Convert from macro to inline function.
27722         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27723         (libc_fesetenv, libc_feupdateenv): Likewise.
27725         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27726         not previously defined.
27727         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27728         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27729         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27730         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27731         * sysdeps/ieee754/flt-32/math_private.h: New file.
27732         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27733         math_private.h below SET_FLOAT_WORD.
27734         (__isnan, __isinf_ns, __finite): Remove.
27735         (__isnanf, __isinf_nsf, __finitef): Remove.
27737 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27741 2012-03-17  David S. Miller  <davem@davemloft.net>
27743         [BZ #6471]
27744         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27745         for 2.16.
27747 2012-03-16  David S. Miller  <davem@davemloft.net>
27749         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27750         warnings.
27752         [BZ #6471]
27753         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27754         properly.
27755         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27756         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27757         sysdep_routines when subdir is sysvipc.
27758         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27759         __getshmlba helper.
27761         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27765         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27766         [__LP64__].
27768 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27770         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27771         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27772         (__lround): Renamed to ...
27773         (__llround): This.  Replace long int with long long int.
27774         Define lround functions as aliases of llround functions.
27775         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27779         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27780         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27781         adresses to uintptr_t.  Replace "long int" and "unsigned long
27782         int" with "greg_t" on va_arg.
27784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27786         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27787         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27789         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27790         Move e_machine check before EI_CLASS check.  Handle x32
27791         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27792         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27793         SKIP_EM_IA_64 and include
27794         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27796         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27797         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27798         (add_system_dir): New macro.
27800         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27801         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27803 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27805         [BZ #2551]
27806         [BZ #2552]
27807         [BZ #2553]
27808         [BZ #2554]
27809         [BZ #2562]
27810         [BZ #2563]
27811         [BZ #2565]
27812         [BZ #2566]
27813         [BZ #2576]
27814         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27815         (y0): Likewise.
27816         * math/w_j0f.c (j0f): Likewise.
27817         (y0f): Likewise.
27818         * math/w_j0l.c (__j0l): Likewise.
27819         (__y0l): Likewise.
27820         * math/w_j1.c (j1): Likewise.
27821         (y1): Likewise.
27822         * math/w_j1f.c (j1f): Likewise.
27823         (y1f): Likewise.
27824         * math/w_j1l.c (__j1l): Likewise.
27825         (__y1l): Likewise.
27826         * math/w_jn.c (jn): Likewise.
27827         (yn): Likewise.
27828         * math/w_jnf.c (jnf): Likewise.
27829         (ynf): Likewise.
27830         * math/w_jnl.c (__jnl): Likewise.
27831         (__ynl): Likewise.
27832         * math/libm-test.inc (j0_test): Add more tests.
27833         (j1_test): Likewise.
27834         (jn_test): Likewise.  Add trailing semicolon to existing test.
27835         (y0_test): Likewise.
27836         (y1_test): Likewise.
27837         * sysdeps/i386/fpu/libm-test-ulps: Update.
27838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840         [BZ #13851]
27841         [BZ #13854]
27842         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27843         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27844         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27846         (__tanl): Set errno for infinite argument.
27847         * sysdeps/i386/fpu/mptan.c: Remove.
27848         * sysdeps/i386/fpu/s_tan.S: Likewise.
27849         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27850         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27851         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27852         * math/libm-test.inc (tan_test): Add more tests and enable more
27853         tests for double and long double.
27854         * sysdeps/i386/fpu/libm-test-ulps: Update.
27855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27857 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27859         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27860         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27862 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27864         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27865         * configure.in: Use it for both main tree and add-ons.
27866         * configure: Regenerated.
27868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27870         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27872 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27874         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27875         in comment.
27877         [BZ #13851]
27878         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27879         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27880         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27881         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27882         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27883         infinite argument.
27884         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27886         != 0 for prec == 2.
27887         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27888         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27889         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27890         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27891         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27892         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27893         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27894         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27895         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27896         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27897         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27898         * math/libm-test.inc (cos_test): Add more tests and enable more
27899         tests for long double.
27900         (sin_test): Likewise.
27901         (sincos_test): Likewise.
27902         * sysdeps/i386/fpu/libm-test-ulps: Update.
27903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27905 2012-03-16  David S. Miller  <davem@davemloft.net>
27907         * sysdeps/sparc/fpu/math_private.h: New file.
27909 2012-03-15  David S. Miller  <davem@davemloft.net>
27911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27912         file.
27913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27915         file.
27916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27922         sysdep routines.
27923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27925         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27926         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27928         * sysdeps/sparc/sparc-ifunc.h: New file.
27929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27930         sparc-ifunc.h
27931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27933         Likewise.
27934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27935         Likewise.
27936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27940         Likewise.
27941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27946         Likewise.
27947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27948         Likewise.
27949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27955         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27956         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27971         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27972         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27974 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27976         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27977         scaling.
27978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27980 2012-03-15  Andreas Jaeger  <aj@suse.de>
27982         [BZ #13852]
27983         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27984         ieee754/flt-32 implementation for sin, cos and sincos.
27985         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27986         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27987         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27988         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27989         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27990         ieee754/flt-32 implementation for tan.
27992         * math/libm-test.inc (cos_test): Enable some large input tests for
27993         float as well
27994         (sin_test): Likewise.
27995         (sincos_test): Likewise.
27996         (tan_test): Add tests for large input.
27998         * sysdeps/i386/fpu/libm-test-ulps: Update.
28000 2012-03-15  Andreas Jaeger  <aj@suse.de>
28002         [BZ #13658]
28003         * math/libm-test.inc (cos_test): Add more test cases.
28004         (sin_test): Likewise.
28005         (sincos_test): Likewise.
28007 2012-03-15  Andreas Jaeger  <aj@suse.de>
28009         [BZ #13837]
28010         * math/libm-test.inc (cos_test): Add a test case for large input
28011         value.
28012         (sin_test): Likewise.
28013         (sincos_test): Likewise.
28015 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28016         Joseph Myers  <joseph@codesourcery.com>
28018         [BZ #13658]
28019         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28020         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28021         * sysdeps/i386/fpu/branred.c: Likewise.
28022         * sysdeps/i386/fpu/dosincos.c: Likewise.
28023         * sysdeps/i386/fpu/mpa.c: Likewise.
28024         * sysdeps/i386/fpu/s_cos.S: Likewise.
28025         * sysdeps/i386/fpu/s_sin.S: Likewise.
28026         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28027         * sysdeps/i386/fpu/sincos32.c: Likewise.
28029         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28030         Define.
28031         (libc_feupdateenv_53bit): Define.
28032         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28033         Define.
28034         (libc_feupdateenv_53bit): Define.
28036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28037         53 bit (without extend i386 double precision).
28039         * math/libm-test.inc (sincos_test): Add tests for large input.
28040         (sin): Likewise.
28041         (cos): Likewise.
28043         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28045 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28049 2012-03-15  David S. Miller  <davem@davemloft.net>
28051         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28052         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28053         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28054         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28067         file.
28068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28070         file.
28071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28073         file.
28074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28076         file.
28077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28079         fmin/fmax sysdep routines.
28080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28082 2012-03-14  David S. Miller  <davem@davemloft.net>
28084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28088         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28089         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28090         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28106         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28108         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28113         routines.
28114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28115         file.
28116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28118         file.
28119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28121         file.
28122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28124         file.
28125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28127         file.
28128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28130         file.
28131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28132         file.
28133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28134         file.
28135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28136         file.
28137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28138         New file.
28139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28140         file.
28141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28142         file.
28143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28145         file.
28146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28148         file.
28149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28151         file.
28152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28154         VIS3 routines.
28156         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28157         New file.
28159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28161         * sysdeps/sparc/configure.in: New file.
28162         * sysdeps/sparc/configure: Generate.
28163         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28164         * configure: Regenerate.
28165         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28166         * config.make.in (have-as-vis3): New.
28167         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28168         available use -Av9d instead of -Av9a.
28169         * sysdeps/sparc/sparc64/Makefile: Likewise.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28172         New file.
28173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28174         file.
28175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28176         New file.
28177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28178         file.
28179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28183         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28185         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28186         fzeros/fnegs to load 0x80000000 into a float register instead of
28187         using the stack.
28188         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28190 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28193         bits/syscall.h.
28194         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28195         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28196         ($(inst_includedir)/bits/syscall.h): Remove rule.
28197         ($(objpfx)bits/syscall.d): Include instead of
28198         $(objpfx)syscall-list.d.
28199         (generated): Change syscall-list.h and syscall-list.d to
28200         bits/syscall.h and bits/syscall.d.
28202 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28204         [BZ #13846]
28205         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28207 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28209         [BZ #13841]
28210         * math/s_csqrt.c: Include <float.h>.
28211         (__csqrt): Scale large or subnormal inputs.
28212         * math/s_csqrtf.c: Likewise.
28213         * math/s_csqrtl.c: Likewise.
28214         * math/libm-test.inc (csqrt_test): Add more tests.
28215         * sysdeps/i386/fpu/libm-test-ulps: Update.
28216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28218         [BZ #13840]
28219         * math/libm-test.inc (hypot_test): Add more tests.
28221 2012-03-13  David S. Miller  <davem@davemloft.net>
28223         [BZ #13840]
28224         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28225         double-precision for the calculation instead of scaling.
28227 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28229         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28230         manipulate bits before adding and subtracting TWO52[sx].
28231         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28232         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28233         Likewise.
28234         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28236 2012-03-13  David S. Miller  <davem@davemloft.net>
28238         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28239         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28241         rtld-global-offsets.h
28242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28245         large parameters.
28247         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28249         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28250         'err' in the ifdef scope in which it is actually used.
28252         * nss/nss_db/db-init.c: Include string.h
28254 2012-03-12  David S. Miller  <davem@davemloft.net>
28256         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28257         masking out of the most significant byte of random value used.
28258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28259         Fix coding style in previous change.
28261         * sysdeps/unix/sysv/linux/kernel-features.h
28262         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28263         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28264         expression.
28265         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28266         later.
28268 2012-03-11  David S. Miller  <davem@davemloft.net>
28270         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28271         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28273         for 'resultvar' otherwise things get truncated on 64-bit.
28275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28276         Fix masking out of the most significant byte of random value used.
28278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28280 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28284 2012-03-09  David S. Miller  <davem@davemloft.net>
28286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28287         variables with appropriate CPP guards.
28288         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28289         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28290         on resulting framesize and the management of the outregs buffer for pltexit.
28291         Preserve floating point return values across _dl_call_pltexit call.
28292         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28293         framesize and the management of the outregs buffer for pltexit.
28294         Preserve floating point return values across _dl_call_pltexit
28295         call.
28296         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28297         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28298         (print_exit): Fix format string for return register value.
28300 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28302         * sunrpc/Makefile (others): Add rpcgen.
28303         ($(objpfx)rpcgen): Remove special build rule and dependency on
28304         libc.
28305         * sunrpc/rpcgen.c: New file.
28307 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28309         [BZ #13673]
28310         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28311         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28312         * sysdeps/i386/crti.S: Likewise.
28313         * sysdeps/i386/crtn.S: Likewise.
28314         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28315         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28316         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28317         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28318         * sysdeps/sh/crti.S: Likewise.
28319         * sysdeps/sh/crtn.S: Likewise.
28320         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28322         [BZ #13673]
28323         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28324         with URL.
28325         * locale/programs/locfile-kw.gperf: Likewise.
28326         * locale/programs/charmap-kw.h: Regenerated.
28327         * locale/programs/locfile-kw.h: Likewise.
28329         [BZ #13673]
28330         * intl/plural.y: Replace FSF snail mail address with URL.
28331         * intl/plural.c: Regenerated.
28333 2012-03-09  Richard Henderson  <rth@twiddle.net>
28335         * include/math_private.h: Remove file.
28336         * math/math_private.h: Move file ...
28337         * sysdeps/generic/math_private.h: ... here.
28339         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28340         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28341         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28343         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28344         and <math_private.h>.
28345         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28346         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28347         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28348         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28349         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28350         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28356         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28357         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28359         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28364         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28367         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28369         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28371         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28377         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28379         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28382         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28383         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28384         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28385         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28433         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28434         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28435         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28436         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28437         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28438         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28439         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28440         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28442         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28443         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28444         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28445         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28446         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28447         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28448         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28449         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28450         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28451         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28452         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28457         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28458         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28459         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28460         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28461         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28462         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28463         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28464         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28465         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28466         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28467         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28468         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28469         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28470         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28471         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28472         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28473         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28474         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28475         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28476         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28477         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28478         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28479         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28480         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28481         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28483         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28484         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28485         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28487         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28488         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28491         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28493         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28494         * sysdeps/ieee754/k_standard.c: Likewise.
28495         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28496         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28498         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28499         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28500         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28501         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28502         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28503         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28504         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28505         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28507         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28508         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28509         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28510         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28511         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28512         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28513         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28514         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28515         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28516         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28517         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28518         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28519         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28520         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28521         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28522         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28523         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28525         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28526         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28527         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28531         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28532         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28535         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28536         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28537         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28538         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28539         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28540         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28610         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28615         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28617         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28622         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28655         * sysdeps/ieee754/s_lib_version.c: Likewise.
28656         * sysdeps/ieee754/s_matherr.c: Likewise.
28657         * sysdeps/ieee754/s_signgam.c: Likewise.
28658         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28659         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28660         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28661         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28662         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28663         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28664         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28665         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28666         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28667         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28668         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28669         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28670         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28671         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28672         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28680 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28682         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28683         * sunrpc/rpc_main.c: Likewise.
28684         * sunrpc/rpc_svcout.c: Likewise.
28686 2012-03-09  David S. Miller  <davem@davemloft.net>
28688         * include/math_private.h: New file.
28690 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28692         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28693         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28694         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28695         from <bits/socket_type.h>.
28696         (enum __socket_type): Don't define here.
28697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28699         bits/socket_type.h.
28701         [BZ #13566]
28702         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28703         checking __USE_GNU.
28705         * Makerules ($(inst_includedir)/%.h): New rule.
28706         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28707         (install-others): Remove variable setting.
28708         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28710 2012-03-08  Richard Henderson  <rth@twiddle.net>
28712         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28713         from macro to inline function; merge with the
28714         !__LIBC_INTERNAL_MATH_INLINES version.
28715         (__ieee754_sqrtf): Likewise.
28717         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28718         to inline function.
28719         (__rintf, __floor, __floorf): Likewise.
28721         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28722         macro to inline function.
28723         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28726         not <math/math_private.h>.
28728 2012-03-08  David S. Miller  <davem@davemloft.net>
28730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28731         copyright year.
28732         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28734 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28736         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28737         normalization.
28738         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28739         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28741 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28743         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28744         be defined individually, they must be defined as a block.  Define
28745         S for printing a string instead of hidint the different by using a
28746         macro for adding the 'l'.
28747         * stdio-common/tst-fphex-wide.c: Adjust.
28749 2012-03-07  Marek Polacek  <polacek@redhat.com>
28751         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28753 2012-03-08  Marek Polacek  <polacek@redhat.com>
28755         [BZ #13806]
28756         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28757         * stdio-common/tst-fphex.c: Define a few macros to make the
28758         test reusable.  Use them.
28759         * stdio-common/tst-fphex-wide.c: New file.
28761 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28763         [BZ #6911]
28764         * manual/macros.texi (gnusystems): New macro.
28765         (nongnusystems): Likewise.
28766         (gnulinuxhurdsystems): Likewise.
28767         (gnuhurdsystems): Likewise..
28768         (gnulinuxsystems): Likewise.
28769         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28770         variants of the GNU system, not "GNU system".
28771         * manual/conf.texi: Likewise.
28772         * manual/errno.texi: Likewise.  Update example of errno macro
28773         expansion.
28774         * manual/filesys.texi: Likewise.
28775         (getumask): Document as specific to GNU/Hurd.
28776         * manual/install.texi: Likewise.  Reword some references to
28777         GNU/Linux.
28778         * manual/intro.texi: Likewise.
28779         * manual/io.texi: Likewise.
28780         (File Name Portability): Detail which constraints are inapplicable
28781         to all GNU systems and which are only inapplicable to GNU/Hurd.
28782         * manual/job.texi: Likewise.
28783         * manual/llio.texi: Likewise.
28784         (O_NOCTTY): Document as present on GNU/Linux.
28785         * manual/maint.texi: Likewise.
28786         * manual/memory.texi: Likewise.
28787         * manual/pattern.texi: Likewise.
28788         * manual/pipe.texi: Likewise.
28789         * manual/process.texi: Likewise.
28790         * manual/resource.texi: Likewise.
28791         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28792         child on GNU/Hurd.
28793         * manual/setjmp.texi: Likewise.
28794         * manual/signal.texi: Likewise.
28795         * manual/startup.texi: Likewise.
28796         * manual/stdio.texi: Likewise.
28797         * manual/terminal.texi: Likewise.
28798         (ONLCR): Document as POSIX.
28799         (OXTABS): Document availability on GNU/Linux as XTABS.
28800         (ONOEOT): Document availability separately from other bits.
28801         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28802         * manual/time.texi: Likewise.
28803         * manual/users.texi: Likewise.
28804         * INSTALL: Regenerated.
28805         * sysdeps/gnu/errlist.c: Regenerated.
28807         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28808         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28809         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28810         puts.
28811         * configure: Regenerated.
28813 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28815         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28816         default includes instead of AC_HEADER_CHECK.
28817         * sysdeps/i386/configure: Regenerated.
28819         [BZ #10716]
28820         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28821         * math/s_cacoshf.c (__cacoshf): Likewise.
28822         * math/s_cacoshl.c (__cacoshl): Likewise.
28823         * math/s_casinh.c (__casinh): Set signs of result from argument.
28824         * math/s_casinhf.c (__casinhf): Likewise.
28825         * math/s_casinhl.c (__casinhl): Likewise.
28826         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28827         (casinh_test): Add more tests.
28828         * sysdeps/i386/fpu/libm-test-ulps: Update.
28829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28831 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28833         * po/zh_TW.po: Update from translation team.
28835         * login/Makefile (distribute): Remove variable.
28836         * catgets/Makefile: Likewise.
28837         * mach/Makefile: Likewise.
28838         * malloc/Makefile: Likewise.
28839         * misc/Makefile: Likewise.
28840         * iconv/Makefile: Likewise.
28841         * nscd/Makefile: Likewise.
28842         * hurd/Makefile: Likewise.
28843         * manual/Makefile: Likewise.
28844         * locale/Makefile: Likewise.
28845         * intl/Makefile: Likewise.
28846         * conform/Makefile: Likewise.
28847         * nss/Makefile: Likewise.
28848         * time/Makefile: Likewise.
28849         * soft-fp/Makefile: Likewise.
28850         * dirent/Makefile: Likewise.
28851         * gmon/Makefile: Likewise.
28852         * po/Makefile: Likewise.
28853         * rt/Makefile: Likewise.
28854         * socket/Makefile: Likewise.
28855         * math/Makefile: Likewise.
28856         * signal/Makefile: Likewise.
28857         * debug/Makefile: Likewise.
28858         * elf/Makefile: Likewise.
28859         * timezone/Makefile: Likewise.
28860         * stdlib/Makefile: Likewise.
28861         * iconvdata/Makefile: Likewise.
28862         * sunrpc/Makefile: Likewise.
28863         * io/Makefile: Likewise.
28864         * argp/Makefile: Likewise.
28865         * inet/Makefile: Likewise.
28866         * hesiod/Makefile: Likewise.
28867         * grp/Makefile: Likewise.
28868         * csu/Makefile: Likewise.
28869         * wctype/Makefile: Likewise.
28870         * crypt/Makefile: Likewise.
28871         * libio/Makefile: Likewise.
28872         * string/Makefile: Likewise.
28873         * nis/Makefile: Likewise.
28874         * resolv/Makefile: Likewise.
28875         * stdio-common/Makefile: Likewise.
28876         * wcsmbs/Makefile: Likewise.
28877         * dlfcn/Makefile: Likewise.
28878         * posix/Makefile: Likewise.
28880         [BZ #6959]
28881         * timezone/Makefile: Don't install timezone files, just the programs
28882         and scripts.
28884 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28886         * nss/databases.def: Add missing gshadow entry.
28888         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28890 2012-03-06  Marek Polacek  <polacek@redhat.com>
28892         [BZ #13726]
28893         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28894         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28895         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28896         * stdio-common/tst-long-dbl-fphex.c: New file.
28898 2012-03-06  David S. Miller  <davem@davemloft.net>
28900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28901         (set_obp_int): New function.
28902         (get_obp_int): New function.
28903         (__get_clockfreq_via_dev_openprom): Likewise.
28904         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28905         Avoid unused variable warnings on 'val' and use builtin_expect.
28906         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28907         __builtin_expect.
28908         (INLINE_CLONE_SYSCALL): Likewise.
28910 2012-03-05  David S. Miller  <davem@davemloft.net>
28912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28914 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28919         only for |x| >= 40.
28920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28922 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28925         Replace gettimeofday with __vdso_gettimeofday.
28927         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28928         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28929         __vdso_clock_gettime and __vdso_getcpu.
28931         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28932         time with __vdso_time.
28934 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28936         * manual/lang.texi (size_t): Note types to which size_t may be
28937         equivalent with the GNU C Library, but do not describe when
28938         differences between them are significant.
28940 2012-03-05  Andreas Jaeger  <aj@suse.de>
28942         * sysdeps/i386/fpu/libm-test-ulps: Update.
28944 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28946         [BZ #3976]
28947         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28948         (__ieee754_pow): Save and restore rounding mode and use
28949         round-to-nearest for main computations.
28950         * math/libm-test.inc (pow_test_tonearest): New function.
28951         (pow_test_towardzero): Likewise.
28952         (pow_test_downward): Likewise.
28953         (pow_test_upward): Likewise.
28954         (main): Call the new functions.
28955         * sysdeps/i386/fpu/libm-test-ulps: Update.
28956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28958         [BZ #3976]
28959         * math/libm-test.inc (cosh_test_tonearest): New function.
28960         (cosh_test_towardzero): Likewise.
28961         (cosh_test_downward): Likewise.
28962         (cosh_test_upward): Likewise.
28963         (sinh_test_tonearest): Likewise.
28964         (sinh_test_towardzero): Likewise.
28965         (sinh_test_downward): Likewise.
28966         (sinh_test_upward): Likewise.
28967         (main): Call the new functions.
28968         * sysdeps/i386/fpu/libm-test-ulps: Update.
28969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28971 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28974         default stack guard is set in last bytes.
28975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28977 2012-03-05  Kees Cook  <keescook@chromium.org>
28979         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28981         [BZ #13656]
28982         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28983         possibly allocate from heap instead of stack.
28984         * stdio-common/bug-vfprintf-nargs.c: New file.
28985         * stdio-common/Makefile (tests): Add nargs overflow test.
28987 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28991 2012-03-03  Marek Polacek  <polacek@redhat.com>
28993         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28994         * math/math_private.h: Likewise.
28995         * stdlib/tst-strtod.c: Likewise.
28996         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28997         * sysdeps/x86_64/bits/atomic.h: Likewise.
28999 2012-03-02  David S. Miller  <davem@davemloft.net>
29001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29005         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29006         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29007         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29008         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29010 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29012         [BZ #13792]
29013         * manual/examples/README: New file, says the example source files
29014         can be used under GPL>=2.
29015         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29016         line containing just "*/".
29017         * manual/examples/add.c: Add copyright header (GPL>=2).
29018         * manual/examples/argp-ex1.c: Likewise.
29019         * manual/examples/argp-ex2.c: Likewise.
29020         * manual/examples/argp-ex3.c: Likewise.
29021         * manual/examples/argp-ex4.c: Likewise.
29022         * manual/examples/atexit.c: Likewise.
29023         * manual/examples/db.c: Likewise.
29024         * manual/examples/dir.c: Likewise.
29025         * manual/examples/dir2.c: Likewise.
29026         * manual/examples/execinfo.c: Likewise.
29027         * manual/examples/filecli.c: Likewise.
29028         * manual/examples/filesrv.c: Likewise.
29029         * manual/examples/fmtmsgexpl.c: Likewise.
29030         * manual/examples/genpass.c: Likewise.
29031         * manual/examples/inetcli.c: Likewise.
29032         * manual/examples/inetsrv.c: Likewise.
29033         * manual/examples/isockad.c: Likewise.
29034         * manual/examples/longopt.c: Likewise.
29035         * manual/examples/memopen.c: Likewise.
29036         * manual/examples/memstrm.c: Likewise.
29037         * manual/examples/mkfsock.c: Likewise.
29038         * manual/examples/mkisock.c: Likewise.
29039         * manual/examples/mygetpass.c: Likewise.
29040         * manual/examples/pipe.c: Likewise.
29041         * manual/examples/popen.c: Likewise.
29042         * manual/examples/rprintf.c: Likewise.
29043         * manual/examples/search.c: Likewise.
29044         * manual/examples/select.c: Likewise.
29045         * manual/examples/setjmp.c: Likewise.
29046         * manual/examples/sigh1.c: Likewise.
29047         * manual/examples/sigusr.c: Likewise.
29048         * manual/examples/stpcpy.c: Likewise.
29049         * manual/examples/strdupa.c: Likewise.
29050         * manual/examples/strftim.c: Likewise.
29051         * manual/examples/strncat.c: Likewise.
29052         * manual/examples/subopt.c: Likewise.
29053         * manual/examples/swapcontext.c: Likewise.
29054         * manual/examples/termios.c: Likewise.
29055         * manual/examples/testopt.c: Likewise.
29056         * manual/examples/testpass.c: Likewise.
29057         * manual/examples/timeval_subtract.c: Likewise.
29059         [BZ #13792]
29060         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29061         function to ...
29062         * manual/timeval_subtract.c.texi: ... here, new file.
29064 2012-03-02  David S. Miller  <davem@davemloft.net>
29066         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29068 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29070         [BZ #3976]
29071         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29072         (__sin): Save and restore rounding mode and use round-to-nearest
29073         for all computations.
29074         (__cos): Save and restore rounding mode and use round-to-nearest
29075         for all computations.
29076         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29077         <fenv.h>.
29078         (tan): Save and restore rounding mode and use round-to-nearest for
29079         all computations.
29080         * math/libm-test.inc (cos_test_tonearest): New function.
29081         (cos_test_towardzero): Likewise.
29082         (cos_test_downward): Likewise.
29083         (cos_test_upward): Likewise.
29084         (sin_test_tonearest): Likewise.
29085         (sin_test_towardzero): Likewise.
29086         (sin_test_downward): Likewise.
29087         (sin_test_upward): Likewise.
29088         (tan_test_tonearest): Likewise.
29089         (tan_test_towardzero): Likewise.
29090         (tan_test_downward): Likewise.
29091         (tan_test_upward): Likewise.
29092         (main): Call the new functions.
29093         * sysdeps/i386/fpu/libm-test-ulps: Update.
29094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29096         [BZ #10135]
29097         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29098         small n, then large n, before computing and testing k+n.
29099         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29101         Likewise.
29102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29103         Likewise.
29104         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29105         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29108         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29112         * math/libm-test.inc (scalbn_test): Add more tests.
29113         (scalbln_test): Likewise.
29115         * manual/filesys.texi (mode_t): Describe constraints on size and
29116         signedness, not exact equivalence to a particular type.
29117         (ino_t): Likewise.
29118         (ino64_t): Likewise.
29119         (dev_t): Likewise.
29120         (nlink_t): Likewise.
29121         (blkcnt_t): Likewise.
29122         (blkcnt64_t): Likewise.
29123         * manual/llio.texi (off_t): Likewise.
29125         [BZ #3976]
29126         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29127         (__ieee754_exp): Save and restore rounding mode and use
29128         round-to-nearest for all computations.
29129         * math/libm-test.inc (exp_test_tonearest): New function.
29130         (exp_test_towardzero): Likewise.
29131         (exp_test_downward): Likewise.
29132         (exp_test_upward): Likewise.
29133         (main): Call the new functions.
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29137 2012-03-01  Chris Demetriou  <cgd@google.com>
29139         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29140         have predictable order.
29142 2012-03-01  David S. Miller  <davem@davemloft.net>
29144         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29146         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29147         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29148         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29149         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29151         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29152         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29153         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29155         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29156         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29157         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29158         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29159         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29163         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29164         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29167         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29168         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29169         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29170         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29171         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29172         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29174         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29175         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29176         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29177         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29178         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29180         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29181         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29183         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29184         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29185         * sysdeps/sparc/elf/configure: Regenerated.
29187 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29189         * configure.in (AS, LD): Require binutils 2.20 or later.
29190         * configure: Regenerated.
29191         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29192         as required minimum version.
29193         * INSTALL: Regenerated.
29195         [BZ #2541]
29196         [BZ #4108]
29197         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29198         before squaring exponent.
29199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29200         bottom long double and 27 bits of top long double before squaring
29201         exponent.
29202         * math/libm-test.inc (erfc_test): Add more tests.
29203         * sysdeps/i386/fpu/libm-test-ulps: Update.
29204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29207 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29209         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29210         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29211         containing bit-fields.
29212         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29213         * soft-fp/single.h (_FP_UNION_S): Likewise.
29214         * soft-fp/double.h (_FP_UNION_D): Likewise.
29216 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29218         [BZ #13786]
29219         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29220         not include ../strcmp.S.
29221         [USE_AS_STRNCASECMP_L]: Likewise.
29222         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29223         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29224         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29225         (__strncasecmp_l_ia32): Define as alias to
29226         __strncasecmp_l_nonascii.
29228         [BZ #5794]
29229         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29230         * sysdeps/i386/fpu/libm-test-ulps: Update.
29231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29233         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29236 2012-02-29  Jeff Law  <law@redhat.com>
29238         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29239         out of bounds read.
29241 2012-02-29  Marek Polacek  <polacek@redhat.com>
29243         [BZ #13706]
29244         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29245         * elf/Makefile: Add rules to run tst-unused-dep.out.
29247 2012-02-28  David S. Miller  <davem@davemloft.net>
29249         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29250         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29251         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29253         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29254         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29256 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29258         * math/libm-test.inc (llround_test): Move one test from
29259         lround_test.  Use TEST_f_L in moved test.
29260         (lround_test): Move misplaced test to llround_test.  Add testcase
29261         from bug 2561.
29263 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29265         * sysdeps/x86_64/fpu/e_expf.S: New file.
29266         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29268 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29270         [BZ #13637]
29271         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29272         of remain_len that may cause incomplete multi-byte character and
29273         false match.
29274         * posix/bug-regex33.c: New file.
29275         * posix/Makefile (tests): Add bug-regex33.
29277 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29279         * manual/macros.texi: New file.
29280         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29281         * manual/libc.texinfo: Include macros.texi.
29282         * manual/creatute.texi: Likewise.
29283         * manual/install.texi: Likewise.
29284         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29285         @glibcadj{} in references to the GNU C Library.
29286         * manual/charset.texi: Likewise.
29287         * manual/conf.texi: Likewise.
29288         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29289         when not using those macros.
29290         * manual/creature.texi: Likewise.
29291         * manual/crypt.texi: Likewise.
29292         * manual/errno.texi: Likewise.
29293         * manual/filesys.texi: Likewise.
29294         * manual/header.texi: Likewise.
29295         * manual/install.texi: Likewise.
29296         * manual/intro.texi: Likewise.
29297         * manual/io.texi: Likewise.
29298         * manual/job.texi: Likewise.
29299         * manual/lang.texi: Likewise.
29300         * manual/libc.texiinfo: Likewise.
29301         * manual/llio.texi: Likewise.
29302         * manual/locale.texi: Likewise.
29303         * manual/maint.texi: Likewise.
29304         * manual/math.texi: Likewise.
29305         * manual/memory.texi: Likewise.
29306         * manual/message.texi: Likewise.
29307         * manual/nss.texi: Likewise.
29308         * manual/pattern.texi: Likewise.
29309         * manual/process.texi: Likewise.
29310         * manual/resource.texi: Likewise.
29311         * manual/search.texi: Likewise.
29312         * manual/setjmp.texi: Likewise.
29313         * manual/signal.texi: Likewise.
29314         * manual/socket.texi: Likewise.
29315         * manual/startup.texi: Likewise.
29316         * manual/stdio.texi: Likewise.
29317         * manual/string.texi: Likewise.
29318         * manual/sysinfo.texi: Likewise.
29319         * manual/syslog.texi: Likewise.
29320         * manual/terminal.texi: Likewise.
29321         * manual/time.texi: Likewise.
29322         * manual/users.texi: Likewise.
29323         * INSTALL: Regenerated.
29324         * NOTES: Regenerated.
29325         * sysdeps/gnu/errlist.c: Regenerated.
29327 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29329         * include/dirent.h: Include <dirstream.h> before
29330         <dirent/dirent.h>.
29332 2012-02-28  David S. Miller  <davem@davemloft.net>
29334         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29335         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29336         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29337         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29339 2012-02-27  David S. Miller  <davem@davemloft.net>
29341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29343         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29344         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29347         frame pointer instead of stack pointer relative arg slot.
29348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29349         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29350         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29352 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29354         [BZ #3992]
29355         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29357 2012-02-27  David S. Miller  <davem@davemloft.net>
29359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29363         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29364         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29365         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29366         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29370         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29371         later.  Allow versions 5-9.
29372         * configure: Regenerated.
29373         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29374         required minimum version and 4.6 as recommended version.  Do not
29375         mention bugs in GCC 2.7 and 2.8.
29376         * INSTALL: Regenerated.
29378 2012-02-27  David S. Miller  <davem@davemloft.net>
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29386         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29390         manipulate bits before adding and subtracting TWO112[sx].
29391         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29393 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29395         [BZ #13775]
29396         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29397         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29398         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29399         being in POSIX, because they are in 1003.1-2008.
29401         * rt/tst-aio.c: Include <fcntl.h>.
29402         * rt/tst-aio7.c: Likewise.
29403         * rt/tst-aio64.c: Likewise.
29405         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29407 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29409         * manual/install.texi (--with-headers): Describe headers as
29410         interface headers, not private headers.
29411         (Specific advice for GNU/Linux systems): Describe use of headers
29412         from "make headers_install", not private headers from older
29413         kernels.
29414         * INSTALL: Regenerated.
29415         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29416         Change to 2.6.19.
29417         * sysdeps/unix/sysv/linux/configure: Regenerated.
29419         * manual/llio.texi (fclean): Remove documentation.
29421         * manual/Makefile (libc-texi-generated): New variable.  Include
29422         version.texi.
29423         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29424         $(libc-texi-generated), not duplicated list of files.
29425         (version.texi, stamp-version): New rules.
29426         (realclean): Remove $(libc-texi-generated), not individual files
29427         from that list.  Do not remove dir-add.texinfo.
29428         * manual/libc.texinfo: Comment out uses of edition numbers and
29429         references to printed manual.  Remove last-updated dates.
29430         (EDITION): Comment out.
29431         (ISBN): Likewise.
29432         (VERSION, UPDATED): Remove.
29433         (version.texi): Include.
29435 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29437         * sysdeps/posix/spawni.c: Include <signal.h>.
29438         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29439         * sysdeps/pthread/aio_fsync.c: Likewise.
29441 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29443         * conform/Makefile (tests): Run only when not cross-compiling and
29444         when fast-check is not defined.
29446         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29447         * conform/data/limits.h-data: Fixes for POSIX2008.
29448         * conform/run-conformtest.sh: Run all tests.
29449         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29450         headers.
29451         * include/bits/dlfcn.h: Likewise.
29452         * include/langinfo.h: Likewise.
29453         * include/monetary.h: Likewise.
29454         * include/sys/poll.h: Likewise.
29456         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29457         for __USE_GNU.
29458         * posix/spawn.h: Define __need_sigset_t.
29459         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29460         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29461         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29462         to get sigevent_t only.
29463         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29464         only for __USE_GNU.
29465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29466         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29467         process_vm_writev only for __USE_GNU.
29468         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29470         * conform/Makefile: For now ignore errors from run-conformtest.
29471         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29472         POSIX to avoid namespace pollution.  Don't prepend headers.
29473         * conform/data/aio.h-data: Fixes for POSIX testing.
29474         * conform/data/fcntl.h-data: Likewise.
29475         * conform/data/glob.h-data: Likewise.
29476         * conform/data/grp.h-data: Likewise.
29477         * conform/data/pthread.h-data: Likewise.
29478         * conform/data/pwd.h-data: Likewise.
29479         * conform/data/signal.h-data: Likewise.
29480         * conform/data/spawn.h-data: Likewise.
29481         * conform/data/stdio.h-data: Likewise.
29482         * conform/data/stdlib.h-data: Likewise.
29483         * conform/data/stropts.h-data: Likewise.
29484         * conform/data/sys/mman.h-data: Likewise.
29485         * conform/data/sys/stat.h-data: Likewise.
29486         * conform/data/sys/types.h-data: Likewise.
29487         * conform/data/sys/wait.h-data: Likewise.
29488         * conform/data/time.h-data: Likewise.
29489         * conform/data/unistd.h-data: Likewise.
29490         * conform/data/utime.h-data: Likewise.
29492         * io/sys/stat.h: fchmod was always in POSIX.
29493         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29494         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29495         * rt/aio.h: Define __need_timespec before including <time.h>.
29496         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29497         struct.  Add forward declaration of pthread_attr_t and use it in
29498         sigevent.
29499         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29501         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29502         always remove CLK_TCK definition.
29504 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29506         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29508 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29510         * conform/run-conformtest.sh: New file.
29511         * conform/Makefile: Run run-conformtest for tests.
29512         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29513         support.
29515         * conform/data/uchar.h-data: New file.
29516         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29517         * conform/data/arpa/inet.h-data: Likewise.
29518         * conform/data/assert.h-data: Likewise.
29519         * conform/data/complex.h-data: Likewise.
29520         * conform/data/cpio.h-data: Likewise.
29521         * conform/data/ctype.h-data: Likewise.
29522         * conform/data/dirent.h-data: Likewise.
29523         * conform/data/dlfcn.h-data: Likewise.
29524         * conform/data/errno.h-data: Likewise.
29525         * conform/data/fcntl.h-data: Likewise.
29526         * conform/data/float.h-data: Likewise.
29527         * conform/data/fmtmsg.h-data: Likewise.
29528         * conform/data/fnmatch.h-data: Likewise.
29529         * conform/data/ftw.h-data: Likewise.
29530         * conform/data/glob.h-data: Likewise.
29531         * conform/data/grp.h-data: Likewise.
29532         * conform/data/iconv.h-data: Likewise.
29533         * conform/data/inttypes.h-data: Likewise.
29534         * conform/data/langinfo.h-data: Likewise.
29535         * conform/data/libgen.h-data: Likewise.
29536         * conform/data/limits.h-data: Likewise.
29537         * conform/data/locale.h-data: Likewise.
29538         * conform/data/math.h-data: Likewise.
29539         * conform/data/monetary.h-data: Likewise.
29540         * conform/data/mqueue.h-data: Likewise.
29541         * conform/data/ndbm.h-data: Likewise.
29542         * conform/data/net/if.h-data: Likewise.
29543         * conform/data/netdb.h-data: Likewise.
29544         * conform/data/netinet/in.h-data: Likewise.
29545         * conform/data/nl_types.h-data: Likewise.
29546         * conform/data/poll.h-data: Likewise.
29547         * conform/data/pthread.h-data: Likewise.
29548         * conform/data/pwd.h-data: Likewise.
29549         * conform/data/regex.h-data: Likewise.
29550         * conform/data/sched.h-data: Likewise.
29551         * conform/data/search.h-data: Likewise.
29552         * conform/data/semaphore.h-data: Likewise.
29553         * conform/data/setjmp.h-data: Likewise.
29554         * conform/data/signal.h-data: Likewise.
29555         * conform/data/spawn.h-data: Likewise.
29556         * conform/data/stdarg.h-data: Likewise.
29557         * conform/data/stdio.h-data: Likewise.
29558         * conform/data/stdlib.h-data: Likewise.
29559         * conform/data/string.h-data: Likewise.
29560         * conform/data/strings.h-data: Likewise.
29561         * conform/data/stropts.h-data: Likewise.
29562         * conform/data/sys/ipc.h-data: Likewise.
29563         * conform/data/sys/mman.h-data: Likewise.
29564         * conform/data/sys/msg.h-data: Likewise.
29565         * conform/data/sys/resource.h-data: Likewise.
29566         * conform/data/sys/select.h-data: Likewise.
29567         * conform/data/sys/sem.h-data: Likewise.
29568         * conform/data/sys/shm.h-data: Likewise.
29569         * conform/data/sys/socket.h-data: Likewise.
29570         * conform/data/sys/stat.h-data: Likewise.
29571         * conform/data/sys/statvfs.h-data: Likewise.
29572         * conform/data/sys/time.h-data: Likewise.
29573         * conform/data/sys/timeb.h-data: Likewise.
29574         * conform/data/sys/times.h-data: Likewise.
29575         * conform/data/sys/types.h-data: Likewise.
29576         * conform/data/sys/uio.h-data: Likewise.
29577         * conform/data/sys/un.h-data: Likewise.
29578         * conform/data/sys/utsname.h-data: Likewise.
29579         * conform/data/sys/wait.h-data: Likewise.
29580         * conform/data/syslog.h-data: Likewise.
29581         * conform/data/tar.h-data: Likewise.
29582         * conform/data/termios.h-data: Likewise.
29583         * conform/data/utime.h-data: Likewise.
29584         * conform/data/utmpx.h-data: Likewise.
29585         * conform/data/varargs.h-data: Likewise.
29586         * conform/data/wchar.h-data: Likewise.
29587         * conform/data/wctype.h-data: Likewise.
29588         * conform/data/wordexp.h-data: Likewise.
29590         * include/stropts.h: New file.
29591         * include/uchar.h: New file.
29592         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29593         * include/assert.h: Likewise.
29594         * include/ctype.h: Likewise.
29595         * include/dirent.h: Likewise.
29596         * include/dlfcn.h: Likewise.
29597         * include/fcntl.h: Likewise.
29598         * include/fnmatch.h: Likewise.
29599         * include/glob.h: Likewise.
29600         * include/grp.h: Likewise.
29601         * include/libio.h: Likewise.
29602         * include/locale.h: Likewise.
29603         * include/math.h: Likewise.
29604         * include/net/if.h: Likewise.
29605         * include/netdb.h: Likewise.
29606         * include/netinet/in.h: Likewise.
29607         * include/pthread.h: Likewise.
29608         * include/pwd.h: Likewise.
29609         * include/regex.h: Likewise.
29610         * include/sched.h: Likewise.
29611         * include/search.h: Likewise.
29612         * include/setjmp.h: Likewise.
29613         * include/signal.h: Likewise.
29614         * include/stdio.h: Likewise.
29615         * include/stdlib.h: Likewise.
29616         * include/string.h: Likewise.
29617         * include/sys/cdefs.h: Likewise.
29618         * include/sys/mman.h: Likewise.
29619         * include/sys/msg.h: Likewise.
29620         * include/sys/resource.h: Likewise.
29621         * include/sys/select.h: Likewise.
29622         * include/sys/socket.h: Likewise.
29623         * include/sys/stat.h: Likewise.
29624         * include/sys/statvfs.h: Likewise.
29625         * include/sys/time.h: Likewise.
29626         * include/sys/times.h: Likewise.
29627         * include/sys/uio.h: Likewise.
29628         * include/sys/utsname.h: Likewise.
29629         * include/sys/wait.h: Likewise.
29630         * include/termios.h: Likewise.
29631         * include/time.h: Likewise.
29632         * include/ulimit.h: Likewise.
29633         * include/unistd.h: Likewise.
29634         * include/utime.h: Likewise.
29635         * include/wchar.h: Likewise.
29636         * include/wctype.h: Likewise.
29637         * include/wordexp.h: Likewise.
29639         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29641         * time/time.h: TIME_UTC must be a macro.
29642         Make timespec_get available for ISO C11 only as well.
29644 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29646         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29647         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29649 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29651         * configure.in: Use -o not -a in test for unsupported multi-arch.
29653 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29655         * manual/texinfo.tex: Update to version 2012-01-19.16.
29657 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29659         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29661 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29663         [BZ #13738]
29664         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29665         * manual/fdl-1.3.texi: New file.
29666         * manual/fdl-1.1.texi: File removed.
29668         [BZ #13738]
29669         * manual/libc.texinfo (FDL_VERSION): New @set.
29670         Use it for mention of FDL in cover text.
29671         (Documentation License): Use it in @include file name.
29673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29674             Roland McGrath  <roland@hack.frob.com>
29676         [BZ #5461]
29677         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29678         not LONG_LONG_MAX and LONG_LONG_MIN.
29679         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29680         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29681         name.
29682         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29684 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #2547]
29687         [BZ #11365]
29688         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29689         manipulate bits before adding and subtracting TWO23[sx].
29690         * math/libm-test.inc (nearbyint_test): Add more tests.
29692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29694         [BZ #2548]
29695         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29696         bits before adding and subtracting TWO23[sx].
29697         * math/libm-test.inc (rint_test): Add more tests.
29698         (rint_test_tonearest): Likewise.
29699         (rint_test_towardzero): Likewise.
29700         (rint_test_downward): Likewise.
29701         (rint_test_upward: Likewise.
29703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29705         [BZ #10110]
29706         * include/stdc-predef.h: New file.  Extracted from features.h.
29707         * include/features.h: Include stdc-predef.h.
29708         * Makefile (headers): Add stdc-predef.h.
29709         * CONFORMANCE (Compiler limitations): Update.
29711 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29713         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29715 2012-02-21  David S. Miller  <davem@davemloft.net>
29717         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29718         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29720 2012-02-20  David S. Miller  <davem@davemloft.net>
29722         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29723         using a normal save/restore sequence, rather than allocating a
29724         dummy stack frame just to store a frame pointer and restore.
29725         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29727 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29729         * manual/install.texi: Fix stray word in line-wrapped comment.
29731 2012-02-20  David S. Miller  <davem@davemloft.net>
29733         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29734         both binutils and gcc support GOTDATA.
29736         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29737         "rd %pc" in the PIC register setup sequences.
29739         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29740         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29741         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29742         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29743         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29745         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29748         (SYSCALL_ERROR_HANDLER): Likewise.
29749         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29750         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29752         (SYSCALL_ERROR_HANDLER): Likewise.
29754         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29755         (HAVE_GCC_GOTDATA): New.
29756         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29757         relocation support in both binutils and gcc.
29758         * sysdeps/sparc/elf/configure: Regenerate.
29760         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29761         * sysdeps/sparc/sparc32/elf/configure: Delete.
29762         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29763         * sysdeps/sparc/sparc64/elf/configure: Delete.
29764         * sysdeps/sparc/elf/configure.in: New file.
29765         * sysdeps/sparc/elf/configure: Generate.
29767         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29768         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29769         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29770         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29771         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29773 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29775         * manual/install.texi: Do not mention specific glibc version
29776         numbers.
29777         * manual/libc.texinfo (VERSION, UPDATED): Update.
29778         (@copying): Use @copyright{} and range of years.
29780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29782         [BZ #13695]
29783         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29784         [crti.S not in sysdirs] (generated): Do not append.
29785         [crti.S not in sysdirs] (omit-deps): Likewise.
29786         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29787         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29788         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29789         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29790         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29791         Likewise.
29792         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29793         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29794         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29795         * csu/defs.awk: Remove file.
29796         * sysdeps/generic/initfini.c: Likewise.
29797         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29798         variable.
29799         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29800         Likewise.
29802 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29804         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29805         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29807         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29809         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29810         <bits/epoll.h>.
29811         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29812         (__EPOLL_PACKED): Define to empty if not defined by
29813         <bits/epoll.h>.
29814         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29816         bits/epoll.h.
29818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29820         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29821         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29822         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29823         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29824         <bits/timerfd.h>.
29825         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29827         bits/timerfd.h.
29829 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29831         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29832         in C locale.
29833         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29835         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29838 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29841         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29843 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29845         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29846         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29847         defined.
29848         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29849         Likewise.
29850         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29851         entry for 2.16.
29853 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29855         * math/w_acos.c: Use non-signaling floating-point comparisons.
29856         * math/w_acosf.c: Likewise.
29857         * math/w_acosh.c: Likewise.
29858         * math/w_acoshf.c: Likewise.
29859         * math/w_acoshl.c: Likewise.
29860         * math/w_acosl.c: Likewise.
29861         * math/w_asin.c: Likewise.
29862         * math/w_asinf.c: Likewise.
29863         * math/w_asinl.c: Likewise.
29864         * math/w_atanh.c: Likewise.
29865         * math/w_atanhf.c: Likewise.
29866         * math/w_atanhl.c: Likewise.
29867         * math/w_exp2.c: Likewise.
29868         * math/w_exp2f.c: Likewise.
29869         * math/w_exp2l.c: Likewise.
29870         * math/w_j0.c: Likewise.
29871         * math/w_j0f.c: Likewise.
29872         * math/w_j0l.c: Likewise.
29873         * math/w_j1.c: Likewise.
29874         * math/w_j1f.c: Likewise.
29875         * math/w_j1l.c: Likewise.
29876         * math/w_jn.c: Likewise.
29877         * math/w_jnf.c: Likewise.
29878         * math/w_log.c: Likewise.
29879         * math/w_log10.c: Likewise.
29880         * math/w_log10f.c: Likewise.
29881         * math/w_log10l.c: Likewise.
29882         * math/w_log2.c: Likewise.
29883         * math/w_log2f.c: Likewise.
29884         * math/w_log2l.c: Likewise.
29885         * math/w_logf.c: Likewise.
29886         * math/w_logl.c: Likewise.
29887         * math/w_sqrt.c: Likewise.
29888         * math/w_sqrtf.c: Likewise.
29889         * math/w_sqrtl.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29892         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29896 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29898         [BZ #9739]
29899         * manual/string.texi (strnlen): Use correct parameter name in
29900         equivalent expression.
29902 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29904         [BZ #11174]
29905         * manual/users.texi (seteuid): Consistently use neweuid for
29906         argument name.
29908 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29910         [BZ #13704]
29911         * manual/nss.texi (Services in the NSS configuration): Correct
29912         list of services in example configuration file.
29914 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29916         [BZ #11322]
29917         * manual/arith.texi: Remove statements about negative zero
29918         behaving identically to zero.
29920 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29922         [BZ #5993]
29923         * manual/install.texi: Do not document upgrading from libc5.
29925 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29927         [BZ #4596]
29928         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29930 2012-02-18  David S. Miller  <davem@davemloft.net>
29932         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29933         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29934         %o7 across the call.
29935         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29936         instead.
29937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29938         SETUP_PIC_REG_LEAF.
29939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29940         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29941         * sysdeps/sparc/crtn.S: Likewise.
29943 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29945         * aout/Makefile: Remove.
29947 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29949         [BZ #13058]
29950         * manual/examples/argp-ex1.c (main): Format definition in GNU
29951         style.
29952         * manual/examples/argp-ex2.c (main): Likewise.
29953         * manual/examples/argp-ex3.c (main): Likewise.
29954         * manual/examples/argp-ex4.c (main): Likewise.
29955         * manual/examples/longopt.c (main): Use new-style prototype
29956         definition.
29957         * manual/examples/strncat.c (main): Specify return type and use
29958         (void) for arguments.
29959         * manual/examples/subopt.c (main): Use char **argv argument.
29961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29963         [BZ #5077]
29964         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29965         rounding modes.
29967 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29969         [BZ #6907]
29970         * manual/string.texi (strchr): Change when strchrnul is
29971         recommended.
29973 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29975         [BZ #174]
29976         * manual/locale.texi (setlocale): Document LOCPATH.
29978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29980         [BZ #10210]
29981         * manual/process.texi (execle): Move @dots{} before last argument.
29983 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29985         [BZ #12047]
29986         * manual/charset.texi (Generic Charset Conversion): Fix typo
29987         (LC_TYPE -> LC_CTYPE).
29989 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29991         [BZ #5805]
29992         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29993         (scalbnf): Likewise.
29994         (scalbnl): Likewise.
29995         (scalbln): Likewise.
29996         (scalblnf): Likewise.
29997         (scalblnl): Likewise.
29998         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29999         (vwarnx): Likewise.
30000         (verr): Likewise.
30001         (verrx): Likewise.
30002         * manual/filesys.texi (telldir): Use braces around return type.
30003         * manual/llio.texi (mmap): Add space after comma.
30004         (mmap64): Likewise.
30005         * manual/math.texi (jn): Use @var{} on parameter names.
30006         (jnf): Likewise.
30007         (jnl): Likewise.
30008         (yn): Likewise.
30009         (ynf): Likewise.
30010         (ynl): Likewise.
30011         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30012         line.
30013         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30014         "...".
30015         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30016         (sched_get_priority_max): Likewise.
30017         * manual/signal.texi (sigvec): Add space after comma.
30018         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30019         names.
30020         (if_indextoname): Likewise.
30021         (if_freenameindex): Likewise.
30022         (sendto): Use ',' instead of '.' in prototype.
30023         * manual/startup.texi (syscall): Use @dots{} instead of literal
30024         "...".
30025         * manual/stdio.texi (__fpending): Separate initial words of
30026         paragraph from @deftypefun line.
30027         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30028         "...".
30029         (vsyslog): Use @var{} on parameter names.
30030         * manual/terminal.texi (stty): Use @var{} on parameter names.
30031         * manual/users.texi (getutmp): Use @var{} on parameter names.
30032         (getutmpx): Likewise.
30034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30036         [BZ #6884]
30037         * manual/stdio.texi (fopen): Fix typos in description of
30038         ",ccs=STRING".
30040 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30042         [BZ #4026]
30043         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30044         get clock_id definition.
30046 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30048         [BZ #4822]
30049         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30050         (madvise): Cast every argument to void on its own.
30052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30054         [BZ #9902]
30055         * manual/startup.texi (Exit Status): Fix typo.
30057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30059         [BZ #10140]
30060         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30061         * manual/examples/argp-ex2.c: Likewise.
30062         * manual/examples/argp-ex3.c: Likewise.
30064 2012-02-16  Richard Henderson  <rth@redhat.com>
30066         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30067         * sysdeps/s390/s390-32/initfini.c: Remove.
30068         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30069         * sysdeps/s390/s390-64/initfini.c: Remove.
30071 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30073         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30074         compiler output for sysdeps/generic/initfini.c.
30075         * sysdeps/sh/elf/initfini.c: Remove file.
30077 2012-02-16  David S. Miller  <davem@davemloft.net>
30079         [BZ #11494]
30080         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30082         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30083         * sysdeps/sparc/crti.S: New file.
30084         * sysdeps/sparc/crtn.S: New file.
30085         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30086         * sysdeps/sparc/sparc64/Makefile: Likewise.
30088 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30090         [BZ #3335]
30091         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30093 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30095         [BZ #4822]
30096         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30098         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30099         (write, read, close): Likewise.
30100         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30102 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30104         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30105         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30106         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30107         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30108         <bits/signalfd.h>.
30109         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30111         bits/signalfd.h.
30113 2012-02-14  Marek Polacek  <polacek@redhat.com>
30115         * sysdeps/x86_64/crti.S: New file.
30116         * sysdeps/x86_64/crtn.S: New file.
30117         * sysdeps/x86_64/elf/initfini.c: Remove file.
30119 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30121         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30122         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30123         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30124         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30125         <bits/inotify.h>.
30126         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30128         bits/inotify.h.
30130 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30132         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30133         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30134         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30135         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30136         <bits/eventfd.h>.
30137         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30139         bits/eventfd.h.
30141 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30143         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30144         __feraiseexcept instead of feraiseexcept.
30146         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30147         nanosleep invocations.
30148         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30149         strings, and add error checking for a nanosleep invocations.
30151 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30153         Replace FSF snail mail address with URLs, as per GNU coding standards.
30154         Most of the snail mail addresses were wrong anyway, and omitting
30155         them makes the source code easier to maintain.  Almost all of the
30156         changes are to license notices and to locale LC_IDENTIFICATION
30157         addresses, except for this one:
30158         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30159         not its snail mail address.
30161 2012-02-09  Richard Henderson  <rth@twiddle.net>
30163         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30164         of kernel-features.h.
30166         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30168 2012-02-08  Marek Polacek  <polacek@redhat.com>
30170         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30171         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30172         * sysdeps/gnu/_G_config.h: Likewise.
30173         * sysdeps/generic/_G_config.h: Likewise.
30175 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30177         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30178         tests.
30179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30181         * sysdeps/powerpc/powerpc32/crti.S: New file.
30182         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30183         * sysdeps/powerpc/powerpc64/crti.S: New file.
30184         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30186         * Makeconfig (have-initfini): Don't set.
30187         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30188         * configure.in (nopic_initfini): Don't substitute.
30189         * config.h.in (HAVE_INITFINI): Don't #undef.
30190         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30191         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30193 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30195         Support crti.S and crtn.S provided directly by architectures.
30196         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30197         [crti.S in sysdirs] (omit-deps): Likewise.
30198         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30199         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30200         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30201         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30202         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30203         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30204         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30205         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30206         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30207         compiler output for sysdeps/generic/initfini.c.
30208         * sysdeps/i386/elf/Makefile: Remove file.
30209         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30211 2012-02-07  Marek Polacek  <polacek@redhat.com>
30213         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30214         * sysdeps/gnu/_G_config.h: Likewise.
30215         * sysdeps/mach/hurd/_G_config.h: Likewise.
30217 2012-02-07  Marek Polacek  <polacek@redhat.com>
30219         * math/Makefile (tests): Add tst-CMPLX2.
30220         * math/tst-CMPLX2.c: New file.
30222 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30224         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30226         * math/libm-test.inc (jn_test): Add missing L suffix.
30228 2012-02-06  Marek Polacek  <polacek@redhat.com>
30230         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30231         * sysdeps/i386/fpu/e_powf.S: Likewise.
30232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30233         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30234         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30235         * sysdeps/i386/fpu/e_pow.S: Likewise.
30236         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30237         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30238         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30239         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30240         * sysdeps/i386/fpu/e_log2.S: Likewise.
30241         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30242         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30243         * sysdeps/i386/fpu/e_powl.S: Likewise.
30244         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30246         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30247         * sysdeps/i386/fpu/e_logl.S: Likewise.
30248         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30249         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30250         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30251         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30252         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30253         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30254         * sysdeps/i386/fpu/e_log.S: Likewise.
30255         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30257         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30258         * sysdeps/i386/fpu/e_logf.S: Likewise.
30259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30261         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30262         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30263         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30264         * sysdeps/i386/fpu/e_log10.S: Likewise.
30265         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30266         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30267         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30268         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30269         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30270         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30271         * sysdeps/i386/asm-syntax.h: Likewise.
30272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30273         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30274         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30275         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30276         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30277         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30278         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30279         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30280         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30281         * sysdeps/powerpc/sysdep.h: Likewise.
30282         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30283         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30285 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30287         [BZ #411]
30288         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30290 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30292         * sysdeps/i386/sysdep.h: Include <features.h>.
30293         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30294         version.
30296 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30298         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30299         Define.
30300         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30301         LOAD_PIC_REG_STR.
30303 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30305         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30306         (SETUP_PIC_REG): Use GET_PC_THUNK.
30307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30308         macro.
30310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30312         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30313         for non-PIC compilation.
30314         (SETUP_PIC_REG): Add .p2align directive.
30315         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30316         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30317         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30318         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30319         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30320         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30321         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30323         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30324         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30325         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30326         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30327         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30333         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30345         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30359         * math/tst-CMPLX.c: Include <stdio.h>.
30361 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30363         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30364         float.
30365         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30366         * sysdeps/sparc/bits/mathdef.h: Likewise.
30368 2012-01-31  Marek Polacek  <polacek@redhat.com>
30370         * libio/libio.h: Don't define _PARAMS.
30371         * locale/programs/config.h: Don't define PARAMS.
30372         * stdlib/strtol_l.c: Likewise.
30373         (__strtol_l): Remove PARAMS from the prototype.
30375 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30377         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30378         names.  Just use the correct names.  Remove unnecessary wrapper
30379         functions.
30380         * malloc/arena.c: Likewise.
30381         * malloc/hooks.c: Likewise.
30383         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30384         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30385         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30387 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30389         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30390         into tail calls.
30391         (update_get_addr): New function.
30392         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30393         GET_ADDR_MODULE parameter.
30395 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30397         * crypt/cert.c: Remove __STDC__ conditionals.
30398         * crypt/crypt-entry.c: Likewise.
30399         * crypt/crypt_util.c: Likewise.
30400         * libio/filedoalloc.c: Likewise.
30401         * libio/fileops.c: Likewise.
30402         * libio/genops.c: Likewise.
30403         * libio/iofclose.c: Likewise.
30404         * libio/iofdopen.c: Likewise.
30405         * libio/iofopen.c: Likewise.
30406         * libio/iofopen64.c: Likewise.
30407         * libio/iogetdelim.c: Likewise.
30408         * libio/iopopen.c: Likewise.
30409         * libio/obprintf.c: Likewise.
30410         * libio/oldfileops.c: Likewise.
30411         * libio/oldiofclose.c: Likewise.
30412         * libio/oldiofdopen.c: Likewise.
30413         * libio/oldiofopen.c: Likewise.
30414         * libio/oldiopopen.c: Likewise.
30415         * libio/wfiledoalloc.c: Likewise.
30416         * libio/wgenops.c: Likewise.
30417         * locale/programs/xmalloc.c: Likewise.
30418         * misc/syslog.c: Likewise.
30419         * stdio-common/xbug.c: Likewise.
30420         * string/memchr.c: Likewise.
30421         * string/memcmp.c: Likewise.
30422         * string/memrchr.c: Likewise.
30423         * string/rawmemchr.c: Likewise.
30424         * sysdeps/posix/getcwd.c: Likewise.
30425         * time/strftime_l.c: Likewise.
30427 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30429         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30430         * config.make.in (config-cflags-sse2avx): Define.
30431         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30432         Fix typo.
30434 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30436         * scripts/config.guess: Update from upstream config git repository.
30437         * scripts/config.sub: Likewise.
30439 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30441         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30442         (EM_NUM): Update.
30443         (R_TILEPRO_*, R_TILEGX_*): New macros.
30445         * scripts/firstversions.awk: Fix bug in version range handling.
30447         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30451         * include/sys/epoll.h: New file.
30452         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30453         libc_hidden_def.
30455 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30457         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30458         Avoid unnecessary __WORDSIZE == 64 test.
30459         (fmaxf): Use VEX format if possible.
30460         (fmax): Likewise.
30461         (fminf): Likewise.
30462         (fmin): Likewise.
30464         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30465         * math/math_private.h: Remove libc_fegetround* and
30466         libc_fesetround*.
30467         * sysdeps/i386/configure.in: Check for -msse2avx.
30468         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30469         also if SSE2AVX is defined.
30470         Remove libc_fegetround* and libc_fesetround*.
30471         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30472         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30473         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30474         of HAS_YMM_USABLE.
30475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30481         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30483 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30485         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30486         size is not set.
30487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30489 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30491         [BZ #13618]
30492         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30493         relocation.
30494         * Makeconfig (libm): Define.
30495         * elf/Makefile: Add rules to build and run tst-relsort1.
30496         * elf/tst-relsort1.c: New file.
30497         * elf/tst-relsort1mod1.c: New file.
30498         * elf/tst-relsort1mod2.c: New file.
30500 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30502         * math/s_ldexp.c: Remove __STDC__ conditionals.
30503         * math/s_ldexpf.c: Likewise.
30504         * math/s_ldexpl.c: Likewise.
30505         * math/s_nextafter.c: Likewise.
30506         * math/s_nexttowardf.c: Likewise.
30507         * math/s_significand.c: Likewise.
30508         * math/s_significandf.c: Likewise.
30509         * math/s_significandl.c: Likewise.
30510         * math/w_jnl.c: Likewise.
30511         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30512         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30513         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30514         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30515         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30517         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30518         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30519         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30520         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30521         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30523         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30524         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30525         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30526         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30527         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30528         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30530         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30531         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30532         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30539         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30540         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30541         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30542         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30543         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30545         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30546         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30547         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30548         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30549         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30550         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30551         * sysdeps/ieee754/k_standard.c: Likewise.
30552         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30553         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30554         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30555         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30556         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30557         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30559         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30560         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30561         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30562         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30563         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30565         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30566         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30567         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30569         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30571         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30577         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30581         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30582         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30583         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30584         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30588         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30592         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30594         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30595         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30613         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30616         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30618         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30620         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30626         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30627         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30631         * sysdeps/ieee754/s_matherr.c: Likewise.
30632         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30633         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30637 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30639         * crypt/md5.h: Remove __STDC__ conditionals.
30640         * libio/libioP.h: Likewise.
30641         * locale/programs/config.h: Likewise.
30642         * sysdeps/generic/sysdep.h: Likewise.
30643         * sysdeps/i386/asm-syntax.h: Likewise.
30644         * sysdeps/s390/asm-syntax.h: Likewise.
30645         * sysdeps/unix/sysdep.h: Likewise.
30646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30649 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30651         * libio/libio.h: Remove __STDC__ conditionals.
30652         * malloc/obstack.h: Likewise.
30653         * math/complex.h: Likewise.
30654         * math/math.h: Likewise.
30655         * sysdeps/generic/_G_config.h: Likewise.
30656         * sysdeps/gnu/_G_config.h: Likewise.
30657         * sysdeps/mach/hurd/_G_config.h: Likewise.
30658         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30659         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30660         * sysdeps/sparc/bits/mathdef.h: Likewise.
30662 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30664         [BZ #13583]
30665         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30666         Clean up HAS_* macros.
30667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30668         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30669         possible.
30670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30671         HAS_AVX.
30672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30675         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30676         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30678 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30680         * elf/tst-unique3.cc (gets): Remove declaration.
30681         * elf/tst-unique3lib.cc (gets): Likewise.
30682         * elf/tst-unique3lib2.cc (gets): Likewise.
30683         * elf/tst-unique4.cc (gets): Likewise.
30685 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30687         * include/stdio.h: Add C++ protection.  Add gets declarations and
30688         definitions.
30689         * debug/tst-chk1.c: Don't declare gets here.
30690         * stdio-common/tst-gets.c: Likewise.
30692 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30694         * posix/glob: Remove directory.
30696 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30698         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30700 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30702         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30703         of the non-standard EPFNOSUPPORT.
30705 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30707         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30708         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30709         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30711 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30713         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30715 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30717         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30718         transient errors.
30719         * nscd/grpcache.c (cache_addgr): Likewise.
30720         * nscd/hstcache.c (cache_addhst): Likewise.
30721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30722         * nscd/pwdcache.c (cache_addpw): Likewise.
30723         * nscd/servicescache.c (cache_addserv): Likewise.
30725 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30727         * malloc/malloc.c: Various cleanups.
30728         * malloc/hooks.c: Likewise.
30730         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30731         * stdlib/bug-fmtmsg1.c: New file.
30733         * stdlib/fmtmsg.c (init): Add missing unlock.
30734         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30736 2012-01-12  Marek Polacek  <polacek@redhat.com>
30738         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30739         and _GNU_SOURCE.
30741 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30743         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30744         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30745         macro to ensure uniqueness of label name.
30746         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30747         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30749 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30751         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30753         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30754         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30756         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30758 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30762         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30763         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30764         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30766         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30769         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30770         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30773         * math/bits/math-finite.h: Add ldexp support.
30775 2012-01-10  Marek Polacek  <polacek@redhat.com>
30777         * locale/programs/localedef.h (show_archive_content): Add noreturn
30778         attribute.
30780 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30782         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30786         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30788         * io/Makefile (headers): Add bits/poll2.h.
30790 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30793         typo #include statement.
30795 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30797         * include/sys/cdefs.h: Define __attribute_alloc_size.
30798         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30799         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30800         * elf/pldd.c: Likewise.
30801         * iconv/iconv_charmap.c: Likewise.
30802         * iconv/iconvconfig.c: Likewise.
30803         * iconv/strtab.c: Likewise.
30804         * locale/programs/locale.c: Likewise.
30805         * locale/programs/localedef.h: Likewise.
30806         * locale/programs/simple-hash.c: Likewise.
30807         * nscd/nscd.h: Likewise.
30808         * nss/makedb.c: Likewise.
30809         * sysdeps/generic/ldconfig.h: Likewise.
30810         * locale/programs/localedef.c: Remove xmalloc prototype.
30811         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30813 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30815         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30816         appropriate.
30818 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30820         * math/Makefile (tests): Add tst-CMPLX.
30821         * math/tst-CMPLX.c: New file.
30823         * math/complex.h (CMPLXL): Fix typo.
30825         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30826         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30827         GLIBC_2.16.
30828         * debug/tst-chk1.c: Add poll and ppoll tests.
30829         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30830         * include/sys/poll.h: Add hidden proto for ppoll.
30831         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30832         * sysdeps/mach/hurd/ppoll.c: Likewise.
30833         * io/ppoll.c: Likewise.
30834         * debug/poll_chk.c: New file.
30835         * debug/ppoll_chk.c: New file.
30836         * include/bits/poll2.h: New file.
30837         * io/bits/poll2.h: New file.
30839         [BZ #1350]
30840         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30842         * configure.in: static is always set to yes.  Remove.
30843         * config.make.in: Don't set build-static.
30844         * Makeconfig: Remove use of build-static.
30845         * dlfcn/Makefile: Likewise.
30846         * elf/Makefile: Likewise.
30847         * math/Makefile: Likewise.
30848         * misc/Makefile: Likewise.
30849         * nptl/Makefile: Likewise.
30850         * sysdeps/mach/hurd/Makefile: Likewise.
30852         * configure.in: PWD_P is not used anymore.
30853         * config.make.in: Remove PWD_P entry.
30855         * configure.in: Remove last remnants of RANLIB.
30856         No need to check for signed size_t anymore.
30857         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30858         and IA-64.
30859         Remove __builtin_expect test because we require at least gcc 3.4.
30860         * aclocal.m4: Likewise.
30862         * wcsmbs/mbrtoc16.c: Implement using towc function.
30863         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30864         * wcsmbs/wcsmbsload.c: Likewise.
30865         * iconv/gconv_simple.c: Likewise.
30866         * iconv/gconv_int.h: Likewise.
30867         * iconv/gconv_builtin.h: Likewise.
30868         * iconv/iconv_prog.c: Remove CHAR16 handling.
30870         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30872         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30874         * configure.in: Remove --with-elf and --enable-bounded options.
30875         Dont set base_machine for ia64.  More non-ELF conditions removed.
30876         Remove testing and setting of leading underscore information.
30877         * config.make.in (build-bounded): Set to no.
30878         * config.h.in: Remove NO_UNDERSCORES entry.
30879         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30880         them.
30881         * csu/start.c: Remove !NO_UNDERSCORE code.
30882         * locale/localeinfo.h: Likewise.
30883         * sysdeps/generic/machine-gmon.h: Likewise.
30884         * sysdeps/generic/sysdep.h: Likewise.
30885         * sysdeps/i386/sysdep.h: Likewise.
30886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30887         * sysdeps/mach/sysdep.h: Likewise.
30888         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30890         * sysdeps/sh/sysdep.h: Likewise.
30891         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30892         * sysdeps/unix/i386/sysdep.S: Likewise.
30893         * sysdeps/unix/sparc/start.c: Likewise.
30894         * sysdeps/unix/sparc/sysdep.S: Likewise.
30895         * sysdeps/unix/sparc/sysdep.h: Likewise.
30896         * sysdeps/unix/start.c: Likewise.
30897         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30898         * sysdeps/x86_64/sysdep.h: Likewise.
30900 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30902         [BZ #13553]
30903         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30904         for non-gcc.
30905         * argp/argp-fmtstream.h: Use const instead __const.
30906         * argp/argp.h: Likewise.
30907         * assert/assert.h: Likewise.
30908         * bits/fenv.h: Likewise.
30909         * bits/sched.h: Likewise.
30910         * bits/sigset.h: Likewise.
30911         * bits/sigthread.h: Likewise.
30912         * catgets/nl_types.h: Likewise.
30913         * conform/data/pthread.h-data: Likewise.
30914         * crypt/crypt-private.h: Likewise.
30915         * crypt/crypt.h: Likewise.
30916         * crypt/crypt_util.c: Likewise.
30917         * ctype/ctype.h: Likewise.
30918         * debug/execinfo.h: Likewise.
30919         * debug/mbsnrtowcs_chk.c: Likewise.
30920         * debug/mbsrtowcs_chk.c: Likewise.
30921         * debug/wcsnrtombs_chk.c: Likewise.
30922         * debug/wcsrtombs_chk.c: Likewise.
30923         * debug/wcstombs_chk.c: Likewise.
30924         * dirent/dirent.h: Likewise.
30925         * dlfcn/dlfcn.h: Likewise.
30926         * elf/neededtest4.c: Likewise.
30927         * grp/grp.h: Likewise.
30928         * gshadow/gshadow.h: Likewise.
30929         * iconv/gconv.h: Likewise.
30930         * iconv/gconv_int.h: Likewise.
30931         * iconv/gconv_simple.c: Likewise.
30932         * iconv/iconv.h: Likewise.
30933         * iconv/loop.c: Likewise.
30934         * iconv/skeleton.c: Likewise.
30935         * include/aio.h: Likewise.
30936         * include/aliases.h: Likewise.
30937         * include/argz.h: Likewise.
30938         * include/arpa/inet.h: Likewise.
30939         * include/assert.h: Likewise.
30940         * include/dirent.h: Likewise.
30941         * include/dlfcn.h: Likewise.
30942         * include/execinfo.h: Likewise.
30943         * include/fcntl.h: Likewise.
30944         * include/fenv.h: Likewise.
30945         * include/glob.h: Likewise.
30946         * include/grp.h: Likewise.
30947         * include/libintl.h: Likewise.
30948         * include/mntent.h: Likewise.
30949         * include/netdb.h: Likewise.
30950         * include/pwd.h: Likewise.
30951         * include/rpc/netdb.h: Likewise.
30952         * include/sched.h: Likewise.
30953         * include/search.h: Likewise.
30954         * include/shadow.h: Likewise.
30955         * include/signal.h: Likewise.
30956         * include/stdio.h: Likewise.
30957         * include/stdlib.h: Likewise.
30958         * include/string.h: Likewise.
30959         * include/sys/socket.h: Likewise.
30960         * include/sys/stat.h: Likewise.
30961         * include/sys/statfs.h: Likewise.
30962         * include/sys/statvfs.h: Likewise.
30963         * include/sys/syslog.h: Likewise.
30964         * include/sys/time.h: Likewise.
30965         * include/sys/uio.h: Likewise.
30966         * include/time.h: Likewise.
30967         * include/unistd.h: Likewise.
30968         * include/utmp.h: Likewise.
30969         * include/wchar.h: Likewise.
30970         * include/wctype.h: Likewise.
30971         * inet/aliases.h: Likewise.
30972         * inet/arpa/inet.h: Likewise.
30973         * inet/netinet/ether.h: Likewise.
30974         * inet/netinet/in.h: Likewise.
30975         * intl/libintl.h: Likewise.
30976         * io/bits/fcntl2.h: Likewise.
30977         * io/fcntl.h: Likewise.
30978         * io/ftw.h: Likewise.
30979         * io/sys/poll.h: Likewise.
30980         * io/sys/stat.h: Likewise.
30981         * io/sys/statfs.h: Likewise.
30982         * io/sys/statvfs.h: Likewise.
30983         * io/utime.h: Likewise.
30984         * libio/bits/stdio.h: Likewise.
30985         * libio/bits/stdio2.h: Likewise.
30986         * libio/libio.h: Likewise.
30987         * libio/libioP.h: Likewise.
30988         * libio/stdio.h: Likewise.
30989         * locale/lc-ctype.c: Likewise.
30990         * locale/locale.h: Likewise.
30991         * login/utmp.h: Likewise.
30992         * malloc/arena.c: Likewise.
30993         * malloc/malloc.c: Likewise.
30994         * malloc/malloc.h: Likewise.
30995         * malloc/mcheck.c: Likewise.
30996         * malloc/mtrace.c: Likewise.
30997         * math/bits/mathcalls.h: Likewise.
30998         * math/fenv.h: Likewise.
30999         * math/math_private.h: Likewise.
31000         * misc/bits/error.h: Likewise.
31001         * misc/bits/syslog.h: Likewise.
31002         * misc/err.h: Likewise.
31003         * misc/error.h: Likewise.
31004         * misc/fstab.h: Likewise.
31005         * misc/mntent.h: Likewise.
31006         * misc/regexp.h: Likewise.
31007         * misc/search.h: Likewise.
31008         * misc/sgtty.h: Likewise.
31009         * misc/sys/mman.h: Likewise.
31010         * misc/sys/syslog.h: Likewise.
31011         * misc/sys/uio.h: Likewise.
31012         * misc/sys/xattr.h: Likewise.
31013         * misc/ttyent.h: Likewise.
31014         * nis/rpcsvc/ypclnt.h: Likewise.
31015         * nss/nss.h: Likewise.
31016         * posix/bits/unistd.h: Likewise.
31017         * posix/fnmatch.h: Likewise.
31018         * posix/glob.h: Likewise.
31019         * posix/sched.h: Likewise.
31020         * posix/spawn.h: Likewise.
31021         * posix/sys/wait.h: Likewise.
31022         * posix/unistd.h: Likewise.
31023         * posix/wordexp.h: Likewise.
31024         * pwd/pwd.h: Likewise.
31025         * resolv/netdb.h: Likewise.
31026         * resource/sys/resource.h: Likewise.
31027         * rt/aio.h: Likewise.
31028         * rt/bits/mqueue2.h: Likewise.
31029         * rt/mqueue.h: Likewise.
31030         * shadow/shadow.h: Likewise.
31031         * signal/signal.h: Likewise.
31032         * socket/send.c: Likewise.
31033         * socket/sendto.c: Likewise.
31034         * socket/sys/socket.h: Likewise.
31035         * stdio-common/printf.h: Likewise.
31036         * stdlib/bits/stdlib.h: Likewise.
31037         * stdlib/fmtmsg.h: Likewise.
31038         * stdlib/monetary.h: Likewise.
31039         * stdlib/stdlib.h: Likewise.
31040         * stdlib/ucontext.h: Likewise.
31041         * streams/stropts.h: Likewise.
31042         * string/argz.h: Likewise.
31043         * string/bits/string2.h: Likewise.
31044         * string/string.h: Likewise.
31045         * string/strings.h: Likewise.
31046         * sunrpc/rpc/auth.h: Likewise.
31047         * sunrpc/rpc/auth_des.h: Likewise.
31048         * sunrpc/rpc/clnt.h: Likewise.
31049         * sunrpc/rpc/netdb.h: Likewise.
31050         * sunrpc/rpc/pmap_clnt.h: Likewise.
31051         * sunrpc/rpc/xdr.h: Likewise.
31052         * sysdeps/generic/inttypes.h: Likewise.
31053         * sysdeps/generic/net/if.h: Likewise.
31054         * sysdeps/generic/sys/swap.h: Likewise.
31055         * sysdeps/gnu/net/if.h: Likewise.
31056         * sysdeps/gnu/utmpx.h: Likewise.
31057         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31058         * sysdeps/i386/i486/bits/string.h: Likewise.
31059         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31060         * sysdeps/s390/bits/string.h: Likewise.
31061         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31062         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31063         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31064         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31065         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31066         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31067         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31068         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31069         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31070         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31071         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31072         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31073         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31074         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31075         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31076         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31077         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31079         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31081         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31082         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31083         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31084         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31085         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31086         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31087         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31088         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31089         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31090         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31091         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31092         * sysvipc/sys/ipc.h: Likewise.
31093         * sysvipc/sys/msg.h: Likewise.
31094         * sysvipc/sys/sem.h: Likewise.
31095         * sysvipc/sys/shm.h: Likewise.
31096         * termios/termios.h: Likewise.
31097         * time/sys/time.h: Likewise.
31098         * time/time.h: Likewise.
31099         * wcsmbs/bits/wchar2.h: Likewise.
31100         * wcsmbs/uchar.h: Likewise.
31101         * wcsmbs/wchar.h: Likewise.
31102         * wctype/wctype.h: Likewise.
31104         [BZ #13551]
31105         * Makeconfig: Remove all but ELF support including AIX support.
31106         * Makerules: Likewise.
31107         * config.h.in: Likewise.
31108         * config.make.in: Likewise.
31109         * configure: Likewise.
31110         * configure.in: Likewise.
31111         * csu/Makefile: Likewise.
31112         * csu/version.c: Likewise.
31113         * debug/Makefile: Likewise.
31114         * dlfcn/Makefile: Likewise.
31115         * elf/Makefile: Likewise.
31116         * extra-lib.mk: Likewise.
31117         * iconv/Makefile: Likewise.
31118         * include/libc-symbols.h: Likewise.
31119         * include/shlib-compat.h: Likewise.
31120         * resolv/Makefile: Likewise.
31121         * resolv/res_libc.c: Likewise.
31122         * rt/Makefile: Likewise.
31123         * sysdeps/i386/asm-syntax.h: Likewise.
31124         * sysdeps/i386/sysdep.h: Likewise.
31125         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31126         * sysdeps/mach/sysdep.h: Likewise.
31127         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31128         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31129         * sysdeps/s390/asm-syntax.h: Likewise.
31130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31132         * sysdeps/sh/sysdep.h: Likewise.
31133         * sysdeps/unix/sparc/sysdep.h: Likewise.
31134         * sysdeps/wordsize-32/divdi3.c: Likewise.
31135         * sysdeps/x86_64/sysdep.h: Likewise.
31137         * argp/Versions: Remove _argp_unlock_xxx.
31139         [BZ #13559]
31140         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31141         * abilist/libBrokenLocale.abilist: Likewise.
31142         * abilist/libanl.abilist: Likewise.
31143         * abilist/libc.abilist: Likewise.
31144         * abilist/libcrypt.abilist: Likewise.
31145         * abilist/libdl.abilist: Likewise.
31146         * abilist/libm.abilist: Likewise.
31147         * abilist/libnsl.abilist: Likewise.
31148         * abilist/libpthread.abilist: Likewise.
31149         * abilist/libresolv.abilist: Likewise.
31150         * abilist/librt.abilist: Likewise.
31151         * abilist/libthread_db.abilist: Likewise.
31152         * abilist/libutil.abilist: Likewise.
31153         * abilist/libnss_db.abilist: New file.
31155         * scripts/abilist.awk: Add support for indirect functions.
31157         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31159         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31161         * shlib-versions: Remove entries for ports architectures.
31163         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31164         files in ports.
31165         * elf/stackguard-macros.h: Remove support for IA-64.
31166         * elf/tst-auditmod1.c: Likewise.
31167         * sysdeps/generic/ldsodefs.h: Likewise.
31169         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31170         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31171         configure files.
31173         [BZ #13552]
31174         * configure.in: Remove --enable-omitfp support.
31175         * FAQ.in: Adjust.
31176         * config.make.in: Likewise.
31177         * Makeconfig: Likewise.
31178         * manual/install.texi: Likewise.
31180         In case anyone cares, the IA-64 architecture could move to ports.
31181         * sysdeps/ia64/*: Removed.
31182         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31183         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31185         [BZ #13555]
31186         * configure.in: Remove entries for unsupported architectures.
31188         [BZ #13533]
31189         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31190         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31191         routines.
31192         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31193         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31194         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31195         fall back to using wcrtomb.
31196         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31197         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31198         renaming.
31199         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31200         * wcsmbs/tst-c16c32-1.c: New file.
31202         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31203         local variable.
31205         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31207         * elf/tst-unique3.cc: Add explicit declaration of gets.
31208         * elf/tst-unique3lib.cc: Likewise.
31209         * elf/tst-unique3lib2.cc: Likewise.
31210         * elf/tst-unique4.cc: Likewise.
31212         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31214 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31216         [BZ #13566]
31217         * assert/assert.h (static_assert): Don't define for C++.
31218         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31219         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31221 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31223         * iconv/loop.c (single loop): Fix assertion in storing of
31224         remaining bytes.
31226         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31228 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31230         * posix/getconf.c: Update copyright year.
31231         * nss/getent.c: Likewise.
31232         * nss/makedb.c: Likewise.
31233         * iconv/iconvconfig.c: Likewise.
31234         * iconv/iconv_prog.c: Likewise.
31235         * elf/ldconfig.c: Likewise.
31236         * elf/pldd.c: Likewise.
31237         * elf/sotruss.ksh: Likewise.
31238         * catgets/gencat.c: Likewise.
31239         * csu/version.c: Likewise.
31240         * elf/ldd.bash.in: Likewise.
31241         * elf/sprof.c (print_version): Likewise.
31242         * locale/programs/locale.c: Likewise.
31243         * locale/programs/localedef.c: Likewise.
31244         * login/programs/pt_chown.c: Likewise.
31245         * nscd/nscd.c (print_version): Likewise.
31246         * debug/xtrace.sh: Likewise.
31247         * malloc/memusage.sh: Likewise.
31248         * malloc/mtrace.pl: Likewise.
31249         * debug/catchsegv.sh: Likewise.
31251 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31253         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31254         pure attribute.
31256 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31258         [BZ #13533]
31259         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31260         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31261         transformations.
31262         * iconv/gconv_int.h: Likewise.
31263         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31264         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31265         from libc for GLIBC_2.16.
31266         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31267         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31268         * wcsmbs/uchar.h: Really define mbstate_t.
31269         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31270         * wcsmbs/c16rtomb.c: New file.
31271         * wcsmbs/mbrtoc16.c: New file.
31272         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31273         for C/POSIX locale.
31274         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31275         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31277         * wcsmbs/wchar.h: Add missing __restrict.
31279 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31281         [BZ #13532]
31282         * time/Makefile (routines): Add timespec_get.
31283         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31284         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31285         timespec for ISO C11.
31286         * time/timespec_get.c: New file.
31287         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31288         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31290         [BZ #13531]
31291         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31292         * stdlib/stdlib.h: Declare aligned_alloc.
31293         * Versions.def: Add GLIBC_2.16 for libc.
31294         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31296         [BZ 13527]
31297         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31298         ISO C11.
31300         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31301         code.
31303         [BZ #13528]
31304         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31306         [BZ #13529]
31307         * assert/assert.h (static_assert): Define.
31309         * version.h: Update for 2.16 development version.
31311         [BZ #13526]
31312         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31313         _ISOC11_SOURCE.
31315         * version.h (RELEASE): Bump for 2.15 release.
31316         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31318         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31319         Patch by Marek Polacek <mpolacek@redhat.com>.
31321         * bits/byteswap.h: Protect long long constants with __extension__.
31322         * sysdeps/i386/bits/byteswap.h: Likewise.
31323         * sysdeps/ia64/bits/byteswap.h: Likewise.
31324         * sysdeps/s390/bits/byteswap.h: Likewise.
31325         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31327 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31329         [BZ #13540]
31330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31331         destination buffer.
31332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31334 2011-12-23  Marek Polacek  <polacek@redhat.com>
31336         * elf/dl-addr.c (determine_info): Add inline keyword.
31337         * elf/tst-auditmod4b.c (check_avx): Likewise.
31338         * elf/tst-auditmod6b.c (check_avx): Likewise.
31339         * elf/tst-auditmod6c.c (check_avx): Likewise.
31340         * elf/tst-auditmod7b.c (check_avx): Likewise.
31342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31344         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31345         !__SSE_MATH__.
31347 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31349         [BZ #13540]
31350         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31351         processing for last bytes.
31353 2011-08-06  Bruno Haible  <bruno@clisp.org>
31355         [BZ #13061]
31356         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31357         U+0385, not to U+1FEE.
31359         [BZ #13062]
31360         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31361         entry for U+00A5 U+0301.
31363 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31365         [BZ #13166]
31366         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31367         buffer for the output is too small.
31369         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31370         optimization.
31372         [BZ #13185]
31373         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31374         SSE flags if possible.
31376 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31378         [BZ #13540]
31379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31380         processing for last bytes.
31382 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31384         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31385         (syscall-list-default-options, syscall-list-default-condition)
31386         (syscall-list-includes): Define.
31387         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31388         list of ABIs and options and #if conditions for each ABI.  Do not
31389         handle common syscalls between ABIs specially.
31390         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31391         Remove.
31392         (syscall-list-variants, syscall-list-32bit-options)
31393         (syscall-list-32bit-condition, syscall-list-64bit-options)
31394         (syscall-list-64bit-condition): Define.
31395         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31396         (syscall-list-variants, syscall-list-32bit-options)
31397         (syscall-list-32bit-condition, syscall-list-64bit-options)
31398         (syscall-list-64bit-condition): Define.
31399         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31400         Remove.
31401         (syscall-list-variants, syscall-list-32bit-options)
31402         (syscall-list-32bit-condition, syscall-list-64bit-options)
31403         (syscall-list-64bit-condition): Define.
31404         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31405         Remove.
31406         (syscall-list-variants, syscall-list-32bit-options)
31407         (syscall-list-32bit-condition, syscall-list-64bit-options)
31408         (syscall-list-64bit-condition): Define.
31410 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31412         * locale/iso-639.def: Add brx entry.
31414         [BZ #13328]
31415         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31416         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31418         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31419         __feraiseexcept_renamed.
31421 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31423         [BZ #13538]
31424         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31425         EPOLLET with unsigned values.
31426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31429         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31430         to large cancellation.
31431         * math/s_cacoshf.c: Likewise.
31432         * math/s_cacoshl.c: Likewise.
31434 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31436         [BZ #13305]
31437         [BZ #12786]
31438         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31439         * math/s_cacoshf.c: Likewise.
31440         * math/s_cacoshl.c: Likewise.
31442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31444         [BZ #13439]
31445         * iconv/gconv.h: Define __GCONV_SWAP.
31446         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31447         * iconvdata/utf-16.c: Likewise.
31448         * iconvdata/utf-32.c: Likewise.
31450 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31452         [BZ #13524]
31453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31454         numerator after shifting it by one limb.
31456 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31459         under [__USE_EXTERN_INLINES].
31461 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31463         [BZ #13446]
31464         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31466 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31468         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31469         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31470         optimized code.
31471         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31473         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31474         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31475         for strncasecmp/strncasecmp_l compilation.
31476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31477         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31479 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31481         [BZ #13484]
31482         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31483         of __asm__.
31485 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31487         [BZ #13506]
31488         * time/tzfile.c (__tzfile_read): Check values from file header.
31490 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31492         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31493         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31494         * powerpc/powerpc32/dl-start.S: Likewise.
31495         * powerpc/powerpc32/elf/start.S: Likewise.
31496         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31497         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31498         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31499         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31500         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31501         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31502         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31503         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31504         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31505         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31506         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31507         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31508         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31509         * powerpc/powerpc32/memset.S: Likewise.
31510         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31511         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31512         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31513         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31514         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31515         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31516         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31517         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31518         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31519         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31520         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31521         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31522         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31524 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31526         * math/libm-test.inc: Added more nearbyint tests.
31527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31532 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31534         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31535         FD_CLOEXEC.
31537 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31539         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31540         Add wcscpy-ssse3 wcscpy-c.
31541         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31542         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31543         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31544         * sysdeps/x86_64/wcschr.S: New file.
31545         * sysdeps/x86_64/wcsrchr.S: New file.
31546         * string/test-strcmp.c: Remove checking of wcscmp function for
31547         wrong alignments.
31548         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31549         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31550         wcsrchr-sse2 wcsrchr-c.
31551         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31552         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31553         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31554         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31555         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31556         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31557         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31558         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31559         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31560         * wcsmbc/wcschr.c (WCSCHR): New macro.
31562 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31564         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31565         * wcsmbs/test-wcsrchr.c: New file.
31566         * string/test-strrchr.c: Add wcsrchr support.
31567         (WIDE): New macro.
31568         * wcsmbs/test-wcscpy.c: New file.
31569         * string/test-strcpy.c: Add wcscpy support.
31570         (WIDE): New macro.
31572 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31574         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31575         the inner loop.
31577 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31579         [BZ #13472]
31580         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31582 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31584         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31585         Minor optimizations.
31587         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31588         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31589         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31591 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31593         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31594         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31595         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31596         for gcc to avoid warnings.
31597         * inet/Makefile (tests): Add tst-checks.
31598         * inet/tst-checks.c: New file.
31600         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31601         warning.
31603         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31604         __wmemcmp_sse2.
31606         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31607         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31609         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31611 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31613         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31614         problem.
31616         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31618 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31620         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31621         conditional on GCC version.
31622         (__arch_compare_and_exchange_val_8_acq)
31623         (__arch_compare_and_exchange_val_16_acq)
31624         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31625         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31626         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31628 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31630         * sysdeps/sh/backtrace.c: New file.
31632 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31634         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31635         parenthesis.
31637 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31639         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31640         falling back to utime.
31642 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31644         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31645         expectations for float.
31647 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31649         * locale/weight.h (findidx): Add parameter len.
31650         * locale/weightwc.h (findidx): Likewise.
31651         * posix/fnmatch_loop.c (FCT): Adjust caller.
31652         * posix/regcomp.c (build_equiv_class): Likewise.
31653         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31654         * posix/regexec.c (check_node_accept_bytes): Likewise.
31655         * string/strcoll_l.c (STRCOLL): Likewise.
31656         * string/strxfrm_l.c (STRXFRM): Likewise.
31658 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31660         * Makefile.in: Remove CVSOPT handling.
31661         * configure.in: Remove use of AC_REVISION.
31662         * iconvdata/Makefile (distribute): No need to filter out CVS.
31663         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31664         handling.
31666 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31668         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31669         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31670         [USE_AS_STRNCASECMP_L]: Likewise.
31671         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31672         NO_TLS_DIRECT_SEG_REFS.
31673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31674         Fix argument offsets for non-PIC.
31675         [USE_AS_STRNCASECMP_L]: Likewise.
31676         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31677         NO_TLS_DIRECT_SEG_REFS.
31679 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31681         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31682         O_CLOEXEC.
31683         * locale/loadlocale.c (_nl_load_locale): Likewise.
31685 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31687         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31688         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31689         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31690         (SYSCALL_GETTIME): Set errno on error.
31692         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31693         count references to noai6ai_cached.
31695 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31697         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31699         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31700         FD_CLOEXEC for /proc/self/maps.
31702         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31703         FD_CLOEXEC for /proc/meminfo.
31705         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31706         gai.conf.
31708         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31709         FD_CLOEXEC for given file.
31711         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31713         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31714         FD_CLOEXEC for /etc/hosts.
31715         (_gethtent): Likewise.
31717         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31719         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31720         cancellation and set FD_CLOEXEC for /etc/netgroup.
31722         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31723         reading /etc/publickey.
31725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31726         allow cancellation when reading /etc/group.
31728         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31729         cancellation.
31730         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31732         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31733         when using data file.
31735         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31737         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31738         (write_nis_obj): Use "c" and "e" in fopen.
31740         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31742         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31744         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31746         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31748         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31749         locale.alias.
31751         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31753         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31755         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31757         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31758         file parsing and set FD_CLOEXEC.
31760 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31762         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31764 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31766         * malloc/arena.c (arena_get2): Don't call reused_arena when
31767         _int_new_arena failed.
31769 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31771         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31772         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31774         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31775         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31777         to compile strcasecmp and strncasecmp.
31778         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31779         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31783 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31785         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31786         locale-defines.sym to gen-as-const-headers.
31787         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31788         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31790         to compile strcasecmp and strncasecmp.
31791         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31792         strcasecmp_l and strncasecmp_l.
31793         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31794         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31795         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31796         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31797         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31798         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31799         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31800         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31801         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31802         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31803         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31805 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31807         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31808         result of SYSDEP_GETTIME_CPU to retval.
31809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31810         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31812         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31813         variable.
31815         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31816         mantissa words.
31817         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31820         from unused variable.
31822         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31823         DWARF definitions.
31824         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31825         for assembling.
31827         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31828         over namespaces.
31830         * sunrpc/rpc_prot.c (rejected): Fix case value.
31832         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31833         unsigned long long int to avoid warnings in shift.
31835         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31836         of use of trans.
31837         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31838         variable tmp.
31840         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31841         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31842         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31844         * nis/nis_table.c (nis_list): Use variable of correct type for
31845         result of __follow_path call.
31847 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31849         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31850         of math functions ceil, trunc, floor, round, and sqrt, when
31851         avaliable on the platform.
31852         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31853         name clash.
31854         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31855         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31856         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31858 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31860         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31863 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31865         * include/unistd.h: Fix __readlink return type.
31866         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31868 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31870         * stdlib/ucontext.h: Undo last change for makecontext.
31872 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31874         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31876         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31877         * setjmp/setjmp.h: Mark functions as non-leaf.
31878         * setjmp/bits/setjmp2.h: Likewise.
31879         * stdlib/ucontext.h: Likewise.
31881 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31883         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31884         (reused_arena): Don't check arena limit.
31885         (arena_get2): Atomically check arena limit.
31887 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31889         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31890         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31893         instructions.
31895 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31897         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31898         handler when locking.
31900         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31901         Fix size of allocated buffer.
31903 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31905         [BZ #10103]
31906         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31907         declarations for long double functions.
31908         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31910         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31912 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31914         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31915         installed.
31917         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31918         is disabled.
31920 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31922         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31924 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31926         * include/alloca.h (stackinfo_alloca_round): Define.
31927         (extend_alloca): Use it.
31928         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31929         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31930         here.
31932         * scripts/check-local-headers.sh: Ignore libaudit.h.
31934         * nscd/Makefile (extra-objs): Make recursively expanded.
31936 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31938         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31941         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31942         * posix/tst-rfc3484-2.c: Likewise.
31943         * posix/tst-rfc3484-3.c: Likewise.
31945         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31946         process_vm_writev.
31947         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31948         process_vm_writev.
31949         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31950         process_vm_writev from libc using GLIBC_2.15 version.
31952         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31954 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31956         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31957         stack usage.
31959 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31961         [BZ #13367]
31962         * nss/getent.c (initgroups_keys): Show error message in case no group
31963         names are given.
31965         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31966         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31967         __bump_nl_timestamp.
31968         * nscd/connections (nscd_init): When host database is served open
31969         netlink socket and request notification about configuration changes.
31970         (main_loop_poll): Track netlink file descriptor and bump timestamp
31971         in case data becomes available.
31972         (main_loop_epoll): Likewise.
31973         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31974         (database_pers_head): Add extra_data fileds.
31975         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31976         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31977         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31978         Adjust caller.
31979         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31980         in6ai data, call __free_in6ai.
31981         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31982         Add -DHAVE_NETLINK.
31983         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31984         interface information.  Reuse previous data if netlink timestamp
31985         is not changed.
31986         (__bump_nl_timestamp): New function.
31987         (__free_in6ai): New function.
31989 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31991         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31992         close_not_cancel_no_status here.
31993         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31995 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31997         [BZ #13276]
31998         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31999         return value.
32001         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32002         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32003         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32005 2011-07-03  Andreas Jaeger  <aj@suse.de>
32007         [BZ #10709]
32008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32009         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32010         * math/libm-test.inc (sin_test): Add test case.
32012 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32014         [BZ #13337]
32015         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32016         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32018         * elf/chroot_canon.c (chroot_canon): Cleanups.
32020         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32022         [BZ #13335]
32023         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32024         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32026         * string/test-strchr.c: Make usable for strchrnul testing.
32027         * string/test-strchrnul.c: New file.
32028         * string/Makefile (strop-tests): Add strchrnul.
32030         * po/it.po: Update from translation team.
32031         * po/es.po: Likewise.
32033 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32035         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32036         the three constants needed as parameters.  Drop the others.
32037         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32038         __m128i_strloadu_tolower.
32039         Create and initialize variable zero and use it in all the places
32040         where _mm_setzero_si128 was used.
32042         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32043         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32044         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32046         anymore.
32047         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32048         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32049         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32050         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32051         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32052         __mpranred, __mptan.
32053         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32054         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32055         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32056         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32057         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32058         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32059         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32060         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32061         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32063 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32065         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32066         redefine if SHARED.
32067         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32070         wide char related routines to wcsmbs subdir.
32072 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32074         [BZ #13344]
32075         * misc/sys/cdefs.h (__THROWNL): Define.
32076         * posix/unistd.h: Use __THREADNL instead of __THREAD
32077         for memory synchronization functions.
32079 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32081         [BZ #13349]
32082         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32083         doesn't exist.
32084         * manual/stdio.texi (Obstack Streams): Node removed.
32086 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32088         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32090         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32092         * math/math_private.h (math_force_eval): Allow non-addressable
32093         arguments.
32094         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32096 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32098         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32099         file is not needed.
32101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32102         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32103         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32104         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32105         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32106         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32107         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32108         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32109         Add AVX variants.
32110         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32111         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32112         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32113         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32114         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32115         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32116         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32117         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32118         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32119         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32120         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32121         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32124         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32125         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32126         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32127         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32128         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32130         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32131         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32133         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32134         place.  Use VEX encoding when compiling for AVX.
32136 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32138         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32139         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32141         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32143 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32145         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32146         useless if() expression.
32147         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32148         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32153         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32154         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32159         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32160         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32161         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32162         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32163         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32164         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32165         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32167         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32169 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32171         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32172         condition.
32173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32177         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32178         .text section.  Avoid duplicate constants.
32179         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32188         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32189         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32190         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32191         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32192         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32193         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32195         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32196         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32202         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32203         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32204         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32205         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32206         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32207         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32208         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32209         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32210         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32212         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32213         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32214         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32215         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32216         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32217         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32218         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32219         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32220         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32221         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32222         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32223         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32225 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32227         * sysdeps/x86_64/dla.h: Move to ...
32228         * sysdeps/x86_64/fpu/dla.h: ...here.
32229         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32230         situations.  Use __builtin_fma only for gcc 4.6 and up.
32232         * config.make.in: Add have-mfma4 entry.
32233         * configure.in: Substitute libc_cv_cc_fma4.
32234         * math/Makefile (dbl-only-routines): Add sincostab.
32235         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32236         Use __sincostab not sincos.
32237         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32238         name is a macro.
32239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32243         using __copysign.
32244         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32245         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32246         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32247         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32248         and __inv.
32249         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32250         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32251         __copysign.
32252         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32253         define aliases when function name is a macro.
32254         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32255         sysdeps/ieee754/dbl-64/sincos.tbl.
32256         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32257         fma4-enabled routines.
32258         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32259         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32260         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32261         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32262         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32263         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32265         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32266         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32267         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32268         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32269         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32270         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32271         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32272         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32273         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32274         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32275         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32276         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32277         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32278         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32279         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32280         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32281         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32284         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32285         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32286         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32287         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32289         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32290         rename.
32291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32300 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32302         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32304 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32308         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32309         prediction.
32310         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32312         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32313         Remove unused variable magic_bits.
32314         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32316         * string/strnlen.c: Define and use STRNLEN macro.
32317         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32318         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32320         * wcsmbs/wcslen.c: Define and use WCSLEN.
32321         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32322         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32323         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32324         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32325         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32326         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32327         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32329 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32332         strnlen-sse2-no-bsf.
32333         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32335         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32336         Add strnlen support.
32337         (USE_AS_STRNLEN): New macro.
32338         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32339         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32340         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32341         * sysdeps/x86_64/wcslen.S: New file.
32343 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32345         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32346         XMM-moves are used for copying on small sizes.
32348 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32350         * wcsmbs/Makefile (strop-tests): Add wcschr.
32351         * wcsmbs/test-wcschr.c: New file.
32352         * string/test-strchr.c: Update.
32353         Add wcschr support.
32354         (WIDE): New macro.
32356 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32358         * wcsmbs/Makefile (strop-tests): Add wcslen.
32359         * wcsmbs/test-wcslen.c: New file.
32360         * string/test-strlen.c: Update.
32361         Add wcslen support.
32362         (WIDE): New macro.
32364 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32366         * po/it.po: Update from translation team.
32368 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32370         * sysdeps/x86_64/wcscmp.S: Update.
32371         Fix wrong comparison semantics.
32372         wcscmp shall use signed comparison not unsigned.
32373         Don't use substraction to avoid overflow bug.
32374         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32375         * wcsmbc/wcscmp.c: Likewise.
32376         * string/test-strcmp.c: Likewise.
32377         Add new tests to check cases with negative values.
32379 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32381         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32382         * sysdeps/x86_64/dla.h: ...here.  New file.
32383         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32388         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32393 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32396         __ynl_finite aliases.
32398 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32402         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32403         define DLA_FMA.
32404         [DLA_FMA] (EMULV): Use DLA_FMA.
32405         [DLA_FMA] (MUL12): Use EMULV.
32406         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32407         that are not needed.
32408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32412         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32413         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32416 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32418         * math/s_nan.c: Undef __nan.
32419         * math/s_nanf.c: Undef __nanf.
32420         * math/s_nanl.c: Undef __nanl.
32421         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32422         "math_private.h".
32424 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32426         * math/s_catan.c: Add branch predictions.
32427         * math/s_catanf.c: Likewise.
32428         * math/s_catanh.c: Likewise.
32429         * math/s_catanhf.c: Likewise.
32430         * math/s_catanhl.c: Likewise.
32431         * math/s_catanl.c: Likewise.
32432         * math/s_cexp.c: Likewise.
32433         * math/s_cexpf.c: Likewise.
32434         * math/s_cexpl.c: Likewise.
32435         * math/s_clog.c: Likewise.
32436         * math/s_clog10.c: Likewise.
32437         * math/s_clog10f.c: Likewise.
32438         * math/s_clog10l.c: Likewise.
32439         * math/s_clogf.c: Likewise.
32440         * math/s_clogl.c: Likewise.
32441         * math/s_csqrt.c: Likewise.
32442         * math/s_csqrtf.c: Likewise.
32443         * math/s_csqrtl.c: Likewise.
32444         * math/s_ctanf.c: Likewise.
32445         * math/s_ctanh.c: Likewise.
32446         * math/s_ctanhf.c: Likewise.
32447         * math/s_ctanhl.c: Likewise.
32448         * math/s_ctanl.c: Likewise.
32450         * math/math_private.h: Define __nan, __nanf, __nanl.
32451         * math/s_cacosh.c: Include <math_private.h>.
32452         * math/s_cacoshl.c: Likewise.
32453         * math/s_casinh.c: Likewise.
32454         * math/s_casinhf.c: Likewise.
32455         * math/s_casinhl.c: Likewise.
32456         * math/s_ccos.c: Rely entire on ccosh.
32457         * math/s_ccosf.c: Rely entire on ccoshf.
32458         * math/s_ccosl.c: Rely entirely on ccoshl.
32459         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32460         Remove tests for FE_INVALID.
32461         * math/s_ccoshf.c: Likewise.
32462         * math/s_ccoshl.c: Likewise.
32463         * math/s_csin.c: Likewise.
32464         * math/s_csinf.c: Likewise.
32465         * math/s_csinh.c Likewise.
32466         * math/s_csinhf.c: Likewise.
32467         * math/s_csinhl.c: Likewise.
32468         * math/s_csinl.c: Likewise.
32469         * math/s_ctan.c: Likewise.
32470         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32471         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32472         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32474 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32477         compilation problems.
32479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32480         __builtin_expect.
32482 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32484         * sysdeps/i386/configure.in: Test for -mfma4 option.
32485         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32486         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32487         COMMON_CPUID_INDEX_80000001.
32488         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32489         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32490         use it if FMA3 is not supported.
32491         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32493         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32496 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32498         [BZ #12892]
32499         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32500         it would create a cycle with a link time dependency.
32502 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32504         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32505         instruction.
32506         * string/Makefile (strop-tests): Add rawmemchr.
32507         * string/test-rawmemchr.c: New file.
32509         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32510         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32511         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32512         when compiling str{,n}casecmp and when AVX is available.  Hook up
32513         new optimized code in initializers.
32515 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32517         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32518         __feraiseexcept instead of feraiseexcept.
32520 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32522         * math/math_private.h: Define defaults for libc_fetestexcept and
32523         libc_feupdateenv.
32524         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32525         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32526         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32527         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32528         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32529         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32530         libc_fetestexcept and libc_feupdateenv.
32532         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32533         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32534         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32535         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32536         libc_feholdexcept_setround.
32538         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32539         Add s_nearbyint-c and s_nearbyintf-c.
32540         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32541         nearbyintf inlines.
32542         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32543         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32544         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32545         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32547         * math/math_private.h: Define defaults for libc_fegetround,
32548         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32549         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32550         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32551         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32552         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32553         standard functions.
32554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32555         Remove comments and hacks for old compiler versions.
32556         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32557         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32558         libc_feholdexceptl.
32560 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32562         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32563         (__feraiseexcept_renamed): Add __NTH.
32564         (feraiseexcept): Add __NTH.  Rename local variables to fix
32565         namespace violations.
32567 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32569         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32571         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32573         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32574         recently added interfaces.
32575         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32577         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32578         about macro parameter expansion.
32580         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32581         __NO_MATH_INLINES is defined.  Cleanups.
32583         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32584         and __floorf is target has SSE4.1.
32585         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32586         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32587         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32588         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32590         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32591         name.
32592         (floorf): Likewise.
32594         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32596 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32598         * misc/sys/cdefs.h: Fix last change.
32600         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32601         database lookup.
32603 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32605         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32607         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32613         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32615         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32616         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32617         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32618         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32619         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32620         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32621         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32622         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32623         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32624         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32625         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32626         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32627         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32628         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32630         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32631         ceil, ceilf, floor, floorf.
32633         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32634         Perform IRELATIVE relocations last.
32636         * elf/do-rel.h: Add another parameter nrelative, replacing the
32637         local variable with the same name.  Change name of the function
32638         to end in Rel or Rela (uppercase).
32639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32640         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32641         elf_dynamic_do_##reloc function.
32643 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32645         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32646         is sufficient, at least on modern CPUs.
32648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32650         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32653         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32654         __expl_finite.
32655         * math/bits/math-finite.h: Add entries for exp.
32656         * math/e_expl.c: Add __*_finite alias.
32657         * sysdeps/i386/fpu/e_exp.S: Likewise.
32658         * sysdeps/i386/fpu/e_expf.S: Likewise.
32659         * sysdeps/i386/fpu/e_expl.c: Likewise.
32660         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32661         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32662         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32663         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32664         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32665         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32666         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32668         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32669         is sufficient, at least on modern CPUs.
32671         * ctype/ctype-info.c (__ctype_init): Define.
32672         * include/ctype.h (__ctype_init): Declare.
32673         (__ctype_b_loc): The variable is always initialized.
32674         (__ctype_toupper_loc): Likewise.
32675         (__ctype_tolower_loc): Likewise.
32676         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32677         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32679 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32681         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32683         * configure.in: Also look in $cxxmachine/include for C++ system
32684         headers.
32686 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32688         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32689         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32690         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32691         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32693         (USE_AS_WMEMCMP): New macro.
32694         Fixing indents.
32695         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32696         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32697         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32698         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32700         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32701         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32702         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32703         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32704         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32706         (USE_AS_WMEMCMP): New macro.
32707         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32708         * sysdeps/string/test-memcmp.c: Update.
32709         Fix simple_wmemcmp.
32710         Add new tests.
32711         * wcsmbs/wmemcmp.c: Update.
32712         (WMEMCMP): New macro.
32713         Fix overflow bug.
32715 2011-10-12  Andreas Jaeger  <aj@suse.de>
32717         [BZ #13268]
32718         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32720 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32722         * libio/iofwide.c (do_length): Avoid warning.
32724         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32726 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32728         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32730         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32731         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32732         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32733         * sysdeps/i386/i686/fpu/e_log.S: New file.
32734         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32735         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32737         * ctype/ctype.h: Add support for inlined isXXX functions when
32738         compiling C++ code.
32740 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32742         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32744         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32746 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32748         [BZ #13291]
32749         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32751 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32753         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32754         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32755         feraiseexcept.
32757         * sysdeps/x86_64/memrchr.S: Check for zero size.
32759         * string/stratcliff.c: Add memrchr tests.
32761 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32764         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32765         rawmemchr-sse2 rawmemchr-sse2-bsf.
32766         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32767         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32768         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32769         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32770         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32771         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32772         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32773         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32774         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32775         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32776         * string/memrchr.c (MEMRCHR): New macro.
32778 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32780         Add integration with gcc's -ffinite-math-only and optimize wrapper
32781         functions in libm.
32782         * Versions.def: Define GLIBC_2.15 version for libm.
32783         * math/Makefile (headers): Add bits/math-finite.h.
32784         * math/bits/math-finite.h: New file.
32785         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32786         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32787         * math/e_acoshl.c: Add __*_finite alias.
32788         * math/e_acosl.c: Likewise.
32789         * math/e_asinl.c: Likewise.
32790         * math/e_atan2l.c: Likewise.
32791         * math/e_atanhl.c: Likewise.
32792         * math/e_coshl.c: Likewise.
32793         * math/e_exp10.c: Likewise.
32794         * math/e_exp10f.c: Likewise.
32795         * math/e_exp10l.c: Likewise.
32796         * math/e_exp2l.c: Likewise.
32797         * math/e_fmodl.c: Likewise.
32798         * math/e_gammal_r.c: Likewise.
32799         * math/e_hypotl.c: Likewise.
32800         * math/e_j0l.c: Likewise.
32801         * math/e_j1l.c: Likewise.
32802         * math/e_jnl.c: Likewise.
32803         * math/e_lgammal_r.c: Likewise.
32804         * math/e_log10l.c: Likewise.
32805         * math/e_log2l.c: Likewise.
32806         * math/e_logl.c: Likewise.
32807         * math/e_powl.c: Likewise.
32808         * math/e_sinhl.c: Likewise.
32809         * math/e_sqrtl.c: Likewise.
32810         * math/e_scalb.c: Completely rewritten and optimized.
32811         * math/e_scalbf.c: Likewise.
32812         * math/e_scalbl.c: Likewise.
32813         * math/w_acos.c: Likewise.
32814         * math/w_acosf.c: Likewise.
32815         * math/w_acosl.c: Likewise.
32816         * math/w_acosh.c: Likewise.
32817         * math/w_acoshf.c: Likewise.
32818         * math/w_acoshl.c: Likewise.
32819         * math/w_asin.c: Likewise.
32820         * math/w_asinf.c: Likewise.
32821         * math/w_asinl.c: Likewise.
32822         * math/w_atan2.c: Likewise.
32823         * math/w_atan2f.c: Likewise.
32824         * math/w_atan2l.c: Likewise.
32825         * math/w_atanh.c: Likewise.
32826         * math/w_atanhf.c: Likewise.
32827         * math/w_atanhl.c: Likewise.
32828         * math/w_exp10.c: Likewise.
32829         * math/w_exp10f.c: Likewise.
32830         * math/w_exp10l.c: Likewise.
32831         * math/w_fmod.c: Likewise.
32832         * math/w_fmodf.c: Likewise.
32833         * math/w_fmodl.c: Likewise.
32834         * math/w_j0.c: Likewise.
32835         * math/w_j0f.c: Likewise.
32836         * math/w_j0l.c: Likewise.
32837         * math/w_j1.c: Likewise.
32838         * math/w_j1f.c: Likewise.
32839         * math/w_j1l.c: Likewise.
32840         * math/w_jn.c: Likewise.
32841         * math/w_jnf.c: Likewise.
32842         * math/w_log.c: Likewise.
32843         * math/w_logf.c: Likewise.
32844         * math/w_logl.c: Likewise.
32845         * math/w_log10.c: Likewise.
32846         * math/w_log10f.c: Likewise.
32847         * math/w_log10l.c: Likewise.
32848         * math/w_log2.c: Likewise.
32849         * math/w_log2f.c: Likewise.
32850         * math/w_log2l.c: Likewise.
32851         * math/w_pow.c: Likewise.
32852         * math/w_powf.c: Likewise.
32853         * math/w_powl.c: Likewise.
32854         * math/w_remainder.c: Likewise.
32855         * math/w_remainderf.c: Likewise.
32856         * math/w_remainderl.c: Likewise.
32857         * math/w_scalb.c: Likewise.
32858         * math/w_scalbf.c: Likewise.
32859         * math/w_scalbl.c: Likewise.
32860         * math/w_sqrt.c: Likewise.
32861         * math/w_sqrtf.c: Likewise.
32862         * math/w_sqrtl.c: Likewise.
32863         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32864         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32865         used.
32866         * math/math_private.h: Declare __kernel_standard_f.
32867         * math/w_cosh.c: Remove cruft and optimize a bit.
32868         * math/w_coshf.c: Likewise.
32869         * math/w_coshl.c: Likewise.
32870         * math/w_exp2.c: Likewise.
32871         * math/w_exp2f.c: Likewise.
32872         * math/w_exp2l.c: Likewise.
32873         * math/w_hypot.c: Likewise.
32874         * math/w_hypotf.c: Likewise.
32875         * math/w_hypotl.c: Likewise.
32876         * math/w_lgamma.c: Likewise.
32877         * math/w_lgamma_r.c: Likewise.
32878         * math/w_lgammaf.c: Likewise.
32879         * math/w_lgammaf_r.c: Likewise.
32880         * math/w_lgammal.c: Likewise.
32881         * math/w_lgammal_r.c: Likewise.
32882         * math/w_sinh.c: Likewise.
32883         * math/w_sinhf.c: Likewise.
32884         * math/w_sinhl.c: Likewise.
32885         * math/w_tgamma.c: Likewise.
32886         * math/w_tgammaf.c: Likewise.
32887         * math/w_tgammal.c: Likewise.
32888         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32889         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32890         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32891         Minor optimizations.  Pretty printing.  Remove cruft.
32892         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32893         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32894         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32895         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32896         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32897         * sysdeps/i386/fpu/e_asin.S: Likewise.
32898         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32899         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32900         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32901         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32902         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32903         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32904         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32905         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32906         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32907         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32908         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32909         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32910         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32911         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32912         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32913         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32914         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32915         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32916         * sysdeps/i386/fpu/e_log.S: Likewise.
32917         * sysdeps/i386/fpu/e_log10.S: Likewise.
32918         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32919         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32920         * sysdeps/i386/fpu/e_log2.S: Likewise.
32921         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32923         * sysdeps/i386/fpu/e_logf.S: Likewise.
32924         * sysdeps/i386/fpu/e_logl.S: Likewise.
32925         * sysdeps/i386/fpu/e_pow.S: Likewise.
32926         * sysdeps/i386/fpu/e_powf.S: Likewise.
32927         * sysdeps/i386/fpu/e_powl.S: Likewise.
32928         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32929         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32930         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32931         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32932         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32933         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32934         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32935         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32936         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32937         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32938         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32940         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32941         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32942         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32943         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32944         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32945         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32946         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32947         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32948         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32950         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32951         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32953         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32954         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32957         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32958         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32961         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32962         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32964         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32965         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32966         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32968         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32971         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32972         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32973         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32974         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32975         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32976         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32977         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32978         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32979         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32980         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32984         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32987         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32988         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32989         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32992         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32993         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33016         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33017         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33020         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33022         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33023         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33025         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33028         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33030         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33031         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33032         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33033         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33034         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33035         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33036         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33037         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33038         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33039         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33040         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33041         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33042         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33043         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33044         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33045         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33047         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33048         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33049         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33050         (__isnanf): Likewise.
33051         (__isinf_ns): Likewise.
33052         (__isinf_nsf): Likewise.
33053         (__finite): Likewise.
33054         (__finitef): Likewise.
33055         (__ieee754_sqrt): Define as macro.
33056         (__ieee754_sqrtf): Define as macro.
33057         (__ieee754_sqrtl): Define as macro.
33058         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33059         inlined copy.
33060         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33061         __FINITE_MATH_ONLY__ consistent.
33062         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33064 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33066         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33067         of rawmemchr.
33069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33071 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33073         * po/ja.po: Update from translation team.
33075 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33077         * locale/programs/locarchive.c (prepare_address_space): New function.
33078         (create_archive, enlarge_archive, open_archive): Use it.
33080         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33081         inside [SHARED], where it is used.
33083         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33085         * nss/getent.c (netgroup_keys): Remove unused variable.
33086         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33088 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33090         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33092         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33093         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33094         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33095         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33096         * math/Makefile (libm-calls): Add s_isinf_ns.
33097         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33098         * math/multc3.c: Likewise.
33099         * math/s_casin.c: Likewise.
33100         * math/s_casinf.c: Likewise.
33101         * math/s_casinl.c: Likewise.
33102         * math/s_ccos.c: Likewise.
33103         * math/s_ccosf.c: Likewise.
33104         * math/s_ccosl.c: Likewise.
33105         * math/s_ctan.c: Likewise.
33106         * math/s_ctanf.c: Likewise.
33107         * math/s_ctanh.c: Likewise.
33108         * math/s_ctanhf.c: Likewise.
33109         * math/s_ctanhl.c: Likewise.
33110         * math/s_ctanl.c: Likewise.
33111         * math/w_fmod.c: Likewise.
33112         * math/w_fmodf.c: Likewise.
33113         * math/w_fmodl.c: Likewise.
33114         * math/w_remainder.c: Likewise.
33115         * math/w_remainderf.c: Likewise.
33116         * math/w_remainderl.c: Likewise.
33117         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33118         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33121         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33122         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33123         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33124         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33126         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33127         of the number.
33128         * stdio-common/printf_fphex.c: Likewise.
33129         * stdio-common/printf_size.c: Likewise.
33131         * math/e_exp10.c: Include math_private.h using <...> not "...".
33132         * math/e_exp10f.c: Likewise.
33133         * math/e_exp10l.c: Likewise.
33134         * math/e_exp2l.c: Likewise.
33135         * math/e_j0l.c: Likewise.
33136         * math/e_j1l.c: Likewise.
33137         * math/e_jnl.c: Likewise.
33138         * math/e_lgammal_r.c: Likewise.
33139         * math/e_rem_pio2l.c: Likewise.
33140         * math/e_scalb.c: Likewise.
33141         * math/e_scalbf.c: Likewise.
33142         * math/e_scalbl.c: Likewise.
33143         * math/k_cosl.c: Likewise.
33144         * math/k_sinl.c: Likewise.
33145         * math/k_tanl.c: Likewise.
33146         * math/s_cacoshf.c: Likewise.
33147         * math/s_catan.c: Likewise.
33148         * math/s_catanf.c: Likewise.
33149         * math/s_catanh.c: Likewise.
33150         * math/s_catanhf.c: Likewise.
33151         * math/s_catanhl.c: Likewise.
33152         * math/s_catanl.c: Likewise.
33153         * math/s_ccosh.c: Likewise.
33154         * math/s_ccoshf.c: Likewise.
33155         * math/s_ccoshl.c: Likewise.
33156         * math/s_cexp.c: Likewise.
33157         * math/s_cexpf.c: Likewise.
33158         * math/s_cexpl.c: Likewise.
33159         * math/s_clog.c: Likewise.
33160         * math/s_clog10.c: Likewise.
33161         * math/s_clog10f.c: Likewise.
33162         * math/s_clog10l.c: Likewise.
33163         * math/s_clogf.c: Likewise.
33164         * math/s_clogl.c: Likewise.
33165         * math/s_csin.c: Likewise.
33166         * math/s_csinf.c: Likewise.
33167         * math/s_csinh.c: Likewise.
33168         * math/s_csinhf.c: Likewise.
33169         * math/s_csinhl.c: Likewise.
33170         * math/s_csinl.c: Likewise.
33171         * math/s_csqrt.c: Likewise.
33172         * math/s_csqrtf.c: Likewise.
33173         * math/s_csqrtl.c: Likewise.
33174         * math/s_ctan.c: Likewise.
33175         * math/s_ctanf.c: Likewise.
33176         * math/s_ctanh.c: Likewise.
33177         * math/s_ctanhf.c: Likewise.
33178         * math/s_ctanhl.c: Likewise.
33179         * math/s_ctanl.c: Likewise.
33180         * math/s_ldexp.c: Likewise.
33181         * math/s_ldexpf.c: Likewise.
33182         * math/s_ldexpl.c: Likewise.
33183         * math/s_significand.c: Likewise.
33184         * math/s_significandf.c: Likewise.
33185         * math/s_significandl.c: Likewise.
33186         * math/w_acos.c: Likewise.
33187         * math/w_acosf.c: Likewise.
33188         * math/w_acosh.c: Likewise.
33189         * math/w_acoshf.c: Likewise.
33190         * math/w_acoshl.c: Likewise.
33191         * math/w_acosl.c: Likewise.
33192         * math/w_asin.c: Likewise.
33193         * math/w_asinf.c: Likewise.
33194         * math/w_asinl.c: Likewise.
33195         * math/w_atan2.c: Likewise.
33196         * math/w_atan2f.c: Likewise.
33197         * math/w_atan2l.c: Likewise.
33198         * math/w_atanh.c: Likewise.
33199         * math/w_atanhf.c: Likewise.
33200         * math/w_atanhl.c: Likewise.
33201         * math/w_cosh.c: Likewise.
33202         * math/w_coshf.c: Likewise.
33203         * math/w_coshl.c: Likewise.
33204         * math/w_dremf.c: Likewise.
33205         * math/w_exp10.c: Likewise.
33206         * math/w_exp10f.c: Likewise.
33207         * math/w_exp10l.c: Likewise.
33208         * math/w_exp2.c: Likewise.
33209         * math/w_exp2f.c: Likewise.
33210         * math/w_fmod.c: Likewise.
33211         * math/w_fmodf.c: Likewise.
33212         * math/w_fmodl.c: Likewise.
33213         * math/w_hypot.c: Likewise.
33214         * math/w_hypotf.c: Likewise.
33215         * math/w_hypotl.c: Likewise.
33216         * math/w_j0.c: Likewise.
33217         * math/w_j0f.c: Likewise.
33218         * math/w_j0l.c: Likewise.
33219         * math/w_j1.c: Likewise.
33220         * math/w_j1f.c: Likewise.
33221         * math/w_j1l.c: Likewise.
33222         * math/w_jn.c: Likewise.
33223         * math/w_jnf.c: Likewise.
33224         * math/w_jnl.c: Likewise.
33225         * math/w_lgamma.c: Likewise.
33226         * math/w_lgamma_r.c: Likewise.
33227         * math/w_lgammaf.c: Likewise.
33228         * math/w_lgammaf_r.c: Likewise.
33229         * math/w_lgammal.c: Likewise.
33230         * math/w_lgammal_r.c: Likewise.
33231         * math/w_log.c: Likewise.
33232         * math/w_log10.c: Likewise.
33233         * math/w_log10f.c: Likewise.
33234         * math/w_log10l.c: Likewise.
33235         * math/w_log2.c: Likewise.
33236         * math/w_log2f.c: Likewise.
33237         * math/w_log2l.c: Likewise.
33238         * math/w_logf.c: Likewise.
33239         * math/w_logl.c: Likewise.
33240         * math/w_pow.c: Likewise.
33241         * math/w_powf.c: Likewise.
33242         * math/w_powl.c: Likewise.
33243         * math/w_remainder.c: Likewise.
33244         * math/w_remainderf.c: Likewise.
33245         * math/w_remainderl.c: Likewise.
33246         * math/w_scalb.c: Likewise.
33247         * math/w_scalbf.c: Likewise.
33248         * math/w_scalbl.c: Likewise.
33249         * math/w_sinh.c: Likewise.
33250         * math/w_sinhf.c: Likewise.
33251         * math/w_sinhl.c: Likewise.
33252         * math/w_sqrt.c: Likewise.
33253         * math/w_sqrtf.c: Likewise.
33254         * math/w_sqrtl.c: Likewise.
33255         * math/w_tgamma.c: Likewise.
33256         * math/w_tgammaf.c: Likewise.
33257         * math/w_tgammal.c: Likewise.
33259         * po/ja.po: Update from translation team.
33261 2011-09-29  Andreas Jaeger  <aj@suse.de>
33263         [BZ #13179]
33264         * sunrpc/netname.c (netname2host): Fix logic.
33266         [BZ #6779]
33267         [BZ #6783]
33268         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33269         correctly.
33270         * math/w_remainder.c (__remainder): Likewise.
33271         * math/w_remainderf.c (__remainderf): Likewise.
33272         * math/libm-test.inc (remainder_test): Add test cases.
33274 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33276         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33277         sdiv_qrnnd.
33279 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33281         * string/test-memcmp.c: Avoid unncessary #defines.
33282         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33284 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33286         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33287         Use new sse2 version for core i3 - i7 as it's faster
33288         than sse42 version.
33289         (bit_Prefer_PMINUB_for_stringop): New.
33290         * sysdeps/x86_64/rawmemchr.S: Update.
33291         Replace with faster SSE2 version.
33292         * sysdeps/x86_64/memrchr.S: New file.
33293         * sysdeps/x86_64/memchr.S: Update.
33294         Replace with faster SSE2 version.
33296 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33298         * elf/dl-load.c (lose): Add cast to avoid warning.
33300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33302         * po/ca.po: Update from translation team.
33304         * inet/getnetgrent_r.c: Hook up nscd.
33305         * nscd/Makefile (routines): Add nscd_netgroup.
33306         (nscd-modules): Add netgroupcache.
33307         (CFLAGS-netgroupcache.c): Define.
33308         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33309         (cache_search): Add const to second parameter.
33310         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33311         INNETGR.
33312         (dbs): Add netgrdb entry.
33313         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33314         (verify_persistent_db): Handle netgrdb.
33315         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33316         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33317         GETFDNETGR.
33318         (netgroup_response_header): Define.
33319         (innetgroup_response_header): Define.
33320         (datahead): Add netgroup_response_header and innetgroup_response_header
33321         elements.
33322         * nscd/nscd.conf: Add entries for netgroup cache.
33323         * nscd/nscd.h (dbtype): Add netgrdb.
33324         (_PATH_NSCD_NETGROUP_DB): Define.
33325         (netgroup_iov_disabled): Declare.
33326         (xmalloc, xcalloc, xrealloc): Move declarations here.
33327         (cache_search): Adjust prototype.
33328         Add netgroup-related prototypes.
33329         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33330         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33331         (__nscd_innetgr): Declare.
33332         * nscd/selinux.c (perms): Use access_vector_t as element type and
33333         add netgroup-related initializers.
33334         * nscd/netgroupcache.c: New file.
33335         * nscd/nscd_netgroup.c: New file.
33336         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33337         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33338         For four parameters use innetgr.
33339         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33340         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33341         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33342         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33344         * nscd/connections.c (register_traced_file): Don't register file
33345         for disabled databases.
33347 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33349         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33351         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33352         from tree and freeing node.
33354 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33356         * nss/nsswitch.c (__nss_database_lookup): Handle
33357         nss_parse_service_list out of memory case.
33359 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33361         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33362         out of memory case.
33364 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33366         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33367         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33368         pass it down.
33369         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33370         elf_machine_rela, elf_machine_lazy_rel.
33371         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33372         (ELF_DYNAMIC_DO_REL): Likewise.
33373         (ELF_DYNAMIC_DO_RELA): Likewise.
33374         (ELF_DYNAMIC_RELOCATE): Likewise.
33375         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33376         to ELF_DYNAMIC_DO_REL.
33377         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33378         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33379         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33380         elf_machine_rela.
33381         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33382         skip_ifunc, don't call ifunc function if non-zero.
33383         (elf_machine_rela): Likewise.
33384         (elf_machine_lazy_rel): Likewise.
33385         (elf_machine_lazy_rela): Likewise.
33386         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33387         (elf_machine_lazy_rel): Likewise.
33388         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33389         Likewise.
33390         (elf_machine_lazy_rel): Likewise.
33391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33392         Likewise.
33393         (elf_machine_lazy_rel): Likewise.
33394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33395         (elf_machine_lazy_rel): Likewise.
33396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33397         (elf_machine_lazy_rel): Likewise.
33398         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33399         (elf_machine_lazy_rel): Likewise.
33400         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33401         (elf_machine_lazy_rel): Likewise.
33402         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33403         (elf_machine_lazy_rel): Likewise.
33404         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33405         (elf_machine_lazy_rel): Likewise.
33407 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33409         * nss/nss_files/files-init.c (_nss_files_init): Use static
33410         initialization for all the *_traced_file variables.
33412 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33416 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33418         [BZ #13226]
33419         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33421 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33424         Reread the line before reparsing it.
33426 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33428         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33430 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33431             Maxim Kuvyrkov  <maxim@codesourcery.com>
33432             Joseph Myers  <joseph@codesourcery.com>
33434         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33435         if needed for __stack_chk_guard.
33437 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33439         * sysdeps/posix/spawni.c (script_execute): Always define it.
33440         It will be optimized away if unused.
33441         (maybe_script_execute): New function.
33442         (__spawni): Call it.
33444         * Makerules: Don't include tls.make.
33445         (config-tls): Always set to thread.
33446         * tls.make.c: File removed.
33448 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33450         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33451         * config.make.in (CPPFLAGS-config): New substituted variable.
33453 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33457         [BZ #13192]
33458         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33459         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33461 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33463         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33464         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33466         (CALL_FAIL): Likewise.
33467         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33468         (CALL_FAIL): Macro removed.
33469         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33471 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33473         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33474         for __FINITE_MATH_ONLY__ == 1.
33476 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33478         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33479         __ieee754_sqrt instead of sqrt.
33480         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33481         __ieee754_sqrtf instead of sqrtf.
33482         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33483         __floorf instead of floorf.
33484         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33485         __floorf, __truncf instead of floorf, truncf.
33487 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33489         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33491         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33492         __extern_always_inline.
33493         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33494         32-bit.
33496 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33498         * elf/rtld.c (dl_main): Also relocate in dependency order when
33499         doing symbol dependency testing.
33501 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33504         Always define `refsym'.
33506 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33508         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33509         (__FD_ELT): Renamed from __FDELT.
33510         * misc/bits/select2.h (__FD_ELT): Likewise.
33511         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33512         __FD_MASK instead of __FDELT, __FDMASK.
33513         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33514         Likewise.
33515         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33516         Likewise.
33518         * elf/Makefile (gen-ldd): Fix pattern.
33520         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33521         (init_tls): Likewise.
33523 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33527 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33529         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33530         `struct cmsghdr *' instead of `void *'.
33531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33532         Likewise.
33534 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33536         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33537         if non-absolute.
33538         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33539         ldd_rewrite_script.
33541 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33543         * configure.in: Remove --with-tls option.
33544         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33545         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33546         out in case it is missing.
33547         * sysdeps/ia64/elf/configure.in: Likewise.
33548         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33549         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33550         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33551         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33552         * sysdeps/sh/elf/configure.in: Likewise.
33553         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33554         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33555         * sysdeps/x86_64/elf/configure.in: Likewise.
33556         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33557         * sysdeps/mach/hurd/tls.h: Likewise.
33559         [BZ #13067]
33560         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33562         [BZ #13090]
33563         * configure.in: Fix use of AC_INIT.
33565         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33567 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33569         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33570         __set_errno.
33571         * malloc/hooks.c: Likewise.
33573         [BZ #11929]
33574         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33575         variables statically.
33576         (narenas): Initialize.
33577         (list_lock): Initialize.
33578         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33579         initializtion of main_arena and list_lock.  Small cleanups.
33580         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33581         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33582         Add initializers to main_arena and mp_.
33583         (malloc_state): Remove pagesize member.  Change all users to use
33584         GLRO(dl_pagesize).
33586         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33587         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33588         is always initialized.
33590         * malloc/malloc.c: Removed unused configurations and dead code.
33591         * malloc/arena.c: Likewise.
33592         * malloc/hooks.c: Likewise.
33593         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33595         * include/tls.h: Removed.  USE___THREAD must always be defined.
33596         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33597         * elf/dl-libc.c: Likewise.
33598         * elf/dl-tsd.c: Likewise.
33599         * include/errno.h: Likewise.
33600         * include/netdb.h: Likewise.
33601         * include/resolv.h: Likewise.
33602         * inet/herrno-loc.c: Likewise.
33603         * inet/herrno.c: Likewise.
33604         * malloc/arena.c: Likewise.
33605         * malloc/hooks.c: Likewise.
33606         * malloc/malloc.c: Likewise.
33607         * resolv/res-state.c: Likewise.
33608         * resolv/res_libc.c: Likewise.
33609         * sysdeps/i386/dl-machine.h: Likewise.
33610         * sysdeps/ia64/dl-machine.h: Likewise.
33611         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33612         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33613         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33614         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33615         * sysdeps/sh/dl-machine.h: Likewise.
33616         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33617         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33618         * sysdeps/unix/i386/sysdep.S: Likewise.
33619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33620         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33625         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33629         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33630         * sysdeps/x86_64/dl-machine.h: Likewise.
33631         * tls.make.c: Likewise.
33633         * configure.in: Remove --with-__thread option.  Make tests for
33634         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33635         tls_model attribute fail if no support is available.  Remove
33636         USE_IN_LIBIO.
33637         * Makeconfig: Adjust for dropped configure option.  All features are
33638         now mandatory.
33639         * Makerules: Likewise.
33640         * Versions.def: Likewise.
33641         * argp/argp-fmtstream.c: Likewise.
33642         * argp/argp-fmtstream.h: Likewise.
33643         * argp/argp-help.c: Likewise.
33644         * assert/assert.c: Likewise.
33645         * config.h.in: Likewise.
33646         * config.make.in: Likewise.
33647         * configure: Likewise.
33648         * configure.in: Likewise.
33649         * csu/Versions: Likewise.
33650         * csu/init.c: Likewise.
33651         * elf/tst-audit2.c: Likewise.
33652         * elf/tst-tls10.c: Likewise.
33653         * elf/tst-tls10.h: Likewise.
33654         * elf/tst-tls11.c: Likewise.
33655         * elf/tst-tls12.c: Likewise.
33656         * elf/tst-tls14.c: Likewise.
33657         * elf/tst-tlsmod11.c: Likewise.
33658         * elf/tst-tlsmod12.c: Likewise.
33659         * elf/tst-tlsmod13.c: Likewise.
33660         * elf/tst-tlsmod13a.c: Likewise.
33661         * elf/tst-tlsmod14a.c: Likewise.
33662         * elf/tst-tlsmod15b.c: Likewise.
33663         * elf/tst-tlsmod16a.c: Likewise.
33664         * elf/tst-tlsmod16b.c: Likewise.
33665         * elf/tst-tlsmod7.c: Likewise.
33666         * elf/tst-tlsmod8.c: Likewise.
33667         * elf/tst-tlsmod9.c: Likewise.
33668         * gmon/gmon.c: Likewise.
33669         * grp/fgetgrent_r.c: Likewise.
33670         * grp/putgrent.c: Likewise.
33671         * hurd/fopenport.c: Likewise.
33672         * include/libc-symbols.h: Likewise.
33673         * include/tls.h: Likewise.
33674         * intl/gettextP.h: Likewise.
33675         * intl/loadinfo.h: Likewise.
33676         * locale/global-locale.c: Likewise.
33677         * locale/localeinfo.h: Likewise.
33678         * mach/devstream.c: Likewise.
33679         * malloc/arena.c: Likewise.
33680         * malloc/set-freeres.c: Likewise.
33681         * misc/err.c: Likewise.
33682         * misc/getttyent.c: Likewise.
33683         * misc/mntent_r.c: Likewise.
33684         * posix/getopt.c: Likewise.
33685         * posix/wordexp.c: Likewise.
33686         * pwd/fgetpwent_r.c: Likewise.
33687         * resolv/Versions: Likewise.
33688         * resolv/res_hconf.c: Likewise.
33689         * shadow/fgetspent_r.c: Likewise.
33690         * shadow/putspent.c: Likewise.
33691         * stdio-common/printf_fphex.c: Likewise.
33692         * stdio-common/tmpfile.c: Likewise.
33693         * stdlib/abort.c: Likewise.
33694         * stdlib/fmtmsg.c: Likewise.
33695         * sunrpc/auth_unix.c: Likewise.
33696         * sunrpc/clnt_perr.c: Likewise.
33697         * sunrpc/clnt_tcp.c: Likewise.
33698         * sunrpc/clnt_udp.c: Likewise.
33699         * sunrpc/clnt_unix.c: Likewise.
33700         * sunrpc/openchild.c: Likewise.
33701         * sunrpc/svc_simple.c: Likewise.
33702         * sunrpc/svc_tcp.c: Likewise.
33703         * sunrpc/svc_udp.c: Likewise.
33704         * sunrpc/svc_unix.c: Likewise.
33705         * sunrpc/xdr.c: Likewise.
33706         * sunrpc/xdr_array.c: Likewise.
33707         * sunrpc/xdr_rec.c: Likewise.
33708         * sunrpc/xdr_ref.c: Likewise.
33709         * sunrpc/xdr_stdio.c: Likewise.
33711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33713         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33715 2011-07-03  Andreas Jaeger  <aj@suse.de>
33717         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33718         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33719         regenerate with gen-libm-tests.pl.
33721 2010-05-12  Petr Baudis  <pasky@suse.cz>
33723         [BZ #11589]
33724         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33725         around j0() zero points by switching to j1().
33726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33731 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33733         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33734         instead of 0.
33735         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33736         instead of 0.
33737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33738         Patch in part by Pavel Roskin <proski@gnu.org>.
33740         [BZ #13138]
33741         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33742         realloc.
33743         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33744         Free memory block if necessary.
33746         [BZ #12847]
33747         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33748         be NULL.  Don't lock in this case.
33750 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33752         * elf/elf.h (ELFOSABI_GNU): New macro.
33753         (ELFOSABI_LINUX): Define to that.
33755 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33757         * string/strncat.c (strncat): Undef the symbol in case it has been
33758         defined in bits/string.h.
33760 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33762         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33764         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33765         link map.
33767 2011-08-17  Andreas Jaeger  <aj@suse.de>
33769         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33771 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33772             Ian Lance Taylor  <iant@google.com>
33774         * math/libm-test.inc (lround_test): New testcase.
33775         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33777 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33779         * Makefile: Remove support for automatic cvs check-ins.
33780         * Makerules: Likewise.
33781         * config.make.in: Likewise.
33782         * configure.in: Likewise.
33783         * intl/Makefile: Likewise.
33784         * locale/Makefile: Likewise.
33785         * po/Makefile: Likewise.
33786         * posix/Makefile: Likewise.
33787         * sysdeps/gnu/Makefile: Likewise.
33788         * sysdeps/mach/hurd/Makefile: Likewise.
33789         * sysdeps/sparc/sparc32/Makefile: Likewise.
33791         [BZ #13118]
33792         * posix/Makefile (bug-regex32-ENV): Define.
33793         Patch by John Stanley <jpsinthemix@verizon.net>.
33795         * misc/Makefile (headers): Add bits/select2.h.
33796         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33797         * misc/bits/select2.h: New file.
33798         * include/bits/select2.h: New file.
33799         * debug/Makefile (routines): Add fdelt_chk.
33800         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33801         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33802         FD_ISSET.
33803         * debug/fdelt_chk.c: New file.
33805         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33806         * wcsmbs/test-wmemcmp.c: Likewise.
33807         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33808         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33810 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33812         * string/Makefile (strop-tests): Add memcmp.
33813         * string/test-wmemcmp.c: New file.
33814         * string/test-memcmp.c: Add wmemcmp support.
33816 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33818         [BZ #13153]
33819         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33820         2011-07-19 change.
33822         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33823         garbage value in a __mach_port_mod_refs call in the cases of the
33824         task-self and thread-self ports.
33826 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33828         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33830 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33832         * elf/dl-load.c (lose): Check for non-null L.
33834 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33836         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33838         * elf/dl-libc.c (dlerror_run): Pass back error code from
33839         dl_catch_error.
33841         [BZ #13123]
33842         * elf/dl-load.c (lose): Free l_origin if it is valid.
33844         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33845         names.
33846         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33847         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33849         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33850         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33851         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33853 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33855         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33856         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33857         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33858         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33859         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33860         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33861         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33862         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33863         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33864         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33866 2011-08-15  Alan Modra  <amodra@gmail.com>
33868         [BZ #13092]
33869         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33870         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33871         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33872         ppc_mcount to static-only-routines.
33873         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33874         __mcount_internal.
33875         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33876         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33878 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33880         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33881         for finite and infinity parameters.
33883 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33885         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33886         and add nop instructions for throughput optimization.
33887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33889 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33892         aligned copy for power7 with vector-scalar instructions.
33893         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33895 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33898         AVX check.
33900 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33902         [BZ #13144]
33903         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33904         last change.
33906 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33908         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33909         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33910         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33911         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33912         clock_gettime.
33914 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33916         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33917         Forgot to demangle the pointer.
33919         * sysdeps/i386/sysdep.h: Define atom_text_section.
33920         * sysdeps/x86_64/sysdep.h: Likewise.
33921         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33922         section with atom_text_section.
33923         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33924         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33925         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33927         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33930         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33931         already be defined.  Change to take two parameters and don't assign
33932         result to variable.  Adjust all users.
33933         Define INTERNAL_GETTIME if not already defined.
33934         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33935         call.
33936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33937         HAVE_CLOCK_GETTIME_VSYSCALL.
33938         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33941         gettimeofday vsyscall, just use time.
33943 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33946         <errno.h>.
33948 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33950         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33951         syscall on x86-64.
33952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33953         syscall.
33954         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33955         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33956         syscall if possible.
33958 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33960         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33961         e_ident.  Don't pass to find_mapsXX.
33962         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33964 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33967         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33968         * sysdeps/x86_64/multiarch/strchr.S: Update.
33969         Check bit_slow_BSF bit.
33970         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33971         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33972         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33974 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33976         [BZ #13134]
33977         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33978         before glibc 2.15.
33979         (tryshell): Define.
33980         (__spawni): Change last parameter to be flag.  Test
33981         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33982         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33983         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33984         * posix/spawni.c: Likewise.
33985         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33986         * posix/spawnp.c: Likewise.  Change normal version to use
33987         SPAWN_XFLAGS_USE_PATH.
33988         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33989         SPAWN_XFLAGS_TRY_SHELL.
33991         [BZ #13150]
33992         * posix/glob.h: Remove gcc 1.x support.
33994         [BZ #13068]
33995         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33997 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34000         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34001         strrchr-sse2-bsf
34002         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34003         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34004         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34005         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34006         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34007         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34009 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34011         * sysdeps/x86_64/wcscmp.S: New file.
34013         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34014         wcscmp-c wcscmp-sse2
34015         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34016         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34017         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34018         * wcsmbs/wcscmp.c: Allow renaming.
34020 2011-09-05  David S. Miller  <davem@davemloft.net>
34022         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34023         stack slot, rather than the struct return pointer slot.
34024         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34025         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34027         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34029 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34031         * po/ja.po: Update from translation team.
34033         [BZ #13144]
34034         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34035         kernel in 64-bit binaries.
34037 2011-09-01  David S. Miller  <davem@davemloft.net>
34039         * elf/elf.h (HWCAP_SPARC_*): Move to..
34040         * sysdeps/sparc/sysdep.h: this new file and add new values.
34041         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34042         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34043         _DL_HWCAP_COUNT to 24.
34044         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34045         entries.
34046         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34047         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34048         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34050         instead of magic constants.
34051         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34053 2011-08-31  David S. Miller  <davem@davemloft.net>
34055         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34057         Reimplement to do errno handling inline.
34058         (SYSCALL_ERROR_HANDLER): New macro.
34059         (__SYSCALL_STRING): Do not do errno handling in asm.
34060         (__CLONE_SYSCALL_STRING): Delete.
34061         (__INTERNAL_SYSCALL_STRING): Delete.
34062         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34063         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34064         (PSEUDO): Reimplement to do errno handling inline.
34065         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34066         (SYSCALL_ERROR_HANDLER): New macro.
34067         (__SYSCALL_STRING): Do not do errno handling in asm.
34068         (__CLONE_SYSCALL_STRING): Delete.
34069         (__INTERNAL_SYSCALL_STRING): Delete.
34070         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34071         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34072         i386.
34073         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34074         (inline_syscall*): Add 'err' argument.
34075         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34076         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34077         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34078         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34080         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34081         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34083 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34085         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34087 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34089         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34090         directive.
34092 2011-08-24  David S. Miller  <davem@davemloft.net>
34094         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34096 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34098         * elf/Makefile: Add rules to build and run unload8 test.
34099         * elf/unload8.c: New file.
34100         * elf/unload8mod1.c: New file.
34101         * elf/unload8mod1x.c: New file.
34102         * elf/unload8mod2.c: New file.
34103         * elf/unload8mod3.c: New file.
34105         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34106         it wasn't used.
34108 2011-08-23  David S. Miller  <davem@davemloft.net>
34110         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34111         subtract stack bias.
34112         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34113         %sp not %fp in calculations.
34114         (_JMPBUF_UNWINDS_ADJ): Likewise.
34116         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34117         (aio_suspend): Call it to force an exception region around the
34118         AIO_MISC_WAIT() invocation.
34120 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34122         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34123         backslash.
34125 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34127         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34128         protection macro.
34129         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34130         and <dl-machine.h>.
34131         (Elf64_FuncDesc): Remove.
34133 2011-08-22  David S. Miller  <davem@davemloft.net>
34135         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34136         sigaltstack check, add missing cfi directives.
34137         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34138         missing cfi directives, and sigaltstack handling.
34140 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34142         [BZ #11724]
34143         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34144         object is seen twice.
34145         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34147         * elf/Makefile (distribute): Add tst-initorder2.c.
34148         (tests): Add tst-initorder2.
34149         (modules-names): Add tst-initorder2a tst-initorder2b
34150         tst-initorder2c tst-initorder2d.  Add rules to build them.
34151         ($(objpfx)tst-initorder2.out): New rule.
34152         * elf/tst-initorder2.c: New file.
34153         * elf/tst-initorder2.exp: New file.
34155 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34157         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34159         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34160         dependencies back to end of function.
34162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34163         $(elfobjdir)/ld.so.
34165 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34168         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34170         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34171         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34172         of __vdso_gettimeofday.
34173         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34174         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34175         attribute_hidden.
34176         (_libc_vdso_platform_setup): Remove initialization of
34177         __vdso_gettimeofday and __vdso_time.
34179 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34181         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34182         and fgetc_unlocked.
34183         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34184         getc_unlocked.
34186         * elf/dl-open.c (add_to_global): Report additions to the global scope
34187         for LD_DEBUG=scopes.
34188         (dl_open_worker): Also print scope of newly loaded dependencies.
34189         (_dl_show_scope): Indicate if there is no scope.
34191         [BZ #13114]
34192         * stdio-common/Makefile (tests): Add bug24.
34193         * stdio-common/bug24.c: New file.
34195 2011-08-19  Andreas Jaeger  <aj@suse.de>
34197         [BZ #13114]
34198         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34199         non-existant file when using close-on-exec mode.
34201 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34204         the very first instruction.
34206         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34207         the CFI state in the end.
34208         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34209         inclusion of dl-trampoline.h.
34210         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34212 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34214         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34215         expectations for long double.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34218         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34220 2011-08-14  David S. Miller  <davem@davemloft.net>
34222         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34223         artificual limit depends upon the system page size.
34225 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34227         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34228         * resolv/Makefile: Define CFLAGS-libresolv.
34230 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34232         * nss/makedb.c (compute_tables): Make variables used in nested
34233         function static.
34235 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34237         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34238         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34239         if buffer was too small.
34241         * elf/pldd.c (main): Attach to all threads in the process.
34242         Rewrite /proc handling to use *at functions.
34244 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34246         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34247         specifies first scope to show.
34248         (dl_open_worker): Update callers.  Move printing scope of new
34249         object to before the relocation.
34250         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34251         * sysdeps/generic/ldsodefs.h: Update declaration.
34253         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34254         string for the scope number.
34256 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34258         * nscd/servicescache.c (cache_addserv): Make sure written is always
34259         initialized.
34261 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34263         * sysdeps/i386/i486/bits/atomic.h
34264         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34265         statement expression, so as to suppress "set but not used" warning.
34266         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34268         * string/strncat.c (STRNCAT): Use prototype definition.
34270         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34271         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34272         -Iprograms here.
34273         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34274         (localedef-modules): Add localedef.
34275         (locale-modules): Add locale.
34277         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34278         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34279         to avoid a warning.
34281 2011-08-14  David S. Miller  <davem@davemloft.net>
34283         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34284         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34286 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34288         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34289         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34290         * elf/rtld.c (dl_main): Set l_name of vDSO.
34291         Call _dl_show_scope when DL_DEBUG_SCOPES.
34292         (process_dl_debug): Recognize scopes flag and also set it for all.
34293         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34294         Declare _dl_show_scope.
34296         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34297         (do_dlopen): Pass caller_dlopen to dl_open.
34298         (__libc_dlopen_mode): Initialize caller_dlopen.
34300         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34301         of libc.  Make tolower call locale-independent.  Optimize a bit by
34302         using isdigit instead of isalnum.
34303         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34305 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34307         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34308         was a dependency or dynamically loaded.
34310 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34312         * intl/l10nflist.c: Allow architecture-specific pop function.
34313         * sysdeps/x86_64/l10nflist.c: New file.
34315         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34316         classification.
34318 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34320         * include/dirent.h: Add libc_hidden_proto for scandirat and
34321         scandirat64.  Don't declare __scandirat64.
34322         * dirent/scandirat.c: Add libc_hidden_def.
34323         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34324         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34326 2011-08-10  David S. Miller  <davem@davemloft.net>
34328         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34329         enum.
34330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34334 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34336         * Versions.def [libc]: Add GLIBC_2.15.
34337         * dirent/Makefile (routines): Add scandirat and scandirat64.
34338         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34339         GLIBC_2.15.
34340         * dirent/dirent.h: Declare scandirat and scandirat64.
34341         * dirent/scandirat.c: New file.
34342         * dirent/scandirat64.c: New file.
34343         * sysdeps/wordsize-64/scandirat.c: New file.
34344         * sysdeps/wordsize-64/scandirat64.c: New file.
34345         * dirent/opendir.c: Define opendirat.
34346         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34347         using scandirat.
34348         * dirent/scandir64.c: Adjust for scandir.c change.
34349         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34350         __scandirat64, and __scandir_cancel_handler.
34351         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34352         additional parameter and use openat instead of open (outside of ld.so).
34353         Add new __opendir as wrapper around __opendirat.
34354         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34355         here without requiring old scandirat implementation.
34357 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34359         * dirent/scandir.c (cancel_handler): Renamed to
34360         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34361         defined.  Adjust users.
34362         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34363         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34365 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34367         * string/test-string.h (IMPL): Use __STRING to expand name and then
34368         stringify it.
34370         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34371         of cleanups.
34373 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34375         * string/Makefile: Update.
34376         (strop-tests): Append strncat.
34377         * string/test-wcscmp.c: New file.
34378         New comprehensive test for wcscmp.
34379         * string/test-strcmp.c: Update.
34380         (WIDE): New define.
34382 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34384         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34385         line.
34387 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34390         encoding to ACE if AI_IDN.
34392 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34394         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34395         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34397 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34400         Fix overflow bug in strncat.
34401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34403         * string/test-strncat.c: Update.
34404         Add new tests for checking overflow bugs.
34406 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34409         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34410         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34411         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34413         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34414         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34415         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34416         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34419         (USE_AS_STRCAT): Define.
34420         Add strcat and strncat support.
34421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34423 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34425         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34426         __n bigger than INT_MAX+1.
34427         (__strncmp_g): Likewise.
34429 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34431         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34432         * libio/stido.h: Likewise.
34434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34435         (AF_NFC): Define.
34436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34437         (AF_NFC): Define.
34439         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34440         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34442         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34443         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34445         [BZ #13021]
34446         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34447         installed.
34449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34450         typo.
34451         (_dl_x86_64_save_sse): Likewise.
34453 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34456         OSXSAVE.
34457         (_dl_x86_64_save_sse): Likewise.
34459         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34461         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34463 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34466         change.
34467         (_dl_x86_64_save_sse): Use correct AVX check.
34469 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34471         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34472         bug in strncpy/strncat.
34473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34475 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34477         * string/tester.c (test_strcat): Add tests for different alignments
34478         of source and destination.
34479         (test_strncat): Likewise.
34481 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34483         [BZ #12852]
34484         * posix/glob.c (glob): Check passed in values before using them in
34485         expressions to avoid some overflows.
34486         (glob_in_dir): Likewise.
34488         [BZ #13007]
34489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34490         check for AVX enablement so that we don't crash with old kernels and
34491         new hardware.
34492         * elf/tst-audit4.c: Add same checks here.
34493         * elf/tst-audit6.c: Likewise.
34495         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34497 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34499         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34501 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34503         * po/cs.po: Update from translation team.
34504         * po/bg.po: Likewise.
34506 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34508         * misc/sys/cdefs.h: Add support for const attribute.
34509         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34510         to gnu_dev_{major,minor,makedev} functions.
34512 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34514         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34516 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34518         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34519         strlen results.
34521 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34524         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34525         register in order to avoid conflicts with the soft frame pointer
34526         being held in r11 when necessary.
34527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34528         (INTERNAL_VSYSCALL_NCS): Likewise.
34530 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34532         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34533         * elf/dl-fini.c (_dl_fini): Adjust caller.
34534         * elf/dl-close.c (_dl_close_worker): Likewise.
34535         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34539         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34540         "aux_cache->nlibs < 0".
34542         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34543         in the reload-count case.
34545 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34548         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34549         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34550         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34551         * sysdeps/x86_64/multiarch/strcat.S: New file.
34552         * sysdeps/x86_64/multiarch/strncat.S: New file.
34553         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34555         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34556         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34557         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34558         (USE_AS_STRCAT): Define.
34559         Add strcat and strncat support.
34560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34562         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34563         * string/strncat.c: Update.
34564         (USE_AS_STRNCAT): Define.
34565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34566         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34567         and i7.
34568         * sysdeps/x86_64/multiarch/init-arch.h
34569         (bit_Prefer_PMINUB_for_stringop): New.
34570         (index_Prefer_PMINUB_for_stringop): Likewise.
34571         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34572         bit_Prefer_PMINUB_for_stringop.
34574 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34576         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34577         buffer64.
34578         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34579         of casting of buffer.
34580         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34581         buffer32 and buffer64.
34582         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34583         writes instead of casting of buffer.
34584         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34585         buffer32.
34586         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34587         casting of buffer.
34589 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34591         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34593 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34595         * nscd/nscd.c (termination_handler): Don't do anything for a database
34596         if it has not yet been initialized.
34598 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34600         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34602 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34604         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34606 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34608         * po/nl.po: Update from translation team.
34609         * po/sv.po: Likewise.
34611 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34613         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34614         now disallowed by GCC.
34616         * configure.in (use-default-link): Default to yes if a test -shared
34617         link meets our qualifications.
34618         * configure: Regenerated.
34620         * config.make.in (output-format): New variable.
34621         * configure.in: Check for ld --print-output-format support.
34622         * configure: Regenerated.
34623         * Makerules ($(common-objpfx)format.lds)
34624         [$(output-format) != unknown]: Just use $(output-format),
34625         instead of the linker-script munging.
34627 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34629         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34630         of $(common-objpfx)shlib.lds.
34631         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34633         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34634         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34636         * configure.in (-z relro check): Adjust test code to add a large
34637         writable data section after it.
34638         * configure: Regenerated.
34640 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34642         * configure.in (-z relro check): Fix test code to make the variable
34643         truly const.
34644         * configure: Regenerated.
34646 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34648         * nscd/nscd.h (struct traced_file): Define.
34649         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34650         elements.  Add traced_files.
34651         (inotify_fd): Declare.
34652         (register_traced_file): Declare.
34653         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34654         (inotify_fd): Export.
34655         (resolv_conf_descr): Remove.
34656         (nscd_init): Move inotify descriptor creation to main.
34657         Don't register files for notification here.
34658         (register_traced_file): New function.
34659         (invalidate_cache): Don't use reset_res to determine whether to call
34660         res_init, go through the list of registered files.
34661         (main_loop_poll): The inotify descriptors are now stored in the
34662         structures for the traced files.
34663         (main_loop_epoll): Likewise
34664         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34665         to __nss_disable_nscd.
34666         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34667         for a database anymore.  Check the records for all the registered
34668         files instead.
34669         * nss/Makefile (libnss_files-routines): Add files-init.
34670         (libnss_db-routines): Add db-init.
34671         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34672         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34673         * nss/nss_db/db-init.c: New file.
34674         * nss/nss_files/files-init.c: New file.
34675         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34676         __nss_lookup_function.
34677         (__nss_lookup_function): Call nss_load_library.
34678         (nss_load_all_libraries): New function.
34679         (__nss_disable_nscd): Take parameter with callback function for files
34680         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34681         used for the cached services.
34682         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34683         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34684         options for features to all the files in nscd.
34686         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34688 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34690         * csu/elf-init.c (__libc_csu_init): Comment typo.
34692 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34694         * po/pl.po: Update from translation team.
34695         * po/ja.po: Likewise.
34696         * po/ru.po: Likewise.
34697         * po/ko.po: Likewise.
34698         * po/fr.po: Likewise.
34700 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34702         * configure.in (.ctors/.dtors header and trailer check):
34703         Use an empirical test on a built program.
34704         * configure: Regenerated.
34706         * configure.in (-z relro check): Use an empirical test on a built DSO.
34707         Detect, but do not require, on ia64.
34708         * configure: Regenerated.
34710         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34711         Update tests that use readelf to use $READELF instead.
34712         * configure: Regenerated.
34714 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34716         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34717         if the result is not used.
34719 2011-07-05  Andreas Jaeger  <aj@suse.de>
34721         [BZ#9696]
34722         * stdlib/tst-strtod.c: Add testcase.
34724 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34726         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34727         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34728         The latter has a higher limit.  Take additional parameter to pass to
34729         the new function.
34730         (__pathconf): Pass file to __statfs_link_max.
34731         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34732         __statfs_link_max.
34733         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34734         __statfs_link_max.
34736         [BZ #12868]
34737         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34739         Handle Lustre.
34740         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34741         (__statfs_filesize_max): Likewise.
34742         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34744 2011-07-05  Andreas Jaeger  <aj@suse.de>
34746         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34748 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34750         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34751         `status' variable.
34752         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34753         Likewise.
34755 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34757         * Makefile (strop-tests): Add strncat.
34758         * string/test-strncat.c: New file.
34760 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34762         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34764 2011-06-21  Andreas Jaeger  <aj@suse.de>
34766         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34767         Copy rule from iconvdata/Makefile.
34769 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34771         [BZ #12922]
34772         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34773         but no long options are defined, just return 'W'.
34775 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34777         [BZ #9696]
34778         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34780 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34782         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34783         netgroups to read.
34784         (innetgr): Likewise.
34786 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34788         * config.make.in (install_root): Default to $(DESTDIR).
34790 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34792         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34794 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34796         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34798         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34799         containing directory rather than embedding absolute directory names.
34801         * scripts/check-local-headers.sh: Rewritten using awk.
34802         Match by word, not by line.  Print error messages for matches.
34803         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34805         * Makerules [shlib-lds-flags empty]:
34806         ($(common-objpfx)libc_pic.opts): New target.
34807         ($(common-objpfx)libc_pic.os.clean): New target.
34808         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34810         * config.make.in (OBJCOPY): New variable.
34811         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34812         * configure: Regenerated.
34814         * config.make.in (use-default-link): New variable.
34815         * configure.in (use_default_link): Grok --with-default-link to set it.
34816         * configure: Regenerated.
34817         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34818         (shlib-lds, shlib-lds-flags): Define to empty.
34820         * Makerules (shlib-lds): New variable.
34821         (shlib-lds-flags): New variable.
34822         (build-shlib, build-moduile, build-module-asneeded): Use it.
34823         ($(common-objpfx)libc.so): Use $(shlib-lds).
34824         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34825         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34827         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34828         DT_FLAGS/DT_FLAGS_1 with zero flags.
34830         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34831         linker script munging.
34833 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34835         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34836         as 128-bit value.
34837         * crypt/sha512.c (sha512_process_block): Perform total addition using
34838         128-bit if possible.
34839         (__sha512_finish_ctx): Likewise.
34840         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34841         as 64-bit value.
34842         * crypt/sha256.c (SWAP64): Define.
34843         (sha256_process_block): Perform total addition using 64-bit if
34844         possible.
34845         (__sha256_finish_ctx): Likewise.
34847 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34849         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34851         * nscd/hstcache.c (cache_addhst): Likewise.
34852         * nscd/grpcache.c (cache_addgr): Likewise.
34853         * nscd/aicache.c (addhstaiX): Likewise
34854         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34856 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34858         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34859         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34860         * nscd/hstcache.c (cache_addhst): Likewise.
34861         * nscd/grpcache.c (cache_addgr): Likewise.
34862         * nscd/aicache.c (addhstaiX): Likewise
34864 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34866         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34867         domain only when needed.
34869 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34872         is always restored.
34874 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34876         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34877         are re-adding the entry.
34878         * nscd/servicescache.c (cache_addserv): Likewise.
34880 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34882         * sysdeps/generic/dl-irel.h: fix protection against multiple
34883         inclusions.
34884         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34886 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34888         [BZ #12935]
34889         * malloc/memusage.sh: Fix quoting in message.
34890         * debug/xtrace.sh: Likewise.
34892         * configure.in: Remove support for --experimental-malloc option, make
34893         it the default.
34894         * config.make.in: Likewise.
34895         * malloc/Makefile: Likewise.
34897 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34899         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34900         two-byte characters.
34902 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34904         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34905         AC_CACHE_CHECK invocation.
34906         * configure: Regenerated.
34908         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34910 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34912         [BZ #12350]
34913         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34914         bit from old_res_options.
34916         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34918         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34919         value type for setfct.
34921 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34924         __gettimeofday instead of gettimeofday.
34926 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34928         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34930 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34934         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34935         info.
34937 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34940         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34941         strcpy-sse2-unaligned strncpy-sse2-unaligned
34942         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34943         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34944         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34945         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34946         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34949         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34950         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34951         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34952         (STRCPY): Support SSE2 and SSSE3 versions.
34954 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34956         [BZ #12874]
34957         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34958         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34959         kernels which artificially limit size of requests.
34961 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34964         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34965         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34966         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34967         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34968         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34969         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34970         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34971         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34972         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34973         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34974         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34975         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34976         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34977         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34979         Enable unaligned load optimization for Intel Core i3, i5 and i7
34980         processors.
34981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34982         Define.
34983         (index_Fast_Unaligned_Load): Define.
34984         (HAS_FAST_UNALIGNED_LOAD): Define.
34986 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34988         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34990 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34992         [BZ #12907]
34993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34994         until it is clear that the information is realy needed.
34995         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34997 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35001 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35004         /sys/devices/system/cpu/online if it is usable.
35006         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35007         reading the information from the /proc filesystem to once a second.
35009 2011-06-21  Andreas Jaeger  <aj@suse.de>
35011         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35012         NULL after inclusion of kernel headers.
35014 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35016         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35017         calls to internal_setent.
35019         [BZ #12885]
35020         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35021         addresses using gethostbyname4_r ignore IPv4 addresses.
35023         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35024         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35026         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35028 2011-06-20  David S. Miller  <davem@davemloft.net>
35030         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35031         inclusions.
35032         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35034         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35035         (elf_irel): Use it.
35036         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35037         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35038         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35039         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35040         * sysdeps/x86_64/dl-irel.h: Likewise.
35042         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35043         * elf/dl-sym.c: Likewise.
35045 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35047         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35048         need to dereference resplen2.
35050 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35052         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35054 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35056         * Makeconfig: Define vardbdir and inst_vardbdir.
35057         * nss/Makefile: Add rules to install db-Makefile.
35059         * nss/nss_db/db-XXX.c: Cleanup.
35061         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35062         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35063         GLIBC_PRIVATE.
35064         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35065         * nss/makedb.c: Implement -g option to specify that value strings
35066         are generated and should not be added to table iterated over for
35067         get*ent calls.
35068         * nss/nss_db/db-initgroups.c: New file.
35070         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35071         interface.
35073         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35074         (internal_getgrouplist): Adjust to name change.
35075         Update use_initgroups_entry if this is not the first call.
35076         * nss/databases.def: Add initgroups entry.
35078         * nss/makedb.c (compute_tables): Check result of multiple hash table
35079         sizes to minimize maximum chain length.
35081 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35083         * Versions.def: Add entry for libnss_db.
35084         * shlib-versions: Likewise.
35085         * nss/Makefile: Add rules to build libnss_db.
35086         * nss/Versions: Add libnss_db information.  Organize libnss_files
35087         entries better.
35088         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35089         makedb progra.  Some minor improvements to generate smaller files.
35090         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35091         here from...
35092         * nss/makedb.c: ...here.
35093         Improve database format to be smaller and require less memory at
35094         runtime.
35095         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35096         db anymore.
35097         * nss/nss_db/db-netgrp.c: Likewise.
35098         * nss/nss_db/db-open.c: Likewise.
35099         * nss/nss_files/flies-XXX.x: Adjust comments.
35100         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35101         * nss/nss_files/files-grp.c: Likewise.
35102         * nss/nss_files/files-hosts.c: Likewise.
35103         * nss/nss_files/files-network.c: Likewise.
35104         * nss/nss_files/files-proto.c: Likewise.
35105         * nss/nss_files/files-pwd.c: Likewise.
35106         * nss/nss_files/files-rpc.c: Likewise.
35107         * nss/nss_files/files-service.c: Likewise.
35108         * nss/nss_files/files-sgrp.c: Likewise.
35109         * nss/nss_files/files-spwd.c: Likewise.
35110         * nss/nss_db/db-alias.c: Removed.
35111         * nss/nss_db/dummy-db.h: Removed.
35113 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35115         * nss/makedb.c: Rewritten to not use database library.
35116         * nss/Makefile: Update to build new makedb program.
35118 2011-06-14  Andreas Jaeger  <aj@suse.de>
35120         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35121         memset declaration.
35123 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35126         tmpbuf.
35128 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35130         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35131         * elf/Makefile ($(objpfx)ld.so): Likewise.
35133         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35134         Don't list ld.so twice in dependencies.
35136         * posix/bug-regex31.c: Include <stdlib.h>.
35138         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35140         * nis/nss_compat/compat-spwd.c
35141         (getspent_next_nss_netgr): Remove unused variable.
35142         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35144         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35145         nonmembers" output to use the right array.
35147         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35149         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35151         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35152         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35153         * catgets/gencat.c (read_input_file): Likewise.
35154         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35156         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35157         variable definition inside #if's controlling its use.
35159         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35161         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35163         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35165         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35166         unreachable code.
35168         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35170         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35171         * configure: Regenerated.
35173         * Makerules: Revert last change.
35174         * elf/Makefile: Likewise.
35176 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35178         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35179         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35180         (reloc-link): Likewise.
35182 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35184         * elf/Makefile: Add rules to build pldd.
35185         * elf/pldd.c: New file.
35186         * elf/pldd-xx.c: New file.
35188 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35190         * version.h: Update for 2.15 development version.
35192 2011-06-07  David S. Miller  <davem@davemloft.net>
35194         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35195         ifuncs.
35196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35197         elf_machine_lazy_rel): Likewise.
35198         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35200         elf_machine_lazy_rel): Likewise.
35201         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35202         dl_hwcap via passed in argument.
35203         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35204         Likewise.
35206 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35208         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35210 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35212         [BZ #12849]
35213         * manual/fdl-1.1.texi: New file, verbatim from:
35214         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35215         * manual/lgpl-2.1.texi: New file, verbatim from:
35216         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35217         * manual/Makefile (licenses): New variable, list those new file names.
35218         (texis): Use it.
35219         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35221         * manual/fdl.texi: File removed.
35222         * manual/lesser.texi: File removed.
35223         * manual/libc.texinfo (Copying, Documentation License):
35224         Use new @include file names, put @appendix directive before @include.
35226 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35228         [BZ #12841]
35229         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35230         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35231         (mq_open): Add __NTH.
35233 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35236         Assume Intel Core i3/i5/i7 processor if AVX is available.
35238 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35241         typo.
35243 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35245         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35246         memory.  Use alloca_account.  Fix memory leak when retrying.
35248 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35250         * version.h (RELEASE): Bump for 2.14 release.
35251         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35253         * config.make.in (RANLIB): Remove entry.
35255 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35257         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35258         (libc.pot): Work around missing support for .ksh extension in xgettext.
35260         [BZ #12684]
35261         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35262         if both request failed.
35263         (send_dg): In case of server errors clear resplen or *resplen2.
35265         [BZ #12454]
35266         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35267         when there are multiple maps.
35268         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35269         (_dl_fini): Remove test here.
35271         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35273 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35275         [BZ #12350]
35276         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35277         bit from old_res_options.
35278         (gaih_inet): Likewise.
35280         [BZ #11099]
35281         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35282         as signed.
35284         * resolv/res_init.c (res_setoptions): Make the code more compact.
35286         [BZ #11558]
35287         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35288         set RES_USEVC.
35290         [BZ #11634]
35291         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35293         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35295         [BZ #11781]
35296         * malloc/malloc.h: Declare malloc hook variables as volatile.
35298         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35299         in last patch.
35301         [BZ #11799]
35302         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35303         raise in the comment.
35304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35306         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35308 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35310         [BZ #12811]
35311         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35312         grow the buffers more if it already has to be sufficient.
35313         (build_wcs_upper_buffer): Likewise.
35314         * posix/regexec.c (check_matching): Likewise.
35315         (clean_state_log_if_needed): Likewise.
35316         (extend_buffers): Don't enlarge buffers beyond size of the input
35317         buffer.
35318         Patches mostly by Emil Wojak <emil@wojak.eu>.
35319         * posix/bug-regex32.c: New file.
35320         * posix/Makefile (tests): Add bug-regex32.
35322         * locale/findlocale.c (_nl_find_locale): Return right away if
35323         _nl_explode_name failed.
35324         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35326         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35328         * debug/xtrace.sh: Unify messages.
35329         * malloc/memusage.sh: Likewise.
35331         [BZ #12813]
35332         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35333         time symbol from vDSO.  Substitute with vsyscall if not available.
35334         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35335         __vdso_time.
35337         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35338         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35339         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35340         Add sendmmsg and internal_sendmmsg.
35341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35342         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35343         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35345         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35346         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35347         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35349 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35351         [BZ #12813]
35352         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35353         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35354         available.
35355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35356         __vdso_getcpu.
35358         [BZ #12814]
35359         * iconvdata/Makefile (tests): Add bug-iconv9.
35360         * iconvdata/bug-iconv9.c: New file.
35362 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35364         [BZ #12814]
35365         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35367 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35369         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35370         (struct user_regs_struct): Change intcs field back to cs.
35372 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35374         * po/ja.po: Update from translation team.
35376 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35378         [BZ #12795]
35379         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35382 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35384         * stdlib/longlong.h: Update from GCC.
35386 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35388         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35389         parameter name.
35390         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35391         Add parameter name.
35392         (__sysconf): Pass it down.
35394 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35396         [BZ #12671]
35397         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35398         some situations.
35399         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35400         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35401         add in in __libc_use_alloca calls.  Adjust callers.
35402         (glob): Use malloc in some situations.
35404         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35405         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35406         pltexit.
35408 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35411         and CLOCK_BOOTTIME_ALARM.
35413         [BZ #12782]
35414         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35415         is returned.
35417         * string/_strerror.c (__strerror_r): Print negative errors as signed
35418         numbers.
35420         [BZ #12777]
35421         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35422         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35423         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35425         * configure.in: Fix typo in redirection and correct removal of test
35426         files in two cases.
35428         [BZ #12788]
35429         * locale/setlocale.c (new_composite_name): Fix test to check for
35430         identical name of all categories.
35432         [BZ #12792]
35433         * libio/filedoalloc.c (local_isatty): New function.
35434         (_IO_file_doallocate): Use local_isatty.
35435         * stdio-common/perror.c (perror): In case a new stream is used
35436         forward the stream error.
35437         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35438         error flag.
35440 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35442         [BZ #11869]
35443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35444         alloca.
35445         * include/alloca.h (extend_alloca_account): Define.
35447         [BZ #11857]
35448         * posix/regex.h: Fix comments with documentation of user-accessible
35449         fields after compilation and describe correct free'ing of pattern
35450         after re_compile_pattern.
35451         Patch by Reuben Thomas <rrt@sc3d.org>.
35453 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35455         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35456         and -mno-altivec to prevent the compiler from using Altivec and/or
35457         VSX instructions when the corresponding registers are not available.
35459 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35461         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35463 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35465         * libio/freopen.c (freopen): Use __dup2, not dup2.
35466         * libio/freopen64.c (freopen64): Likewise.
35468 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35470         [BZ #12775]
35471         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35472         * math/Makefile (tests): Add test-powl.
35473         (CFLAGS-test-powl.c): Define.
35474         * math/test-powl.c: New file.
35476 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35478         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35480 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35482         [BZ #11837]
35483         * iconvdata/gb18030.c: Update to GB18020-2005.
35485 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35487         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35488         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35489         Patch by Aharon Robbins <arnold@skeeve.com>.
35491         [BZ #11892]
35492         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35493         on the stack.
35495         [BZ #11895]
35496         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35497         through underflows.
35499         [BZ #12766]
35500         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35501         point to strings before performing equality test for error_one_per_line
35502         mode.
35504         [BZ #11697]
35505         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35507         [BZ #11820]
35508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35509         (struct user_fpregs_struct): Avoid __uint*_t types.
35511         [BZ #6420]
35512         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35513         symbol info.  Use it instead of calling _dl_addr locally.
35514         (lock_and_info): New function.
35515         (tr_freehook): Call lock_and_info and pass symbol info as additional
35516         parameter to tr_where.
35517         (tr_mallochook): Likewise.
35518         (tr_reallochook): Likewise.
35519         (tr_memalignhook): Likewise.
35521         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35522         used and couldn't be at all thread-safe.
35524 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35526         * libio/freopen.c (freopen): Don't close old file descriptor
35527         before the new one is opened.  Instead dup the new file descriptor
35528         to the old one after the new stream is created.
35529         * libio/freopen64.c (freopen64): Likewise.
35530         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35531         * libio/fileops.c (_IO_new_file_close_it): Handle new
35532         _IO_FLAGS2_NOCLOSE flag.
35533         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35534         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35535         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35536         _IO_FLAGS2_NOCLOSE flag.
35537         * include/unistd.h: Add hidden_proto for dup3.
35538         Define __have_dup3.
35539         * io/dup3.c: Define hidden symbol.
35540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35542         [BZ #7101]
35543         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35544         when an incomplete long option is used.
35545         * posix/tst-getopt_long1.c: New file.
35546         * posix/Makefile (tests): Add tst-getopt_long1.
35548         [BZ #10138]
35549         * scripts/config.guess: Update from autoconf-2.68.
35550         * scripts/config.sub: Likewise.
35552         [BZ #10157]
35553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35554         tests into ...
35555         (has_cpuclock): ...this.  New function.
35556         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35557         macro here based on has_cpuclock code.
35559         [BZ #10149]
35560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35561         First byte (not low byte) is now always NUL.
35562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35565         Use non-cancelable interfaces.
35567         [BZ #9809]
35568         * locale/iso-639.def: Add entry for Sorani.
35570         [BZ #11901]
35571         * include/stdlib.h: Move include protection to the right place.
35572         Define abort_msg_s.  Declare __abort_msg with it.
35573         * stdlib/abort.c (__abort_msg): Adjust type.
35574         * assert/assert.c (__assert_fail_base): New function.  Majority
35575         of code from __assert_fail.  Allocate memory for __abort_msg with
35576         mmap.
35577         (__assert_fail): Now call __assert_fail_base.
35578         * assert/assert-perr.c: Remove bulk of implementation.  Use
35579         __assert_fail_base.
35580         * include/assert.hL Declare __assert_fail_base.
35581         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35582         mmap.
35583         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35585 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35587         [BZ #11952]
35588         [BZ #12453]
35589         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35590         until all modules are registered in the DTV.
35591         * elf/Makefile: Add rules to build and run tst-tls19.
35592         * elf/tst-tls19.c: New file.
35593         * elf/tst-tls19mod1.c: New file.
35594         * elf/tst-tls19mod2.c: New file.
35595         * elf/tst-tls19mod3.c: New file.
35596         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35598         [BZ #12083]
35599         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35600         correctly.
35602         [BZ #12601]
35603         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35604         two-byte sequence errors.
35605         * iconvdata/Makefile (tests): Add bug-iconv8.
35606         * iconvdata/bug-iconv8.c: New file.
35608         [BZ #12626]
35609         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35610         buf2 definition.
35612         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35614         [BZ #12432]
35615         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35616         (dummy_getcfa): New function.
35617         (init): Get _Unwind_GetCFA address, use dummy if not found.
35618         (backtrace_helper): In recursion check, also check whether CFA changes.
35619         (__backtrace): Completely initialize arg.
35621         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35622         storing incomplete byte sequence in state object.  Avoid testing for
35623         guaranteed too small input if we know there is enough data available.
35625 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35627         * Makeconfig (+link-pie): Indent.
35628         * Rules (binaries-pie): Define if $(have-fpie) and
35629         $(build-shared).
35630         (binaries-shared): Also filter out $(binaries-pie).
35631         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35632         * nscd/Makefile (others-pie): Add nscd.
35633         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35634         ($(objpfx)nscd): Remove command override.
35635         * login/Makefile (others-pie): Add pt_chown.
35636         ($(objpfx)pt_chown): Remove command override.
35637         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35638         remove command overrides.
35640 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35642         * libio/tst_putwc.c: Fix error messages.
35644         [BZ #12724]
35645         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35646         currently writing and seek to current position when not.
35647         * libio/Makefile (tests): Add bug-fclose1.
35648         * libio/bug-fclose1.c: New file.
35650 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35652         [BZ #12511]
35653         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35654         don't set DF_1_NODELETE here.
35655         (do_lookup_x): When entering new entry test for copy relocation
35656         and if necessary set DF_1_NODELETE flag.
35657         * elf/tst-unique4.cc: New file.
35658         * elf/tst-unique4.h: New file.
35659         * elf/tst-unique4lib.cc: New file.
35660         * elf/Makefile: Add rules to build and run tst-unique4.
35661         Patch by Piotr Bury <pbury@goahead.com>.
35663 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35665         [BZ #12052]
35666         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35668         [BZ #12625]
35669         * misc/mntent_r.c (addmntent): Flush the stream after the output
35671         [BZ #12393]
35672         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35673         (is_trusted_path_normalize): Skip initial colon.  Append slash
35674         to empty buffer.  Duplicate is_trusted_path code but allow
35675         constructed patch to be prefix.
35676         (is_dst): Allow $ORIGIN followed by /.
35677         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35678         Correct testing of result of is_trusted_path_normalize
35679         (decompose_rpath): Fix warning.
35681 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35683         [BZ #11257]
35684         * grp/initgroups.c (internal_getgrouplist): When we found the service
35685         list through the initgroups entry in nsswitch.conf do not always
35686         continue on a successful lookup.  Don't always use the
35687         __nss_group_database value if it is set.
35688         * nss/nsswitch.conf (initgroups): Change action for successful db
35689         lookup to continue for compatibility.
35691 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35693         [BZ #11532]
35694         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35695         and CP774 modules.
35696         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35697         and CP774 modules.
35698         * iconvdata/tst-tables.sh: Likewise.
35699         * iconvdata/cp770.c: New file.
35700         * iconvdata/cp771.c: New file.
35701         * iconvdata/cp772.c: New file.
35702         * iconvdata/cp773.c: New file.
35703         * iconvdata/cp774.c: New file.
35704         * iconvdata/testdata/CP770: New file.
35705         * iconvdata/testdata/CP770..UTF8: New file.
35706         * iconvdata/testdata/CP771: New file.
35707         * iconvdata/testdata/CP771..UTF8: New file.
35708         * iconvdata/testdata/CP772: New file.
35709         * iconvdata/testdata/CP772..UTF8: New file.
35710         * iconvdata/testdata/CP773: New file.
35711         * iconvdata/testdata/CP773..UTF8: New file.
35712         * iconvdata/testdata/CP774: New file.
35713         * iconvdata/testdata/CP774..UTF8: New file.
35715         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35716         END CHARMAP line.
35717         * iconvdata/gen-8bit-gap.sh: Likewise.
35718         * iconvdata/gen-8bit.sh: Likewise.
35720         * locale/iso-639.def: Add ary entry.
35722         [BZ #11258]
35723         * locale/C-translit.h.in: Add U20A1 transliteration.
35725         [BZ #12178]
35726         * locale/iso-639.def: Add wae entry.
35727         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35729         [BZ #12545]
35730         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35731         for n.
35733         [BZ #12711]
35734         * locale/C-translit.h.in: Add entry for U20B9.
35735         Patch by pravin.d.s@gmail.com.
35737 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35739         [BZ #12713]
35740         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35741         ENAMETOOLONG use generic getcwd.
35742         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35743         in rtld.  Use *stat64.
35744         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35745         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35746         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35747         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35748         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35749         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35750         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35751         __fstatat64 macros.
35752         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35753         * dirent/rewinddir.c: Add libc_hidden_def.
35754         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35755         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35757         * include/dirent.h (__alloc_dir): Add flags parameter.
35758         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35759         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35760         __alloc_dir.
35761         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35762         from fdopendir if O_CLOEXEC is already set.
35764 2011-03-15  Alan Modra  <amodra@gmail.com>
35766         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35767         l_tls_firstbyte_offset non-zero.  Save padding offset in
35768         l_tls_firstbyte_offset for later use.
35769         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35770         freeing static tls block.
35772 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35774         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35775         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35776         being defined by the kernel headers.
35778 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35780         [BZ #12734]
35781         * resolv/resolv.h: Define RES_NOTLDQUERY.
35782         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35783         no-tld-query and set RES_NOTLDQUERY.
35784         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35785         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35786         modern BIND to search name as TLD unless forbidden.
35788 2011-05-07  Petr Baudis  <pasky@suse.cz>
35789             Ulrich Drepper  <drepper@gmail.com>
35791         [BZ #12393]
35792         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35793         (is_trusted_path): ...to here.
35794         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35795         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35796         using is_trusted_path_normalize() in setuid scripts.
35798 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35800         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35801         __BEGIN/__END_DECLS.
35803 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35805         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35806         NSS_STATUS_NOTFOUND if no record was found.
35808 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35810         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35811         (headers-not-in-tirpc): Remove rpc/netdb.h
35812         * resolv/netdb.h: Revert last change.
35814 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35816         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35817         circular dependency between libgcc.a and libc.a.
35819 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35821         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35822         * nis/Makefile: Don't install rpcsvc/*.
35823         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35824         instead of <rpc/types.h>.
35825         (MAXHOSTNAMELEN): Define.
35827 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35829         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35831 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35833         [BZ #12714]
35834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35835         gethostbyname4_r when IPv6 results are possible.
35837 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35839         [BZ #12723]
35840         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35841         _PC_PIPE_BUF handling.
35843 2011-04-30  Bruno Haible  <bruno@clisp.org>
35845         [BZ #12717]
35846         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35847         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35848         to 'int'.
35849         * inet/getnameinfo.c (getnameinfo): Likewise.
35851 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35853         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35854         to groups setting in database lookup.
35855         * nss/nsswitch.conf: Add initgroups entry.
35857 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35859         [BZ #12685]
35860         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35861         mode string.
35862         Patch by Eric Blake <eblake@redhat.com>.
35864 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35866         * sunrpc/Makefile (need-export-routines): Add svc_run.
35867         (routines): Remove svc_run.
35868         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35869         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35870         * sunrpc/svc_run.c (svc_run): Likewise.
35871         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35873 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35876         problem in reallocation in last patch.
35878 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35880         * sunrpc/Makefile: Move inclusion of Rules.
35882 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35884         * nss/nss_files/files-initgroups.c: New file.
35885         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35886         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35887         _nss_files_initgroups_dyn.
35889 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35891         * elf/elf.h (R_ARM_IRELATIVE): Define.
35893 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35895         * po/ru.po: Update from translation team.
35897 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35899         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35900         dependencies.
35902 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35904         [BZ #12653]
35905         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35906         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35909         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35911 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35914         differing bytes.
35915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35919 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35921         [BZ #12420]
35922         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35923         storing it.
35924         * stdlib/bug-getcontext.c: New file.
35925         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35927 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35929         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35930         instructions into .machine "z9-109".
35931         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35932         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35934 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35936         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35937         between environment variables and auxiliary vector.
35939 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35941         * Makefile: Add rules to build linkobj/libc.so.
35942         * include/libc-symbols.h: Define libc_hidden_nolink.
35943         * include/rpc/auth.h: Mark functions which are to be hidden.
35944         * include/rpc/auth_des.h: Likewise.
35945         * include/rpc/auth_unix.h: Likewise.
35946         * include/rpc/clnt.h: Likewise.
35947         * include/rpc/des_crypt.h: Likewise.
35948         * include/rpc/key_prot.h: Likewise.
35949         * include/rpc/pmap_clnt.h: Likewise.
35950         * include/rpc/pmap_prot.h: Likewise.
35951         * include/rpc/pmap_rmt.h: Likewise.
35952         * include/rpc/rpc_msg.h: Likewise.
35953         * include/rpc/svc.h: Likewise.
35954         * include/rpc/svc_auth.h: Likewise.
35955         * include/rpc/xdr.h: Likewise.
35956         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35957         * nss/Makefile: Likewise.
35958         * sunrpc/Makefile: Don't install headers.  Build library with normal
35959         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35960         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35961         for the compat linking library.  Remove use of INTDEF/INTUSE.
35962         * sunrpc/auth_none.c: Likewise.
35963         * sunrpc/auth_unix.c: Likewise.
35964         * sunrpc/authdes_prot.c: Likewise.
35965         * sunrpc/authuxprot.c: Likewise.
35966         * sunrpc/clnt_gen.c: Likewise.
35967         * sunrpc/clnt_perr.c: Likewise.
35968         * sunrpc/clnt_raw.c: Likewise.
35969         * sunrpc/clnt_simp.c: Likewise.
35970         * sunrpc/clnt_tcp.c: Likewise.
35971         * sunrpc/clnt_udp.c: Likewise.
35972         * sunrpc/clnt_unix.c: Likewise.
35973         * sunrpc/des_crypt.c: Likewise.
35974         * sunrpc/des_soft.c: Likewise.
35975         * sunrpc/get_myaddr.c: Likewise.
35976         * sunrpc/key_call.c: Likewise.
35977         * sunrpc/key_prot.c: Likewise.
35978         * sunrpc/netname.c: Likewise.
35979         * sunrpc/pm_getmaps.c: Likewise.
35980         * sunrpc/pm_getport.c: Likewise.
35981         * sunrpc/pmap_clnt.c: Likewise.
35982         * sunrpc/pmap_prot.c: Likewise.
35983         * sunrpc/pmap_prot2.c: Likewise.
35984         * sunrpc/pmap_rmt.c: Likewise.
35985         * sunrpc/publickey.c: Likewise.
35986         * sunrpc/rpc_cmsg.c: Likewise.
35987         * sunrpc/rpc_common.c: Likewise.
35988         * sunrpc/rpc_dtable.c: Likewise.
35989         * sunrpc/rpc_prot.c: Likewise.
35990         * sunrpc/rpc_thread.c: Likewise.
35991         * sunrpc/rtime.c: Likewise.
35992         * sunrpc/svc.c: Likewise.
35993         * sunrpc/svc_auth.c: Likewise.
35994         * sunrpc/svc_authux.c: Likewise.
35995         * sunrpc/svc_raw.c: Likewise.
35996         * sunrpc/svc_run.c: Likewise.
35997         * sunrpc/svc_simple.c: Likewise.
35998         * sunrpc/svc_tcp.c: Likewise.
35999         * sunrpc/svc_udp.c: Likewise.
36000         * sunrpc/svc_unix.c: Likewise.
36001         * sunrpc/svcauth_des.c: Likewise.
36002         * sunrpc/xcrypt.c: Likewise.
36003         * sunrpc/xdr.c: Likewise.
36004         * sunrpc/xdr_array.c: Likewise.
36005         * sunrpc/xdr_float.c: Likewise.
36006         * sunrpc/xdr_intXX_t.c: Likewise.
36007         * sunrpc/xdr_mem.c: Likewise.
36008         * sunrpc/xdr_rec.c: Likewise.
36009         * sunrpc/xdr_ref.c: Likewise.
36010         * sunrpc/xdr_sizeof.c: Likewise.
36011         * sunrpc/xdr_stdio.c: Likewise.
36013 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36015         [BZ #12650]
36016         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36017         * sysdeps/ia64/dl-tls.h: Likewise.
36018         * sysdeps/powerpc/dl-tls.h: Likewise.
36019         * sysdeps/s390/dl-tls.h: Likewise.
36020         * sysdeps/sh/dl-tls.h: Likewise.
36021         * sysdeps/sparc/dl-tls.h: Likewise.
36022         * sysdeps/x86_64/dl-tls.h: Likewise.
36023         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36025 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36027         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36028         rpath element also skip the following colon.
36029         (expand_dynamic_string_token): Add is_path parameter and pass
36030         down to DL_DST_REQUIRED and _dl_dst_substitute.
36031         (decompose_rpath): Call expand_dynamic_string_token with
36032         non-zero is_path.  Ignore empty rpaths.
36033         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36034         with zero is_path.
36036 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36039         Make cancelable.
36041 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36043         [BZ #12655]
36044         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36045         Patch by Filipe David Manana <fdmanana@apache.org>.
36047 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36049         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36050         Maintain aligned stack.
36051         (CHECK_RSP): Remove unused macro.
36053 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36055         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36056         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36058 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36060         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36062         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36064 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36066         [BZ #12518]
36067         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36068         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36069         * sysdeps/x86_64/memmove.c: New file.
36070         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36071         (memcpy): Renamed to ...
36072         (__new_memcpy): This.
36073         (memcpy): Provide GLIBC_2_14 memcpy.
36074         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36075         (memcpy): Provide GLIBC_2_2_5 memcpy.
36077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36079         [BZ #12631]
36080         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36082 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36084         * misc/syncfs.c: New file.
36085         * misc/Makefile (routines): Add syncfs.
36086         * posix/unistd.h: Declare syncfs.
36087         * sysdeps/unix/syscalls.list: Add syncfs.
36089 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36091         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36092         open_by_handle_at.
36093         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36094         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36098         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36101 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36103         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36104         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36107         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36111         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36112         sync_file_range.c with -fexceptions.
36113         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36114         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36115         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36116         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36117         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36118         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36120         sync_file_range as cancellation point
36121         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36122         now a wrapper around __call_sync_file_range with cancellation handling.
36123         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36125         function name to __call_sync_file_range.
36126         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36127         Add call_sync_file_range.
36129 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36132         bits/timex.h.
36134 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36136         * iconv/iconv.h: Fix typo in comment.
36137         * io/fcntl.h: Likewise.
36138         * libio/stdio.h: Likewise.
36139         * posix/spawn.h: Likewise.
36140         * posix/unistd.h: Likewise.
36141         * stdlib/stdlib.h: Likewise.
36142         * time/time.h: Likewise.
36143         * wcsmbs/wchar.h: Likewise.
36145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36146         open_by_handle): Add.
36147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36148         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36149         Augment a few comments.
36150         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36154         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36155         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36156         open_by_handle.
36158         * io/fcntl.h (AT_EMPTY_PATH): Define.
36160 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36162         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36163         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36164         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36165         to...
36166         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36167         * Versions.def: Add GLIBC_2.14.
36168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36169         Export.
36171 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36173         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36174         round counter.
36175         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36177 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36179         [BZ #12597]
36180         * string/test-strncmp.c (do_page_test): New function.
36181         (check2): Likewise.
36182         (test_main): Call check2.
36183         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36185 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36187         [BZ #12587]
36188         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36189         Handle cache information in CPU leaf 4.
36190         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36192 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36194         [BZ #12583]
36195         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36196         character representation.
36197         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36199 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36201         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36202         END(__isnan) to END(__isnanf) to match function entry point/label
36203         EALIGN(__isnanf,...).
36205 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36207         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36209 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36211         [BZ #12510]
36212         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36213         copy from the symbol referenced in the relocation to initialize the
36214         used variable.
36215         Patch by Piotr Bury <pbury@goahead.com>.
36216         * elf/Makefile: Add rules to build and tst-unique3.
36217         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36218         * elf/tst-unique3.cc: New file.
36219         * elf/tst-unique3.h: New file.
36220         * elf/tst-unique3lib.cc: New file.
36221         * elf/tst-unique3lib2.cc: New file.
36223         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36225 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36227         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36228         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36229         to _start.
36231 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36233         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36234         to-be-loaded object along a path to loader is ld.so.
36236 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36237             Ulrich Drepper  <drepper@gmail.com>
36239         * sysdeps/x86_64/memset.S: After aligning destination, code
36240         branches to different locations depending on the value of
36241         misalignment, when multiarch is enabled. Fix this.
36243 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36245         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36246         Set _x86_64_preferred_memory_instruction for AMD processsors.
36247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36248         Set bit_Prefer_SSE_for_memop for AMD processors.
36250 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36252         * libio/fmemopen.c (fmemopen): Optimize a bit.
36254 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36256         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36258 2011-03-03  Roland McGrath  <roland@redhat.com>
36260         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36262 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36264         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36265         __bzero_ultra1 instead of __memset_ultra1.
36267 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36268             Ulrich Drepper  <drepper@gmail.com>
36270         [BZ #12509]
36271         * include/link.h (struct link_map): Add l_orig_initfini.
36272         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36273         returning unsuccessfully.
36274         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36275         close of a file loaded at startup, restore the original l_initfini
36276         list.
36277         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36278         list, store the pointer.
36279         * elf/Makefile ($(objpfx)noload-mem): New rule.
36280         (noload-ENV): Define.
36281         (tests): Add $(objpfx)noload-mem.
36282         * elf/noload.c: Include <memcheck.h>.
36283         (main): Call mtrace.  Close all opened handles.
36285 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36287         [BZ #12454]
36288         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36289         dependencies are missing.
36291 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36293         Fix __if_freereq crash: Unlike the generic version which uses free,
36294         Hurd needs munmap.
36295         * sysdeps/mach/hurd/ifreq.h: New file.
36297 2011-01-27  Petr Baudis  <pasky@suse.cz>
36298             Ulrich Drepper  <drepper@gmail.com>
36300         [BZ 12445]#
36301         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36302         to extend_alloca().
36303         * stdio-common/bug23.c: New file.
36304         * stdio-common/Makefile (tests): Add bug23.
36306 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36307             Ulrich Drepper  <drepper@gmail.com>
36309         [BZ #12489]
36310         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36311         before performing relro protection.  At old place add assertion
36312         to make sure nothing changed.
36314 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36315             Glauber de Oliveira Costa  <glommer@gmail.com>
36317         * elf/elf.h: Add new ARM TLS relocs.
36319 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36322         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36323         cast from r3.
36324         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36325         'tests' variable.
36326         * sysdeps/wordsize-64/tst-writev.c: New file.
36328 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36330         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36331         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36332         insns in _dl_start to prevent a TOC reference before relocs are
36333         resolved.
36335 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36337         [BZ #12469]
36338         * Makeconfig: Remove RANLIB definition.
36339         * Makerules: Don't use RANLIB.
36340         * aclocal.m4: Remove ranlib test.
36341         * configure.in: No need to check for ranlib.
36342         * elf/rtld-Rules: Don't use RANLIB.
36344 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36346         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36347         protection macro.
36348         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36349         inclusion protection macro.
36351         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36352         SIGRTMIN and SIGRTMAX and print information in that case only when
36353         SIGRTMIN is defined.
36355 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36357         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36358         arginfo fn returning -1.
36360         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36361         and thousands string is zero terminated.
36363 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36366         sysdeps/unix/sysv/linux/bits/socket.h.
36368 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36370         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36371         (__CPU_COUNT): Remove old macros.
36372         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36373         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36374         (__CPU_ALLOC, __CPU_FREE): Add macros.
36375         (__sched_cpualloc, __sched_cpufree): Add declarations.
36377 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36379         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36380         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36381         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36382         (readdhstai): Return value of addhstaiX call.
36383         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36384         (addgrbyX): Return value returned by cache_addgr.
36385         (readdgrbyname): Return value returned by addgrbyX.
36386         (readdgrbygid): Likewise.
36387         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36388         (addpwbyX): Return value returned by cache_addpw.
36389         (readdpwbyname): Return value returned by addhstbyX.
36390         (readdpwbyuid): Likewise.
36391         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36392         (addservbyX): Return value returned by cache_addserv.
36393         (readdservbyname): Return value returned by addservbyX:
36394         (readdservbyport): Likewise.
36395         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36396         (addhstbyX): Return value returned by cache_addhst.
36397         (readdhstbyname): Return value returned by addhstbyX.
36398         (readdhstbyaddr): Likewise.
36399         (readdhstbynamev6): Likewise.
36400         (readdhstbyaddrv6): Likewise.
36401         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36402         (readdinitgroups): Return value returned by addinitgroupsX.
36403         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36404         (prune_cache): Keep track of timeout value of re-added entries.
36405         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36406         * nscd/nscd.h: Adjust prototypes of readd* functions.
36408 2011-02-04  Roland McGrath  <roland@redhat.com>
36410         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36411         (nis_stats): Likewise.
36412         * nis/nis_modify.c (nis_modify): Likewise.
36413         * nis/nis_remove.c (nis_remove): Likewise.
36414         * nis/nis_add.c (nis_add): Likewise.
36416         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36418         * posix/fnmatch_loop.c: Add some consts.
36420         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36422 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36424         [BZ #12460]
36425         * config.make.in (config-cflags-novzeroupper): Define.
36426         * configure.in: Substitute libc_cv_cc_novzeroupper.
36427         * elf/Makefile (AVX-CFLAGS): Define.
36428         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36429         (CFLAGS-tst-auditmod4a.c): Likewise.
36430         (CFLAGS-tst-auditmod4b.c): Likewise.
36431         (CFLAGS-tst-auditmod6b.c): Likewise.
36432         (CFLAGS-tst-auditmod6c.c): Likewise.
36433         (CFLAGS-tst-auditmod7b.c): Likewise.
36434         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36436 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36438         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36439         function to the callback.
36440         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36442 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36444         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36445         of errno.
36447 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36449         [BZ #11724]
36450         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36451         of constructors.
36452         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36453         of destructors.
36454         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36456         [BZ #11724]
36457         * elf/Makefile: Add rules to build and run new test.
36458         * elf/tst-initorder.c: New file.
36459         * elf/tst-initorder.exp: New file.
36460         * elf/tst-initordera1.c: New file.
36461         * elf/tst-initordera2.c: New file.
36462         * elf/tst-initordera3.c: New file.
36463         * elf/tst-initordera4.c: New file.
36464         * elf/tst-initorderb1.c: New file.
36465         * elf/tst-initorderb2.c: New file.
36466         * elf/tst-order-a1.c: New file.
36467         * elf/tst-order-a2.c: New file.
36468         * elf/tst-order-a3.c: New file.
36469         * elf/tst-order-a4.c: New file.
36470         * elf/tst-order-b1.c: New file.
36471         * elf/tst-order-b2.c: New file.
36472         * elf/tst-order-main.c: New file.
36473         New test case by George Gensure <werkt0@gmail.com>.
36475 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36478         decoding ACE if AI_CANONIDN.
36480 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36482         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36484 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36486         * version.h (RELEASE): Bump for 2.13 release.
36487         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36489         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36491         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36492         MADV_NOHUGEPAGE.
36493         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36495         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36496         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36497         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36498         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36500         * posix/getconf.c: Update copyright year.
36501         * catgets/gencat.c: Likewise.
36502         * csu/version.c: Likewise.
36503         * debug/catchsegv.sh: Likewise.
36504         * debug/xtrace.sh: Likewise.
36505         * elf/ldconfig.c: Likewise.
36506         * elf/ldd.bash.in: Likewise.
36507         * elf/sprof.c (print_version): Likewise.
36508         * iconv/iconv_prog.c: Likewise.
36509         * iconv/iconvconfig.c: Likewise.
36510         * locale/programs/locale.c: Likewise.
36511         * locale/programs/localedef.c: Likewise.
36512         * malloc/memusage.sh: Likewise.
36513         * malloc/mtrace.pl: Likewise.
36514         * nscd/nscd.c (print_version): Likewise.
36515         * nss/getent.c: Likewise.
36517         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36518         PF_CAIF, and PF_ALG.
36519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36521 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36523         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36524         (modules-names): Use them.
36525         (ifunc-test-modules, ifunc-pie-tests): Define.
36526         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36527         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36528         (test-extras): Likewise.
36529         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36530         $(compile-command.c).
36531         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36532         (all-built-dso): Define.
36533         (check-textrel.out, check-execstack.out): Depend on it.
36535         * configure.in: Don't override --enable-multi-arch.
36537 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36539         [BZ #6812]
36540         * nscd/hstcache.c (tryagain): Define.
36541         (cache_addhst): Return tryagain not notfound for temporary errors.
36542         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36543         failed.
36545 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36547         [BZ #10563]
36548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36549         to make the syscall.
36550         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36552         [BZ #12378]
36553         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36554         and fall back to matching as normal character if the string ends before
36555         the matching ']' is found.  This is what POSIX requires.
36556         * posix/testfnm.c: Adjust test result.
36557         * posix/globtest.sh: Adjust test result.  Add new test.
36558         * posix/tst-fnmatch.input: Likewise.
36559         * posix/tst-fnmatch2.c: Add new test.
36561 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36563         * elf/Makefile (check-execstack): Revert last change.  Depend on
36564         check-execstack.h.
36565         (check-execstack.h): New target.
36566         (generated): Add check-execstack.h.
36567         * elf/check-execstack.c: Include "check-execstack.h".
36568         (main): Revert last change.
36569         (handle_file): Return zero if GNU_STACK is absent and
36570         DEFAULT_STACK_PERMS doesn't include PF_X.
36572 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36574         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36575         in child fails because the descriptor is already closed.
36576         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36577         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36578         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36580         [BZ #12397]
36581         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36582         syscall.
36584         [BZ #10484]
36585         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36586         temporary buffer used to handle multi lookups locally.
36587         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36589 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36591         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36592         loader is ld.so.
36594 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36596         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36597         alignment for SSE2.
36599 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36601         [BZ #12394]
36602         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36603         characters.  When rounding increased number of integer digits recompute
36604         number of groups.
36605         * stdio-common/tst-grouping.c: New file.
36606         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36608 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36610         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36611         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36613         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36614         void.
36615         * bits/select.h: Likewise.
36617 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36619         * po/ja.po: Update from translation team.
36621 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36623         [BZ #11155]
36624         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36625         implementation just like for lxstat, fxstatat, et al.
36627 2010-12-27  Jim Meyering  <meyering@redhat.com>
36629         [BZ #12348]
36630         * posix/regexec.c (build_trtable): Return failure indication upon
36631         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36633 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36635         [BZ #12201]
36636         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36637         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36638         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36639         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36641         [BZ #12207]
36642         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36644         [BZ #12204]
36645         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36646         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36648 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36650         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36651         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36652         script has SORT_BY_INIT_PRIORITY.
36653         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36654         NO_CTORS_DTORS_SECTIONS is defined.
36655         * elf/soinit.c: Likewise.
36656         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36657         NO_CTORS_DTORS_SECTIONS is defined.
36658         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36659         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36660         * sysdeps/sh/init-first.c: Likewise.
36661         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36663 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36665         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36666         always use the slow path.
36668 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36670         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36671         similar rule which adds the sysdep directories to the header search in
36672         order to pick up the correct platform stackinfo.h.
36673         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36674         perform test if it is, otherwise return successfully without testing.
36675         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36676         DEFAULT_STACK_PERMS define in stackinfo.h.
36677         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36678         defined in stackinfo.h.
36679         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36680         DEFAULT_STACK_PERMS defined in stackinfo.h.
36681         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36682         * sysdeps/ia64/stackinfo.h: Likewise.
36683         * sysdeps/s390/stackinfo.h: Likewise.
36684         * sysdeps/sh/stackinfo.h: Likewise.
36685         * sysdeps/sparc/stackinfo.h: Likewise.
36686         * sysdeps/x86_64/stackinfo.h: Likewise.
36687         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36688         PF_X for powerpc64.  Retain PF_X for powerpc32.
36690 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36692         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36693         accurately.
36694         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36695         GETDENTS_64BIT_ALIGNED.
36697 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36699         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36701 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36703         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36704         _GNU_SOURCE.
36706         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36707         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36708         Remove __restrict.
36709         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36710         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36712 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36714         [BZ #11655]
36715         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36716         are initialized.
36718 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36720         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36722 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36724         * po/it.po: Update from translation team.
36726 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36729         unused codes.
36731 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36733         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36735 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36737         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36738         specially.
36739         (gaih_getanswer_slice): Likewise.
36741 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36745 2010-05-31  Petr Baudis  <pasky@suse.cz>
36747         [BZ #11149]
36748         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36749         silently even in the chroot mode.
36751 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36753         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36754         last patch a bit.  Pretty printing
36756 2010-05-31  Petr Baudis <pasky@suse.cz>
36758         [BZ #10085]
36759         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36760         initialization of skip_initgroups_dyn.
36762 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36764         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36765         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36767 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36769         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36771 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36773         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36774         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36775         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36776         ($(objpfx)tst-fnmatch-mem): New rule.
36777         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36778         * posix/tst-fnmatch.c (main): Call mtrace.
36780 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36783         Support Intel processor model 6 and model 0x2c.
36785 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36787         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36788           signed comparison.
36790 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36792         [BZ #12205]
36793         * string/test-strncasecmp.c (check_result): New function.
36794         (do_one_test): Use it.
36795         (check1): New function.
36796         (test_main): Use it.
36797         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36798         Support strcasecmp and strncasecmp.
36800 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36802         [BZ #12194]
36803         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36806 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36808         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36809         IFUNC support.
36810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36811         memset-x86-64.
36812         * sysdeps/x86_64/multiarch/bzero.S: New file.
36813         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36814         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36815         * sysdeps/x86_64/multiarch/memset.S: New file.
36816         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36818         Set bit_Prefer_SSE_for_memop for Intel processors.
36819         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36820         Define.
36821         (index_Prefer_SSE_for_memop): Define.
36822         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36824 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36826         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36827         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36829 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36831         [BZ #12191]
36832         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36833         (__x86_64_raw_data_cache_size_half): Likewise.
36834         (__x86_64_raw_shared_cache_size): Likewise.
36835         (__x86_64_raw_shared_cache_size_half): Likewise.
36837         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36838         (__x86_64_raw_data_cache_size_half): Likewise.
36839         (__x86_64_raw_shared_cache_size): Likewise.
36840         (__x86_64_raw_shared_cache_size_half): Likewise.
36841         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36842         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36843         and __x86_64_raw_shared_cache_size_half.  Round
36844         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36845         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36846         to multiple of 256 bytes.
36848 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36850         [BZ #12167]
36851         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36852         of inacessible symlinks.  Verify result of symlink before returning it.
36853         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36854         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36856 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36858         * math/math.h (isinf): Fix typo in comment.
36860 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36862         * po/da.po: Update from translation team.
36864 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36866         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36867         is added to the list.
36869 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36870             Ulrich Drepper  <drepper@gmail.com>
36872         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36873         the global list here.  Move code to...
36874         (_dl_add_to_namespace_list): ...here.  New function.
36875         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36876         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36877         * elf/dl-load.c (lose): Don't remove the element from the list.
36878         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36879         (_dl_map_object): Likewise.
36881 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36883         [BZ #12159]
36884         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36885         into all bytes of SSE register.
36886         Patch by Richard Li <richardpku@gmail.com>.
36888 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36890         [BZ #12140]
36891         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36892         perturbing.
36894 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36896         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36897         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36898         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36899         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36901         submachine.
36902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36904 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36906         * include/dlfcn.h (__RTLD_SECURE): Define.
36907         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36908         mode & __RTLD_SECURE instead.
36909         (open_path): Rename preloaded parameter to secure.
36910         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36911         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36912         * elf/dl-deps.c (openaux): Likewise.
36913         * elf/rtld.c (struct map_args): Remove is_preloaded.
36914         (map_doit): Don't use it.
36915         (dl_main): Likewise.
36916         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36917         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36919 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36921         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36922         (sysd-rules-targets): Remove duplicates.
36923         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36924         rtld-%.$o dependency.
36926 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36928         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36929         _dl_map_object do it.
36931 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36933         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36934         fast fma builtins, define the macros in the C99 standard.
36935         (FP_FAST_FMAF): Likewise.
36936         (FP_FAST_FMAL): Likewise.
36937         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36939         * bits/mathdef.h: Update copyright year.
36940         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36942 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36944         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36945         builtins, define the macros in the C99 standard.
36946         (FP_FAST_FMAF): Likewise.
36947         (FP_FAST_FMAL): Likewise.
36948         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36949         multiply/add.
36950         (FP_FAST_FMAF): Likewise.
36952 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36954         [BZ #3268]
36955         * math/libm-test.inc (fma_test): Some new testcases.
36956         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36958         y and infinite z.  Do multiplication by C already in long double.
36959         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36961         y and infinite z.  Do bitwise or of inexact bit into u.d.
36962         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36963         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36964         * sysdeps/i386/fpu/s_fma.S: Removed.
36965         * sysdeps/i386/fpu/s_fmal.S: Removed.
36967 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36969         [BZ #3268]
36970         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36972         computation is not scheduled after fetestexcept.  Fix value
36973         of minimum denormal long double.
36975 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36977         [BZ #3268]
36978         * math/libm-test.inc (fma_test): Add some more tests.
36979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36980         correctly.
36982 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36984         * scripts/data/localplt-s390-linux-gnu.data: New file.
36985         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36987 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36989         [BZ #3268]
36990         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36991         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36992         instead of dbl-64.
36993         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36994         inlines.
36995         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36997         if one of x and y is very large and the other is subnormal.
36998         * sysdeps/s390/fpu/s_fmaf.c: New file.
36999         * sysdeps/s390/fpu/s_fma.c: New file.
37000         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37001         * sysdeps/powerpc/fpu/s_fma.S: New file.
37002         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37003         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37004         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37006 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37008         [BZ #3268]
37009         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37010         fma tests.
37011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37012         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37013         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37014         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37015         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37016         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37017         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37019 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37021         [BZ #12078]
37022         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37023         * posix/bug-regex31.input: Add test case.
37025 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37027         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37028         * posix/bug-regex31.input: New file.
37030         [BZ #12078]
37031         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37032         (parse_sub_exp): Fix last change, use postorder.
37034         * posix/bug-regex31.c: New file.
37035         * posix/Makefile: Add rules to build and run bug-regex31.
37037         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37039         [BZ #12078]
37040         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37042         [BZ #12108]
37043         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37044         to have entries in sys_siglist.
37046         [BZ #12093]
37047         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37048         be NULL.
37050 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37052         [BZ #3268]
37053         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37054         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37055         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37056         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37057         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37058         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37059         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37060         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37061         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37062         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37063         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37064         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37065         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37066         * math/ftestexcept.c (fetestexcept): Likewise.
37067         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37068         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37069         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37070         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37071         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37072         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37073         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37075 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37077         [BZ #12107]
37078         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37079         newline.
37081 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37083         * string/bug-strstr1.c: New file.
37084         * string/Makefile: Add rules to build and run bug-strstr1.
37086 2010-10-05  Eric Blake  <eblake@redhat.com>
37088         [BZ #12092]
37089         * string/str-two-way.h (two_way_long_needle): Always clear memory
37090         when skipping input due to the shift table.
37092 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37094         [BZ #12005]
37095         * malloc/mcheck.c: Handle large requests.
37097         [BZ #12077]
37098         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37099         for strncmp and strncasecmp.
37100         * string/stratcliff.c: Add tests for strcmp and strncmp.
37101         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37103 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37105         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37106         __set_fpscr.
37108 2010-09-30  Andreas Jaeger  <aj@suse.de>
37110         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37111         (CGROUP_SUPER_MAGIC): Define.
37112         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37113         Handle btrfs and cgroup file systems.
37114         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37115         Likewise.
37117 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37119         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37120         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37122 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37124         [BZ #12067]
37125         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37126         trying to locate the ELF header.
37128 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37130         [BZ #11611]
37131         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37132         Mask out sign-bit copies when constructing f_fsid.
37134 2010-09-24  Petr Baudis <pasky@suse.cz>
37136         * debug/stack_chk_fail_local.c: Add missing licence exception.
37137         * debug/warning-nop.c: Likewise.
37139 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37142         implementing getdents64 using getdents syscall, set d_type if
37143         __ASSUME_GETDENTS32_D_TYPE.
37145 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37147         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37148         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37150 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37152         [BZ #12037]
37153         * posix/unistd.h: Undo change of feature selection for ftruncate from
37154         2010-01-11.
37156 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37158         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37159         detection.
37161 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37163         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37164         fanotify_mark.
37165         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37167 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37169         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37170         variables after CHECK_SP call.
37171         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37173 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37174             Ulrich Drepper  <drepper@redhat.com>
37176         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37177         re-relocationg ld.so.
37178         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37179         _dl_init_paths call.
37180         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37181         here anymore.
37183 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37185         * resolv/res_init.c (__res_vinit): Count the default server we added.
37187 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37188             Ulrich Drepper  <drepper@redhat.com>
37190         [BZ #11968]
37191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37192         (____longjmp_chk): Use %ebx for saving value across system call.
37193         Add unwind info.
37195 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37197         * manual/Makefile: Don't mix pattern rules with normal rules.
37199 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37201         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37202         operation.
37203         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37204         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37205         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37208         Likewise.
37210 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37212         [BZ #11979]
37213         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37214         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37216 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37218         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37219         * sysdeps/x86_64/addmul_1.S: Likewise.
37220         * sysdeps/x86_64/lshift.S: Likewise.
37221         * sysdeps/x86_64/mul_1.S: Likewise.
37222         * sysdeps/x86_64/rshift.S: Likewise.
37223         * sysdeps/x86_64/sub_n.S: Likewise.
37224         * sysdeps/x86_64/submul_1.S: Likewise.
37226 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37228         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37229         Define __sched_param instead of SCHED_* and sched_param when
37230         <bits/sched.h> is included with __need_schedparam defined.
37231         * bits/sched.h [__need_schedparam]
37232         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37233         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37234         (__defined_schedparam): Define to 1.
37235         (__sched_param): New structure, identical to sched_param.
37236         (__need_schedparam): Undefine.
37238 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37241         (epoll_create1): Declare.
37243         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37245 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37247         [BZ #7066]
37248         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37249         shifting retval into place.
37251 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37253         * nis/rpcsvc/nis.h: Update copyright notice.
37254         * nis/rpcsvc/nis.x: Likewise.
37255         * nis/rpcsvc/nis_callback.h: Likewise.
37256         * nis/rpcsvc/nis_callback.x: Likewise.
37257         * nis/rpcsvc/nis_object.x: Likewise.
37258         * nis/rpcsvc/nis_tags.h: Likewise.
37259         * nis/rpcsvc/yp.h: Likewise.
37260         * nis/rpcsvc/yp.x: Likewise.
37261         * nis/rpcsvc/ypupd.h: Likewise.
37262         * nis/yp_xdr.c: Likewise.
37263         * nis/ypupdate_xdr.c: Likewise.
37265         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37266         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37267         (pmap_getport): Use __libc_rpc_getport.
37268         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37269         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37270         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37272 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37275         fanotify_mark.
37277 2010-08-27  Roland McGrath  <roland@redhat.com>
37279         * sysdeps/i386/i686/multiarch/Makefile
37280         (CFLAGS-varshift.c): New variable.
37282 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37284         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37285         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37289         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37291 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37293         * sysdeps/x86_64/strlen.S: Unroll the loop.
37294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37295         strlen-sse2 strlen-sse2-bsf.
37296         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37297         __strlen_no_bsf if bit_Slow_BSF is set.
37298         (__strlen_sse42): Removed.
37299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37300         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37302 2010-08-25  Roland McGrath  <roland@redhat.com>
37304         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37305         * sysdeps/x86_64/multiarch/varshift.c: New file.
37306         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37307         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37308         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37309         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37311 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37314         strlen-sse2 strlen-sse2-bsf.
37315         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37316         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37317         (__strlen_sse2): Removed.
37318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37321         bit_Slow_BSF for Atom.
37322         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37323         (index_Slow_BSF): Define.
37324         (HAS_SLOW_BSF): Define.
37326 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37328         [BZ #10851]
37329         * resolv/res_init.c (__res_vinit): When no server address at all
37330         is given default to loopback.
37332 2010-08-24  Roland McGrath  <roland@redhat.com>
37334         * configure.in: Remove config-name.h generation.
37335         * configure: Regenerated.
37336         * config-name.in: File removed.
37337         * scripts/config-uname.sh: New file.
37338         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37339         ($(objdir)config-name.h): New target.
37341         * sunrpc/rpc_parse.h: Avoid nested comment.
37343 2010-08-24  Richard Henderson  <rth@redhat.com>
37344             Ulrich Drepper  <drepper@redhat.com>
37345             H.J. Lu  <hongjiu.lu@intel.com>
37347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37349         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37350         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37351         _mm_alignr_epi8 with _mm_loadu_si128.
37352         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37353         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37354         (__m128i_shift_right): Removed.
37355         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37356         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37357         * sysdeps/x86_64/multiarch/varshift.h: New file.
37358         * sysdeps/x86_64/multiarch/varshift.S: New file.
37360 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37362         * configure.in: Move assembler checks to before sysdep dir checking.
37364 2010-08-20  Petr Baudis  <pasky@suse.cz>
37366         * LICENSES: Sync the sunrpc license.
37368 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37370         * sunrpc/auth_des.c: Update copyright notice once again.
37371         * sunrpc/auth_none.c: Likewise.
37372         * sunrpc/auth_unix.c: Likewise.
37373         * sunrpc/authdes_prot.c: Likewise.
37374         * sunrpc/authuxprot.c: Likewise.
37375         * sunrpc/bindrsvprt.c: Likewise.
37376         * sunrpc/clnt_gen.c: Likewise.
37377         * sunrpc/clnt_perr.c: Likewise.
37378         * sunrpc/clnt_raw.c: Likewise.
37379         * sunrpc/clnt_simp.c: Likewise.
37380         * sunrpc/clnt_tcp.c: Likewise.
37381         * sunrpc/clnt_udp.c: Likewise.
37382         * sunrpc/clnt_unix.c: Likewise.
37383         * sunrpc/des_crypt.c: Likewise.
37384         * sunrpc/des_soft.c: Likewise.
37385         * sunrpc/get_myaddr.c: Likewise.
37386         * sunrpc/getrpcport.c: Likewise.
37387         * sunrpc/key_call.c: Likewise.
37388         * sunrpc/key_prot.c: Likewise.
37389         * sunrpc/openchild.c: Likewise.
37390         * sunrpc/pm_getmaps.c: Likewise.
37391         * sunrpc/pm_getport.c: Likewise.
37392         * sunrpc/pmap_clnt.c: Likewise.
37393         * sunrpc/pmap_prot.c: Likewise.
37394         * sunrpc/pmap_prot2.c: Likewise.
37395         * sunrpc/pmap_rmt.c: Likewise.
37396         * sunrpc/rpc/auth.h: Likewise.
37397         * sunrpc/rpc/auth_unix.h: Likewise.
37398         * sunrpc/rpc/clnt.h: Likewise.
37399         * sunrpc/rpc/des_crypt.h: Likewise.
37400         * sunrpc/rpc/key_prot.h: Likewise.
37401         * sunrpc/rpc/netdb.h: Likewise.
37402         * sunrpc/rpc/pmap_clnt.h: Likewise.
37403         * sunrpc/rpc/pmap_prot.h: Likewise.
37404         * sunrpc/rpc/pmap_rmt.h: Likewise.
37405         * sunrpc/rpc/rpc.h: Likewise.
37406         * sunrpc/rpc/rpc_des.h: Likewise.
37407         * sunrpc/rpc/rpc_msg.h: Likewise.
37408         * sunrpc/rpc/svc.h: Likewise.
37409         * sunrpc/rpc/svc_auth.h: Likewise.
37410         * sunrpc/rpc/types.h: Likewise.
37411         * sunrpc/rpc/xdr.h: Likewise.
37412         * sunrpc/rpc_clntout.c: Likewise.
37413         * sunrpc/rpc_cmsg.c: Likewise.
37414         * sunrpc/rpc_common.c: Likewise.
37415         * sunrpc/rpc_cout.c: Likewise.
37416         * sunrpc/rpc_dtable.c: Likewise.
37417         * sunrpc/rpc_hout.c: Likewise.
37418         * sunrpc/rpc_main.c: Likewise.
37419         * sunrpc/rpc_parse.c: Likewise.
37420         * sunrpc/rpc_parse.h: Likewise.
37421         * sunrpc/rpc_prot.c: Likewise.
37422         * sunrpc/rpc_sample.c: Likewise.
37423         * sunrpc/rpc_scan.c: Likewise.
37424         * sunrpc/rpc_scan.h: Likewise.
37425         * sunrpc/rpc_svcout.c: Likewise.
37426         * sunrpc/rpc_tblout.c: Likewise.
37427         * sunrpc/rpc_util.c: Likewise.
37428         * sunrpc/rpc_util.h: Likewise.
37429         * sunrpc/rpcinfo.c: Likewise.
37430         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37431         * sunrpc/rpcsvc/key_prot.x: Likewise.
37432         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37433         * sunrpc/rpcsvc/mount.x: Likewise.
37434         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37435         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37436         * sunrpc/rpcsvc/rex.x: Likewise.
37437         * sunrpc/rpcsvc/rstat.x: Likewise.
37438         * sunrpc/rpcsvc/rusers.x: Likewise.
37439         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37440         * sunrpc/rpcsvc/spray.x: Likewise.
37441         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37442         * sunrpc/rtime.c: Likewise.
37443         * sunrpc/svc.c: Likewise.
37444         * sunrpc/svc_auth.c: Likewise.
37445         * sunrpc/svc_authux.c: Likewise.
37446         * sunrpc/svc_raw.c: Likewise.
37447         * sunrpc/svc_run.c: Likewise.
37448         * sunrpc/svc_simple.c: Likewise.
37449         * sunrpc/svc_tcp.c: Likewise.
37450         * sunrpc/svc_udp.c: Likewise.
37451         * sunrpc/svc_unix.c: Likewise.
37452         * sunrpc/svcauth_des.c: Likewise.
37453         * sunrpc/xcrypt.c: Likewise.
37454         * sunrpc/xdr.c: Likewise.
37455         * sunrpc/xdr_array.c: Likewise.
37456         * sunrpc/xdr_float.c: Likewise.
37457         * sunrpc/xdr_mem.c: Likewise.
37458         * sunrpc/xdr_rec.c: Likewise.
37459         * sunrpc/xdr_ref.c: Likewise.
37460         * sunrpc/xdr_sizeof.c: Likewise.
37461         * sunrpc/xdr_stdio.c: Likewise.
37463         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37464         handling.
37466 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37468         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37470 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37472         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37475         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37476         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37477         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37478         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37479         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37481         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37482         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37483         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37484         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37485         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37487 2010-07-26  Anton Blanchard  <anton@samba.org>
37489         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37490         * malloc/arena.c (heap_trim): Likewise.
37492 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37494         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37495         here.  Not...
37496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37497         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37499 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37501         * sysdeps/i386/elf/Makefile: New file.
37503 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37505         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37506         from fanotify_init.
37507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37510 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37512         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37513         of strncasecmp_l.
37514         * sysdeps/multiarch/strcmp.S: Likewise.
37516 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37518         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37519         strncase_l-nonascii.
37520         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37521         Add strncase_l-ssse3.
37522         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37523         * sysdeps/x86_64/strcmp.S: Likewise.
37524         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37525         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37526         * sysdeps/x86_64/strncase.S: New file.
37527         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37528         * sysdeps/x86_64/strncase_l.S: New file.
37529         * string/Makefile (strop-tests): Add strncasecmp.
37530         * string/test-strncasecmp.c: New file.
37532         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37533         warning.
37535         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37536         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37538 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37540         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37542 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37544         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37546         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37548 2010-05-01  Alan Modra  <amodra@gmail.com>
37550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37551         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37552         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37553         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37554         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37555         tidying.  Don't tail-call __sigjmp_save for static lib.
37556         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37557         save location.
37558         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37559         (CALL_MCOUNT): Add eh info, and nop after bl.
37560         (TAIL_CALL_SYSCALL_ERROR): New macro.
37561         (PSEUDO_RET): Use it.
37562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37563         Correct save location of integer regs and cr.
37564         (_dl_profile_resolve): Correct cr save location.  Delete nops
37565         after bl when SHARED.  Reduce cfi size a little by better
37566         placement of cfi directives.
37567         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37568         make a stack frame.  Instead use parm save area as a temp.
37569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37570         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37572         Don't make a stack frame for parent, use parm save area.
37573         Increase child stack frame to 112 bytes.  Don't save unused reg,
37574         and adjust reg usage.  Set up cfi on error recovery and
37575         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37577         (__makecontext): Add dummy nop after jump to exit.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37579         Use correct parm save area and cr save, reduce stack frame.
37580         Correct cfi for possible PSEUDO_RET frame setup.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37582         Branch to local label emitted by PSEUDO_RET rather than
37583         __syscall_error.
37585 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37587         [BZ #11904]
37588         * locale/programs/locale.c (print_assignment): New function.
37589         (show_locale_vars): Use it.
37591 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37593         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37594         field.
37595         (struct statfs64): Likewise.
37596         (_STATFS_F_FLAGS): Define.
37597         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37598         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37599         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37600         (ST_VALID): Define locally.
37601         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37602         __statvfs_getflags, use the provided value.
37603         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37604         __ASSUME_STATFS_F_FLAGS.
37606         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37608         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37609         Add sys/fanotify.h.
37610         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37611         fanotify_mask for GLIBC_2.13.
37612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37613         fanotify_init and fanotify_mark.
37614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37615         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37617         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37618         Add prlimit.
37619         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37620         prlimit64 for GLIBC_2.13.
37621         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37622         prlimit64.
37623         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37624         syscall.
37625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37627         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37630         add prlimit alias.
37631         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37633         [BZ #11903]
37634         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37635         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37637         * nss/Makefile: Add rules to build and run tst-nss-test1.
37638         * shlib-versions: Add entry for libnss_test1.
37639         * nss/nss_test1.c: New file.
37640         * nss/tst-nss-test1.c: New file.
37642         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37643         (__nss_configure_lookup): Set appropriate entry in
37644         __nss_configure_lookup to true.
37645         * nss/nsswitch.h: Define enum with indeces of databases in
37646         databases and __nss_database_custom arrays.  Declare
37647         __nss_database_custom.
37648         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37649         to avoid using nscd when custom rules are installed.
37650         * nss/getXXbyYY_r.c: Likewise.
37651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37653         * nss/nss_files/files-parse.c: Whitespace fixes.
37655 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37657         [BZ #11883]
37658         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37659         * posix/fnmatch_loop.c: Likewise.
37661 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37663         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37664         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37665         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37666         * Versions.def [GLIBC_2.13]: Add.
37668 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37670         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37671         Also fail if tpwd after pwuid call is NULL.
37673 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37675         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37676         when converting to ms.
37678 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37680         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37681         EOPNOTSUPP errors with ENOTTY.
37682         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37683         EOPNOTSUPP errors with ENOTTY.
37685 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37687         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37688         Add strcasecmp_l-ssse3.
37689         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37690         strcasecmp.
37691         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37692         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37693         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37695 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37697         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37699         * string/Makefile (strop-tests): Add strcasecmp.
37700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37701         strcasecmp_l-nonascii.
37702         (gen-as-const-headers): Add locale-defines.sym.
37703         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37704         * sysdeps/x86_64/strcasecmp.S: New file.
37705         * sysdeps/x86_64/strcasecmp_l.S: New file.
37706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37707         * sysdeps/x86_64/locale-defines.sym: New file.
37708         * string/test-strcasecmp.c: New file.
37710         * string/test-strcasestr.c: Test both ends of the range of characters.
37711         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37713 2010-07-29  Roland McGrath  <roland@redhat.com>
37715         [BZ #11856]
37716         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37718 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37720         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37721         for ld.so.
37723 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37725         * manual/memory.texi (Malloc Tunable Parameters): Document
37726         M_PERTURB.
37728 2010-07-26  Roland McGrath  <roland@redhat.com>
37730         [BZ #11840]
37731         * configure.in (-fgnu89-inline check): Set and substitute
37732         gnu89_inline, not libc_cv_gnu89_inline.
37733         * configure: Regenerated.
37734         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37736 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37738         * string/test-strnlen.c: New file.
37739         * string/Makefile (strop-tests): Add strnlen.
37740         * string/tester.c (test_strnlen): Add a few more test cases.
37741         * string/tst-strlen.c: Better error reporting.
37743         * sysdeps/x86_64/strnlen.S: New file.
37745 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37747         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37748         lower-latency instructions.
37750 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37752         * string/test-strcasestr.c: New file.
37753         * string/test-strstr.c: New file.
37754         * string/Makefile (strop-tests): Add strstr and strcasestr.
37755         * string/str-two-way.h: Don't undefine MAX.
37756         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37758 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37761         strcasestr-nonascii.
37762         (CFLAGS-strcasestr-nonascii.c): Define.
37763         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37764         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37765         Remove unused attribute.
37767 2010-07-20  Roland McGrath  <roland@redhat.com>
37769         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37770         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37771         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37772         like LD_HWCAP_MASK can disable hwcaps.
37774 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37776         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37778 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37780         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37781         call in strcasestr.
37782         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37783         __strcasestr_sse42_nonascii.
37784         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37785         strcasestr-nonascii.c.
37786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37788 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37790         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37791         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37792         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37793         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37795 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37798         fcntl.
37800 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37802         [BZ #11577]
37803         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37804         dl_signal_cerror.
37806 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37809         _PC_PIPE_BUF using F_GETPIPE_SZ.
37811 2010-07-05  Roland McGrath  <roland@redhat.com>
37813         * manual/arith.texi (Rounding Functions): Fix rint description
37814         implicit in round description.
37816 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37818         * elf/Makefile: Fix linking for a few tests to make recent linker
37819         happy.
37821 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37823         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37824         $(common-objpfx)libc_nonshared.a.
37826 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37828         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37829         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37830         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37831         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37832         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37834         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37835         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37850         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37851         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37852         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37853         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37854         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37855         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37856         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37857         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37858         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37859         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37860         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37861         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37877 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37879         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37880         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37881         * string/memmove.c (memmove): Renamed to ...
37882         (MEMMOVE): ...this.  Default to memmove.
37883         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37884         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37885         (END_CHK): Define.
37886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37887         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37888         mempcpy-ssse3-back memmove-ssse3-back.
37889         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37892         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37893         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37894         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37895         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37896         * sysdeps/x86_64/multiarch/memmove.c: New file.
37897         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37898         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37899         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37900         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37901         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37903         Define.
37904         (index_Fast_Copy_Backward): Define.
37905         (HAS_ARCH_FEATURE): Define.
37906         (HAS_FAST_REP_STRING): Define.
37907         (HAS_FAST_COPY_BACKWARD): Define.
37909 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37911         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37912         Restore proper fallback handling.
37914 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37916         [BZ #11701]
37917         * posix/group_member.c (__group_member): Correct checking loop.
37919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37920         OOM in getpwuid_r correctly.  Return error number when the caller
37921         should return, otherwise -1.
37922         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37923         call returning > 0 value.
37924         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37926 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37928         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37929         libc_nonshared.a from targets in modules-names.
37931 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37933         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37934         requires it.
37936 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37939         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37940         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37943 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37945         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37947 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37949         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37950         and F_GETPIPE_SZ.
37951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37955         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37956         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37958 2010-06-14  Roland McGrath  <roland@redhat.com>
37960         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37962 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37964         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37965         __REDIRECT followed by __THROW.
37966         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37967         * posix/getopt.h (getopt): Likewise.
37969 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37971         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37972         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37973         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37974         in AT_FLAGS.
37975         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37976         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37978 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37980         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37982 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37984         [BZ #11640]
37985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37986         Properly check family and model.
37988 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37990         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37992 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37994         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37996 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37998         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37999         symbol reference.
38001 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38003         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38004         symbol reference.
38006 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38008         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38009         and internal_recvmmsg.
38010         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38011         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38013         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38015         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38016         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38017         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38019 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38021         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38023 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38025         POWER7 optimizations.
38026         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38027         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38029 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38031         * version.h: Update for 2.13 development version.
38033 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38035         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38036         exceptions.  Return 0.
38038 2010-05-07  Roland McGrath  <roland@redhat.com>
38040         * elf/ldconfig.c (main): Add a const.
38042 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38044         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38045         (args_options): Add no-idn option.
38046         (ahosts_keys_int): Add idn_flags to ai_flags.
38047         (parse_option): Handle 'i' option to clear idn_flags.
38049         * malloc/malloc.c (_int_free): Possible race in the most recently
38050         added check.  Only act on the data if no current modification
38051         happened.
38053 See ChangeLog.17 for earlier changes.