Fix race in free() of fastbin chunk: BZ #15073
[glibc.git] / ChangeLog
blobf3ead2e762d1ee679719e1a091a3b8d063189353
1 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2             Ondřej Bílka  <neleai@seznam.cz>
4         [BZ #15073]
5         * malloc/malloc.c (_int_free): Perform sanity check only if we
6         have_lock.
8 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10         [BZ #12986]
11         * manual/stdio.texi (String Input Conversions): Clarify that character
12         classes are not supported.
14 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20         [BZ #16337]
21         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22         Calculate results for small negative arguments directly rather
23         than using reflection formula with special underflow handling.
25         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28         (fchflags): Likewise.
29         (revoke): Likewise.
30         (setlogin): Likewise.
31         (sigaltstack): Likewise.
32         (wait4): Likewise.
33         (sigblock): Remove.
34         (sigsetmask): Likewise.
35         (wait3): Likewise.
36         (waitpid): Likewise.
37         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39         file.
40         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41         * sysdeps/unix/bsd/Makefile: ... here.
42         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43         * sysdeps/unix/bsd/Versions: ... here.
44         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
46         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49         * sysdeps/unix/bsd/sigblock.c: ... here.
50         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53         * sysdeps/unix/bsd/sigvec.c: ... here.
54         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55         * sysdeps/unix/bsd/tcdrain.c: ... here.
56         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
59         * sysdeps/unix/bsd/tcsetattr.c: ... here.
60         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
61         * sysdeps/unix/bsd/wait.c: ... here.
62         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
63         * sysdeps/unix/bsd/wait3.c: ... here.
64         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
65         * sysdeps/unix/bsd/waitpid.c: ... here.
67 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #16356]
70         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
71         round-to-nearest for [!USE_AS_EXPM1L].
72         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
73         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
74         more tests of exp and exp10.  Expect some exp10 tests to miss
75         exceptions or fail in directed rounding modes.
76         * math/auto-libm-test-out: Regenerated.
77         * math/libm-test.inc (exp10_tonearest_test_data): New array.
78         (exp10_test_tonearest): New function.
79         (exp10_towardzero_test_data): New array.
80         (exp10_test_towardzero): New function.
81         (exp10_downward_test_data): New array.
82         (exp10_test_downward): New function.
83         (exp10_upward_test_data): New array.
84         (exp10_test_upward): New function.
85         (main): Call the new functions.
86         * sysdeps/i386/fpu/libm-test-ulps: Update.
87         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
91         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
92         asinh, atan, atan2, atanh, cbrt, cos and cosh.
93         * math/auto-libm-test-out: Regenerated.
94         * math/libm-test.inc (acosh_test_data): Add more tests.
95         (atanh_test_data): Likewise.
96         (ceil_test_data): Likewise.
97         (copysign_test_data): Likewise.
98         * sysdeps/i386/fpu/libm-test-ulps: Update.
99         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
101         * timezone/checktab.awk: Update from tzcode 2013i.
102         * timezone/private.h: Likewise.
103         * timezone/scheck.c: Likewise.
104         * timezone/tzfile.h: Likewise.
105         * timezone/tzselect.ksh: Likewise.
106         * timezone/zdump.c: Likewise.
107         * timezone/zic.c: Likewise.
109         * math/auto-libm-test-in: Add tests of cpow.
110         * math/auto-libm-test-out: Regenerated.
111         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
112         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
113         mpc_cc_c.
114         (func_calc_desc): Add mpc_cc_c union field.
115         (test_functions): Add cpow.
116         (special_fill_2pi): New function.
117         (special_real_inputs): Add 2pi.
118         (calc_generic_results): Handle mpc_cc_c.
119         * sysdeps/i386/fpu/libm-test-ulps: Update.
120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
123         csqrt, ctan and ctanh.
124         * math/auto-libm-test-out: Regenerated.
125         * math/libm-test.inc (TEST_COND_x86_64): New macro.
126         (TEST_COND_x86): Likewise.
127         (ccos_test_data): Use AUTO_TESTS_c_c.
128         (ccosh_test_data): Likewise.
129         (cexp_test_data): Likewise.
130         (clog_test_data): Likewise.
131         (csqrt_test_data): Likewise.
132         (ctan_test_data): Likewise.
133         (ctan_tonearest_test_data): Likewise.
134         (ctan_towardzero_test_data): Likewise.
135         (ctan_downward_test_data): Likewise.
136         (ctan_upward_test_data): Likewise.
137         (ctanh_test_data): Likewise.
138         (ctanh_tonearest_test_data): Likewise.
139         (ctanh_towardzero_test_data): Likewise.
140         (ctanh_downward_test_data): Likewise.
141         (ctanh_upward_test_data): Likewise.
142         * math/gen-auto-libm-tests.c (func_calc_method): Add value
143         mpc_c_c.
144         (func_calc_desc): Add mpc_c_c union field.
145         (FUNC_mpc_c_c): New macro.
146         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
147         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
148         ctanh.
149         (special_fill_min_subnorm_p120): New function.
150         (special_real_inputs): Add min_subnorm_p120.
151         (calc_generic_results): Handle mpc_c_c.
152         * sysdeps/i386/fpu/libm-test-ulps: Update.
153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
157         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
158         do_sin_slow): New functions.
159         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
160         cslow2, csloww1, csloww2): Use the new functions.
162         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
163         Use M to change sign of result instead of X.  Assume X is
164         positive.
165         (csloww1): Likewise.
166         (__sin): Adjust.
167         (__cos): Adjust.
169         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
170         arguments A and DA.
171         (__sin): Adjust.
172         (__cos): Likewise.
174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
175         (__cos): Likewise.
176         (sloww1): Don't adjust sign of DX.
177         (csloww1): Likewise.
178         (sloww2): Use X directly and don't adjust sign of DX.
179         (csloww2): Likewise.
181 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
183         * math/auto-libm-test-in: Add tests of cabs and carg.
184         * math/auto-libm-test-out: Regenerated.
185         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
186         (carg_test_data): Likewise.
187         * math/gen-auto-libm-tests.c (func_calc_method): Add value
188         mpc_c_f.
189         (func_calc_desc): Add mpc_c_f union field.
190         (test_functions): Add cabs and carg.
191         (calc_generic_results): Handle mpc_c_f.
193         * sysdeps/powerpc/powerpc32/libgcc-compat.S
194         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
195         as a macro and a compat symbol.
196         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
197         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
198         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
199         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
200         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
201         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
202         not use .hidden.
203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
204         Likewise.
205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
206         Likewise.
207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
208         Likewise.
209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
210         Likewise.
211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
212         Likewise.
213         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
214         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
215         from GLIBC_2.3.2.
217 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
221 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
223         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
224         (__signal_safe_memalign, __signal_safe_free): Use it.
225         (__signal_safe_realloc): Likewise.
227 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
229         * manual/texinfo.tex: Update to version 2013-11-26.10 with
230         trailing whitespace removed.
231         * scripts/config.guess: Update to version 2013-11-29.
232         * scripts/config.sub: Update to version 2013-10-01.
234         * math/auto-libm-test-in: Add tests of sincos.
235         * math/auto-libm-test-out: Regenerated.
236         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
238         mpfr_f_11.
239         (func_calc_desc): Add mpfr_f_11 union field.
240         (test_functions): Add sincos.
241         (calc_generic_results): Handle mpfr_f_11.
242         * sysdeps/i386/fpu/libm-test-ulps: Update.
243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245 2013-12-19  Andreas Schwab  <schwab@suse.de>
247         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
248         CALL_MCOUNT.
249         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
250         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
251         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
253 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
255         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
256         * sysdeps/i386/fpu/libm-test-ulps: Update.
257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
259         [BZ #16293]
260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
261         round-to-nearest mode when using frndint.
262         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
263         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
265         Likewise.
266         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
267         sinh test to fail.
268         * math/auto-libm-test-out: Regenerated.
269         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
270         (TEST_COND_x86): Likewise.
271         (expm1_tonearest_test_data): New array.
272         (expm1_test_tonearest): New function.
273         (expm1_towardzero_test_data): New array.
274         (expm1_test_towardzero): New function.
275         (expm1_downward_test_data): New array.
276         (expm1_test_downward): New function.
277         (expm1_upward_test_data): New array.
278         (expm1_test_upward): New function.
279         (main): Run the new test functions.
280         * sysdeps/i386/fpu/libm-test-ulps: Update.
281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
283         * include/features.h: Update comment documenting feature test
284         macros.  Mention _DEFAULT_SOURCE in comment.
285         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
286         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
287         _BSD_SOURCE and _SVID_SOURCE.
288         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
289         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
290         !_SVID_SOURCE]: Likewise.
291         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
292         (__USE_POSIX_IMPLICITLY): Define.
293         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
294         (_POSIX_SOURCE): Undefine and redefine.
295         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
296         (_POSIX_C_SOURCE): Likewise.
297         * manual/creature.texi (_DEFAULT_SOURCE): Document.
298         (Feature Test Macros): Update documentation of default features.
300 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
302         * benchtests/Makefile: Add bench-strtok.
303         * benchtests/bench-strtok.c: New file: strtok benchtest.
305 2013-12-19  Allan McRae  <allan@archlinux.org>
307         * manual/install.texi: Suppress menu for plain text output.
308         * INSTALL: Regenerated.
310 2013-12-18  Andrew Hunter  <ahh@google.com>
312         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
313         (__signal_safe_malloc, __signal_safe_free): Likewise.
314         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
315         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
316         (__signal_safe_memalign, __signal_safe_malloc): New function.
317         (__signal_safe_free, __signal_safe_realloc): Likewise.
318         (__signal_safe_calloc): Likewise.
319         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
320         functions.
321         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
323 2013-12-18  Andrew Hunter  <ahh@google.com>
325         * elf/Versions (ld): Add _dl_clear_dtv.
326         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
327         * elf/dl-tls.c (_dl_clear_dtv): New function.
328         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
330 2013-12-18  Andrew Hunter  <ahh@google.com>
332         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
333         (_dl_unmask_signals): Likewise.
334         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
335         (_dl_unmask_all_signals): Likewise.
336         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
337         (_dl_unmask_all_signals): Likewise.
338         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
339         (_dl_unmask_signals): Likewise.
341 2013-12-18  Brooks Moses  <bmoses@google.com>
343         [BZ #15846]
344         * misc/getauxval.c: Include errno.h.
345         (__getauxval): Set errno to ENOENT if the requested type is not
346         found.
347         * misc/sys/auxv.h (getauxval): Document that it may set errno;
348         don't declare with __attribute_const__.
349         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
350         * manual/startup.texi: Document that getauxval sets errno.
352 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
354         * math/auto-libm-test-in: Add tests of jn and yn.
355         * math/auto-libm-test-out: Regenerated.
356         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
357         (yn_test_data): Likewise.
358         * math/gen-auto-libm-tests.c (func_calc_method): Add value
359         mpfr_if_f.
360         (func_calc_desc): Add mpfr_if_f union field.
361         (FUNC_mpfr_if_f): New macro.
362         (test_functions): Add jn and yn.
363         (calc_generic_results): Assert type of second input for
364         mpfr_ff_f.  Handle mpfr_if_f.
365         (output_for_one_input_case): Disable all checking for arguments
366         fitting floating-point types in case of an integer argument.
367         * sysdeps/i386/fpu/libm-test-ulps: Update.
368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
371         Don't expect fegetround reference in libm.so.
373 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
375         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
376         $(config-cflags-nofma).
378 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
380         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
381         * math/auto-libm-test-out: Regenerated.
383         [BZ #16338]
384         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
385         to determine exponent and adjust argument to have exponent of -1.
386         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
387         log2.
388         * math/auto-libm-test-out: Regenerated.
389         * sysdeps/i386/fpu/libm-test-ulps: Update.
390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
392 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
394         * manual/probes.texi: Remove cases when per-thread arenas are
395         disabled.
397 2013-12-18  Andreas Schwab  <schwab@suse.de>
399         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
400         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
401         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
402         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
403         * sysdeps/i386/i686/multiarch/Makefile: Update.
404         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
406 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
408         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
409         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
411 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
413         Support TZ transition times < 00:00:00.
414         This is needed for version-3 tz-format files; it supports time
415         stamps past 2037 for America/Godthab (the only entry in the tz
416         database for which this change is relevant).
417         * manual/time.texi (TZ Variable): Document transition times
418         from -167:59:59 through -00:00:01.
419         * time/tzset.c (tz_rule): Time of day is now signed.
420         (__tzset_parse_tz): Parse negative time of day.
422         Document TZ transition times >= 25:00:00.
423         * manual/time.texi (TZ Variable): Document transition times from
424         25:00:00 through 167:59:59.  These are already supported, and this
425         support will help with version-3 tz-format files.
427         * manual/time.texi (TZ Variable): Modernize North America example
428         to reflect current (i.e., 2007-and-later) daylight saving rules.
430         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
432 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
434         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
435         * sysdeps/unix/bsd/bits/stat.h: Likewise.
436         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
438         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
439         * sysdeps/unix/bsd/bsdstat.h: Likewise.
440         * sysdeps/unix/bsd/clock.c: Likewise.
441         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
442         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
443         * sysdeps/unix/bsd/init-posix.c: Likewise.
444         * sysdeps/unix/bsd/poll.c: Likewise.
445         * sysdeps/unix/bsd/ptsname.c: Likewise.
446         * sysdeps/unix/bsd/seekdir.c: Likewise.
447         * sysdeps/unix/bsd/setegid.c: Likewise.
448         * sysdeps/unix/bsd/seteuid.c: Likewise.
449         * sysdeps/unix/bsd/setgid.c: Likewise.
450         * sysdeps/unix/bsd/setrgid.c: Likewise.
451         * sysdeps/unix/bsd/setruid.c: Likewise.
452         * sysdeps/unix/bsd/setsid.c: Likewise.
453         * sysdeps/unix/bsd/setuid.c: Likewise.
454         * sysdeps/unix/bsd/sigaction.c: Likewise.
455         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
456         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
457         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
458         * sysdeps/unix/bsd/telldir.c: Likewise.
459         * sysdeps/unix/bsd/times.c: Likewise.
460         * sysdeps/unix/bsd/usleep.c: Likewise.
462         * misc/Makefile (install-lib): Remove libbsd-compat.a.
463         ($(objpfx)libbsd-compat.a): Remove rule.
465         * include/features.h (__FAVOR_BSD): Do not define.
466         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
467         features conflicting with POSIX.
468         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
469         (_BSD_SOURCE): Remove description of not being a subset of other
470         feature test macros.
471         * manual/job.texi (getpgrp): Do not document BSD version.
472         (getpgid): Do not document by reference to BSD getpgrp.
473         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
474         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
475         * signal/signal.h [__FAVOR_BSD]: Likewise.
476         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
477         instead of making contents conditional on [__FAVOR_BSD].
478         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
480 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
484 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
486         [BZ #16314]
487         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
488         values below 2**-450, not 2**-500.
489         * math/auto-libm-test-in: Don't allow spurious underflow from
490         hypot.
491         * math/auto-libm-test-out: Regenerated.
493         [BZ #16316]
494         [BZ #16330]
495         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
496         values of ha and hb and sort them after adjusting subnormal
497         arguments.
498         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
499         Likewise.
500         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
501         values of ea and eb and sort them after adjusting subnormal
502         arguments.
503         * math/auto-libm-test-in: Do not expect some hypot tests of
504         subnormals to fail.  Add more hypot tests.
505         * math/auto-libm-test-out: Regenerated.
507 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
509         [BZ #13304]
510         * sysdeps/sh/s_fma.c: New file.
511         * sysdeps/sh/s_fmaf.c: New file.
512         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
513         version.
514         * sysdeps/sh/Implies: Add sh/soft-fp.
516 2013-12-16  Roland McGrath  <roland@hack.frob.com>
518         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
519         level of indirection to members `objname', `errstring', `malloced'.
520         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
521         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
522         it as the __longjmp argument (just pass 1 instead).
523         (_dl_catch_error): Initialize C with argument pointers and address of
524         volatile local ERRCODE rather than copying values out of C at return.
526 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
528         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
529         * math/auto-libm-test-out: Regenerated.
530         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
531         (hypot_test_data): Likewise.
532         (pow_test_data): Likewise.
533         (pow_tonearest_test_data): Likewise.
534         * math/gen-auto-libm-tests.c (func_calc_method): Add value
535         mpfr_ff_f.
536         (func_calc_desc): Add mpfr_ff_f union field.
537         (FUNC_mpfr_ff_f): New macro.
538         (test_functions): Add atan2, hypot and pow.
539         (special_fill_min): New function.
540         (special_fill_minus_min): Likewise.
541         (special_fill_min_subnorm): Likewise.
542         (special_fill_minus_min_subnorm): Likewise.
543         (special_real_inputs): Add min, -min, min_subnorm and
544         -min_subnorm.
545         (calc_generic_results): Handle mpfr_ff_f.
546         * sysdeps/i386/fpu/libm-test-ulps: Update.
547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
549 2013-12-16  Will Newton  <will.newton@linaro.org>
551         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
552         (Aligned Memory Blocks): Add documentation for aligned_alloc
553         and suggest it as an alternative to posix_memalign.
554         (Hooks for Malloc): Document __memalign_hook is also called
555         for aligned_alloc.  (Summary of Malloc): Add summary for
556         aligned alloc.  Document __memalign_hook is also called
557         for aligned_alloc.
559 2013-12-16  Will Newton  <will.newton@linaro.org>
561         * manual/memory.texi (Malloc Examples): Clarify default
562         alignment documentation.  Suggest posix_memalign rather
563         than memalign or valloc.
564         (Aligned Memory Blocks): Remove suggestion to use memalign
565         or valloc.  Remove obsolete comment about BSD.
566         Document memalign errno values and mark the function obsolete.
567         Document posix_memalign returned error codes.  Mark valloc
568         as obsolete.  (Hooks for Malloc): __memalign_hook is also
569         called for posix_memalign and valloc.
570         (Summary of Malloc): Add posix_memalign to function summary.
571         __memalign_hook is also called for posix_memalign and valloc.
573 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
575         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
576         TAYLOR_SIN.
577         (__sin): Adjust.
578         (__cos): Likewise.
579         (sloww): Use mynumber union.  Expand ternary operator into
580         if-else statements.
581         (cslow): use mynumber union.
583 2013-12-16  Allan McRae  <allan@archlinux.org>
585         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
586         * configure: Regenerated.
588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
590         [BZ #14120]
591         * configure.ac: Added --enable-maintainer-mode. Check for
592         autoconf when enabled.
593         * configure: Regenerated.
595         * nscd/nscd.service: New file.
596         * nscd/nscd.tmpfiles: New file.
598 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
600         [BZ #12100]
601         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
602         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
603         * sysdeps/x86_64/multiarch/strstr.c: ... here.
604         (strstr): Add __strstr_sse2_unaligned ifunc.
605         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
606         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
607         (strcasestr): Remove __strcasestr_sse42 ifunc.
608         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
612 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
614         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
615         * sysdeps/sh/bits/fenv.h: ... here.
616         * sysdeps/sh/sh4/fpu/bits: Remove directory.
618 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
622 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
625         hypotf multiarch implementations.
626         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
629         multiarch hypot for PPC64.
630         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
631         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
632         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
633         multiarch hypotf for PPC64.
635 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
638         modff multiarch implementations.
639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
642         multiarch modf for PPC64.
643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
646         multiarch modff for PPC64.
648 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
651         and logl multiarch implementations.
652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
655         multiarch logb for PPC64.
656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
659         multiarch logb for PPC64.
660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
663         multiarch logb for PPC64.
665 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
668         isinff multiarch implementation.
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
670         file.
671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
673         multiarch isinf for PPC64.
674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
675         file.
676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
677         multiarch isinff for PPC64.
679 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
682         finitef multiarch implementation.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
684         file.
685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
687         multiarch finite for PPC64.
688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
689         file.
690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
691         multiarch finitef for PPC64.
693 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
696         lrint multiarch implementation.
697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
698         file.
699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
701         multiarch llrint for PPC64.
702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
703         multiarch lrint for PPC64.
705 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
708         copysignf multiarch implementation.
709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
710         file.
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
712         file.
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
714         multiarch copysign for PPC64.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
716         multiarch copysignf for PPC64.
718 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
721         multiarch implementation.
722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
723         file.
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
725         file.
726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
727         file.
728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
729         file.
730         multiarch llround for PPC64.
731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
732         multiarch trunc for PPC64.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
734         multiarch truncf for PPC64.
736 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
739         multiarch implementation.
740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
741         file.
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
743         file.
744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
745         file.
746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
747         file.
748         multiarch llround for PPC64.
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
750         multiarch round for PPC64.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
752         multiarch roundf for PPC64.
754 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
757         multiarch implementation.
758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
759         file.
760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
761         file.
762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
763         file.
764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
765         file.
766         multiarch llround for PPC64.
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
768         multiarch floor for PPC64.
769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
770         multiarch floorf for PPC64.
772 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
775         multiarch implementation.
776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
777         file.
778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
779         file.
780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
781         file.
782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
783         file.
784         multiarch llround for PPC64.
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
786         multiarch ceil for PPC64.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
788         multiarch ceilf for PPC64.
790 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
793         multiarch implementation.
794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
795         file.
796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
797         file.
798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
799         file.
800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
801         multiarch llround for PPC64.
802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
803         multiarch lround for PPC64.
805 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
808         multiarch implementation.
809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
812         file.
813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
816         multiarch isnan for PPC64.
817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
818         multiarch isnanf for PPC64.
820 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
822         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
823         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
824         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
825         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
826         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
829 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
831         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
832         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
836 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
839         multiarch implementations.
840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
841         (__libc_ifunc_impl_list): Likewise.
842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
845         multiarch stpcpy for PPC64.
847 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
850         multiarch implementations.
851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
852         (__libc_ifunc_impl_list): Likewise.
853         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
854         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
855         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
856         multiarch strcpy for PPC64.
858 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
860         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
861         redefine function name.
862         (_wordcopy_fwd_dest_aligned): Likewise.
863         (_wordcopy_bwd_aligned): Likewise.
864         (_wordcopy_bwd_dest_aligned): Likewise.
865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
866         multiarch implementations.
867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
868         (__libc_ifunc_impl_list): Likewise.
869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
873         multiarch wcscpy for PPC64.
875 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
878         multiarch implementations.
879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
880         (__libc_ifunc_impl_list): Likewise.
881         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
882         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
883         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
884         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
885         multiarch wcscpy for PPC64.
887 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
890         multiarch implementations.
891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
892         (__libc_ifunc_impl_list): Likewise.
893         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
894         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
895         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
896         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
897         multiarch wcsrchr for PPC64.
899 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
902         multiarch implementations.
903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
904         (__libc_ifunc_impl_list): Likewise.
905         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
906         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
907         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
908         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
909         multiarch wcschr for PPC64.
911 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
914         multiarch implementations.
915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
916         (__libc_ifunc_impl_list): Likewise.
917         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
918         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
919         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
920         multiarch strchrnul for PPC64.
922 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
925         implementations.
926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
927         (__libc_ifunc_impl_list): Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
929         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
930         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
931         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
932         strchr for PPC64.
934 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
937         implementations.
938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
939         (__libc_ifunc_impl_list): Likewise.
940         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
941         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
942         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
943         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
944         strncmp for PPC64.
946 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
949         multiarch implementations.
950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
951         (__libc_ifunc_impl_list): Likewise.
952         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
953         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
954         strncasecmp for PPC64.
955         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
956         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
957         multiarch strncasecmp_l for PPC64.
959 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
962         multiarch implementations.
963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
964         (__libc_ifunc_impl_list): Likewise.
965         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
967         multiarch strcasecmp for PPC64.
968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
969         file.
970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
971         multiarch strcasecmp_l for PPC64.
973 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
976         implementations.
977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
978         (__libc_ifunc_impl_list): Likewise.
979         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
980         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
981         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
982         strnlen for PPC64.
984 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
987         implementations.
988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
989         (__libc_ifunc_impl_list): Likewise.
990         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
991         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
992         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
993         strlen for PPC64.
995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
998         implementations.
999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000         (__libc_ifunc_impl_list): Likewise.
1001         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1002         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1003         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1004         rawmemrchr for PPC64.
1006 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1009         implementation.
1010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1011         (__libc_ifunc_impl_list): Likewise.
1012         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1013         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1014         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1015         memrchr for PPC64.
1017 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1020         implementation.
1021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022         (__libc_ifunc_impl_list): Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1024         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1025         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1026         memchr for PPC64.
1028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1031         implementation.
1032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1033         (__libc_ifunc_impl_list): Likewise.
1034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1035         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1036         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1037         mempcpy for PPC64.
1039 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1042         avoid cretion of __bzero symbol.
1043         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1044         Likewise.
1045         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1046         Likewise.
1047         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1048         Likewise.
1049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1050         multiarch implementations.
1051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1052         (__libc_ifunc_impl_list): Likewise.
1053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1054         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1055         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1056         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1057         bzero for PPC32.
1058         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1059         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1060         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1061         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1062         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1063         memset for PPC64.
1064         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1066 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1068         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1070         implementations.
1071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1072         (__libc_ifunc_impl_list): Likewise.
1073         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1074         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1075         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1076         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1077         memcmp for PPC64.
1079 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1082         multiarch for POWER/PPC64.
1083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1084         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1085         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1086         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1087         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1090         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1091         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1092         memcpy for PPC64.
1094 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1096         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1097         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1098         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1099         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1100         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1101         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1102         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1103         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1104         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1105         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1106         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1107         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1108         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1109         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1110         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1119 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1121         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1123 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1125         * benchtests/Makefile (bench): Add exp2 and log2.
1126         (LDLIBS-bench-exp2): Add -lm.
1127         (LDLIBS-bench-log2): Likewise.
1128         * benchtests/exp2-inputs: New inputs file.
1129         * benchtests/log2-inputs: New inputs file.
1130         * benchtests/log-inputs: Add new inputs.
1131         * benchtests/tan-inputs: Likewise.
1133 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1135         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1136         definition...
1137         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1138         csloww1, csloww2): ... from here.
1140         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1141         instead of structures.
1142         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1143         (POLYNOMIAL): Likewise.
1144         (TAYLOR_SLOW): Likewise.
1145         (__sin): Likewise.
1146         (__cos): Likewise.
1147         (slow1): Likewise.
1148         (slow2): Likewise.
1149         (sloww): Likewise.
1150         (sloww1); Likewise.
1151         (sloww2): Likewise.
1152         (bsloww1): Likewise.
1153         (bsloww2): Likewise.
1154         (cslow2): Likewise.
1155         (csloww): Likewise.
1156         (csloww1): Likewise.
1157         (csloww2): Likewise.
1159 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1161         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1162         (__malloc_assert, __libc_realloc, __libc_calloc,
1163         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1164         memcpy and memset.
1165         * malloc/hooks.c (realloc_check): Likewise.
1167 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1169         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1170         * malloc/arena.c: Remove PER_THREAD conditional.
1171         [!PER_THREAD]: Remove code.
1172         (ptmalloc_unlock_all2): Likewise.
1173         (ptmalloc_init): Likewise.
1174         (_int_new_arena): Likewise.
1175         (arena_get2): Likewise.
1176         * malloc/hooks.c (__malloc_get_state): Likewise.
1177         (__malloc_set_state): Likewise.
1178         * malloc/malloc.c: Likewise.
1179         (struct malloc_state): Likewise.
1180         (struct malloc_par): Likewise.
1181         (__libc_realloc): Likewise.
1182         (__libc_mallopt): Likewise.
1184 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1186         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1188 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1190         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1191         macro to a function.  Check for zero perturb_byte.
1192         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1194 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1196         * malloc/malloc.c: (force_reg): Remove.
1197         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1198         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1199         force_reg by atomic_forced_read.
1200         * malloc/arena.c (ptmalloc_init): Likewise.
1201         * malloc/hooks.c (top_check): Likewise.
1203 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1207 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1211 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1213         * math/auto-libm-test-in: Add tests of lgamma.
1214         * math/auto-libm-test-out: Regenerated.
1215         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1216         (M_LOG_2_SQRT_PIl): Likewise.
1217         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1219         mpfr_f_f1.
1220         (func_calc_desc): Add mpfr_f_f1 union field.
1221         (ARGS1): New macro.
1222         (ARGS2): Likewise.
1223         (ARGS3): Likewise.
1224         (ARGS4): Likewise.
1225         (RET1): Likewise.
1226         (RET2): Likewise.
1227         (CALC): Likewise.
1228         (FUNC): Likewise.
1229         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1230         (test_functions): Add lgamma.
1231         (calc_generic_results): Handle mpfr_f_f1.
1232         * sysdeps/i386/fpu/libm-test-ulps: Update.
1233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1235 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1237         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1238         __mpn_add_n for PowerPC64/POWER7.
1239         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1240         __mpn_sub_n for PowerPC64/POWER7.
1242 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1245         __mpn_addmul_1 for PowerPC64.
1246         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1247         __mpn_submul_1 for PowerPC64.
1248         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1249         for PowerPC64.
1250         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1251         for PowerPC64.
1253 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1255         [BZ #15089]
1256         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1258 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1260         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1262 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1264         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1265         add multiarch folders.
1266         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1267         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1268         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1269         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1270         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1271         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1272         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1273         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1274         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1275         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1276         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1287         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1289         New file.
1290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1291         New file.
1292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1293         multiarch __ieee754_hypot for PowerPC32.
1294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1295         New file.
1296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1297         New file.
1298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1299         multiarch __ieee754_hypotf for PowerPC32.
1301 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1304         long_double_symbol only if __logbl is defined.
1305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1306         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1308         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1310         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1311         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1312         path for implementation.
1313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1314         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1316         logb, and logbl multiarch implementations for PowerPC32.
1317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1318         file.
1319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1320         file.
1321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1322         multiarch logb for PowerPC32.
1323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1324         file.
1325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1326         file.
1327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1328         multiarch logbf for PowerPC32.
1329         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1331         file.
1332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1333         multiarch logbl implementation for PowerPC32.
1335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1338         and modff multiarch implementations.
1339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1340         New file.
1341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1342         New file.
1343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1344         multiarch modf for PowerPC32.
1345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1346         New file.
1347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1348         New file.
1349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1350         multiarch modff for PowerPC32.
1352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1355         and lrintf multiarch implementations.
1356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1357         New file.
1358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1359         New file.
1360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1361         multiarch lrint for PowerPC32.
1362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1363         file: multiarch lrintf for PowerPC32.
1365 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1368         and lroundf multiarch implementations.
1369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1370         New file.
1371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1372         New file.
1373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1374         New file.
1375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1376         multiarch lround for PowerPC32.
1377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1378         file: multiarch lroundf for PowerPC32.
1380 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1383         copysign and copysignf multiarch implementations.
1384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1385         New file.
1386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1387         New file.
1388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1389         file: multiarch copysign for PowerPC32.
1390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1391         file: multiarch copysignf for PowerPC32.
1393 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1396         and truncf multiarch implementations.
1397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1398         New file.
1399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1400         file.
1401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1402         multiarch trunc for PowerPC32.
1403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1404         New file.
1405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1406         New file.
1407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1408         multiarch truncf for PowerPC32.
1410 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1413         and roundf multiarch implementations.
1414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1415         New file.
1416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1417         file.
1418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1419         multiarch round for PowerPC32.
1420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1421         New file.
1422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1423         New file.
1424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1425         multiarch roundf for PowerPC32.
1427 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1430         and floorf multiarch implementations.
1431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1432         New file.
1433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1434         file.
1435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1436         multiarch floor for PowerPC32.
1437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1438         New file.
1439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1440         New file.
1441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1442         multiarch floorf for PowerPC32.
1444 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1447         and ceilf multiarch implementations.
1448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1449         New file.
1450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1451         file.
1452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1453         multiarch ceil for PowerPC32.
1454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1455         New file.
1456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1457         file.
1458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1459         multiarch ceilf for PowerPC32.
1461 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1463         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1464         is defined.
1465         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1466         FINITEF is defined.
1467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1468         and finitef multiarch implementations.
1469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1470         New file.
1471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1472         file.
1473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1474         multiarch finite for PowerPC32.
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1476         New file.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1478         file: multiarch finitef for PowerPC32.
1480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1483         and isinff multiarch implementations.
1484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1485         file.
1486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1487         file.
1488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1489         multiarch isinf for PowerPC32.
1490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1491         New file.
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1493         multiarch isinff for PowerPC32.
1495 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1498         alias when __isnan is defined.
1499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1500         and isnanf multiarch implementations.
1501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1502         file.
1503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1504         file.
1505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1506         file.
1507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1508         file.
1509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1510         multiarch isnan for PowerPC32.
1511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1512         New file.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1514         New file.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1516         multiarch isnanf for PowerPC32.
1518 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1521         and sqrtf multiarch implementations.
1522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1523         file.
1524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1525         file.
1526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1527         multiarch sqrt for PowerPC32.
1528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1529         file.
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1531         file.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1533         multiarch sqrtf for PowerPC32.
1535 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1538         and llroundf multiarch implementations.
1539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1540         New file.
1541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1542         New file.
1543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1544         New file.
1545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1546         file: multiarch llround for PowerPC32.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1548         file: multiarch llroundf for PowerPC32.
1550 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1553         multiarch PowerPC32 fpu implementations.
1554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1555         New file.
1556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1557         New file.
1558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1559         multiarch llrint for PowerPC32.
1560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1561         New file.
1562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1563         New file.
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1565         file.
1567 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1574         file.
1575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1576         file.
1577         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1578         file.
1579         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1580         multiarch wordcopy for PPC32.
1581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1582         wordcopy objects.
1583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1584         (__libc_ifunc_impl_list): Likewise.
1585         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1586         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1588         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1589         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1590         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1594         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1596         file.
1597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1598         file.
1599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1600         file.
1601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1602         multiarch wcscpy for PPC32.
1603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1604         multiarch objects.
1605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1606         (__libc_ifunc_impl_list): Likewise.
1607         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1608         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1609         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1610         sysdeps/powerpc/power6/wcscpy.c.
1612 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1614         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1616         file.
1617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1618         file.
1619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1620         file.
1621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1622         multiarch wcsrchr for PPC32.
1623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1624         multiarch objects.
1625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1626         (__libc_ifunc_impl_list): Likewise.
1627         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1628         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1629         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1630         sysdeps/powerpc/power6/wcsrchr.c.
1632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1635         file.
1636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1637         file.
1638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1640         multiarch wcschr for PPc32.
1641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1642         multiarch objects.
1643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1644         (__libc_ifunc_impl_list): Likewise.
1645         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1646         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1647         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1648         sysdeps/powerpc/power6/wcschr.c.
1650 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1652         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1653         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1654         file.
1655         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1656         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1657         file: multiarch strchr for PPC32.
1658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1659         multiarch objects.
1660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1661         (__libc_ifunc_impl_list): Likewise.
1663 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1665         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1666         name.
1667         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1668         file.
1669         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1670         file.
1671         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1672         multiarch strchrnul for PPC32.
1673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1674         multiarch objects.
1675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1676         (__libc_ifunc_impl_list): Likewise.
1678 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1681         file.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1683         multiarch strncasecmp for PPC32.
1684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1685         file.
1686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1687         multiarch strncasecmp_l for PPC32.
1688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1689         strncasecmp multiarch objects.
1690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1691         (__libc_ifunc_impl_list): Likewise.
1693 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1695         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1696         file.
1697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1698         multiarch strncasecmp for PPC32.
1699         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1700         New file.
1701         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1702         multiarch strcasecmp_l for PPC32.
1703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1704         multiarch objects.
1705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1706         (__libc_ifunc_impl_list): Likewise.
1708 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1711         file.
1712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1713         file.
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1715         multiarch strncmp for PPC32.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1717         multiarch objects.
1718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1719         (__libc_ifunc_impl_list): Likewise.
1721 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1724         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1725         file.
1726         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1727         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1729         multiarch objects.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1731         (__libc_ifunc_impl_list): Likewise.
1733 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1735         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1736         file.
1737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1738         file.
1739         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1741         multiarch objects.
1742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1743         (__libc_ifunc_impl_list): Likewise.
1745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1747         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1748         file.
1749         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1750         file.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1752         multiarch rawmemchr for PPC32.
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1754         multiarch objects.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1756         (__libc_ifunc_impl_list): Likewise.
1758 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1760         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1761         file.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1763         file.
1764         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1765         file: memrchr multiarch for PPC32.
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1767         multiarch objects.
1768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1769         (__libc_ifunc_impl_list): Likewise.
1771 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1773         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1774         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1775         file.
1776         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1777         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1778         multiarch memchr for PPC32.
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1780         multiarch objects.
1781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1782         (__libc_ifunc_impl_list): Likewise.
1784 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1786         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1788         file.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1790         file.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1792         file: multiarch mempcpy for PPC32.
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1794         multiarch objects.
1795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1796         (__libc_ifunc_impl_list): Likewise.
1798 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1801         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1802         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1803         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1804         multiarch bzero for PPC32.
1805         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1806         file.
1807         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1808         file.
1809         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1810         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1811         file: multiarch memset for PPC32.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1814         memset multiarch objects.
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1816         (__libc_ifunc_impl_list): Likewise.
1818 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1821         file.
1822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1824         memcmp for PPC32.
1825         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1827         multiarch objects.
1828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1829         (__libc_ifunc_impl_list): Likewise.
1831 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1836         file.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1838         file.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1840         file.
1841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1842         multiarch memcpy for PPC32.
1843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1844         multiarch objects.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1846         (__libc_ifunc_impl_list): Likewise.
1848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1851         support multiarch for POWER/PPC32.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1853         Likewise.
1854         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1856         Implies file to make multiarch folder appers before the fpu and
1857         default folder for power4 configuration.
1859 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1861         * scripts/bench.pl: Append volatile keyword to type.
1863 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1865         * sysdeps/sh/sotruss-lib.c: New file.
1866         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1872 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1874         [BZ #6810]
1875         * math/w_tgamma.c: Include <errno.h>.
1876         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1877         * math/w_tgammaf.c: Include <errno.h>.
1878         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1879         * math/w_tgammal.c: Include <errno.h>.
1880         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1881         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1882         underflow.  Add more tgamma tests.
1883         * math/auto-libm-test-out: Regenerated.
1884         * sysdeps/i386/fpu/libm-test-ulps: Update.
1885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1887         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1888         sin, sinh, tan, tanh, tgamma, y0 and y1.
1889         * math/auto-libm-test-out: Regenerated.
1890         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1891         (TEST_COND_x86): Likewise.
1892         (M_E2l): Remove macro.
1893         (M_E3l): Likewise.
1894         (M_2_SQRT_PIl): Likewise.
1895         (M_SQRT_PIl): Likewise.
1896         (M_1_DIV_El): Likewise.
1897         (log_test_data): Use AUTO_TESTS_f_f.
1898         (log10_test_data): Likewise.
1899         (log1p_test_data): Likewise.
1900         (log2_test_data): Likewise.
1901         (sin_test_data): Likewise.
1902         (sin_tonearest_test_data): Likewise.
1903         (sin_towardzero_test_data): Likewise.
1904         (sin_downward_test_data): Likewise.
1905         (sin_upward_test_data): Likewise.
1906         (sinh_test_data): Likewise.
1907         (sinh_tonearest_test_data): Likewise.
1908         (sinh_towardzero_test_data): Likewise.
1909         (sinh_downward_test_data): Likewise.
1910         (sinh_upward_test_data): Likewise.
1911         (tan_test_data): Likewise.
1912         (tan_tonearest_test_data): Likewise.
1913         (tan_towardzero_test_data): Likewise.
1914         (tan_downward_test_data): Likewise.
1915         (tan_upward_test_data): Likewise.
1916         (tanh_test_data): Likewise.
1917         (tgamma_test_data): Likewise.
1918         (y0_test_data): Likewise.
1919         (y1_test_data): Likewise.
1920         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1921         (special_real_inputs): Add pi/4.
1922         * sysdeps/i386/fpu/libm-test-ulps: Update.
1923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1925 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1927         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1928         "longjmp_target" static probes.
1929         (__longjmp): Rename to __longjmp_symbol.
1930         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1931         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1932         on which longjmp to generate.
1933         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1934         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1935         probe.
1936         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1937         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1939         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1940         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1941         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1943         __longjmp_symbol based on which __longjmp to generate.
1944         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1945         probe.
1946         (setjmp): Rename to setjmp_symbol.
1947         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1948         (_setjmp): Rename to _setjmp_symbol.
1949         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1950         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1951         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1952         which setjmp to generate.
1953         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1954         "longjmp_target" static probes.
1956 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1958         * benchtests/README: Add note about output arguments.
1959         * benchtests/bench-sincos.c: Remove file.
1960         * benchtests/sincos-inputs: New file.
1961         * scripts/bench.pl: Identify output arguments and define
1962         static variables for them.
1964         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1966         [BZ #15941]
1967         * Makefile (INSTALL): Add install-plain.texi as the primary
1968         dependency.
1969         * manual/install-plain.texi: New file.
1970         * manual/install.texi: Include node directive only for
1971         non-plaintext output.
1973 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1975         * stdlib/longlong.h: Update from GCC.
1977         [BZ #6807]
1978         [BZ #15901]
1979         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1980         * math/w_j0f.c (y0f): Likewise.
1981         * math/w_j0l.c (__y0l): Likewise.
1982         * math/w_j1.c (y1): Likewise.
1983         * math/w_j1f.c (y1f): Likewise.
1984         * math/w_j1l.c (__y1l): Likewise
1985         * math/w_jn.c (yn): Likewise.
1986         * math/w_jnf.c (ynf): Likewise.
1987         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1988         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1989         value for Bessel function domain errors outside _SVID_ mode.
1990         Adjust sign of return value for yn (negative integer, 0).
1991         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1992         by zero in return for negative x and set sign appropriately for
1993         negative n.
1994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1995         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1996         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1997         expectations in error cases.
1998         (y1_test_data): Likewise.
1999         (yn_test_data): Likewise.
2000         * sysdeps/i386/fpu/libm-test-ulps: Update.
2001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2003 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2005         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2006         "64" to "64-v1".  Add "64-v2".
2007         (abi-64-options): Rename to ...
2008         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2009         (abi-64-condition): Rename to ...
2010         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2011         (abi-64-ld-soname): Rename to ...
2012         (abi-64-v1-ld-soname): ... this.
2013         (abi-64-v2-options): Define.
2014         (abi-64-v2-condition): Likewise.
2015         (abi-64-v2-ld-soname): Likewise.
2016         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2017         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2022 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2023             Alan Modra  <amodra@gmail.com>
2025         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2026         New versions for use with the ELFv2 ABI.
2027         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2028         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2029         declaration.
2030         (struct La_ppc64v2_retval): Likewise.
2031         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2032         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2033         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2034         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2035         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2036         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2037         Do not save or restore CR.
2038         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2039         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2040         return values for ELFv2 ABI.  Fix location of FPR return registers.
2041         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2042         updated values for _CALL_ELF == 2.
2043         (La_regs, La_retval, int_retval): Likewise.
2045 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2047         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2048         (FRAME_MIN_SIZE_PARM): Likewise.
2049         (FRAME_BACKCHAIN): Likewise.
2050         (FRAME_CR_SAVE): Likewise.
2051         (FRAME_LR_SAVE): Likewise.
2052         (FRAME_TOC_SAVE): Likewise.
2053         (FRAME_PARM_SAVE): Likewise.
2054         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2055         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2056         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2057         (call_mcount_parm_offset): New macro.
2058         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2059         (PROF): Use symbolic stack frame offsets.
2060         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2062         Redefine in terms of FRAME_MIN_SIZE.
2063         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2064         (_dl_profile_resolve): Likewise.  Update comment.
2065         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2066         symbols stack frame offsets.
2067         (__sigsetjmp): Likewise.
2068         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2069         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2070         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2071         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2074         (FRAME_BACKCHAIN): Remove.
2075         (FRAME_CR_SAVE): Likewise.
2076         (FRAME_LR_SAVE): Likewise.
2077         (FRAME_COMPILER_DW): Likewise.
2078         (FRAME_LINKER_DW): Likewise.
2079         (FRAME_TOC_SAVE): Likewise.
2080         (FRAME_PARM_SAVE): Likewise.
2081         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2082         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2083         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2085         (CHECK_SP): Use symbolic stack frame offsets.
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2087         zone" instead of caller's parameter save area for temp storage.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2089         Likewise.  Also, use symbolic stack frame offsets.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2091         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2092         our own stack frame instead of the caller's.
2093         (__socket): Use symbolic stack frame offsets.
2095 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2096             Alan Modra  <amodra@gmail.com>
2098         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2099         Define.
2100         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2101         PPC64_LOCAL_ENTRY_OFFSET): Define.
2102         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2103         New function.
2104         (elf_machine_fixup_plt): Call it.
2105         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2106         reloc arguments.
2107         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2108         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2109         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2110         r2 before calling target.
2112 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2113             Alan Modra  <amodra@gmail.com>
2115         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2116         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2117         versions of macros to support ELFv2 ABI.
2118         (LOCALENTRY): New macro.
2119         (ENTRY, EALIGN): Use it.
2120         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2121         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2122         fall through into ENTRY entry point.
2123         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2124         Only define if _CALL_ELF != 2.
2126         (elf_machine_matches_host): Verify ABI version matches.
2127         (RTLD_START): Use LOCALENTRY.
2128         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2129         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2130         (PLT_ENTRY_WORDS): New macro.
2131         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2132         (elf_machine_runtime_setup): Support ELFv2 ABI.
2133         (elf_machine_fixup_plt): Likewise.
2134         (elf_machine_plt_conflict): Likewise.
2135         (resolve_ifunc): Likewise.
2136         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2138         Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2140         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2142         (makecontext): Support ELFv2 ABI.
2143         * elf/elf.h (EF_PPC64_ABI): Define.
2145 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2147         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2148         New assembler macro.
2149         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2150         [ASSEMBLER] (ENTRY): ... but instead here ...
2151         [ASSEMBLER] (EALIGN): ... and here.
2152         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2153         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2154         [!ASSEMBLER] (ENTRY_2): Use it.
2155         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2156         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2157         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2158         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2159         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2161         Use PPC64_LOAD_FUNCPTR.
2163 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2165         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2167 2013-12-04  Alan Modra  <amodra@gmail.com>
2169         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2170         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2171         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2172         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2175         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2176         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2177         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2178         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2179         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2181 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2184         (__makecontext): Fix incorrect CFI when backtracing out of
2185         context created via makecontext.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2187         (__setcontext): Fix incorrect CFI during switch to new context.
2188         (__novec_setcontext): Likewise.
2190 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2192         [BZ #4772]
2193         * time/strptime_l.c (__strptime_internal): Allow modifiers
2194         in strptime.
2195         * time/tst-strptime.c (day_tests): Add testcase.
2198 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2200         * scripts/bench.pl: Skip over blank lines.
2202 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2204         [BZ #926]
2205         * manual/time.texi (Calendar Time): Clarify what timezone functions
2206         use.
2208 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2212 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2214         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2215         implementation.
2216         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2217         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2218         * debug/memset_chk.c (__memset_chk): Likewise.
2219         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2220         * debug/strncpy_chk.c: Likewise.
2222 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2224         [BZ #15268]
2225         [BZ #15425]
2226         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2227         (__ieee754_exp): For possibly underflowing results, check size of
2228         result and force underflow exception if required.
2229         * math/auto-libm-test-in: Add more tests of exp.
2230         * math/auto-libm-test-out: Regenerated.
2231         * sysdeps/i386/fpu/libm-test-ulps: Update.
2232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234         [BZ #16283]
2235         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2236         * math/w_exp2f.c (__exp2f): Likewise.
2237         * math/w_exp2l.c (__exp2l): Likewise.
2238         * math/auto-libm-test-in: Do not allow missing errno on exp2
2239         underflow.
2240         * math/auto-libm-test-out: Regenerated.
2242 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2244         [BZ #16274]
2245         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2246         handle filename validation.
2247         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2248         (do_open): Delete.
2250 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2252         [BZ #6786]
2253         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2254         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2255         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2256         <float.h>.
2257         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2258         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2259         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2260         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2261         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2263         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2264         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2265         Add more erfc tests.
2266         * math/auto-libm-test-out: Regenerated.
2267         * sysdeps/i386/fpu/libm-test-ulps: Update.
2268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2271         exp2, expm1, j0 and j1.
2272         * math/auto-libm-test-out: Regenerated.
2273         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2274         (erfc_test_data): Likewise.
2275         (exp_test_data): Likewise.
2276         (exp_tonearest_test_data): Likewise.
2277         (exp_towardzero_test_data): Likewise.
2278         (exp_downward_test_data): Likewise.
2279         (exp_upward_test_data): Likewise.
2280         (exp10_test_data): Likewise.
2281         (exp2_test_data): Likewise.
2282         (expm1_test_data): Likewise.
2283         (j0_test_data): Likewise.
2284         (j1_test_data): Likewise.
2285         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2286         (input_flag_type): Add flag_xfail_rounding.
2287         (input_flags): Add xfail-rounding.
2288         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2289         (output_for_one_input_case): Handle flag_xfail_rounding.
2290         * sysdeps/i386/fpu/libm-test-ulps: Update.
2291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2293 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2295         [BZ #16289]
2296         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2297         division by 0.
2299 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2301         [BZ #16195]
2302         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2303         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2304         (STAP_PROBE0): New macro.
2305         (STAP_PROBE1): Likewise.
2306         (STAP_PROBE2): Likewise.
2307         (STAP_PROBE3): Likewise.
2308         (STAP_PROBE4): Likewise.
2310 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2312         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2314 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2316         * benchtests/Makefile (bench): Add sqrt.
2317         (LDLIBS-bench-sqrt): New.
2318         * benchtests/sqrt-input: New.
2320 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2322         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2323         (GAIH_EAI): Likewise.
2324         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2325         (gaih_inet): Likewise.
2326         (getaddrinfo): Don't use GAIH_EAI.
2328         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2329         (struct gaih): Remove definition.
2331 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2333         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2334         Use HERRNOP directly.
2336 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2340 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2342         * math/gen-auto-libm-tests.c (test_functions): Add more
2343         single-argument functions.
2344         (special_fill_pi_2): New function.
2345         (special_fill_minus_pi_2): Likewise.
2346         (special_fill_pi_6): Likewise.
2347         (special_fill_minus_pi_6): Likewise.
2348         (special_fill_pi_3): Likewise.
2349         (special_fill_2pi_3): Likewise.
2350         (special_fill_e): Likewise.
2351         (special_fill_1_e): Likewise.
2352         (special_fill_e_minus_1): Likewise.
2353         (special_real_inputs): Add more special inputs.
2354         (output_for_one_input_case): Do not require ERANGE on underflow to
2355         zero if round-to-nearest result does not underflow to zero, unless
2356         exact results required.
2357         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2358         atan, atanh, cbrt, cos and cosh.
2359         * math/auto-libm-test-out: Regenerated.
2360         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2361         (acos_tonearest_test_data): Likewise.
2362         (acos_towardzero_test_data): Likewise.
2363         (acos_downward_test_data): Likewise.
2364         (acos_upward_test_data): Likewise.
2365         (acosh_test_data): Likewise.
2366         (asin_test_data): Likewise.
2367         (asin_tonearest_test_data): Likewise.
2368         (asin_towardzero_test_data): Likewise.
2369         (asin_upward_test_data): Likewise.
2370         (asinh_test_data): Likewise.
2371         (atan_test_data): Likewise.
2372         (atanh_test_data): Likewise.
2373         (cbrt_test_data): Likewise.
2374         (cos_test_data): Likewise.
2375         (cos_tonearest_test_data): Likewise.
2376         (cos_towardzero_test_data): Likewise.
2377         (cos_downward_test_data): Likewise.
2378         (cos_upward_test_data): Likewise.
2379         (cosh_test_data): Likewise.
2380         (cosh_tonearest_test_data): Likewise.
2381         (cosh_towardzero_test_data): Likewise.
2382         (cosh_downward_test_data): Likewise.
2383         (cosh_upward_test_data): Likewise.
2384         * sysdeps/i386/fpu/libm-test-ulps: Update.
2385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2389         [BZ #6787]
2390         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2391         * math/w_exp10f.c (__exp10f): Likewise.
2392         * math/w_exp10l.c (__exp10l): Likewise.
2393         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2394         errno settings in existing tests.
2396         [BZ #14032]
2397         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2398         precision control set to double precision.
2399         * sysdeps/i386/fpu/w_sqrt.c: New file.
2400         * math/auto-libm-test-in: Add more tests.
2401         * math/auto-libm-test-out: Update.
2403         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2404         (sqrt_test_tonearest): New function.
2405         (sqrt_towardzero_test_data): New variable.
2406         (sqrt_test_towardzero): New function.
2407         (sqrt_downward_test_data): New variable.
2408         (sqrt_test_downward): New function.
2409         (sqrt_upward_test_data): New variable.
2410         (sqrt_test_upward): New function.
2411         (main): Call the new functions.
2413         * math/gen-auto-libm-tests.c: New file.
2414         * math/auto-libm-test-in: Likewise.
2415         * math/auto-libm-test-out: New generated file.
2416         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2417         variables.
2418         (%beautify): Add generated representations of zero.
2419         (top level): Set $auto_input and call parse_auto_input.
2420         (beautify): Remove trailing "f" from hex float constants.
2421         (parse_args): Handle XFAIL_TEST.
2422         (convert_condition): New function.
2423         (or_value): Likewise.
2424         (or_cond_value): Likewise.
2425         (generate_testfile): Handle AUTO_TESTS_* lines.
2426         (parse_auto_input): New function.
2427         * math/libm-test.inc (XFAIL_TEST): New macro.
2428         (ERRNO_UNCHANGED): Update value.
2429         (ERRNO_EDOM): Likewise.
2430         (ERRNO_ERANGE): Likewise.
2431         (IGNORE_RESULT): Likewise.
2432         (TEST_COND_flt_32): New macro.
2433         (TEST_COND_dbl_64): Likewise.
2434         (TEST_COND_ldbl_96_intel): Likewise.
2435         (TEST_COND_ldbl_96_m68k): Likewise.
2436         (TEST_COND_ldbl_128): Likewise.
2437         (TEST_COND_ldbl_128ibm): Likewise.
2438         (TEST_COND_long32): Likewise.
2439         (TEST_COND_long64): Likewise.
2440         (TEST_COND_before_rounding): Likewise.
2441         (TEST_COND_after_rounding): Likewise.
2442         (enable_test): Handle XFAIL_TEST flag.
2443         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2444         with finite results.
2445         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2446         auto-libm-test-out.
2448 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2449             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2451         [BZ #16214]
2452         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2453         __tls_get_addr_internal instead of __tls_get_offset in order to
2454         avoid GOT pointer dependency.  Make rtld export
2455         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2456         __tls_get_addr since we are a __tls_get_offset platform.
2457         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2458         GOT pointer being set up before.
2459         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2461 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2463         * manual/math.texi (Errors in Math Functions): Document accuracy
2464         goals.
2466         [BZ #15004]
2467         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2468         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2471         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2473         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2476         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2477         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2481         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2484         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2485         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2486         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2487         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2488         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2489         Likewise.
2490         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2491         Likewise.
2492         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2493         Likewise.
2494         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2495         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2496         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2497         atomic-feupdateenv and flt-rounds.
2498         * sysdeps/powerpc/nofpu/Versions (libc): Add
2499         __atomic_feholdexcept, __atomic_feclearexcept,
2500         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2501         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2502         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2503         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2504         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2505         here.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2507         Update.
2509         * manual/arith.texi (FP Exceptions): Document that exceptions may
2510         not be raised when matherr is used.
2511         (Math Error Reporting): Document overflow in directed rounding
2512         modes.  Document that errno may not be set when finite values are
2513         returned on overflow.  Document intent to set errno on underflow
2514         only for underflow to zero.
2516         [BZ #16271]
2517         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2518         round-to-nearest then adjust result for other rounding modes.
2519         * include/fenv.h (fegetround): Use libm_hidden_proto.
2520         * math/fegetround.c (fegetround): Use libm_hidden_def.
2521         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2522         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2523         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2524         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2525         Likewise.
2526         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2527         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2528         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2529         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2531 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2533         [BZ #16077]
2534         * nss/Versions (libnss_files): Add
2535         _nss_files_gethostbyname3_r.
2536         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2537         New function.
2538         (HOST_DB_LOOKUP): Remove macro.
2539         (_nss_files_gethostbyname_r): Implement function without the
2540         HOST_DB_LOOKUP macro.
2541         (_nss_files_gethostbyname2_r): Likewise.
2543 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2545         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2547 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2549         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2550         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2551         warning.
2553 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2555         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2556         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2557         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2558         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2559         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2560         __fe_nomask_env_priv and attribute_hidden.
2561         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2562         (libc_feupdateenv_test_ppc): Likewise.
2563         (libc_feresetround_ppc): Likewise.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2565         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2566         compat_symbol macro.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2568         (__fe_nomask_env): Likewise.
2569         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2571 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2573         * string/Makefile: Remove ifunc tests.
2574         * string/test-string.h: Define TEST_IFUNC.
2575         * string/test-bcopy-ifunc.c: Remove.
2576         * string/test-bzero-ifunc.c: Likewise.
2577         * string/test-memccpy-ifunc.c: Likewise.
2578         * string/test-memchr-ifunc.c: Likewise.
2579         * string/test-memcmp-ifunc.c: Likewise.
2580         * string/test-memcpy-ifunc.c: Likewise.
2581         * string/test-memmem-ifunc.c: Likewise.
2582         * string/test-memmove-ifunc.c: Likewise.
2583         * string/test-mempcpy-ifunc.c: Likewise.
2584         * string/test-memrchr-ifunc.c: Likewise.
2585         * string/test-memset-ifunc.c: Likewise.
2586         * string/test-rawmemchr-ifunc.c: Likewise.
2587         * string/test-stpcpy-ifunc.c: Likewise.
2588         * string/test-stpncpy-ifunc.c: Likewise.
2589         * string/test-strcasecmp-ifunc.c: Likewise.
2590         * string/test-strcasestr-ifunc.c: Likewise.
2591         * string/test-strcat-ifunc.c: Likewise.
2592         * string/test-strchr-ifunc.c: Likewise.
2593         * string/test-strchrnul-ifunc.c: Likewise.
2594         * string/test-strcmp-ifunc.c: Likewise.
2595         * string/test-strcpy-ifunc.c: Likewise.
2596         * string/test-strcspn-ifunc.c: Likewise.
2597         * string/test-strlen-ifunc.c: Likewise.
2598         * string/test-strncasecmp-ifunc.c: Likewise.
2599         * string/test-strncat-ifunc.c: Likewise.
2600         * string/test-strncmp-ifunc.c: Likewise.
2601         * string/test-strncpy-ifunc.c: Likewise.
2602         * string/test-strnlen-ifunc.c: Likewise.
2603         * string/test-strpbrk-ifunc.c: Likewise.
2604         * string/test-strrchr-ifunc.c: Likewise.
2605         * string/test-strspn-ifunc.c: Likewise.
2606         * string/test-strstr-ifunc.c: Likewise.
2608 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2610         * benchtests/Makefile: Remove ifunc tests.
2611         * benchtests/bench-string.h: Define TEST_IFUNC.
2612         * benchtests/bench-bcopy-ifunc.c: Remove.
2613         * benchtests/bench-bzero-ifunc.c: Likewise.
2614         * benchtests/bench-memccpy-ifunc.c: Likewise.
2615         * benchtests/bench-memchr-ifunc.c: Likewise.
2616         * benchtests/bench-memcmp-ifunc.c: Likewise.
2617         * benchtests/bench-memcpy-ifunc.c: Likewise.
2618         * benchtests/bench-memmem-ifunc.c: Likewise.
2619         * benchtests/bench-memmove-ifunc.c: Likewise.
2620         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2621         * benchtests/bench-memrchr-ifunc.c: Likewise.
2622         * benchtests/bench-memset-ifunc.c: Likewise.
2623         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2624         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2625         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2626         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2627         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2628         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2629         * benchtests/bench-strcat-ifunc.c: Likewise.
2630         * benchtests/bench-strchr-ifunc.c: Likewise.
2631         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2632         * benchtests/bench-strcmp-ifunc.c: Likewise.
2633         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2634         * benchtests/bench-strcpy-ifunc.c: Likewise.
2635         * benchtests/bench-strcspn-ifunc.c: Likewise.
2636         * benchtests/bench-strlen-ifunc.c: Likewise.
2637         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2638         * benchtests/bench-strncat-ifunc.c: Likewise.
2639         * benchtests/bench-strncmp-ifunc.c: Likewise.
2640         * benchtests/bench-strncpy-ifunc.c: Likewise.
2641         * benchtests/bench-strnlen-ifunc.c: Likewise.
2642         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2643         * benchtests/bench-strrchr-ifunc.c: Likewise.
2644         * benchtests/bench-strsep-ifunc.c: Likewise.
2645         * benchtests/bench-strspn-ifunc.c: Likewise.
2646         * benchtests/bench-strstr-ifunc.c: Likewise.
2648 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2650         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2652 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2654         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2655         * rt/aio.h: Likewise.
2656         * sysdeps/gnu/bits/utmp.h: Likewise.
2657         * sysdeps/gnu/bits/utmpx.h: Likewise.
2658         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2659         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2660         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2661         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2662         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2663         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2664         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2665         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2667         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2668         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2670         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2672         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2673         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2674         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2675         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2676         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2677         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2678         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2679         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2680         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2681         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2682         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2684         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2685         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2686         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2687         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2689         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2690         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2691         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2692         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2693         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2694         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2695         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2696         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2697         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2698         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2699         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2701 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2703         [BZ #16245]
2704         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2705         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2707 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2709         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2710         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2711         Likewise.
2713 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2716         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2717         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2718         (__fesetround): Remove define.
2719         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2720         rounding and exceptions handling.
2721         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2722         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2723         (__fe_nomask_env): Likewise.
2724         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2725         __fegetround instead of fegetround.
2726         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2727         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2729 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2731         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2732         it's there.
2734         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2736 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2738         [BZ #11157]
2739         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2740         (encrypt_r): Likewise.
2741         * malloc/obstack.h (obstack_free): Likewise.
2742         * posix/unistd.h (encrypt): Likewise.
2744 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2746         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2747         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2748         DL_CALL_DT_FINI() that call the functions directly.
2749         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2750         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2751         * elf/dl-fini.c: Likewise.
2753 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2755         * malloc/hooks.c (memalign_check): Add alignment rounding.
2756         * malloc/malloc.c (_mid_memalign): New function.
2757         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2758         Implement by calling _mid_memalign.
2759         * manual/probes.texi (Memory Allocation Probes): Remove
2760         memory_valloc_retry and memory_pvalloc_retry.
2762 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2764         * locale/programs/locarchive.c (open_archive): Add const
2765         qualifier to ARCHIVEFNAME and copy default fname to
2766         DEFAULT_FNAME.
2768         [BZ #15601]
2769         * libio/tst-widetext.input: Rename Oriya to Odia.
2770         * locale/iso-639.def: Likewise.
2772         * manual/probes.texi (Mathematical Function Probes): Add
2773         documentation for sin, cos, asin and acos probes.
2774         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2775         (__sin32): Add slowasin probe.
2776         (__cos32): Add slowacos probe.
2777         (__mpsin): Add slowsin probe.
2778         (__mpcos): Add slowcos probe.
2780 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2782         [BZ #15483]
2783         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2784         thread-local __sim_exceptions_thread and global
2785         __sim_exceptions_global.
2786         (__sim_disabled_exceptions): Change to thread-local
2787         __sim_disabled_exceptions_thread and global
2788         __sim_disabled_exceptions_global.
2789         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2790         and global __sim_round_mode_global.
2791         (__simulate_exceptions): Use thread-local floating-point state and
2792         set global state from it as needed.
2793         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2794         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2795         __sim_round_mode_thread.
2796         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2797         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2798         and global __sim_exceptions_global.
2799         (__sim_disabled_exceptions): Change to thread-local
2800         __sim_disabled_exceptions_thread and global
2801         __sim_disabled_exceptions_global.
2802         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2803         and global __sim_round_mode_global.
2804         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2805         (SIM_SET_GLOBAL): Likewise.
2806         * sysdeps/powerpc/soft-fp/sfp-machine.h
2807         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2808         __sim_round_mode_thread.
2809         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2810         __sim_disabled_exceptions_thread.
2811         (__sim_exceptions): Change to __sim_exceptions_thread.
2812         (__sim_disabled_exceptions): Change to
2813         __sim_disabled_exceptions_thread.
2814         (__sim_round_mode): Change to __sim_round_mode_thread.
2815         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2816         thread-local floating-point state and set global state from it as
2817         needed.
2818         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2819         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2820         (__sim_disabled_exceptions): Remove extern declaration.
2821         (feenableexcept): Use thread-local floating-point state and set
2822         global state from it as needed.
2823         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2824         extern declaration.
2825         (__sim_disabled_exceptions): Likewise.
2826         (__sim_round_mode): Likewise.
2827         (__fegetenv): Use thread-local floating-point state.
2828         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2829         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2830         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2831         floating-point state and set global state from it as needed.
2832         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2833         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2834         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2835         Likewise.
2836         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2837         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2838         Likewise.
2839         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2840         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2841         Use __sim_round_mode_thread.
2842         * math/test-fenv-tls.c: New file.
2843         * math/Makefile (tests): Add test-fenv-tls.
2844         ($(objpfx)test-fenv-tls): Depend on
2845         $(common-objpfx)nptl/libpthread.so.
2847 2013-11-19  Andreas Schwab  <schwab@suse.de>
2849         * locale/programs/locale.c (show_info): Decode wordarray elements.
2850         * locale/categories.def (LC_MONETARY): Add element for
2851         _NL_MONETARY_CRNCYSTR.
2852         * locale/C-monetary.c (conversion_rate): New variable.
2853         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2854         element.
2856 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2858         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2859         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2861 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2863         * elf/Makefile (tst-auxv): New test.
2864         * elf/tst-auxv.c: New
2865         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2867 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2869         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2870         (hidden_proto): Caller changed.
2871         (hidden_tls_proto): New macro.
2872         (libc_hidden_tls_proto): Likewise.
2873         (rtld_hidden_tls_proto): Likewise.
2874         (libm_hidden_tls_proto): Likewise.
2875         (libresolv_hidden_tls_proto): Likewise.
2876         (librt_hidden_tls_proto): Likewise.
2877         (libdl_hidden_tls_proto): Likewise.
2878         (libnss_files_hidden_tls_proto): Likewise.
2879         (libnsl_hidden_tls_proto): Likewise.
2880         (libnss_nisplus_hidden_tls_proto): Likewise.
2881         (libutil_hidden_tls_proto): Likewise.
2883 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2885         [BZ #10253]
2886         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2887         (decompose_rpath): Defer expansion to fillin_rpath.
2888         (_dl_init_paths): Pass linkmap to fillin_rpath.
2890 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2892         * benchtests/Makefile: Add strsep.
2893         * benchtests/bench-strsep.c: New file: strsep benchtest.
2894         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2896 2013-11-18  Andreas Schwab  <schwab@suse.de>
2898         * locale/programs/locale.c (show_info) [case byte]: Check for
2899         '\377' instead of '\177'.
2900         * locale/C-monetary.c (not_available): Always use "\377".
2901         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2902         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2903         detect unavailable sign_posn locale elements.
2904         * locale/localeconv.c (__localeconv): For grouping and
2905         mon_grouping handle "\177" and "\377" like no grouping.
2906         (INT_ELEM): New macro.  Use it to set all numeric members.
2907         * locale/programs/ld-monetary.c (monetary_read)
2908         <tok_mon_grouping>: Normalize single -1 to the empty string.
2909         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2910         Likewise.
2912 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2914         [BZ #16055]
2915         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2916         when we match (nil).
2917         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2919 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2921         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2922         (NO_TEST_INLINE): Update value.
2923         (ERRNO_UNCHANGED): Likewise.
2924         (ERRNO_EDOM): Likewise.
2925         (ERRNO_ERANGE): Likewise.
2926         (IGNORE_RESULT): Likewise.
2927         (check_float_internal): Check signs of NaN results if
2928         TEST_NAN_SIGN used.
2929         (check_complex): Pass TEST_NAN_SIGN flag through to second
2930         check_float_internal call.
2931         (copysign_test_data): Add tests with quiet NaNs as second
2932         argument.  Use TEST_NAN_SIGN.
2933         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2934         TEST_NAN_SIGN.
2935         (signbit_test_data): Add tests of quiet NaN argument.
2936         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2938         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2939         $ignore_result.
2940         (parse_args): Handle function results specified as IGNORE.
2941         * math/libm-test.inc (IGNORE_RESULT): New macro.
2942         (check_float_internal): Do not check numerical result if flag
2943         IGNORE_RESULT set.
2944         (check_complex): Pass through IGNORE_RESULT to second
2945         check_float_internal call.
2946         (check_int): Do not check numerical result if flag IGNORE_RESULT
2947         set.
2948         (check_long): Likewise.
2949         (check_bool): Likewise.
2950         (check_longlong): Likewise.
2951         (lrint_test_data): Add tests of infinite and NaN arguments.
2952         (lrint_tonearest_test_data): Likewise.
2953         (lrint_towardzero_test_data): Likewise.
2954         (lrint_downward_test_data): Likewise.
2955         (lrint_upward_test_data): Likewise.
2956         (llrint_test_data): Likewise.
2957         (llrint_tonearest_test_data): Likewise.
2958         (llrint_towardzero_test_data): Likewise.
2959         (llrint_downward_test_data): Likewise.
2960         (llrint_upward_test_data): Likewise.
2961         (lround_test_data): Likewise.
2962         (llround_test_data): Likewise.
2964         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2965         (ERRNO_UNCHANGED): Update value.
2966         (ERRNO_EDOM): Likewise.
2967         (ERRNO_ERANGE): Likewise.
2968         (NO_TEST_INLINE_FLOAT): New macro.
2969         (NO_TEST_INLINE_DOUBLE): Likewise.
2970         (enable_test): New function.
2971         (RUN_TEST_f_f): Check enable_test before running test.
2972         (RUN_TEST_2_f): Likewise.
2973         (RUN_TEST_fff_f): Likewise.
2974         (RUN_TEST_c_f): Likewise.
2975         (RUN_TEST_f_f1): Likewise.
2976         (RUN_TEST_fF_f1): Likewise.
2977         (RUN_TEST_fI_f1): Likewise.
2978         (RUN_TEST_ffI_f1): Likewise.
2979         (RUN_TEST_c_c): Likewise.
2980         (RUN_TEST_cc_c): Likewise.
2981         (RUN_TEST_f_i): Likewise.
2982         (RUN_TEST_f_i_tg): Likewise.
2983         (RUN_TEST_ff_i_tg): Likewise.
2984         (RUN_TEST_f_b): Likewise.
2985         (RUN_TEST_f_b_tg): Likewise.
2986         (RUN_TEST_f_l): Likewise.
2987         (RUN_TEST_f_L): Likewise.
2988         (RUN_TEST_fFF_11): Likewise.
2989         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2990         conditionals.
2991         (cosh_test_data): Likewise.
2992         (exp_test_data): Likewise.
2993         (expm1_test_data): Likewise.
2994         (hypot_test_data): Likewise.
2995         (pow_test_data): Likewise.
2996         (sinh_test_data): Likewise.
2997         (tanh_test_data): Likewise.
2998         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2999         flags argument.
3001         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3002         tests with quiet NaN input and output.
3003         (acosh_test_data): Likewise.
3004         (asin_test_data): Likewise.
3005         (asinh_test_data): Likewise.
3006         (atan_test_data): Likewise.
3007         (atanh_test_data): Likewise.
3008         (atan2_test_data): Likewise.
3009         (cbrt_test_data): Likewise.
3010         (cos_test_data): Likewise.
3011         (cosh_test_data): Likewise.
3012         (erf_test_data): Likewise.
3013         (erfc_test_data): Likewise.
3014         (exp_test_data): Likewise.
3015         (exp10_test_data): Likewise.
3016         (exp2_test_data): Likewise.
3017         (expm1_test_data): Likewise.
3018         (hypot_test_data): Likewise.
3019         (j0_test_data): Likewise.
3020         (j1_test_data): Likewise.
3021         (jn_test_data): Likewise.
3022         (lgamma_test_data): Likewise.
3023         (log_test_data): Likewise.
3024         (log10_test_data): Likewise.
3025         (log1p_test_data): Likewise.
3026         (log2_test_data): Likewise.
3027         (pow_test_data): Likewise.
3028         (scalb_test_data): Likewise.
3029         (sin_test_data): Likewise.
3030         (sincos_test_data): Likewise.
3031         (sinh_test_data): Likewise.
3032         (tan_test_data): Likewise.
3033         (tanh_test_data): Likewise.
3034         (tgamma_test_data): Likewise.
3035         (y0_test_data): Likewise.
3036         (y1_test_data): Likewise.
3037         (yn_test_data): Likewise.
3039         [BZ #16167]
3040         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3041         argument being NaN and avoid computations with second argument in
3042         that case.
3043         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3044         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3045         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3047 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3049         * locale/iso-639.def: Add Chitwani Tharu (the).
3051 2013-11-14  Andreas Schwab  <schwab@suse.de>
3053         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3054         word instead of empty string.
3056 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3059         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3061         (__fe_nomask_env): Likewise.
3063 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3065         * benchtests/bench-timing.h: Include time.h.
3067 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3069         [BZ #15997]
3070         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3071         to 3.4.0 for x32.
3072         * sysdeps/unix/sysv/linux/configure: Regenerated.
3074 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3076         [BZ #16151]
3077         * stdlib/strtod_l.c (round_and_return): Do not consider
3078         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3079         exponent one less than half the least subnormal exponent.
3080         * stdlib/test-strtod-round-data: Add more tests.
3081         * stdlib/tst-strtod-round.c (tests): Regenerated.
3083 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3085         [BZ #14143]
3086         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3087         (__fe_mask_env): Likewise.
3088         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3089         libm_hidden_proto and add function prototype.
3090         (__fe_mask_env): Add function prototype.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3092         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3094         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3096         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3098 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3100         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3101         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3103 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3105         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3106         of htab_find_slot().
3108 2013-11-11  David S. Miller  <davem@davemloft.net>
3110         [BZ #16150]
3111         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3112         symbol in the non-vis3 case in static builds.
3113         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3114         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3115         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3116         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3118 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3120         [BZ #387]
3121         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3122         it is empty.
3124 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3126         * benchtests/Makefile: Add bench-strtod.
3127         * benchtests/bench-strtod.c: New file: strtod benchtest
3129 2013-11-11  Andreas Schwab  <schwab@suse.de>
3131         [BZ #16153]
3132         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3133         terminating NUL in key length.
3135 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3138         Add artificial ODP entry for vDSO symbol for PPC64.
3139         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3140         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3142 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3144         [BZ #15374]
3145         * nss/getent.c (services_keys): Recognize services starting with digit.
3147 2013-11-06  David S. Miller  <davem@davemloft.net>
3149         [BZ #15985]
3150         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3151         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3153 2013-11-06  Will Newton  <will.newton@linaro.org>
3155         * manual/memory.texi (Malloc Examples): Remove register
3156         keyword from examples.
3158 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3160         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3162 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3164         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3165         depending on [__GCC_IEC_559 > 0].
3166         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3167         depending on [__GCC_IEC_559_COMPLEX > 0].
3169 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3171         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3172         to iso-639.def.
3174 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3176         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3178 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3180         [BZ #16112]
3181         * malloc/malloc (malloc_info): Do not handle first bin as
3182         special case.
3184 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3186         * locale/iso-639.def: Add Central Nahuatl (nhn).
3188 2013-11-01  Bruno Haible  <bruno@clisp.org>
3190         [BZ #7003]
3191         * manual/math.texi (BSD Random): Specify range upper bound as
3192         in POSIX.
3194 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3196         * locale/iso-639.def: Add Meadow Mari (mhr).
3198 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3200         [BZ #14752], [BZ #15763]
3201         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3202         Validate name.
3203         * rt/tst_shm.c: Add test for escaping directory.
3205 2013-10-31  Andreas Schwab  <schwab@suse.de>
3207         [BZ #15917]
3208         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3209         followed by 'x' as part of digit sequence.
3210         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3212 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3214         [BZ #16037]
3215         * configure.ac: allow GNU Make 4.0 and greater.
3216         * configure: Regenerated.
3218 2013-10-30  Will Newton  <will.newton@linaro.org>
3220         [BZ #16038]
3221         * malloc/hooks.c (memalign_check): Limit alignment to the
3222         maximum representable power of two.
3223         * malloc/malloc.c (__libc_memalign): Likewise.
3224         * malloc/tst-memalign.c (do_test): Add test for very
3225         large alignment values.
3226         * malloc/tst-posix_memalign.c (do_test): Likewise.
3228 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3230         [BZ #11087]
3231         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3232         (munmap_chunk): Likewise.
3233         (mremap_chunk): Likewise.
3235 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3237         [BZ #15799]
3238         * stdlib/div.c (div): Remove obsolete code.
3239         * stdlib/ldiv.c (ldiv): Likewise.
3240         * stdlib/lldiv.c (lldiv): Likewise.
3242 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3244         [BZ #16071]
3245         * nss/nss_files/files-XXX.c (get_contents_ret): New
3246         enumerator.
3247         (get_contents): New function.
3248         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3250 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3252         * configure.in: Moved to ...
3253         * configure.ac: ... here. Change reference to configure.in
3254         to configure.ac.
3255         * sysdeps/arm/preconfigure.ac: ... here.
3256         configure.in to configure.ac.
3257         * sysdeps/gnu/configure.in: Moved to ...
3258         * sysdeps/gnu/configure.ac: ... here.
3259         * sysdeps/i386/configure.in: Moved to ...
3260         * sysdeps/i386/configure.ac: ... here.
3261         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3262         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3263         * sysdeps/mach/configure.in: Moved to ...
3264         * sysdeps/mach/configure.ac: ... here.
3265         * sysdeps/mach/hurd/configure.in: Moved to ...
3266         * sysdeps/mach/hurd/configure.ac: ... here.
3267         * sysdeps/powerpc/configure.in: Moved to ...
3268         * sysdeps/powerpc/configure.ac: ... here.
3269         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3270         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3271         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3272         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3273         * sysdeps/s390/s390-32/configure.in: Moved to ...
3274         * sysdeps/s390/s390-32/configure.ac: ... here.
3275         * sysdeps/s390/s390-64/configure.in: Moved to ...
3276         * sysdeps/s390/s390-64/configure.ac: ... here.
3277         * sysdeps/sh/configure.in: Moved to ...
3278         * sysdeps/sh/configure.ac: ... here.
3279         * sysdeps/sparc/configure.in: Moved to ...
3280         * sysdeps/sparc/configure.ac: ... here.
3281         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3282         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3283         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3284         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3285         * sysdeps/x86_64/configure.in: Moved to ...
3286         * sysdeps/x86_64/configure.ac: ... here.
3287         * sysdeps/x86_64/preconfigure.in: Moved to ...
3288         * sysdeps/x86_64/preconfigure.ac: ... here.
3289         * aclocal.m4: Change reference to configure.in to configure.ac.
3290         * config.h.in: Likewise.
3291         * manual/install.texi: Likewise.
3292         * manual/maint.texi: Likewise.
3293         * Makefile: Likewise.
3294         * malloc/Makefile: Likewise.
3295         * nscd/Makefile: Likewise.
3296         * Makeconfig: Change reference to configure.in and
3297         preconfigure.in to configure.ac and preconfigure.ac
3298         respectively.
3299         * INSTALL: Regenerated.
3300         * configure: Likewise.
3301         * sysdeps/gnu/configure: Likewise.
3302         * sysdeps/i386/configure: Likewise.
3303         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3304         * sysdeps/mach/configure: Likewise.
3305         * sysdeps/mach/hurd/configure: Likewise.
3306         * sysdeps/powerpc/configure: Likewise.
3307         * sysdeps/powerpc/powerpc32/configure: Likewise.
3308         * sysdeps/powerpc/powerpc64/configure: Likewise.
3309         * sysdeps/s390/s390-32/configure: Likewise.
3310         * sysdeps/s390/s390-64/configure: Likewise.
3311         * sysdeps/sh/configure: Likewise.
3312         * sysdeps/sparc/configure: Likewise.
3313         * sysdeps/unix/sysv/linux/configure: Likewise.
3314         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3315         * sysdeps/x86_64/configure: Likewise.
3316         * sysdeps/x86_64/preconfigure: Likewise.
3318 2013-10-29  Andreas Schwab  <schwab@suse.de>
3320         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3322 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3324         * benchtests/pow-inputs: Add new inputs.
3326         * benchtests/exp-inputs: Add new inputs.
3328         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3329         conditional check for return value.
3330         (__cos32): Likewise.
3332 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3334         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3335         to provide a boost for large inputs with word alignment.
3336         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3337         implementation based on optimized PPC64 strcpy.
3338         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3339         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3340         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3341         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3343 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3345         [BZ #2801]
3346         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3348 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3350         [BZ #14876]
3351         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3352         * time/tst-strptime.c (day_tests): Add testcase.
3354 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3356         [BZ #14029]
3357         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3359 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3361         [BZ #16074]
3362         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3363         MAP_FAILED on error.
3365 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3367         [BZ #16072]
3368         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3369         heap for large requests.
3371 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3373         [BZ #9954]
3374         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3375         result if the result has no associated interface.
3376         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3377         interface for all 127.X.Y.Z addresses.
3379 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3381         * locale/iso-639.def: Add Ligurian (lij)
3383 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3385         [BZ #15825]
3386         * sunrpc/rpc_main.c: Document rpcgen -5.
3388 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3390         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3392 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3394         [BZ #10278]
3395         * posix/glob.c: Match only directories when trailing slash is present.
3396         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3397         (main): Add testcase.
3399 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3401         [BZ #15670]
3402         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3404 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3406         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3407         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3408         AUTH_DES and cindex for FIPS 140-2.
3409         (DES Encryption): Add cindex FIPS 46-3.
3411         * locale/locarchive.h (struct locarhandle): Add fname.
3412         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3413         if an optional argument was specified to --list-archive,
3414         otherwise NULL.
3415         * locale/programs/locarchive.c (show_archive_content): Take new
3416         argument fname and pass it via ah.fname to open_archive.
3417         * locale/programs/localedef.h: Update decl.
3418         (open_archive): If AH->fname is non-null, open that file
3419         rather than the default file name, and don't ignore ENOENT.
3420         (create_archive): Set AH.fname to NULL.
3421         (delete_locales_from_archive): Likewise.
3422         (add_locales_to_archive): Likewise.
3423         * locale/programs/locfile.c (write_all_categories): Likewise.
3425 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3426             Aldy Hernandez  <aldyh@redhat.com>
3428         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3429         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3430         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3431         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3432         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3433         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3434         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3435         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3436         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3437         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3438         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3439         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3440         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3441         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3442         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3443         Likewise.
3444         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3445         Likewise.
3446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3447         Likewise.
3448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3449         Likewise.
3450         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3451         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3452         Likewise.
3453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3454         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3455         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3456         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3457         Likewise.
3458         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3459         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3460         * sysdeps/powerpc/preconfigure: Likewise.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3462         Likewise.
3463         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3464         Replace contents of file by #include of <fenv_libc.h>.
3465         * sysdeps/powerpc/soft-fp/sfp-machine.h
3466         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3467         and <sys/prctl.h>.
3468         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3470         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3481         Allow copysignl PLT reference to be missing.
3483 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3484             Joseph Myers  <joseph@codesourcery.com
3486         [BZ #15948]
3487         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3488         single character.
3489         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3491 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3493         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3494         * elf/tst-tls1.c: Likewise.
3495         * elf/tst-tls10.h: Likewise.
3496         * elf/tst-tls14.c: Likewise.
3497         * elf/tst-tls2.c: Likewise.
3498         * elf/tst-tls3.c: Likewise.
3499         * elf/tst-tls4.c: Likewise.
3500         * elf/tst-tls5.c: Likewise.
3501         * elf/tst-tls6.c: Likewise.
3502         * elf/tst-tls7.c: Likewise.
3503         * elf/tst-tls8.c: Likewise.
3504         * elf/tst-tls9.c: Likewise.
3505         * elf/tst-tlsmod1.c: Likewise.
3506         * elf/tst-tlsmod13.c: Likewise.
3507         * elf/tst-tlsmod13a.c: Likewise.
3508         * elf/tst-tlsmod14a.c: Likewise.
3509         * elf/tst-tlsmod16a.c: Likewise.
3510         * elf/tst-tlsmod16b.c: Likewise.
3511         * elf/tst-tlsmod2.c: Likewise.
3512         * elf/tst-tlsmod3.c: Likewise.
3513         * elf/tst-tlsmod4.c: Likewise.
3514         * elf/tst-tlsmod5.c: Likewise.
3515         * elf/tst-tlsmod6.c: Likewise.
3517 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3519         [BZ #12486]
3520         * malloc/malloc.c: remove checks for statistics.
3522 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3524         [BZ #15277]
3525         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3526         * inet/tst-network.c: Add testcase.
3528 2013-10-17  Andreas Schwab  <schwab@suse.de>
3530         [BZ #15218]
3531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3532         to determine canonical name.
3534 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3536         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3537         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3539         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3541         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3542         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3543         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3544         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3545         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3546         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3547         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3548         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3549         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3550         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3551         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3554         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3555         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3556         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3557         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3558         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3559         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3560         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3561         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3562         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3563         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3564         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3565         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3566         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3568         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3569         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3570         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3577         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3578         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3579         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3581         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3591         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3595 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3597         [BZ #16041]
3598         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3599         make result into a quiet NaN.
3601 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3603         * soft-fp/adddf3.c: Fix horizontal whitespace.
3604         * soft-fp/addsf3.c: Likewise.
3605         * soft-fp/addtf3.c: Likewise.
3606         * soft-fp/divdf3.c: Likewise.
3607         * soft-fp/divsf3.c: Likewise.
3608         * soft-fp/divtf3.c: Likewise.
3609         * soft-fp/double.h: Likewise.
3610         * soft-fp/eqdf2.c: Likewise.
3611         * soft-fp/eqsf2.c: Likewise.
3612         * soft-fp/eqtf2.c: Likewise.
3613         * soft-fp/extenddftf2.c: Likewise.
3614         * soft-fp/extended.h: Likewise.
3615         * soft-fp/extendsfdf2.c: Likewise.
3616         * soft-fp/extendsftf2.c: Likewise.
3617         * soft-fp/extendxftf2.c: Likewise.
3618         * soft-fp/fixdfdi.c: Likewise.
3619         * soft-fp/fixdfsi.c: Likewise.
3620         * soft-fp/fixdfti.c: Likewise.
3621         * soft-fp/fixsfdi.c: Likewise.
3622         * soft-fp/fixsfsi.c: Likewise.
3623         * soft-fp/fixsfti.c: Likewise.
3624         * soft-fp/fixtfdi.c: Likewise.
3625         * soft-fp/fixtfsi.c: Likewise.
3626         * soft-fp/fixtfti.c: Likewise.
3627         * soft-fp/fixunsdfdi.c: Likewise.
3628         * soft-fp/fixunsdfsi.c: Likewise.
3629         * soft-fp/fixunsdfti.c: Likewise.
3630         * soft-fp/fixunssfdi.c: Likewise.
3631         * soft-fp/fixunssfsi.c: Likewise.
3632         * soft-fp/fixunssfti.c: Likewise.
3633         * soft-fp/fixunstfdi.c: Likewise.
3634         * soft-fp/fixunstfsi.c: Likewise.
3635         * soft-fp/fixunstfti.c: Likewise.
3636         * soft-fp/floatdidf.c: Likewise.
3637         * soft-fp/floatdisf.c: Likewise.
3638         * soft-fp/floatditf.c: Likewise.
3639         * soft-fp/floatsidf.c: Likewise.
3640         * soft-fp/floatsisf.c: Likewise.
3641         * soft-fp/floatsitf.c: Likewise.
3642         * soft-fp/floattidf.c: Likewise.
3643         * soft-fp/floattisf.c: Likewise.
3644         * soft-fp/floattitf.c: Likewise.
3645         * soft-fp/floatundidf.c: Likewise.
3646         * soft-fp/floatundisf.c: Likewise.
3647         * soft-fp/floatunditf.c: Likewise.
3648         * soft-fp/floatunsidf.c: Likewise.
3649         * soft-fp/floatunsisf.c: Likewise.
3650         * soft-fp/floatunsitf.c: Likewise.
3651         * soft-fp/floatuntidf.c: Likewise.
3652         * soft-fp/floatuntisf.c: Likewise.
3653         * soft-fp/floatuntitf.c: Likewise.
3654         * soft-fp/fmadf4.c: Likewise.
3655         * soft-fp/fmasf4.c: Likewise.
3656         * soft-fp/fmatf4.c: Likewise.
3657         * soft-fp/gedf2.c: Likewise.
3658         * soft-fp/gesf2.c: Likewise.
3659         * soft-fp/getf2.c: Likewise.
3660         * soft-fp/ledf2.c: Likewise.
3661         * soft-fp/lesf2.c: Likewise.
3662         * soft-fp/letf2.c: Likewise.
3663         * soft-fp/muldf3.c: Likewise.
3664         * soft-fp/mulsf3.c: Likewise.
3665         * soft-fp/multf3.c: Likewise.
3666         * soft-fp/negdf2.c: Likewise.
3667         * soft-fp/negsf2.c: Likewise.
3668         * soft-fp/negtf2.c: Likewise.
3669         * soft-fp/op-1.h: Likewise.
3670         * soft-fp/op-2.h: Likewise.
3671         * soft-fp/op-4.h: Likewise.
3672         * soft-fp/op-8.h: Likewise.
3673         * soft-fp/op-common.h: Likewise.
3674         * soft-fp/quad.h: Likewise.
3675         * soft-fp/single.h: Likewise.
3676         * soft-fp/soft-fp.h: Likewise.
3677         * soft-fp/sqrtdf2.c: Likewise.
3678         * soft-fp/sqrtsf2.c: Likewise.
3679         * soft-fp/sqrttf2.c: Likewise.
3680         * soft-fp/subdf3.c: Likewise.
3681         * soft-fp/subsf3.c: Likewise.
3682         * soft-fp/subtf3.c: Likewise.
3683         * soft-fp/truncdfsf2.c: Likewise.
3684         * soft-fp/trunctfdf2.c: Likewise.
3685         * soft-fp/trunctfsf2.c: Likewise.
3686         * soft-fp/trunctfxf2.c: Likewise.
3687         * soft-fp/unorddf2.c: Likewise.
3688         * soft-fp/unordsf2.c: Likewise.
3689         * soft-fp/unordtf2.c: Likewise.
3691 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3693         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3694         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3696 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3698         * elf/dl-libc.c: Clear initfini list after freeing.
3700 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3702         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3703         * soft-fp/addsf3.c: Likewise.
3704         * soft-fp/addtf3.c: Likewise.
3705         * soft-fp/divdf3.c: Likewise.
3706         * soft-fp/divsf3.c: Likewise.
3707         * soft-fp/divtf3.c: Likewise.
3708         * soft-fp/double.h: Likewise.
3709         * soft-fp/eqdf2.c: Likewise.
3710         * soft-fp/eqsf2.c: Likewise.
3711         * soft-fp/eqtf2.c: Likewise.
3712         * soft-fp/extenddftf2.c: Likewise.
3713         * soft-fp/extended.h: Likewise.
3714         * soft-fp/extendsfdf2.c: Likewise.
3715         * soft-fp/extendsftf2.c: Likewise.
3716         * soft-fp/extendxftf2.c: Likewise.
3717         * soft-fp/fixdfdi.c: Likewise.
3718         * soft-fp/fixdfsi.c: Likewise.
3719         * soft-fp/fixdfti.c: Likewise.
3720         * soft-fp/fixsfdi.c: Likewise.
3721         * soft-fp/fixsfsi.c: Likewise.
3722         * soft-fp/fixsfti.c: Likewise.
3723         * soft-fp/fixtfdi.c: Likewise.
3724         * soft-fp/fixtfsi.c: Likewise.
3725         * soft-fp/fixtfti.c: Likewise.
3726         * soft-fp/fixunsdfdi.c: Likewise.
3727         * soft-fp/fixunsdfsi.c: Likewise.
3728         * soft-fp/fixunsdfti.c: Likewise.
3729         * soft-fp/fixunssfdi.c: Likewise.
3730         * soft-fp/fixunssfsi.c: Likewise.
3731         * soft-fp/fixunssfti.c: Likewise.
3732         * soft-fp/fixunstfdi.c: Likewise.
3733         * soft-fp/fixunstfsi.c: Likewise.
3734         * soft-fp/fixunstfti.c: Likewise.
3735         * soft-fp/floatdidf.c: Likewise.
3736         * soft-fp/floatdisf.c: Likewise.
3737         * soft-fp/floatditf.c: Likewise.
3738         * soft-fp/floatsidf.c: Likewise.
3739         * soft-fp/floatsisf.c: Likewise.
3740         * soft-fp/floatsitf.c: Likewise.
3741         * soft-fp/floattidf.c: Likewise.
3742         * soft-fp/floattisf.c: Likewise.
3743         * soft-fp/floattitf.c: Likewise.
3744         * soft-fp/floatundidf.c: Likewise.
3745         * soft-fp/floatundisf.c: Likewise.
3746         * soft-fp/floatunsidf.c: Likewise.
3747         * soft-fp/floatunsisf.c: Likewise.
3748         * soft-fp/floatuntidf.c: Likewise.
3749         * soft-fp/floatuntisf.c: Likewise.
3750         * soft-fp/floatuntitf.c: Likewise.
3751         * soft-fp/fmadf4.c: Likewise.
3752         * soft-fp/fmasf4.c: Likewise.
3753         * soft-fp/fmatf4.c: Likewise.
3754         * soft-fp/gedf2.c: Likewise.
3755         * soft-fp/gesf2.c: Likewise.
3756         * soft-fp/getf2.c: Likewise.
3757         * soft-fp/ledf2.c: Likewise.
3758         * soft-fp/lesf2.c: Likewise.
3759         * soft-fp/letf2.c: Likewise.
3760         * soft-fp/muldf3.c: Likewise.
3761         * soft-fp/mulsf3.c: Likewise.
3762         * soft-fp/multf3.c: Likewise.
3763         * soft-fp/negdf2.c: Likewise.
3764         * soft-fp/negsf2.c: Likewise.
3765         * soft-fp/negtf2.c: Likewise.
3766         * soft-fp/op-1.h: Likewise.
3767         * soft-fp/op-2.h: Likewise.
3768         * soft-fp/op-4.h: Likewise.
3769         * soft-fp/op-8.h: Likewise.
3770         * soft-fp/op-common.h: Likewise.
3771         * soft-fp/quad.h: Likewise.
3772         * soft-fp/single.h: Likewise.
3773         * soft-fp/soft-fp.h: Likewise.
3774         * soft-fp/sqrtdf2.c: Likewise.
3775         * soft-fp/sqrtsf2.c: Likewise.
3776         * soft-fp/sqrttf2.c: Likewise.
3777         * soft-fp/subdf3.c: Likewise.
3778         * soft-fp/subsf3.c: Likewise.
3779         * soft-fp/subtf3.c: Likewise.
3780         * soft-fp/truncdfsf2.c: Likewise.
3781         * soft-fp/trunctfdf2.c: Likewise.
3782         * soft-fp/trunctfsf2.c: Likewise.
3783         * soft-fp/trunctfxf2.c: Likewise.
3784         * soft-fp/unorddf2.c: Likewise.
3785         * soft-fp/unordsf2.c: Likewise.
3786         * soft-fp/unordtf2.c: Likewise.
3788 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3790         [BZ #15672]
3791         * misc/error.c (error_tail): Fix possible buffer overflow.
3793 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3795         [BZ #13028]
3796         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3797         address.
3799 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3801         [BZ #832]
3802         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3803         testing pipefail option.
3805 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3807         * soft-fp/double.h: Indent preprocessor directives inside #if.
3808         * soft-fp/extended.h: Likewise.
3809         * soft-fp/op-2.h: Likewise.
3810         * soft-fp/op-4.h: Likewise.
3811         * soft-fp/op-common.h: Likewise.
3812         * soft-fp/quad.h: Likewise.
3813         * soft-fp/single.h: Likewise.
3814         * soft-fp/soft-fp.h: Likewise.
3816 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3818         * iconv/iconv_prog.c: Fix typos.
3819         * stdio-common/psiginfo-data.h: Likewise.
3821 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3823         [BZ #15764]
3824         * locale/setlocale.c: Fix typo.
3826 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3828         [BZ #16036]
3829         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3830         signaling NaN arguments.
3831         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3832         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3834         [BZ #14910]
3835         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3836         unordered operands.
3837         * soft-fp/gesf2.c (__gesf2): Likewise.
3838         * soft-fp/getf2.c (__getf2): Likewise.
3839         * soft-fp/ledf2.c (__ledf2): Likewise.
3840         * soft-fp/lesf2.c (__lesf2): Likewise.
3841         * soft-fp/letf2.c (__letf2): Likewise.
3843         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3844         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3845         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3846         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3847         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3848         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3849         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3850         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3851         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3852         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3853         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3854         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3855         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3856         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3857         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3858         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3859         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3860         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3861         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3862         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3863         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3864         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3865         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3866         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3867         * soft-fp/floattidf.c (__floattidf): Likewise.
3868         * soft-fp/floattisf.c (__floattisf): Likewise.
3869         * soft-fp/floattitf.c (__floattitf): Likewise.
3870         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3871         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3872         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3873         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3874         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3875         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3876         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3877         * soft-fp/gesf2.c (__gesf2): Likewise.
3878         * soft-fp/getf2.c (__getf2): Likewise.
3879         * soft-fp/ledf2.c (__ledf2): Likewise.
3880         * soft-fp/lesf2.c (__lesf2): Likewise.
3881         * soft-fp/letf2.c (__letf2): Likewise.
3883         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3884         Undefine and redefine.
3885         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3886         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3887         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3888         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3889         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3890         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3891         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3892         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3893         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3894         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3895         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3896         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3897         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3898         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3899         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3901         [BZ #16032]
3902         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3903         without decrementing exponent if mantissa >= that for the
3904         denominator, not >.
3905         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3906         denominator, not >.  Decrement exponent in < case instead of
3907         incrementing in >= case.
3908         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3909         without decrementing exponent if mantissa >= that for the
3910         denominator, not >.
3912         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3913         computing saturated result for unsigned overflow.
3915 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3916             Jeff Law  <law@redhat.com>
3918         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3919         (atan2Mp): Add systemtap probe marker.
3920         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3921         (__ieee754_log): Add systemtap probe marker.
3922         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3923         (atanMp): Add systemtap probe marker.
3924         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3925         (tanMp): Add systemtap probe marker.
3926         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3927         (__slowexp): Add systemtap probe marker.
3928         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3929         (__slowpow): Add systemtap probe marker.
3930         * manual/probes.texi: Document probes.
3932 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3934         [BZ #15362]
3935         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3936         written.
3937         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3938         written.
3939         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3940         written to buffer but not flushed.
3941         * libio/iofwrite_u.c:  Likewise.
3942         * libio/iopadn.c:  Return bytes returned even if EOF was
3943         encountered.
3944         * libio/iowpadn.c:  Likewise.
3945         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3946         if _IO_padn does not write the whole buffer.
3947         [!COMPILE_WPRINTF] (PAD): Likewise.
3949 2013-10-10  David S. Miller  <davem@davemloft.net>
3951         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3952         directory block.
3954 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3956         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3957         instead of FSF address.
3958         * soft-fp/fixdfti.c: Likewise.
3959         * soft-fp/fixsfti.c: Likewise.
3960         * soft-fp/fixtfti.c: Likewise.
3961         * soft-fp/fixunsdfti.c: Likewise.
3962         * soft-fp/fixunssfti.c: Likewise.
3963         * soft-fp/fixunstfti.c: Likewise.
3964         * soft-fp/floattidf.c: Likewise.
3965         * soft-fp/floattisf.c: Likewise.
3966         * soft-fp/floattitf.c: Likewise.
3967         * soft-fp/floatuntidf.c: Likewise.
3968         * soft-fp/floatuntisf.c: Likewise.
3969         * soft-fp/floatuntitf.c: Likewise.
3970         * soft-fp/trunctfxf2.c: Likewise.
3972         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3973         * soft-fp/fixdfti.c: Likewise.
3974         * soft-fp/fixsfti.c: Likewise.
3975         * soft-fp/fixtfti.c: Likewise.
3976         * soft-fp/fixunsdfti.c: Likewise.
3977         * soft-fp/fixunssfti.c: Likewise.
3978         * soft-fp/fixunstfti.c: Likewise.
3979         * soft-fp/floattidf.c: Likewise.
3980         * soft-fp/floattisf.c: Likewise.
3981         * soft-fp/floattitf.c: Likewise.
3982         * soft-fp/floatuntidf.c: Likewise.
3983         * soft-fp/floatuntisf.c: Likewise.
3984         * soft-fp/floatuntitf.c: Likewise.
3985         * soft-fp/trunctfxf2.c: Likewise.
3987 2013-10-10  David S. Miller  <davem@davemloft.net>
3989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3991 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3993         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3994         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3995         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3996         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3997         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3998         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3999         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4002         for NaNs before doing comparisons on argument.
4003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4004         Likewise.
4006 2013-10-10  Will Newton  <will.newton@linaro.org>
4008         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4009         passed to _int_memalign does not overflow.
4011 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4013         * scripts/bench.pl: Add include-sources directive.
4014         * benchtests/README: Update documentation.
4016 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4018         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4019         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4020         instead of FP_INIT_ROUNDMODE.
4021         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4022         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4024         [BZ #16034]
4025         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4026         copy class of input value.
4027         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4028         not handle exceptions.
4029         * soft-fp/negsf2.c (__negsf2): Likewise.
4030         * soft-fp/negtf2.c (__negtf2): Likewise.
4031         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4033 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4035         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4036         semicolon.  From Linux kernel.
4038 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4040         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4042 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4044         [BZ #156]
4045         * manual/socket.texi: Added statement about buffer
4046         for gethostbyname2_r.
4048 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4050         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4051         Use .p2align directive instead, throughout.
4052         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4053         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4054         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4057         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4058         * sysdeps/x86_64/strchr.S: Likewise.
4059         * sysdeps/x86_64/strrchr.S: Likewise.
4061 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4063         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4065         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4067         * sysdeps/generic/math_private.h (__mpsin1): Remove
4068         declaration.
4069         (__mpcos1): Likewise.
4070         (__mpsin): New argument __range_reduce.
4071         (__mpcos): Likewise.
4072         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4073         (slow): Use __mpsin and __mpcos.
4074         (slow1): Likewise.
4075         (slow2): Likewise.
4076         (sloww): Likewise.
4077         (sloww1): Likewise.
4078         (sloww2): Likewise.
4079         (bsloww): Likewise.
4080         (bsloww1): Likewise.
4081         (bsloww2): Likewise.
4082         (cslow2): Likewise.
4083         (csloww): Likewise.
4084         (csloww1): Likewise.
4085         (csloww2): Likewise.
4086         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4087         range_reduce.  Merge in __mpsin1.
4088         (__mpcos): Likewise.
4089         (__mpsin1): Remove.
4090         (__mpcos1): Likewise.
4092 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4094         * locale/loadlocale.c (_nl_intern_locale_data): Use
4095         LOCFILE_ALIGNED_P.
4096         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4097         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4098         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4099         obstack data is appropriately aligned.
4100         (obstack_int32_grow_fast): Likewise.
4101         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4102         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4103         (add_locale_uint32_array): Likewise.
4105 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4107         * benchtests/Makefile: Remove ARGLIST and RET variables.
4108         ($(objpfx)bench-%.c): Pass only function name to the script.
4109         * benchtests/README: Update documentation.
4110         * benchtests/acos-inputs: Add new directives.
4111         * benchtests/acosh-inputs: Likewise.
4112         * benchtests/asin-inputs: Likewise.
4113         * benchtests/asinh-inputs: Likewise.
4114         * benchtests/atan-inputs: Likewise.
4115         * benchtests/atanh-inputs: Likewise.
4116         * benchtests/cos-inputs: Likewise.
4117         * benchtests/cosh-inputs: Likewise.
4118         * benchtests/exp-inputs: Likewise.
4119         * benchtests/log-inputs: Likewise.
4120         * benchtests/pow-inputs: Likewise.
4121         * benchtests/rint-inputs: Likewise.
4122         * benchtests/sin-inputs: Likewise.
4123         * benchtests/sinh-inputs: Likewise.
4124         * benchtests/tan-inputs: Likewise.
4125         * benchtests/tanh-inputs: Likewise.
4126         * scripts/bench.pl: Add support for new directives.
4128 2013-10-07  Alan Modra  <amodra@gmail.com>
4130         * README: Fix careless merge.
4132 2013-10-05  Alan Modra  <amodra@gmail.com>
4134         * NEWS: Mention powerpc64le support and bugs fixed.
4135         * README: Both big-endian and little-endian powerpc64 supported.
4137 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4139         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4140         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4141         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4142         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4144 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4146         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4147         match prototype.
4149 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4151         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4152         Move -mhard-float appending from
4153         ports/sysdeps/powerpc/powerpc32/Makefile.
4154         [$(with-fp) = yes] (ASFLAGS): Likewise.
4155         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4156         * sysdeps/powerpc/nofpu: Move directory from
4157         ports/sysdeps/powerpc/nofpu.
4158         * sysdeps/powerpc/soft-fp: Move directory from
4159         ports/sysdeps/powerpc/soft-fp.
4160         * sysdeps/powerpc/powerpc32/405: Move directory from
4161         ports/sysdeps/powerpc/powerpc32/405.
4162         * sysdeps/powerpc/powerpc32/440: Move directory from
4163         ports/sysdeps/powerpc/powerpc32/440.
4164         * sysdeps/powerpc/powerpc32/464: Move directory from
4165         ports/sysdeps/powerpc/powerpc32/464.
4166         * sysdeps/powerpc/powerpc32/476: Move directory from
4167         ports/sysdeps/powerpc/powerpc32/476.
4168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4169         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4178         * README: Update for powerpc-*-linux-gnu software floating point
4179         support in libc.
4181         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4182         case to powerpc/powerpc32*.
4183         * sysdeps/unix/sysv/linux/configure: Regenerated.
4185         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4186         (_FPU_MASK_OM): Define as 0x04.
4187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4189         0x00c10080.
4190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4191         0x0000003c.
4192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4195         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4196         getcontext_e500.
4197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4198         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4199         setcontext_e500.
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4201         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4202         and setcontext_e500.
4204 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4206         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4208 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4210         * manual/threads.texi (Default Thread Attributes): Fix typo.
4212 2013-10-04  Will Newton  <will.newton@linaro.org>
4214         * malloc/Makefile: Add tst-memalign.
4215         * malloc/tst-memalign.c: New file.
4217         * malloc/tst-posix_memalign.c: Add comments.
4218         (do_test): Add comments and call free on all potentially
4219         allocated pointers. Add space after cast.
4221         * malloc/tst-pvalloc.c: Add comments.
4222         (do_test): Add comments and call free on all potentially
4223         allocated pointers. Remove duplicate check for NULL pointer.
4224         Add space after cast.
4226         * malloc/tst-valloc.c: Add comments.
4227         (do_test): Add comments and call free on all potentially
4228         allocated pointers. Remove duplicate check for NULL pointer.
4229         Add space after cast.
4231 2013-10-04  Alan Modra  <amodra@gmail.com>
4233         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4234         Use stdint types in rather than __attribute__((mode())).
4235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4237 2013-10-04  Alan Modra  <amodra@gmail.com>
4239         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4240         Correct handling of unaligned relocs for little-endian.
4241         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4243 2013-10-04  Alan Modra  <amodra@gmail.com>
4245         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4246         * configure: Regenerate.
4247         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4248         * shlib-versions: Likewise.
4250 2013-10-04  Alan Modra  <amodra@gmail.com>
4252         * string/tester.c (test_memrchr): Increment reported test cycle.
4254 2013-10-04  Alan Modra  <amodra@gmail.com>
4256         * string/test-memcpy.c (do_one_test): When reporting errors, print
4257         string address and don't overrun end of string.
4259 2013-10-04  Alan Modra  <amodra@gmail.com>
4261         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4262         insrdi.  Make better use of reg selection to speed exit slightly.
4263         Schedule entry path a little better.  Remove useless "are we done"
4264         checks on entry to main loop.  Handle wrapping around zero address.
4265         Correct main loop count.  Handle single left-over word from main
4266         loop inline rather than by using loop_small.  Remove extra word
4267         case in loop_small caused by wrong loop count.  Add little-endian
4268         support.
4269         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4270         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4271         cache hint.
4272         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4273         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4274         support.  Avoid rlwimi.
4275         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4277 2013-10-04  Alan Modra  <amodra@gmail.com>
4279         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4280         insrdi.  Formatting.
4281         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4282         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4283         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4284         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4285         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4286         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4288 2013-10-04  Alan Modra  <amodra@gmail.com>
4290         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4291         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4292         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4293         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4294         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4295         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4296         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4297         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4298         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4299         use of regs.  Use power7 mtocrf.  Tidy function tails.
4301 2013-10-04  Alan Modra  <amodra@gmail.com>
4303         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4304         Formatting.  Consistently use rXXX register defines or rN defines.
4305         Use early exit labels that avoid restoring unused non-volatile regs.
4306         Make cr field use more consistent with rWORDn compares.  Rename
4307         regs used as shift registers for unaligned loop, using rN defines
4308         for short lifetime/multiple use regs.
4309         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4311         addi 1,1,64 to pop stack frame.  Simplify return value code.
4312         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4314 2013-10-04  Alan Modra  <amodra@gmail.com>
4316         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4317         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4318         rather than rlwimi.
4319         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4320         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4321         little-endian support.  Correct typos.
4322         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4323         rather than rlwimi.
4324         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4325         in loop and entry code to keep "and." results.
4326         (strchr): Add little-endian support.  Comment.  Move cntlzd
4327         earlier in tail.
4328         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4330 2013-10-04  Alan Modra  <amodra@gmail.com>
4332         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4333         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4334         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4335         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4337 2013-10-04  Alan Modra  <amodra@gmail.com>
4339         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4340         (rTMP): Define as r11.
4341         (strcmp): Add little-endian support.  Optimise tail.
4342         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4343         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4344         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4345         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4346         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4347         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4350 2013-10-04  Alan Modra  <amodra@gmail.com>
4352         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4353         little-endian support.  Remove unnecessary "are we done" tests.
4354         Handle "s" wrapping around zero and extremely large "size".
4355         Correct main loop count.  Handle single left-over word from main
4356         loop inline rather than by using small_loop.  Correct comments.
4357         Delete "zero" tail, use "end_max" instead.
4358         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4360 2013-10-04  Alan Modra  <amodra@gmail.com>
4362         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4363         support.  Don't branch over align.
4364         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4365         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4366         support.  Rearrange tmp reg use to suit.  Comment.
4367         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4369 2013-10-04  Alan Modra  <amodra@gmail.com>
4371         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4373 2013-10-04  Alan Modra  <amodra@gmail.com>
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4376         conditional form of branch and link when obtaining pc.
4377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4379 2013-10-04  Alan Modra  <amodra@gmail.com>
4381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4382         HIWORD/LOWORD.
4383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4386 2013-10-04  Alan Modra  <amodra@gmail.com>
4388         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4389         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4390         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4391         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4392         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4393         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4394         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4395         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4396         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4397         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4399 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4400             Alistair Popple <alistair@ozlabs.au.ibm.com>
4401             Alan Modra <amodra@gmail.com>
4403         [BZ #15723]
4404         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4405         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4406         _dl_hwcap access for little-endian.
4407         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4408         destroy vmx regs when saving unaligned.
4409         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4410         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4411         destroy vmx regs when saving unaligned.
4413 2013-10-04  Alan Modra  <amodra@gmail.com>
4415         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4416         Don't use a union to pack hi/low value.
4418 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4420         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4421         for little-endian.
4422         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4424         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4425         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4426         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4428 2013-10-04  Alan Modra  <amodra@gmail.com>
4430         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4431         constants to usual value for .cst8 section, and remove redundant
4432         high address load.
4433         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4434         constant for 0x1p52.  Load little-endian words of double from
4435         correct stack offsets.
4437 2013-10-04  Alan Modra  <amodra@gmail.com>
4439         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4440         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4441         words of double from correct stack offsets.
4442         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4443         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4444         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4446         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4447         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4448         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4449         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4450         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4451         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4452         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4454         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4455         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4456         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4457         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4458         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4460 2013-10-04  Alan Modra  <amodra@gmail.com>
4462         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4463         64-bit int/double union.
4464         (_FPU_SETCW): Likewise.
4465         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4466         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4468 2013-10-04  Alan Modra  <amodra@gmail.com>
4470         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4471         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4473 2013-10-04  Alan Modra  <amodra@gmail.com>
4475         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4476         use vector int constants.
4477         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4479 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4481         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4482         array with long long.
4483         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4484         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4485         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4486         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4487         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4488         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4489         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4490         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4491         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4492         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4493         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4494         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4495         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4497 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4499         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4500         (__signbit): Likewise.  Correct for little-endian.
4501         (__signbitl): Call __signbit.
4502         (lrint): Correct for little-endian.
4503         (lrintf): Call lrint.
4505 2013-10-04  Alan Modra  <amodra@gmail.com>
4507         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4508         union 32-bit int array member with 64-bit int array.
4509         (t515, tm256): Double rather than long double.
4510         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4512 2013-10-04  Alan Modra  <amodra@gmail.com>
4514         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4515         Delete.
4516         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4517         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4518         version of math_ldbl.h.
4520 2013-10-04  Alan Modra  <amodra@gmail.com>
4522         [BZ #15734], [BZ #15735]
4523         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4524         all uses of ieee875 long double macros and unions.  Simplify test
4525         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4526         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4527         normalize after ldbl_extract_mantissa, and don't add hidden bit
4528         already handled.  Don't treat low word of ieee854 mantissa like
4529         low word of IBM long double and mask off bit when testing for
4530         zero.
4531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4532         all uses of ieee875 long double macros and unions.  Simplify tests
4533         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4534         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4535         two1022, instead use their values.  Recognise that tests for large
4536         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4537         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4538         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4539         test for 0.0L and nan.  Correct negation.
4540         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4541         ieee875 long double macros and unions.  Correct output for large
4542         magnitude x.  Correct absolute value calculation.
4543         (__erfcl): Likewise.
4544         * math/libm-test.inc: Add tests for errors discovered in IBM long
4545         double versions of fmodl, remainderl, erfl and erfcl.
4547 2013-10-04  Alan Modra  <amodra@gmail.com>
4549         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4550         all uses of ieee854 long double macros and unions.  Simplify tests
4551         for long doubles that are fully specified by the high double.
4552         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4553         Likewise.
4554         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4555         Remove dead code too.
4556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4557         (__ieee754_ynl): Likewise.
4558         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4559         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4560         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4561         Remove dead code too.
4562         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4563         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4565         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4566         Simplify.
4567         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4568         Simplify.
4569         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4572         Comment on variable precision.
4573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4574         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4575         Likewise.
4576         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4579         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4580         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4582 2013-10-04  Alan Modra  <amodra@gmail.com>
4584         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4585         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4586         all uses of ieee854 long double macros and unions.
4587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4589         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4590         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4591         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4593         Likewise.
4594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4595         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4596         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4598         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4600         Simplify sign and nan test too.
4601         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4605         Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4607         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4608         Likewise.
4609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4610         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4611         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4612         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4613         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4614         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4616 2013-10-04  Alan Modra  <amodra@gmail.com>
4618         * stdio-common/printf_size.c (__printf_size): Don't use
4619         union ieee854_long_double in fpnum union.
4620         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4621         signbit macro to retrieve sign from long double.
4622         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4623         retrieve sign from long double.
4624         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4625         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4626         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4627         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4628         * math/test-misc.c (main): Don't use union ieee854_long_double.
4630 2013-10-04  Alan Modra  <amodra@gmail.com>
4632         [BZ #15680]
4633         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4634         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4635         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4636         calculation.  Remove unnecessary test for denormal exponent.
4637         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4638         Correct handling of denormals.  Avoid undefined shift behaviour.
4639         Correct normalisation of low mantissa when low double is denormal.
4640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4641         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4642         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4643         Correct normalisation of low mantissa.  Test for overflow of high
4644         mantissa and normalise.
4645         (ldbl_nearbyint): Use more readable constant for two52.
4646         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4647         (__mpn_construct_long_double): Fix test for overflow of high
4648         mantissa and correct normalisation.  Avoid undefined shift.
4650 2013-10-04  Alan Modra  <amodra@gmail.com>
4652         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4653         (union ibm_extended_long_double): Define as an array of ieee754_double.
4654         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4655         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4656         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4657         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4661         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4666 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4668         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4669         page size instead of calling getpagesize.
4671         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4672         (LOCFILE_ALIGN_MASK): Likewise.
4673         (LOCFILE_ALIGN_UP): Likewise.
4674         (LOCFILE_ALIGNED_P): Likewise.
4675         * locale/programs/ld-collate.c (collate_output): Use the new
4676         macros instead of __alignof__ (int32_t).
4677         * locale/weight.h (findidx): Likewise.
4679 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4681         [BZ #431]
4682         * manual/string.texi: Fix strncat and wcsncat.
4684 2013-10-03  Brooks Moses  <bmoses@google.com>
4686         [BZ #15915]
4687         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4688         * Makerules: ...here, and adjust associated comments.
4690 2013-10-02  Will Newton  <will.newton@linaro.org>
4692         * malloc/Makefile: Add tst-pvalloc.
4693         * malloc/tst-pvalloc.c: New file.
4695 2013-10-02  Will Newton  <will.newton@linaro.org>
4697         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4698         improve test coverage.
4700 2013-10-02  Will Newton  <will.newton@linaro.org>
4702         * malloc/Makefile: Add tst-posix_memalign.
4703         * malloc/tst-posix_memalign.c: New file.
4705 2013-10-01  Eric Blake  <eblake@redhat.com>
4707         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4708         Use __THROWNL rather than __THROW on static functions.
4710 2013-09-30  Petr Machata  <pmachata@redhat.com>
4712         * elf/elf.h (R_AARCH64_ABS16): New macro.
4713         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4714         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4715         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4716         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4717         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4718         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4719         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4720         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4721         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4722         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4723         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4724         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4725         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4726         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4727         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4728         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4729         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4730         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4731         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4732         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4733         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4734         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4735         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4736         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4737         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4738         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4739         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4740         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4741         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4742         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4743         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4744         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4745         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4746         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4747         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4748         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4749         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4750         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4751         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4752         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4753         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4754         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4755         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4756         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4757         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4758         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4759         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4760         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4761         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4762         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4763         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4764         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4765         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4766         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4767         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4768         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4769         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4770         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4771         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4772         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4773         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4774         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4775         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4776         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4777         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4778         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4779         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4780         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4781         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4782         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4783         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4784         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4785         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4786         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4787         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4788         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4789         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4790         (R_AARCH64_TLSDESC_LDR): Likewise.
4791         (R_AARCH64_TLSDESC_ADD): Likewise.
4792         (R_AARCH64_TLSDESC_CALL): Likewise.
4794 2013-09-30  Andreas Schwab  <schwab@suse.de>
4796         [BZ #15048]
4797         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4798         the nss database lookup.
4799         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4802 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4804         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4806 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4809         ${Bash-specific parameter/pattern/string} parameter expansion.
4810         * sysdeps/unix/make-syscalls.sh: Likewise.
4812 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4814         * sysdeps/sh/stackguard-macros.h: New file.
4816 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4820         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4821         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4822         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4823         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4825 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4827         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4828         Fix thread ID register.
4830 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4832         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4833         [POSIX || UNIX98]: Require rather than permitting all symbols from
4834         <time.h>.
4835         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4836         element of struct sched_param.
4837         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4838         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4839         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4840         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4841         constant.
4843 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4845         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4846         argument calculation.
4848 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4850         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4851         Expect macro.
4852         [POSIX] (pthread_attr_t): Do not require type.
4853         [POSIX] (pthread_cond_t): Likewise.
4854         [POSIX] (pthread_condattr_t): Likewise.
4855         [POSIX] (pthread_key_t): Likewise.
4856         [POSIX] (pthread_mutex_t): Likewise.
4857         [POSIX] (pthread_mutexattr_t): Likewise.
4858         [POSIX] (pthread_once_t): Likewise.
4859         [POSIX] (pthread_t): Likewise.
4860         [POSIX-based standards] (pthread_atfork): Expect function.
4862 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4863             Richard Sandiford  <richard@codesourcery.com>
4865         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4866         (swap_endianness_p): New extern variable.
4867         (set_big_endian): New inline function.
4868         (maybe_swap_uint32): Likewise.
4869         (maybe_swap_uint32_array): Likewise.
4870         (maybe_swap_uint32_obstack): Likewise.
4871         * locale/programs/locfile.c: Include <stdbool.h>.
4872         (swap_endianness_p): New variable.
4873         (add_locale_uint32): Call maybe_swap_uint32.
4874         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4875         (write_locale_data): Call maybe_swap_uint32_array.
4876         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4877         maybe_swap_uint32.
4878         (obstack_int32_grow_fast): Likewise.
4879         (output_weightwc): Call maybe_swap_uint32_obstack.
4880         (collate_output): Likewise.
4881         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4882         (OPT_LITTLE_ENDIAN): Likewise.
4883         (options): Add --little-endian and --big-endian options.
4884         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4885         * locale/programs/locarchive.c: Include "locfile.h".
4886         (GET): New macro.
4887         (SET): Likewise.
4888         (INC): Likewise.
4889         (create_archive): Use the new macros to access fields of
4890         structures directly mapped from or written to locale archives.
4891         (oldlocrecentcmp): Likewise.
4892         (enlarge_archive): Likewise.
4893         (insert_name): Likewise.
4894         (add_alias): Likewise.
4895         (add_locale): Likewise.
4896         (delete_locales_from_archive): Likewise.
4897         (show_archive_content): Likewise.
4898         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4899         locale data.
4901 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4903         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4904         http://www.gnu.org/doc/freemanuals.texi.
4905         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4907 2013-09-24  Will Newton  <will.newton@linaro.org>
4909         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4910         macro.
4912 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4914         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4915         unsigned char.
4917 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4919         * manual/threads.texi (POSIX Threads): Fix a typo.
4921 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4923         [BZ #14547]
4924         * string/tst-strcoll-overflow.c: New test case.
4925         * string/Makefile (xtests): Add tst-strcoll-overflow.
4926         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4927         cache if string sizes may cause integer overflow.
4929         [BZ #14547]
4930         * string/strcoll_l.c (coll_seq): New members rule, idx,
4931         save_idx and back_us.
4932         (get_next_seq_nocache): New function.
4933         (do_compare_nocache): New function.
4934         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4935         when malloc fails.
4937 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4939         [BZ #15754]
4940         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4941         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4942         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4944         [BZ #15754]
4945         * elf/Makefile (tests): Add tst-ptrguard1.
4946         (tests-static): Add tst-ptrguard1-static.
4947         (tst-ptrguard1-ARGS): Define.
4948         (tst-ptrguard1-static-ARGS): Define.
4949         * elf/tst-ptrguard1.c: New file.
4950         * elf/tst-ptrguard1-static.c: New file.
4951         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4952         * sysdeps/i386/stackguard-macros.h: Likewise.
4953         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4954         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4955         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4956         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4957         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4958         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4960 2013-09-23  Hector Marco  <hecmargi@upv.es>
4961             Ismael Ripoll  <iripoll@disca.upv.es>
4962             Carlos O'Donell  <carlos@redhat.com>
4964         [BZ #15754]
4965         * sysdeps/generic/stackguard-macros.h: Define
4966         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4967         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4968         Define __pointer_chk_guard_local.
4969         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4970         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4972 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4974         [BZ #15859]
4975         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4977 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4979         * include/string.h (__ffs): Declare as hidden.
4980         * string/ffs.c (__ffs): Define as hidden.
4981         * sysdeps/i386/ffs.c (__ffs): Likewise.
4982         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4983         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4984         * sysdeps/s390/ffs.c (__ffs): Likewise.
4985         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4987 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4989         * NEWS: Mention malloc probes.
4991         * malloc/arena.c (new_heap): New memory_heap_new probe.
4992         (grow_heap): New memory_heap_more probe.
4993         (shrink_heap): New memory_heap_less probe.
4994         (heap_trim): New memory_heap_free probe.
4995         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4996         (systrim): New memory_sbrk_less probe.
4997         * manual/probes.texi: Document them.
4999         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5000         * manual/probes.texi: Document it.
5002         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5003         (__libc_realloc): Add memory_realloc_retry probe.
5004         (__libc_memalign): Add memory_memalign_retry probe.
5005         (__libc_valloc): Add memory_valloc_retry probe.
5006         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5007         (__libc_calloc): Add memory_calloc_retry probe.
5008         * manual/probes.texi: Document them.
5010         * malloc/arena.c (get_free_list): Add probe
5011         memory_arena_reuse_free_list.
5012         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5013         and memory_arena_reuse.
5014         (arena_get2) [!PER_THREAD]: Likewise.
5015         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5016         memory_arena_reuse_realloc.
5017         * manual/probes.texi: Document them.
5019         * malloc/malloc.c (__libc_free): Add
5020         memory_mallopt_free_dyn_thresholds probe.
5021         (__libc_mallopt): Add multiple memory_mallopt probes.
5022         * manual/probes.texi: Document them.
5024         * malloc/malloc.c: Include stap-probe.h.
5025         (__libc_mallopt): Add memory_mallopt probe.
5026         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5027         * manual/probes.texi: New.
5028         * manual/Makefile (chapters): Add probes.
5029         * manual/threads.texi: Set next node.
5031 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5033         [BZ #15963, #13985]
5034         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5035         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5036         Add `Chinese' to `nan' entry name.
5038 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5040         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5041         (POLYNOMIAL): Likewise.
5042         (TAYLOR_SINCOS): Likewise.
5043         (TAYLOR_SLOW): Likewise.
5044         (__sin): Use TAYLOR_SINCOS.
5045         (__cos): Likewise.
5046         (slow): Use TAYLOR_SLOW.
5047         (sloww): Likewise.
5048         (bsloww): Likewise.
5049         (csloww): Likewise.
5051 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5053         * stdlib/strtod_l.c: Fix buffer overrun.
5055 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5057         * benchtests/Makefile (bench): Add sincos.
5058         * benchtests/bench-sincos.c: New file.
5060         * math/libm-test.inc (cos_test_data): New test inputs.
5061         (sin_test_data): Likewise.
5063         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5064         macro.
5065         (__sin): Use it.
5066         (__cos): Likewise.
5067         (slow1): Likewise.
5068         (slow2): Likewise.
5069         (sloww1): Likewise.
5070         (sloww2): Likewise.
5071         (bsloww1): Likewise.
5072         (bsloww2): Likewise.
5073         (cslow2): Likewise.
5074         (csloww1): Likewise.
5075         (csloww2): Likewise.
5077         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5078         function.
5079         (__sin): Use it.
5080         (__cos): Likewise.
5082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5083         gotos.
5084         (__cos): Likewise.
5086 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5088         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5089         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5090         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5091         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5092         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5093         * elf/cache.c (print_entry): Handle the new cache flags.
5095 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5096             Aldy Hernandez  <aldyh@redhat.com>
5098         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5099         Change condition to [_SOFT_FLOAT].
5100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5112         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5115         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5116         declaration.
5118 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5120         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5121         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5122         (__longjmp): Use LOAD_GP to load saved GPRs.
5123         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5124         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5125         (__sigsetjmp): Use SAVE_GP to save GPRs.
5127         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5128         Do not append -msoft-float.
5129         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5131 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5133         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5135 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5137         [BZ #15966]
5138         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5139         (_FPU_GETCW): Use initial "__" on variable and field names but not
5140         on macro parameter name.
5141         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5142         parentheses around reference to macro parameter.
5144 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5146         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5147         prototype.
5148         (ctype_startup): Use uint32_t in cast and sizeof for
5149         ctype->charnames.
5151 2013-09-11  Jia Liu  <proljc@gmail.com>
5153         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5154         __daddr_t_defined.
5155         [__FreeBSD__]: Likewise.
5157 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5160         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5161         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5162         (strchr): Remove __strchr_sse42 ifunc selection.
5163         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5164         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5166 2013-09-11  Will Newton  <will.newton@linaro.org>
5168         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5169         parameter to RES. Remove hardcoded 1000 value.
5170         * benchtests/bench-skeleton.c (main): Pass RES parameter
5171         to TIMING_INIT and multiply result by 1000.
5173 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5177 2013-09-11  Andreas Schwab  <schwab@suse.de>
5179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5180         if not defined.
5181         (O_TMPFILE) [__USE_GNU]: Define.
5182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5183         Define.
5185 2013-09-11  Will Newton  <will.newton@linaro.org>
5187         [BZ #15857]
5188         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5189         does not overflow.
5191 2013-09-11  Will Newton  <will.newton@linaro.org>
5193         [BZ #15856]
5194         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5195         does not overflow.
5197 2013-09-11  Will Newton  <will.newton@linaro.org>
5199         [BZ #15855]
5200         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5201         does not overflow.
5203 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5205         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5206         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5207         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5208         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5209         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5211 2013-09-10  Allan McRae  <allan@archlinux.org>
5213         [BZ #15748]
5214         * manual/arith.texi (Parsing of Floats): Clarify
5215         cross-reference.
5217         [BZ #15849]
5218         * manual/install.texi (Running make install): Mention
5219         --enable-pt-chown.
5220         * INSTALL: Regenerated.
5222 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5224         * csu/init-first.c (_init): Remove the !SHARED condition around
5225         FPU control word initialization.
5226         * elf/dl-support.c (_dl_fpu_control): New variable.
5227         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5228         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5229         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5230         * math/test-fpucw-static.c: New file.
5231         * math/test-fpucw-ieee.c: New file.
5232         * math/test-fpucw-ieee-static.c: New file.
5233         * math/Makefile (tests): Add `test-fpucw-ieee' and
5234         `$(tests-static)'.
5235         (tests-static): New variable.
5236         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5237         dependency to...
5238         [($(build-shared),yes)]
5239         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5240         ... this.
5241         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5242         New dependency.
5244 2013-09-09  Allan McRae  <allan@archlinux.org>
5246         [BZ #15939]
5247         * manual/string.texi (Collation Functions): Fix typo in
5248         strcoll example.
5249         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5251         [BZ #15893]
5252         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5254         [BZ #15892]
5255         * libio/memstream.c (open_memstream): Fix memory leak.
5256         * libio/wmemstream.c (open_wmemstream): Likewise.
5258         [BZ #15895]
5259         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5261 2013-09-09  Will Newton  <will.newton@linaro.org>
5263         * malloc/Makefile: Add tst-realloc to tests.
5264         * malloc/tst-realloc.c: New file.
5266 2013-09-09  Allan McRae  <allan@archlinux.org>
5268         [BZ #15844]
5269         * COPYING: Update from GNU website to fix FSF address.
5270         * COPYING.LIB: Likewise.
5272 2013-09-06  David S. Miller  <davem@davemloft.net>
5274         * po/zh_TW.po: Update Chinese (traditional) translation from
5275         translation project.
5277 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5278             Joseph Myers  <joseph@codesourcery.com>
5280         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5281         "localeinfo.h".
5282         (obstack_chunk_alloc): New macro.
5283         (obstack_chunk_free): Likewise.
5284         (record_offset): New function.
5285         (init_locale_data): Likewise.
5286         (align_locale_data): Likewise.
5287         (add_locale_empty): Likewise.
5288         (add_locale_raw_data): Likewise.
5289         (add_locale_raw_obstack): Likewise.
5290         (add_locale_string): Likewise.
5291         (add_locale_wstring): Likewise.
5292         (add_locale_uint32): Likewise.
5293         (add_locale_uint32_array): Likewise.
5294         (add_locale_char): Likewise.
5295         (start_locale_structure): Likewise.
5296         (end_locale_structure): Likewise.
5297         (start_locale_prelude): Likewise.
5298         (end_locale_prelude): Likewise.
5299         (write_locale_data): Take locale_file structure rather than an
5300         iovec.
5301         * locale/programs/locfile.h: Include "obstack.h".
5302         (struct locale_file): Change to store locale file contents instead
5303         of header.
5304         (init_locale_data): New prototype.
5305         (align_locale_data): Likewise.
5306         (add_locale_empty): Likewise.
5307         (add_locale_raw_data): Likewise.
5308         (add_locale_raw_obstack): Likewise.
5309         (add_locale_string): Likewise.
5310         (add_locale_wstring): Likewise.
5311         (add_locale_uint32): Likewise.
5312         (add_locale_uint32_array): Likewise.
5313         (add_locale_char): Likewise.
5314         (start_locale_structure): Likewise.
5315         (end_locale_structure): Likewise.
5316         (start_locale_prelude): Likewise.
5317         (end_locale_prelude): Likewise.
5318         (write_locale_data): Update prototype.
5319         * locale/programs/3level.h (struct TABLE): Remove result field.
5320         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5321         Use new locale_file interface.
5322         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5323         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5324         * locale/programs/ld-address.c (address_output): Use new
5325         locale_file interface.
5326         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5327         NO_ADD_LOCALE.
5328         (collate_finish): Don't call collseq_table_finalize.
5329         (collate_output): Use new locale_file interface.
5330         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5331         in file.
5332         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5333         (TABLE): Move defines earlier in file.
5334         (ELEMENT): Likewise.
5335         (DEFAULT): Likewise.
5336         (wctrans_table_add): Move macro and inline function earlier in
5337         file.
5338         (struct wctype_table): Move type earlier in file.
5339         (add_locale_wctype_table): New static prototype.
5340         (struct locale_ctype_t): Use logical types instead of struct iovec
5341         pointers for members.
5342         (ctype_output): Use new locale_file interface.
5343         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5344         new locale_file interface.
5345         (allocate_arrays): Update for use of new locale_file interface.
5346         * locale/programs/ld-identification.c (identification_output): Use
5347         new locale_file interface.
5348         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5349         * locale/programs/ld-messages.c (messages_output): Likewise.
5350         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5351         * locale/programs/ld-name.c (name_output): Likewise.
5352         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5353         * locale/programs/ld-paper.c (paper_output): Likewise.
5354         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5355         * locale/programs/ld-time.c (time_output): Likewise.
5357 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5359         * benchtests/Makefile: Add memrchr benchmark.
5360         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5361         benchmark as memrchr.
5362         * benchtests/bench-memrchr-ifunc.c: New file.
5363         * benchtests/bench-memrchr.c: New file.
5365 2013-09-06   Will Newton  <will.newton@linaro.org>
5367         * benchtests/Makefile (string-bench): Add memcpy.
5369 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5370             Cong Wang  <amwang@redhat.com>
5372         * sysdeps/unix/sysv/linux/bits/in.h
5373         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5374         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5375         before __USE_KERNEL_IPV6_DEFS uses.
5376         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5377         IPPROTO_BEETPH.
5378         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5379         sockaddr_in6, or ipv6_mreq.
5381 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5383         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5384         memory access for final bytes in some large inputs.
5385         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5387 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5389         * string/test-memrchr.c: New file.
5390         * string/test-memrchr-ifunc.c: New file.
5391         * string/Makefile: Add new memrchr testcase.
5393 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5395         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5396         fanotify_init returns EPERM.
5398 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5400         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5401         errors.
5402         (top level): Treat second token from macro or constant entries for
5403         allowed headers as allowed.
5404         * include/complex.h: Condition internal declarations on
5405         [!_ISOMAC].
5406         * include/fenv.h: Condition include of <stdbool.h> and internal
5407         declarations on [!_ISOMAC].
5409 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5411         [BZ #15923]
5412         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5414 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5416         * configure.in (--enable-versioning): Remove configure option.
5417         (libc_cv_asm_symver_directive): Remove configure test.
5418         (libc_cv_ld_version_script_option): Likewise.
5419         (VERSIONING): Remove variable and AC_SUBST.
5420         (DO_VERSIONING): Remove AC_DEFINE.
5421         * configure: Regenerated.
5422         * config.h.in (DO_VERSIONING): Remove macro.
5423         * Makerules [$(versioning) = yes]: Change conditionals to
5424         [$(build-shared) = yes].
5425         * config.make.in (versioning): Remove variable.
5426         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5427         [$(build-shared) = yes].
5428         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5429         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5430         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5431         [$(build-shared) = yes].
5432         * extra-lib.mk [$(versioning) = yes]: Likewise.
5433         * hurd/Makefile [$(versioning) = yes]: Likewise.
5434         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5435         [SHARED].
5436         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5437         [SHARED].
5438         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5439         [SHARED && !NO_HIDDEN].
5440         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5441         [SHARED].
5442         [SHARED && DO_VERSIONING]: Likewise..
5443         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5444         [$(build-shared) = yes].
5445         * manual/install.texi (--disable-versioning): Remove
5446         documentation.
5447         * INSTALL: Regenerated.
5448         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5449         to [SHARED].
5450         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5451         [$(build-shared) = yes].
5452         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5453         * sysdeps/i386/i686/multiarch/strstr-c.c
5454         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5455         [SHARED && !NO_HIDDEN].
5456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5457         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5458         * sysdeps/powerpc/powerpc32/dl-machine.c
5459         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5460         * sysdeps/powerpc/powerpc32/sysdep.h
5461         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5462         to [SHARED && PIC && !NO_HIDDEN].
5463         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5464         conditional to [SHARED].
5466 2013-09-04   Will Newton  <will.newton@linaro.org>
5468         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5469         * benchtests/bench-string.h: Include bench-timing.h instead
5470         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5471         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5472         call to HP_TIMING_DIFF_INIT.
5473         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5474         instead of hp-timing.h macros.
5475         * benchtests/bench-memchr.c: Likewise.
5476         * benchtests/bench-memcmp.c: Likewise.
5477         * benchtests/bench-memcpy.c: Likewise.
5478         * benchtests/bench-memmem.c: Likewise.
5479         * benchtests/bench-memmove.c: Likewise.
5480         * benchtests/bench-memset.c: Likewise.
5481         * benchtests/bench-rawmemchr.c: Likewise.
5482         * benchtests/bench-strcasecmp.c: Likewise.
5483         * benchtests/bench-strcasestr.c: Likewise.
5484         * benchtests/bench-strcat.c: Likewise.
5485         * benchtests/bench-strchr.c: Likewise.
5486         * benchtests/bench-strcmp.c: Likewise.
5487         * benchtests/bench-strcpy.c: Likewise.
5488         * benchtests/bench-strcpy_chk.c: Likewise.
5489         * benchtests/bench-strlen.c: Likewise.
5490         * benchtests/bench-strncasecmp.c: Likewise.
5491         * benchtests/bench-strncat.c: Likewise.
5492         * benchtests/bench-strncmp.c: Likewise.
5493         * benchtests/bench-strncpy.c: Likewise.
5494         * benchtests/bench-strnlen.c: Likewise.
5495         * benchtests/bench-strpbrk.c: Likewise.
5496         * benchtests/bench-strrchr.c: Likewise.
5497         * benchtests/bench-strspn.c: Likewise.
5498         * benchtests/bench-strstr.c: Likewise.
5500 2013-09-04  Will Newton  <will.newton@linaro.org>
5502         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5504 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5506         [BZ #15427]
5507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5508         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5509         * math/libm-test.inc (lgamma_test_data): Add more tests.
5510         * sysdeps/i386/fpu/libm-test-ulps: Update.
5511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5513 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5515         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5517         Add ifunc.
5518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5519         Add strcmp-sse2-unaligned
5520         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5522 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5524         * Versions.def (libc): Add GLIBC_2.19.
5526 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5528         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5529         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5531 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5533         [BZ #14155]
5534         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5535         intermediate calculations in recurrence.
5536         (__ieee754_ynf): Likewise.
5537         * math/libm-test.inc (jn_test_data): Do not allow spurious
5538         underflow exception.  Add more tests.
5539         (yn_test_data): Add more tests.
5540         * sysdeps/i386/fpu/libm-test-ulps: Update.
5541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5543 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5547 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5549         * csu/init-first.c: Fix then/than typos.
5550         * locale/programs/ld-collate.c: Likewise.
5551         * locale/programs/linereader.h: Likewise.
5552         * manual/charset.texi: Likewise.
5553         * manual/filesys.texi: Likewise.
5554         * manual/stdio.texi: Likewise.
5555         * manual/string.texi: Likewise.
5556         * stdlib/fmtmsg.c: Likewise.
5557         * sysdeps/i386/stpncpy.S: Likewise.
5558         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5559         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5560         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5561         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5563 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5565         * elf/dl-open.c: Fix typos.
5566         * iconvdata/gbbig5.c: Likewise.
5567         * iconvdata/iso-2022-jp.c: Likewise.
5568         * iconv/gconv_int.h: Likewise.
5569         * iconv/loop.c: Likewise.
5570         * nis/rpcsvc/nis.h: Likewise.
5571         * resolv/ns_name.c: Likewise.
5572         * stdio-common/vfscanf.c: Likewise.
5573         * streams/stropts.h: Likewise.
5574         * sunrpc/rpc_thread.c: Likewise.
5575         * sysdeps/i386/strpbrk.S: Likewise.
5576         * sysdeps/ieee754/k_standard.c: Likewise.
5577         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5579         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5580         * sysdeps/mach/hurd/profil.c: Likewise.
5581         * sysdeps/s390/dl-procinfo.h: Likewise.
5582         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5583         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5584         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5585         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5586         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5588 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5590         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5593 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5595         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5596         aix specific files.
5597         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5599         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5600         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5601         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5602         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5603         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5604         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5606 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5607             Roland McGrath  <roland@hack.frob.com>
5609         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5610         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5612 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5614         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5615         __executable_start symbol instead of _start.
5617 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5619         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5620         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5621         Move macros to...
5622         * sysdeps/gnu/ldsodefs.h: ... this new file.
5624         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5625         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5626         instead of ELFOSABI_LINUX.
5628         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5629         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5630         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5631         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5632         Likewise.
5633         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5634         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5635         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5636         Likewise.
5637         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5638         (ibm_extended_long_double): Add ieee_nan member.
5639         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5640         (do_test): New function.
5642         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5643         TEST_TRUNC.
5644         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5645         functions, renamed from truncdfsf_test, trunctfsf_test,
5646         trunctfdf_test.
5647         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5648         functions.
5649         (do_test): Run all these.
5651 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5653         * argp/argp-help.c: Fix typos.
5654         * argp/argp-parse.c: Likewise.
5655         * debug/backtracesyms.c: Likewise.
5656         * elf/elf.h: Likewise.
5657         * malloc/malloc.c: Likewise.
5658         * nis/nis_print.c: Likewise.
5659         * resolv/res_comp.c: Likewise.
5660         * stdlib/stdlib.h: Likewise.
5661         * sunrpc/clnt_tcp.c: Likewise.
5662         * sunrpc/clnt_udp.c: Likewise.
5663         * sunrpc/clnt_unix.c: Likewise.
5664         * sysdeps/unix/bsd/ptsname.c: Likewise.
5665         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5666         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5668         Likewise.
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5670         Likewise.
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5672         Likewise.
5673         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5675 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5677         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5680 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5682         [BZ #15897]
5683         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5684         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5685         ($(objpfx)bug-dl-leaf): New rule.
5686         ($(objpfx)bug-dl-leaf.so): Likewise.
5687         ($(objpfx)bug-dl-leaf.out): Likewise.
5688         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5689         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5690         * dlfcn/bug-dl-leaf.c: New test.
5691         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5692         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5693         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5694         (dlclose): Likewise.
5695         (dlmopen): Likewise.
5697 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5699         * include/netdb.h [!_ISOMAC]:
5700         Don't include <tls.h>.
5701         (h_errno, __libc_h_errno): Move declaration and macros out of
5702         [_LIBC_REENTRANT].
5704         * include/resolv.h [_RESOLV_H_]:
5705         Don't include <tls.h>.
5706         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5707         * resolv/res_libc.c: Don't include <tls.h>.
5708         (_res): Use __attribute__ ((nocommon)) in place of
5709         __attribute__ ((section (".bss"))).
5711         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5712         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5714         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5716         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5717         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5719         * resolv/res_mkquery.c: Include <sys/time.h>.
5721         * inet/ifreq.c: Moved to ...
5722         * sysdeps/unix/ifreq.c: ... here.
5723         * inet/ifreq.c: New file, true stub version.
5725         * socket/sa_len.c: New file.
5726         * socket/Makefile (aux): Add it.
5727         * sysdeps/unix/sysv/linux/Makefile
5728         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5729         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5730         and #include <socket/sa_len.c>.
5731         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5732         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5734         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5735         * bits/socket.h: ... here.
5737         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5738         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5739         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5741 2013-08-27  Andreas Schwab  <schwab@suse.de>
5743         [BZ #15736]
5744         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5745         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5746         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5747         * string/test-strcasecmp.c (test_main): Run tests in several
5748         locales.
5749         * string/test-strncasecmp.c (test_main): Likewise.
5751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5752         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5753         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5754         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5755         (__strncasecmp_ssse3) [PIC]: Likewise.
5757 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5759         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5761         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5762         instead of explicitly declaring xdecrypt.
5763         * nis/nss_nis/nis-publickey.c: Likewise.
5765 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5767         [BZ #15890]
5768         * nscd/aicache.c: Include res_hconf.h.
5769         (addhstaiX): Initialize res_hconf.
5771 2013-08-26  Andreas Schwab  <schwab@suse.de>
5773         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5774         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5776 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5778         * nscd/aicache.c (addhstaiX): Fix indentation.
5780 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5782         * configure.ac: Quote $build_pt_chown test.
5783         * configure: Regenerated.
5785 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5787         [BZ #15532]
5788         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5789         * math/s_cexpf.c (__cexpf): Likewise.
5790         * math/s_cexpl.c (__cexpl): Likewise.
5791         * math/libm-test.inc (cexp_test_data): Correct expected return
5792         value for NaN + i0.  Add another test.
5794 2013-08-22  David S. Miller  <davem@davemloft.net>
5796         * po/ca.po: Update Catalan translation from translation project.
5797         * po/uk.po: Add Ukrainian translations from translation project.
5799 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5801         [BZ #15797]
5802         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5803         is infinite, not alongside NaN test.
5804         * math/s_fdimf.c (__fdimf): Likewise.
5805         * math/s_fdiml.c (__fdiml): Likewise.
5806         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5807         errno is unchanged.
5809 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5811         * argp/argp-help.c: Fix typos.
5812         * crypt/speeds.c: Likewise.
5813         * csu/check_fds.c: Likewise.
5814         * elf/dl-load.c: Likewise.
5815         * elf/dl-open.c: Likewise.
5816         * elf/reldep3.c: Likewise.
5817         * elf/reldep.c: Likewise.
5818         * elf/sprof.c: Likewise.
5819         * iconv/iconv_charmap.c: Likewise.
5820         * iconv/skeleton.c: Likewise.
5821         * iconv/strtab.c: Likewise.
5822         * io/lockf64.c: Likewise.
5823         * libio/libioP.h: Likewise.
5824         * resolv/gai_notify.c: Likewise.
5825         * resolv/ns_name.c: Likewise.
5826         * resolv/ns_samedomain.c: Likewise.
5827         * resolv/res_send.c: Likewise.
5828         * stdlib/random.c: Likewise.
5829         * sunrpc/rpc/xdr.h: Likewise.
5830         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5831         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5834         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5837         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5838         * sysdeps/mach/hurd/check_fds.c: Likewise.
5839         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5840         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5841         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5842         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5843         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5844         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5845         * sysdeps/pthread/aio_notify.c: Likewise.
5846         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5847         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5848         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5849         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5850         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5852 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5854         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5855         version if bit_Slow_SSE4_2 is set.
5856         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5857         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5859 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5861         [BZ #15867]
5862         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5863         trampoline stack frame information.
5864         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5865         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5866         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5867         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5868         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5869         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5870         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5871         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5872         sa_flags value.
5873         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5874         interrupting a syscall and set with option SA_SIGINFO.
5876 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5878         [BZ #15531]
5879         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5880         argument is infinite.
5881         * math/s_cprojf.c (__cprojf): Likewise.
5882         * math/s_cprojl.c (__cprojl): Likewise.
5883         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5884         * math/libm-test.inc (cproj_test_data): Add more tests.
5886         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5888         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5889         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5890         size.  Use __ffs to determine corresponding shift.
5892 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5893             Roland McGrath  <roland@hack.frob.com>
5895         * Makefile (INSTALL): Remove trailing blank lines from output of
5896         makeinfo.
5898 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5900         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5901         Align 32 bit compat elf_greg to 8 bytes.
5903 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5905         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5907 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5909         * string/strcoll_l.c (coll_seq): New structure.
5910         (get_next_seq_cached): New function.
5911         (get_next_seq): New function.
5912         (do_compare): New function.
5913         (STRCOLL): Use GNU style definition.  Simplify implementation
5914         by using get_next_seq, get_next_seq_cached and do_compare.
5916 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5918         [BZ #14699]
5919         CVE-2013-4237
5920         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5921         member.
5922         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5923         member.
5924         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5925         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5926         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5927         conditional.
5928         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5929         GETDENTS_64BIT_ALIGNED.
5930         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5931         * manual/filesys.texi (Reading/Closing Directory): Document
5932         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5933         strongly.
5934         * manual/conf.texi (Limits for Files): Add portability note to
5935         NAME_MAX, PATH_MAX.
5936         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5938 2013-08-13  Andreas Schwab  <schwab@suse.de>
5940         [BZ #15749]
5941         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5942         of fabs.
5943         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5944         LDBL_MAX_EXP >= 16384]: Add tests for it.
5946 2013-08-12  David S. Miller  <davem@davemloft.net>
5948         * version.h (RELEASE): Set to "development".
5949         (VERSION): Set to "2.18.90".
5950         * NEWS: Add 2.19 section.
5952 2013-08-03  David S. Miller  <davem@davemloft.net>
5954         * po/ko.po: Update Korean translation from translation project.
5956 2013-08-01  David S. Miller  <davem@davemloft.net>
5958         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5959         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5960         Bilka.
5962 2013-07-30  David S. Miller  <davem@davemloft.net>
5964         * po/fr.po: Update French translation from translation project.
5966 2013-07-28  David S. Miller  <davem@davemloft.net>
5968         * po/cs.po: Update Czech translation from translation project.
5970         * po/sv.po: Update Swedish translation from translation project.
5972 2013-07-27  David S. Miller  <davem@davemloft.net>
5974         * po/eo.po: Update Esperanto translation from translation project.
5976         * po/vi.po: Update Vietnamese translation from translation project.
5978         * po/de.po: Update German translation from translation project.
5980 2013-07-26  David S. Miller  <davem@davemloft.net>
5982         * po/bg.po: Update Bulgarian translation from translation project.
5984         * po/nl.po: Update Dutch translation from translation project.
5985         * po/pl.po: Update Polish translation from translation project.
5986         * po/ru.po: Update Russian translation from translation project.
5988 2013-07-24  David S. Miller  <davem@davemloft.net>
5990         * po/libc.pot: Update.
5992 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5994         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5995         variable page size.
5996         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5997         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5998         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6000 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6002         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6004 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6005             Andreas Schwab  <schwab@suse.de>
6006             Roland McGrath  <roland@hack.frob.com>
6007             Joseph Myers  <joseph@codesourcery.com>
6008             Carlos O'Donell  <carlos@redhat.com>
6010         [BZ #15755]
6011         * config.h.in: Define HAVE_PT_CHOWN.
6012         * config.make.in (build-pt-chown): New variable.
6013         * configure.in (--enable-pt_chown): New configure option.
6014         * configure: Regenerate.
6015         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6016         build-pt-chown is enabled.
6017         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6018         pt_chown to fix pty ownership.
6019         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6020         CLOSE_ALL_FDS.
6021         * manual/install.texi (Configuring and compiling): Mention
6022         --enable-pt_chown. Add @findex for grantpt.
6023         * INSTALL: Regenerate.
6025 2013-07-20  David S. Miller  <davem@davemloft.net>
6027         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6028         difference between 32-bit and 64-bit.
6030 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6032         [BZ #15711]
6033         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6034         Avoid system header dependency with -ffreestanding.
6035         ($(objpfx)bits/syscall%d): Likewise.
6037 2013-07-13  David S. Miller  <davem@davemloft.net>
6039         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6040         underflows from atanl/atan2l due to bug 15319.
6041         (casinh_test_data): Likewise.
6043 2013-07-07  David S. Miller  <davem@davemloft.net>
6045         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6047 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6049         * sysdeps/i386/fpu/libm-test-ulps: Update.
6050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6052 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6054         * configure.in (--enable-lock-elision): Fix message text.
6055         * INSTALL: Regenerate.
6056         * configure: Regenerate.
6058 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6062 2013-07-03  Andreas Jaeger  <aj@suse.de>
6064         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6065         define.
6066         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6067         (ptrace_peeksiginfo_args): Add.
6068         (__ptrace_peeksiginfo_flags): Add.
6069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6070         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6071         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6073 2013-07-03  Allan McRae  <allan@archlinux.org>
6075         * sysdeps/i386/fpu/libm-test-ulps: Update.
6077 2013-07-02  David S. Miller  <davem@davemloft.net>
6079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6081 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6085 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6087         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090 2013-07-02  Andi Kleen <ak@linux.intel.com>
6092         * config.h.in (ENABLE_LOCK_ELISION): Add.
6093         * configure.in (--enable-lock-elision): Add option.
6094         * manual/install.texi: Document --enable lock elision.
6095         * configure: Regenerate
6096         * INSTALL: Regenerate.
6098 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6100         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6101         SSE4.2 strcasecmp for libc.a.
6102         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6104 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #13304]
6107         * soft-fp/op-common.h (_FP_FMA): New macro.
6108         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6109         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6110         (_FP_MUL_MEAT_1_imm): ... here.
6111         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6112         (_FP_MUL_MEAT_1_wide): ... here.
6113         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6114         (_FP_MUL_MEAT_1_hard): ... here.
6115         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6116         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6117         (_FP_MUL_MEAT_2_wide): ... here.
6118         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6119         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6120         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6121         (_FP_MUL_MEAT_2_gmp): ... here.
6122         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6123         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6124         (_FP_MUL_MEAT_4_wide): ... here.
6125         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6126         (_FP_MUL_MEAT_4_gmp): ... here.
6127         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6128         (_FP_WFRACBITS_DW_S): Likewise.
6129         (_FP_WFRACXBITS_DW_S): Likewise.
6130         (_FP_HIGHBIT_DW_S): Likewise.
6131         (FP_FMA_S): Likewise.
6132         (_FP_FRAC_HIGH_DW_S): Likewise.
6133         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6134         (_FP_WFRACBITS_DW_D): Likewise.
6135         (_FP_WFRACXBITS_DW_D): Likewise.
6136         (_FP_HIGHBIT_DW_D): Likewise.
6137         (FP_FMA_D): Likewise.
6138         (_FP_FRAC_HIGH_DW_D): Likewise.
6139         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6140         (_FP_WFRACBITS_DW_E): Likewise.
6141         (_FP_WFRACXBITS_DW_E): Likewise.
6142         (_FP_HIGHBIT_DW_E): Likewise.
6143         (FP_FMA_E): Likewise.
6144         (_FP_FRAC_HIGH_DW_E): Likewise.
6145         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6146         (_FP_WFRACBITS_DW_Q): Likewise.
6147         (_FP_WFRACXBITS_DW_Q): Likewise.
6148         (_FP_HIGHBIT_DW_Q): Likewise.
6149         (FP_FMA_Q): Likewise.
6150         (_FP_FRAC_HIGH_DW_Q): Likewise.
6151         * soft-fp/fmasf4.c: New file.
6152         * soft-fp/fmadf4.c: Likewise.
6153         * soft-fp/fmatf4.c: Likewise.
6155 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6158         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6159         Silvermont.
6160         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6161         macro.
6162         (index_Slow_SSE4_2): Likewise.
6163         (index_Prefer_PMINUB_for_stringop): Likewise.
6164         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6165         bit_Slow_SSE4_2 is set.
6166         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6167         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6169 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6171         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6172         rtld_global._dl_hwcap2.
6173         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6174         POWER8.
6175         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6176         POWER8 feature descriptions defined in _dl_hwcap2.
6177         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6178         string handling for POWER8 feature bits.
6179         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6180         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6181         _dl_powerpc_cap_flags.
6182         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6183         * sysdeps/powerpc/rtld-global-offsets.sym
6184         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6185         _dl_hwcap2 in the rtld_global_ro structure.
6187 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6189         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6190         hardware capabilities in support of AT_HWCAP2.
6191         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6192         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6193         GLRO(dl_hwcap2).
6194         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6195         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6196         explicitly the unknown a_type display mechanism is used.
6197         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6198         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6199         struct member.
6200         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6201         to macro prototype for AT_HWCAP2 support.
6202         * sysdeps/i386/dl-procinfo.h: Likewise.
6203         * sysdeps/s390/dl-procinfo.h: Likewise.
6204         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6205         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6206         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6207         return -1 for unknown a_type display fallback.
6208         * sysdeps/sparc/dl-procinfo.h: Likewise.
6209         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6210         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6212 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6215         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6217 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6219         [BZ #12492]
6220         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6221         mprotect making __stack_prot writable.
6223 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6224             Joseph Myers  <joseph@codesourcery.com>
6226         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6227         as being properly aligned.
6229 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6231         * dlfcn/modstatic5.c: New file.
6232         * dlfcn/tststatic5.c: New file.
6233         * dlfcn/Makefile (tests): Add tststatic5.
6234         (tests-static): Likewise.
6235         (modules-names): Add modstatic5.
6236         (tststatic5-ENV): New variable.
6237         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6239         [BZ #15022]
6240         * elf/dl-support.c (_dl_main_map): New variable.
6241         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6242         (_dl_nns, _dl_load_adds): Set to 1.
6243         (_dl_initial_searchlist): Refer to _dl_main_map.
6244         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6245         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6246         call to _dl_get_origin.
6247         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6248         around call_map.
6249         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6250         * dlfcn/modstatic3.c: New file.
6251         * dlfcn/tststatic3.c: New file.
6252         * dlfcn/tststatic4.c: New file.
6253         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6254         (tests-static): Likewise.
6255         (modules-names): Add modstatic3.
6256         (tststatic3-ENV, tststatic4-ENV): New variables.
6257         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6258         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6260 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6262         * configure.in (CC): Require GCC version 4.4 or later.
6263         * configure: Regenerated.
6264         * manual/install.texi (Tools for Compilation): Update GCC version
6265         requirement.
6266         * INSTALL: Regenerated.
6268 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6270         [BZ #15674]
6271         * string/test-memcmp.c (check2): New.
6272         (main): Call check2.
6274         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6276 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6278         [BZ #15022]
6279         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6280         over to...
6281         (dl_open_worker) [!SHARED]: ... here.
6283 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6285         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6287 2013-06-25  Richard Henderson  <rth@redhat.com>
6289         * locale/programs/locarchive.c: Include <libc-internal.h>
6291 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6293         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6294         trailing whitespace removed.
6296 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6298         [BZ #10283]
6299         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6300         * locale/programs/locarchive.c: Include libc-mmap.h.
6301         (prepare_address_space): Take two new outputs (the mmap base and len).
6302         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6303         values.
6304         (create_archive): Declare new mmap base and len values for
6305         prepare_address_space, and store the result in ah.
6306         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6307         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6308         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6309         Declare new mmap base and len values for
6310         prepare_address_space, and store the result in new_ah.
6311         (open_archive): Declare new mmap base and len values for
6312         prepare_address_space, and store the result in ah.
6313         (close_archive): If ah->mmap_base is not NULL, use that and
6314         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6315         * sysdeps/generic/libc-mmap.h: New file.
6317 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6319         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6320         (ALIGN_UP): Likewise.
6321         (PTR_ALIGN_DOWN): Likewise.
6322         (PTR_ALIGN_UP): Likewise.
6324 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6326         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6327         entry mapped to PPC_PLATFORM_POWER8.
6328         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6329         POWER8.
6330         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6331         (_dl_string_platform): Add case for exporting platform position for
6332         POWER8.
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6334         search path to sysdeps/powerpc/powerpc32/power8 directory.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6336         search path to sysdeps/powerpc/powerpc64/power8 directory.
6337         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6338         power7 directories.
6339         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6340         power7 directories.
6342 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6344         * INSTALL: Regenerate.
6346         * nscd/connections.c (nscd_init): Fix comment.
6348 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6350         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6352         [BZ #15667]
6353         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6354         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6356 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6358         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6359         DL_DST_REQ_STATIC.
6360         (DL_DST_REQ_STATIC): Remove macro.
6362 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6364         [BZ #7006]
6365         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6366         with a shift of 0 bits.
6368 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6370         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6371         $(tststatic-ENV).
6373 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6375         [BZ #15655]
6376         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6378 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6380         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6381         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6382         accepts -fno-tree-loop-distribute-patterns.
6383         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6384         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6385         recursive call.
6386         * string/memset.c (memset): Likewise.
6387         * string/test-memmove.c (simple_memmove): Disable loop transformation
6388         to library calls.
6389         * string/test-memset.c (simple_memset): Likewise.
6390         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6391         * benchtests/bench-memset.c (simple_memset): Likewise.
6392         * configure: Regenerated.
6394 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6396         * math/test-misc.c (main): Ignore fesetround failure when failures
6397         of subsequent rounding tests would be ignored.
6399         [BZ #15654]
6400         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6401         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6402         * math/fegetenv.c (__fegetenv): Return 0.
6403         * math/fegetexcept.c (fegetexcept): Return 0.
6404         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6405         FE_TONEAREST.
6406         * math/feholdexcpt.c (feholdexcept): Return 0.
6407         * math/fesetenv.c (__fesetenv): Return 0.
6408         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6409         argument FE_TONEAREST.
6410         * math/feupdateenv.c (__feupdateenv): Return 0.
6411         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6413 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6415         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6416         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6417         ($(objpfx)rtld-%.os rules): Use them.
6419 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6421         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6422         fields.
6424 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6426         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6427         length of target pattern, then descending length of dependency pattern.
6428         * configure.in (AWK): Require gawk 3.1.2 or newer.
6429         * manual/install.texi (Tools for Compilation): Say that we do.
6430         * configure: Regenerated.
6432         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6433         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6434         * scripts/sysd-rules.awk: ... this new script.
6435         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6436         than a glob-style pattern.
6438 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6440         * math/test-misc.c (main): Do not treat incorrectly rounded
6441         conversions as failure unless ROUNDING_TESTS passes.
6443 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6445         [BZ #15631]
6446         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6447         restore exception state around main square root computation, then
6448         check for inexactness explicitly.
6450         * math/libm-test.inc (fma_test_data): Add another test.
6452 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6454         * manual/threads.texi (Non-POSIX Extensions): New document
6455         node.  Document pthread_getattr_default_np and
6456         pthread_setattr_default_np.
6458         * Versions.def (libpthread): Add GLIBC_2.18.
6459         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6465         Likewise.
6466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6467         Likewise.
6468         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6471         Likewise.
6472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6473         Likewise.
6474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6475         Likewise.
6476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6477         Likewise.
6479 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6482         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6484 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6485             H.J. Lu  <hjl.tools@gmail.com>
6487         [BZ #15627]
6488         * sysdeps/x86_64/rtld-memset.c: Remove file.
6489         * sysdeps/x86_64/rtld-memset.S: New file.
6491 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6493         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6494         (test_in_one_mode): Take arguments for whether the rounding mode
6495         is supported for each floating-point type.
6496         (do_test): Pass new arguments to test_in_one_mode using
6497         ROUNDING_TESTS.
6499 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6501         * posix/tst-waitid.c (do_test): Distinguish different instances of
6502         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6503         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6504         before entering the kernel for waitpid.
6506 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6508         * NEWS: Fix note on clock function precision.  Text by Roland
6509         McGrath.
6511 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6513         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6514         it into place only when and if the sanity check passes.
6516 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6518         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6519         output for whether conversion result is exact.  Take argument
6520         indicating whether type is IBM long double.
6521         (round_for_all): Change need_exact field to ibm_ld.
6522         * stdlib/tst-strtod-round.c (struct exactness): New type.
6523         (struct test): Change bool ld_ok field to struct exactness exact.
6524         (TEST): Update all definitions for change to field.
6525         (tests): Regenerate array contents.
6526         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6527         field value.  Check for IBM long double here.
6528         (do_test): Update calls to test_in_one_mode.
6530 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6532         [BZ #12515]
6533         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6534         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6536 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6538         [BZ #15605]
6539         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6540         generated by the compiler on loop optimizations.
6541         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6542         general definitions.
6544 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6546         * math/bug-nextafter.c: Include <math-tests.h>.
6547         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6548         the relevant type.
6549         * math/bug-nexttoward.c: Include <math-tests.h>.
6550         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6551         the relevant type.
6552         * math/test-misc.c: Include <math-tests.h>.
6553         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6554         the relevant type.
6556 2013-06-12  Andreas Jaeger  <aj@suse.de>
6558         * po/ia.po: Update Interlingua translation from translation
6559         project.
6561 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6563         * include/fenv.h: Include stdbool.h.
6564         (struct rm_ctx): New structure.
6565         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6566         Define macro.
6567         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6568         (SET_RESTORE_ROUNDF): Likewise.
6569         (SET_RESTORE_ROUNDL): Likewise.
6570         (SET_RESTORE_ROUND_NOEX): Likewise.
6571         (SET_RESTORE_ROUND_NOEXF): Likewise.
6572         (SET_RESTORE_ROUND_NOEXL): Likewise.
6573         (SET_RESTORE_ROUND_53BIT): Likewise.
6574         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6575         (libc_feresetround_noexf_ctx): Likewise.
6576         (libc_feresetround_noexl_ctx): Likewise.
6577         (libc_feholdsetround_53bit_ctx): Likewise.
6578         (libc_feresetround_53bit_ctx): Likewise.
6579         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6580         (libc_feholdexcept_setround_sse_ctx): New function.
6581         (libc_fesetenv_sse_ctx): Likewise.
6582         (libc_feupdateenv_sse_ctx): Likewise.
6583         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6584         (libc_feholdexcept_setround_387_ctx): Likewise.
6585         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6586         (libc_feholdsetround_387_prec_ctx): Likewise.
6587         (libc_feholdsetround_387_ctx): Likewise.
6588         (libc_feholdsetround_387_53bit_ctx): Likewise.
6589         (libc_feholdsetround_sse_ctx): Likewise.
6590         (libc_feresetround_sse_ctx): Likewise.
6591         (libc_feresetround_387_ctx): Likewise.
6592         (libc_feupdateenv_387_ctx): Likewise.
6593         (libc_feholdexcept_setroundf_ctx): Define macro.
6594         (libc_fesetenvf_ctx): Likewise.
6595         (libc_feupdateenvf_ctx): Likewise.
6596         (libc_feholdsetroundf_ctx): Likewise.
6597         (libc_feresetroundf_ctx): Likewise.
6598         (libc_feholdexcept_setround_ctx): Likewise.
6599         (libc_fesetenv_ctx): Likewise.
6600         (libc_feupdateenv_ctx): Likewise.
6601         (libc_feholdsetround_ctx): Likewise.
6602         (libc_feresetround_ctx): Likewise.
6603         (libc_feholdexcept_setroundl_ctx): Likewise.
6604         (libc_feupdateenvl_ctx): Likewise.
6605         (libc_feholdsetroundl_ctx): Likewise.
6606         (libc_feresetroundl_ctx): Likewise.
6607         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6608         (libc_feresetround_53bit_ctx): Likewise.
6610 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6612         * locale/iso-639.def: Convert to UTF-8.
6614 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6616         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6617         (EXCEPTION_TESTS_double): Likewise.
6618         (EXCEPTION_TESTS_long_double): Likewise.
6619         (EXCEPTION_TESTS): Likewise.
6620         * math/libm-test.inc (test_exceptions): Only test exceptions if
6621         EXCEPTION_TESTS (FLOAT).
6623 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6625         * benchtests/Makefile (string-bench): Add strcpy_chk and
6626         stpcpy_chk.
6627         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6628         * benchtests/bench-stpcpy_chk.c: New file.
6629         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6630         * benchtests/bench-strcpy_chk.c: New file.
6631         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6632         code.
6633         (do_test): Likewise.
6635 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6637         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6638         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6639         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6640         with tabs where appropriate.
6641         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6642         dl-procinfo.h.
6643         [PPC_PLATFORM_PPC440]: Likewise.
6644         [PPC_PLATFORM_PPC464]: Likewise.
6645         [PPC_PLATFORM_PPC476]: Likewise.
6646         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6647         ppc464, and ppc476 platform strings merging from ports/
6648         dl-procinfo.h.
6650 2013-06-11  Andreas Schwab  <schwab@suse.de>
6652         [BZ #14991]
6653         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6654         (from_ucs4_idx): Regenerate.
6655         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6656         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6657         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6658         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6659         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6660         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6661         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6662         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6663         from FROM_LOOP and TO_LOOP specific macros.
6664         (BODY): Handle combining characters.
6665         * iconvdata/BIG5HKSCS.irreversible: Update.
6666         * iconvdata/BIG5HKSCS.precomposed: New file.
6667         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6668         characters.
6669         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6671 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6673         * include/sys/time.h: Fix indentation and add copyright header.
6675         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6676         (do_test): Likewise.
6677         * string/test-memchr.c (do_one_test): Likewise.
6678         (do_test): Likewise.
6679         * string/test-memcmp.c (do_one_test): Likewise.
6680         (do_test): Likewise.
6681         * string/test-memcpy.c (do_one_test): Likewise.
6682         (do_test): Likewise.
6683         * string/test-memmem.c (do_one_test): Likewise.
6684         (do_test): Likewise.
6685         (do_random_tests): Likewise.
6686         * string/test-memmove.c (do_one_test): Likewise.
6687         (do_test): Likewise.
6688         * string/test-memset.c (do_one_test): Likewise.
6689         (do_test): Likewise.
6690         * string/test-rawmemchr.c (do_one_test): Likewise.
6691         (do_test): Likewise.
6692         * string/test-strcasecmp.c (do_one_test): Likewise.
6693         (do_test): Likewise.
6694         * string/test-strcasestr.c (do_one_test): Likewise.
6695         (do_test): Likewise.
6696         * string/test-strcat.c (do_one_test): Likewise.
6697         (do_test): Likewise.
6698         * string/test-strchr.c (do_one_test): Likewise.
6699         (do_test): Likewise.
6700         * string/test-strcmp.c (do_one_test): Likewise.
6701         (do_test): Likewise.
6702         * string/test-strcpy.c (do_one_test): Likewise.
6703         (do_test): Likewise.
6704         * string/test-string.h: Likewise.
6705         (test_init): Likewise.
6706         * string/test-strlen.c (do_one_test): Likewise.
6707         (do_test): Likewise.
6708         * string/test-strncasecmp.c (do_one_test): Likewise.
6709         (do_test): Likewise.
6710         * string/test-strncat.c (do_one_test): Likewise.
6711         (do_test): Likewise.
6712         * string/test-strncmp.c (do_one_test): Likewise.
6713         (do_test_limit): Likewise.
6714         (do_test): Likewise.
6715         * string/test-strncpy.c (do_one_test): Likewise.
6716         (do_test): Likewise.
6717         * string/test-strnlen.c (do_one_test): Likewise.
6718         (do_test): Likewise.
6719         * string/test-strpbrk.c (do_one_test): Likewise.
6720         (do_test): Likewise.
6721         * string/test-strrchr.c (do_one_test): Likewise.
6722         (do_test): Likewise.
6723         * string/test-strspn.c (do_one_test): Likewise.
6724         (do_test): Likewise.
6725         * string/test-strstr.c (do_one_test): Likewise.
6726         (do_test): Likewise.
6728         * benchtests/Makefile (string-bench): Add string benchmarks.
6729         * benchtests/bench-bcopy-ifunc.c: New file.
6730         * benchtests/bench-bcopy.c: New file.
6731         * benchtests/bench-bzero-ifunc.c: New file.
6732         * benchtests/bench-bzero.c: New file.
6733         * benchtests/bench-memccpy-ifunc.c: New file.
6734         * benchtests/bench-memccpy.c: New file.
6735         * benchtests/bench-memchr-ifunc.c: New file.
6736         * benchtests/bench-memchr.c: New file.
6737         * benchtests/bench-memcmp-ifunc.c: New file.
6738         * benchtests/bench-memcmp.c: New file.
6739         * benchtests/bench-memmem-ifunc.c: New file.
6740         * benchtests/bench-memmem.c: New file.
6741         * benchtests/bench-memmove-ifunc.c: New file.
6742         * benchtests/bench-memmove.c: New file.
6743         * benchtests/bench-mempcpy-ifunc.c: New file.
6744         * benchtests/bench-mempcpy.c: New file.
6745         * benchtests/bench-memset-ifunc.c: New file.
6746         * benchtests/bench-memset.c: New file.
6747         * benchtests/bench-rawmemchr-ifunc.c: New file.
6748         * benchtests/bench-rawmemchr.c: New file.
6749         * benchtests/bench-stpcpy-ifunc.c: New file.
6750         * benchtests/bench-stpcpy.c: New file.
6751         * benchtests/bench-stpncpy-ifunc.c: New file.
6752         * benchtests/bench-stpncpy.c: New file.
6753         * benchtests/bench-strcasecmp-ifunc.c: New file.
6754         * benchtests/bench-strcasecmp.c: New file.
6755         * benchtests/bench-strcasestr-ifunc.c: New file.
6756         * benchtests/bench-strcasestr.c: New file.
6757         * benchtests/bench-strcat-ifunc.c: New file.
6758         * benchtests/bench-strcat.c: New file.
6759         * benchtests/bench-strchr-ifunc.c: New file.
6760         * benchtests/bench-strchr.c: New file.
6761         * benchtests/bench-strchrnul-ifunc.c: New file.
6762         * benchtests/bench-strchrnul.c: New file.
6763         * benchtests/bench-strcmp-ifunc.c: New file.
6764         * benchtests/bench-strcmp.c: New file.
6765         * benchtests/bench-strcpy-ifunc.c: New file.
6766         * benchtests/bench-strcpy.c: New file.
6767         * benchtests/bench-strcspn-ifunc.c: New file.
6768         * benchtests/bench-strcspn.c: New file.
6769         * benchtests/bench-strlen-ifunc.c: New file.
6770         * benchtests/bench-strlen.c: New file.
6771         * benchtests/bench-strncasecmp-ifunc.c: New file.
6772         * benchtests/bench-strncasecmp.c: New file.
6773         * benchtests/bench-strncat-ifunc.c: New file.
6774         * benchtests/bench-strncat.c: New file.
6775         * benchtests/bench-strncmp-ifunc.c: New file.
6776         * benchtests/bench-strncmp.c: New file.
6777         * benchtests/bench-strncpy-ifunc.c: New file.
6778         * benchtests/bench-strncpy.c: New file.
6779         * benchtests/bench-strnlen-ifunc.c: New file.
6780         * benchtests/bench-strnlen.c: New file.
6781         * benchtests/bench-strpbrk-ifunc.c: New file.
6782         * benchtests/bench-strpbrk.c: New file.
6783         * benchtests/bench-strrchr-ifunc.c: New file.
6784         * benchtests/bench-strrchr.c: New file.
6785         * benchtests/bench-strspn-ifunc.c: New file.
6786         * benchtests/bench-strspn.c: New file.
6787         * benchtests/bench-strstr-ifunc.c: New file.
6788         * benchtests/bench-strstr.c: New file.
6790         * benchtests/Makefile: Disable parallel execution of targets.
6791         (string-bench): Add memcpy.
6792         (benchset): New variable to store a list of benchmark sets.
6793         (bench-func): Renamed from bench.
6794         (bench-set): New target.
6795         (bench): Depend on bench-func and bench-set.
6796         * benchtests/README: Add section on benchmark sets.
6797         * benchtests/bench-memcpy-ifunc.c: New file.
6798         * benchtests/bench-memcpy.c: New file.
6799         * benchtests/bench-string.h: New file.
6801 2013-06-11  Andreas Schwab  <schwab@suse.de>
6803         [BZ #15577]
6804         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6805         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6806         values in the triple.
6807         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6808         terminator in the group key.
6810 2013-06-11  Andreas Jaeger  <aj@suse.de>
6812         * po/zh_TW.po: Update Chinese (traditional) translation from
6813         translation project.
6815 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6818         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6819         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6820         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6821         (clock_getcpuclockid): Likewise.
6822         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6823         Add weak_alias and libc_hidden_def.
6824         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6825         * rt/clock_gettime.c (clock_gettime): Rename to
6826         __clock_gettime.  Add weak_alias and libc_hidden_def.
6827         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6828         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6829         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6830         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6831         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6832         Likewise.
6833         * rt/clock_settime.c (clock_settime): Rename to
6834         __clock_settime.  Add weak_alias and libc_hidden_def.
6835         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6837 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6839         * mach/err_boot.sub: Remove trailing whitespace.
6840         * mach/err_ipc.sub: Likewise.
6841         * mach/err_mach.sub: Likewise.
6843         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6844         (ROUNDING_TESTS_double): Likewise.
6845         (ROUNDING_TESTS_long_double): Likewise.
6846         (ROUNDING_TESTS): Likewise.
6847         * math/libm-test.inc: Include <math-tests.h>.
6848         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6849         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6850         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6851         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6853 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6855         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6856         of assigning.
6858 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6860         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6861         otherwise empty TRANS lines.
6862         * sysdeps/gnu/errlist.c: Regenerated.
6864         * catgets/gencat.c (error_print): Use (void) in function
6865         definition.
6866         * crypt/crypt_util.c (__init_des): Likewise.
6867         * crypt/speeds.c (Stop): Likewise.
6868         (main): Likewise.
6869         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6870         * inet/ruserpass.c (token): Likewise.
6871         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6872         * intl/localealias.c (extend_alias_table): Likewise.
6873         * intl/plural-exp.c (init_germanic_plural): Likewise.
6874         * libio/fcloseall.c (__fcloseall): Likewise.
6875         * libio/genops.c (_IO_flush_all): Likewise.
6876         (_IO_flush_all_linebuffered): Likewise.
6877         (_IO_cleanup): Likewise.
6878         (_IO_iter_begin): Likewise.
6879         (_IO_iter_end): Likewise.
6880         (_IO_list_lock): Likewise.
6881         (_IO_list_unlock): Likewise.
6882         (_IO_list_resetlock): Likewise.
6883         * libio/getchar.c (getchar): Likewise.
6884         * libio/getchar_u.c (getchar_unlocked): Likewise.
6885         * libio/getwchar.c (getwchar): Likewise.
6886         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6887         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6888         * login/getpt.c (__getpt): Likewise.
6889         * login/tst-utmp.c (main): Likewise.
6890         * malloc/hooks.c (__malloc_check_init): Likewise.
6891         * malloc/malloc.c (__malloc_stats): Likewise.
6892         * malloc/mtrace.c (tr_break): Likewise.
6893         (mtrace): Likewise.
6894         (muntrace): Likewise.
6895         * misc/fstab.c (endfsent): Likewise.
6896         * misc/getclktck.c (__getclktck): Likewise.
6897         * misc/getdtsz.c (__getdtablesize): Likewise.
6898         * misc/gethostid.c (gethostid): Likewise.
6899         * misc/getpagesize.c (__getpagesize): Likewise.
6900         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6901         (__get_nprocs): Likewise.
6902         (__get_phys_pages): Likewise.
6903         (__get_avphys_pages): Likewise.
6904         * misc/getttyent.c (getttyent): Likewise.
6905         (setttyent): Likewise.
6906         (endttyent): Likewise.
6907         * misc/getusershell.c (getusershell): Likewise.
6908         (endusershell): Likewise.
6909         (setusershell): Likewise.
6910         (initshells): Likewise.
6911         * misc/hsearch.c (__hdestroy): Likewise.
6912         * misc/sync.c (sync): Likewise.
6913         * misc/syslog.c (closelog_internal): Likewise.
6914         (closelog): Likewise.
6915         * misc/ttyslot.c (ttyslot): Likewise.
6916         * misc/vhangup.c (vhangup): Likewise.
6917         * posix/fork.c (__fork): Likewise.
6918         * posix/getegid.c (__getegid): Likewise.
6919         * posix/geteuid.c (__geteuid): Likewise.
6920         * posix/getgid.c (__getgid): Likewise.
6921         * posix/getpid.c (__getpid): Likewise.
6922         * posix/getppid.c (__getppid): Likewise.
6923         * posix/getuid.c (__getuid): Likewise.
6924         * posix/pause.c (pause): Likewise.
6925         * posix/setpgrp.c (setpgrp): Likewise.
6926         * posix/setsid.c (__setsid): Likewise.
6927         * posix/test-vfork.c (noop): Likewise.
6928         * resolv/gethnamaddr.c (_endhtent): Likewise.
6929         (_gethtent): Likewise.
6930         (ht_endhostent): Likewise.
6931         (gethostent): Likewise.
6932         (dns_service): Likewise.
6933         * stdlib/drand48.c (drand48): Likewise.
6934         * stdlib/lrand48.c (lrand48): Likewise.
6935         * stdlib/mrand48.c (mrand48): Likewise.
6936         * stdlib/rand.c (rand): Likewise.
6937         * stdlib/random.c (__random): Likewise.
6938         * stdlib/setenv.c (clearenv): Likewise.
6939         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6940         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6941         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6942         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6943         (__get_nprocs): Likewise.
6944         (__get_phys_pages): Likewise.
6945         (__get_avphys_pages): Likewise.
6946         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6947         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6948         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6949         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6950         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6951         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6952         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6953         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6954         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6955         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6956         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6957         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6958         * sysdeps/posix/clock.c (clock): Likewise.
6959         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6960         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6961         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6962         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6963         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6965         (__get_nprocs_conf): Likewise.
6966         (__get_phys_pages): Likewise.
6967         (__get_avphys_pages): Likewise.
6968         * time/clock.c (clock): Likewise.
6969         * time/tzset.c (__tzname_max): Likewise.
6971 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6973         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6974         (__bswap_32): Do not use "register".
6975         * crypt/crypt.c (_ufc_doit_r): Likewise.
6976         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6977         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6978         * gmon/gmon.c (__monstartup): Likewise.
6979         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6980         * hurd/hurdmalloc.c (more_memory): Likewise.
6981         (malloc): Likewise.
6982         (free): Likewise.
6983         (realloc): Likewise.
6984         (malloc_fork_prepare): Likewise.
6985         (malloc_fork_parent): Likewise.
6986         (malloc_fork_child): Likewise.
6987         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6988         (_svcauth_des): Likewise.
6989         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6990         * inet/inet_net.c (inet_network): Likewise.
6991         * inet/inet_netof.c (inet_netof): Likewise.
6992         * inet/rcmd.c (__validuser2_sa): Likewise.
6993         * io/fts.c (fts_open): Likewise.
6994         (fts_load): Likewise.
6995         (fts_close): Likewise.
6996         (fts_read): Likewise.
6997         (fts_children): Likewise.
6998         (fts_build): Likewise.
6999         (fts_stat): Likewise.
7000         (fts_sort): Likewise.
7001         (fts_alloc): Likewise.
7002         (fts_lfree): Likewise.
7003         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7004         (_IO_file_xsgetn): Likewise.
7005         (_IO_file_xsgetn_mmap): Likewise.
7006         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7007         (_IO_cookie_write): Likewise.
7008         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7009         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7010         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7011         * malloc/obstack.c (_obstack_begin): Likewise.
7012         (_obstack_begin_1): Likewise.
7013         (_obstack_newchunk): Likewise.
7014         (_obstack_allocated_p): Likewise.
7015         (obstack_free): Likewise.
7016         (_obstack_memory_used): Likewise.
7017         * misc/getttyent.c (getttynam): Likewise.
7018         (getttyent): Likewise.
7019         (skip): Likewise.
7020         (value): Likewise.
7021         * misc/getusershell.c (initshells): Likewise.
7022         * misc/syslog.c (__vsyslog_chk): Likewise.
7023         * misc/ttyslot.c (ttyslot): Likewise.
7024         * nis/nis_hash.c (__nis_hash): Likewise.
7025         * posix/fnmatch_loop.c (FCT): Likewise.
7026         * posix/getconf.c (print_all): Likewise.
7027         (main): Likewise.
7028         * posix/getopt.c (exchange): Likewise.
7029         * posix/glob.c (globfree): Likewise.
7030         (prefix_array): Likewise.
7031         (__glob_pattern_type): Likewise.
7032         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7033         (NS_GET32): Likewise.
7034         (NS_PUT16): Likewise.
7035         (NS_PUT32): Likewise.
7036         * resolv/gethnamaddr.c (getanswer): Likewise.
7037         (gethostbyname2): Likewise.
7038         (gethostbyaddr): Likewise.
7039         (_gethtent): Likewise.
7040         (_gethtbyname2): Likewise.
7041         (_gethtbyaddr): Likewise.
7042         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7043         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7044         * resolv/res_init.c (__res_vinit): Likewise.
7045         (net_mask): Likewise.
7046         * resolv/res_mkquery.c (outchar): Likewise.
7047         (PRINT): Likewise.
7048         * stdio-common/printf_fp.c (outchar): Likewise.
7049         (PRINT): Likewise.
7050         * stdio-common/printf_fphex.c (outchar): Likewise.
7051         (PRINT): Likewise.
7052         * stdio-common/printf_size.c (outchar): Likewise.
7053         (PRINT): Likewise.
7054         * stdio-common/test_rdwr.c (main): Likewise.
7055         * stdio-common/tfformat.c (matches): Likewise.
7056         * stdio-common/vfprintf.c (outchar): Likewise.
7057         (printf_unknown): Likewise.
7058         (buffered_vfprintf): Likewise.
7059         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7060         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7061         (ReadFile): Likewise.
7062         * stdlib/qsort.c (SWAP): Likewise.
7063         (_quicksort): Likewise.
7064         * stdlib/setenv.c (__add_to_environ): Likewise.
7065         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7066         * stdlib/strtol_l.c (__strtol_l): Likewise.
7067         * stdlib/tst-strtod.c (main): Likewise.
7068         * stdlib/tst-strtol.c (main): Likewise.
7069         * stdlib/tst-strtoll.c (main): Likewise.
7070         * string/bits/string2.h (__strcmp_cc): Likewise.
7071         (__strcmp_cg): Likewise.
7072         (__strcspn_c1): Likewise.
7073         (__strcspn_c2): Likewise.
7074         (__strcspn_c3): Likewise.
7075         (__strspn_c1): Likewise.
7076         (__strspn_c2): Likewise.
7077         (__strspn_c3): Likewise.
7078         (__strsep_1c): Likewise.
7079         (__strsep_2c): Likewise.
7080         (__strsep_3c): Likewise.
7081         * string/memccpy.c (__memccpy): Likewise.
7082         * string/stpcpy.c (__stpcpy): Likewise.
7083         * string/strcmp.c (strcmp): Likewise.
7084         * string/strrchr.c (strrchr): Likewise.
7085         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7086         Likewise.
7087         * sysdeps/mach/hurd/getcwd.c
7088         (_hurd_canonicalize_directory_name_internal): Likewise.
7089         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7090         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7091         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7092         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7093         Likewise, in both definitions.
7094         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7095         definitions.
7096         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7097         64] (__bswap_64): Likewise.
7098         * time/test_time.c (main): Likewise.
7099         * time/tzfile.c (__tzfile_read): Likewise.
7100         (__tzfile_compute): Likewise.
7101         * time/tzset.c (__tzset_parse_tz): Likewise.
7102         (tzset_internal): Likewise.
7103         (compute_change): Likewise.
7104         * wcsmbs/wcscat.c (__wcscat): Likewise.
7105         * wcsmbs/wcschr.c (wcschr): Likewise.
7106         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7107         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7108         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7109         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7110         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7111         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7112         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7113         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7114         * wcsmbs/wmemset.c (wmemset): Likewise.
7116 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7118         * scripts/config.guess: Update to version 2013-05-16.
7119         * scripts/config.sub: Update to version 2013-04-24.
7120         * scripts/install-sh: Update to version 2011-11-20.07.
7121         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7122         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7124 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7126         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7127         * elf/sln.c: Likewise.
7128         * hurd/hurd/ioctl.h: Likewise.
7129         * hurd/hurdmalloc.c: Likewise.
7130         * hurd/xattr.c: Likewise.
7131         * include/shlib-compat.h: Likewise.
7132         * inet/ruserpass.c: Likewise.
7133         * libio/iofgets_u.c: Likewise.
7134         * libio/iofgetws_u.c: Likewise.
7135         * locale/programs/ld-identification.c: Likewise.
7136         * locale/programs/ld-time.c: Likewise.
7137         * mach/msg-destroy.c: Likewise.
7138         * nss/nss_files/files-netgrp.c: Likewise.
7139         * resolv/res_data.c: Likewise.
7140         * soft-fp/op-1.h: Likewise.
7141         * soft-fp/op-2.h: Likewise.
7142         * soft-fp/op-4.h: Likewise.
7143         * soft-fp/op-common.h: Likewise.
7144         * stdio-common/printf_fphex.c: Likewise.
7145         * stdlib/strtod_l.c: Likewise.
7146         * sunrpc/rpc/clnt.h: Likewise.
7147         * sysdeps/generic/framestate.c: Likewise.
7148         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7149         * sysdeps/i386/bsd-setjmp.S: Likewise.
7150         * sysdeps/i386/__longjmp.S: Likewise.
7151         * sysdeps/i386/setjmp.S: Likewise.
7152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7153         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7154         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7162         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7163         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7164         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7165         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7166         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7168         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7170         * sysdeps/ieee754/support.c: Likewise.
7171         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7172         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7173         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7174         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7175         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7176         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7177         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7178         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7179         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7180         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7181         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7182         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7183         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7184         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7185         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7186         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7187         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7190 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7192         * posix/transbug.c: Remove executable mode.
7194 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7196         * crypt/speeds.c: Remove trailing whitespace.
7197         * dlfcn/default.c: Likewise.
7198         * elf/ifuncdep2.c: Likewise.
7199         * elf/ifuncmain1.c: Likewise.
7200         * elf/ifuncmain1vis.c: Likewise.
7201         * elf/testobj.h: Likewise.
7202         * elf/tst-stackguard1.c: Likewise.
7203         * gmon/sys/gmon.h: Likewise.
7204         * hurd/hurdmsg.c: Likewise.
7205         * hurd/new-fd.c: Likewise.
7206         * hurd/ports-get.c: Likewise.
7207         * iconvdata/ibm1008_420.c: Likewise.
7208         * inet/tst-getni1.c: Likewise.
7209         * inet/tst-getni2.c: Likewise.
7210         * libio/ioungetc.c: Likewise.
7211         * libio/wfiledoalloc.c: Likewise.
7212         * manual/libm-err-tab.pl: Likewise.
7213         * math/w_dremf.c: Likewise.
7214         * misc/ftruncate.c: Likewise.
7215         * posix/bug-glob2.c: Likewise.
7216         * posix/tst-pcre.c: Likewise.
7217         * posix/wait4.c: Likewise.
7218         * resolv/README: Likewise.
7219         * resolv/res_debug.h: Likewise.
7220         * resolv/tst-inet_ntop.c: Likewise.
7221         * setjmp/bug269-setjmp.c: Likewise.
7222         * soft-fp/extended.h: Likewise.
7223         * soft-fp/op-1.h: Likewise.
7224         * soft-fp/op-2.h: Likewise.
7225         * soft-fp/op-4.h: Likewise.
7226         * soft-fp/op-8.h: Likewise.
7227         * soft-fp/testit.c: Likewise.
7228         * stdio-common/bug16.c: Likewise.
7229         * stdlib/random.c: Likewise.
7230         * sunrpc/rpcsvc/rquota.x: Likewise.
7231         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7232         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7234         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7235         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7237         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7238         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7239         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7240         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7241         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7242         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7243         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7249         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7250         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7251         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7252         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7253         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7254         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7255         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7256         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7260         * sysdeps/ieee754/s_lib_version.c: Likewise.
7261         * sysdeps/mach/hurd/check_fds.c: Likewise.
7262         * sysdeps/mach/hurd/getsockname.c: Likewise.
7263         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7264         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7265         * sysdeps/powerpc/bits/link.h: Likewise.
7266         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7267         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7268         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7269         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7270         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7271         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7272         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7273         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7274         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7275         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7276         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7277         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7278         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7279         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7280         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7281         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7282         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7285         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7286         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7287         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7289         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7290         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7291         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7292         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7295         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7296         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7297         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7298         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7299         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7300         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7301         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7302         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7303         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7304         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7305         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7306         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7307         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7308         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7309         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7310         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7311         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7312         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7314         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7315         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7318         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7319         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7320         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7321         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7322         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7323         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7326         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7327         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7328         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7329         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7330         * sysdeps/powerpc/sysdep.h: Likewise.
7331         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7332         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7333         * sysdeps/sh/dl-trampoline.S: Likewise.
7334         * sysdeps/sh/memset.S: Likewise.
7335         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7336         * sysdeps/sh/strlen.S: Likewise.
7337         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7338         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7339         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7340         * sysdeps/sparc/sparc32/rem.S: Likewise.
7341         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7342         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7343         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7344         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7345         * sysdeps/sparc/sparc32/urem.S: Likewise.
7346         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7347         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7348         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7349         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7350         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7351         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7352         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7353         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7354         * sysdeps/unix/bsd/times.c: Likewise.
7355         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7356         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7360         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7361         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7363         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7364         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7365         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7366         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7367         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7368         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7369         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7370         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7371         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7373         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7374         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7375         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7376         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7377         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7378         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7379         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7380         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7381         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7382         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7383         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7384         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7385         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7386         * sysdeps/x86_64/strcspn.S: Likewise.
7388 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7390         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7391         generated file.  Regenerate properly from gen-translit.pl.
7392         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7393         locale/C-translit.h.
7395 2013-06-05  Andreas Schwab  <schwab@suse.de>
7397         [BZ #15100]
7398         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7399         week as 6 instead of -1.
7400         * time/tst-strptime.c (day_tests): Add test case.
7402 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7404         * sysdeps/generic/math_private.h
7405         (libc_feholdexcept_setround_53bit): Replace with
7406         libc_feholdsetround_53bit.
7407         (libc_feupdateenv_53bit): Replace with
7408         libc_feresetround_53bit.
7409         (SET_RESTORE_ROUND_53BIT): Adjust.
7411 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7413         * string/test-strchrnul.c: Add copyright header.
7415         * posix/tst-getaddrinfo4.c: Increase test timeout.
7417 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7419         [BZ #15536]
7420         * math/libm-test.inc (MAX_EXP): Remove
7421         (MIN_EXP): Define.
7422         (ulp): Use MIN_EXP - MANT_DIG.
7423         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7425 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7427         * po/be.po: Revert last change.
7428         * po/zh_CN.po: Likewise.
7429         * po/header.pot: Likewise.
7431 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7433         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7434         link-libc-deps to empty as target-specific variable.
7435         * Makerules (link-libc-args): New variable.
7436         (libc-for-link): Likewise.
7437         (link-libc-deps): Likewise.
7438         (lib%.so): Depend on $(link-libc-deps).  Link with
7439         $(link-libc-args).
7440         (build-module): Link with $(link-libc-args).
7441         (build-module-asneeded): Likewise.
7442         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7443         list of objects.
7444         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7445         target-specific variable.
7446         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7447         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7448         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7449         libc.
7450         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7451         libc and ld.so.
7452         ($(objpfx)libpcprofile.so): Likewise.
7453         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7454         libc_nonshared.a.
7455         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7456         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7457         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7458         $(link-libc-deps).
7459         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7460         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7461         * login/Makefile ($(objpfx)libutil.so): Likewise.
7462         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7463         * math/Makefile ($(objpfx)libm.so): Likewise.
7464         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7465         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7466         variable instead of depending directly on libc.
7467         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7468         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7469         $(link-libc-deps).
7470         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7471         libc.
7472         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7473         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7474         ($(objpfx)libanl.so): Likewise.
7475         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7476         ld.so.
7477         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7478         $(link-libc-deps).
7479         * sysdeps/i386/fpu/Makefile: Remove file.
7480         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7481         ($(objpfx)libm.so): Remove dependency on ld.so.
7483 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7485         [BZ # 15553]
7486         * nis/yp_xdr.c (XDRMAXNAME): Define.
7487         (XDRMAXRECORD): Define.
7488         (xdr_domainname): Use XDRMAXNAME.
7489         (xdr_mapname): Likewise.
7490         (xdr_peername): Likewise.
7491         (xdr_keydat): Use XDRMAXRECORD.
7492         (xdr_valdat): Likewise.
7494 2013-05-30  Jeff Law  <law@redhat.com>
7496         [BZ #14256]
7497         * manual/errno.texi (ESTALE): Update to account for more than
7498         just NFS file systems.
7499         * sysdeps/gnu/errlist.c: Regenerated.
7501 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7503         [BZ #15465]
7504         * elf/Makefile (tests): Add tst-null-argv.
7505         (modules-names):  Add tst-null-argv-lib.
7506         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7507         (tst-null-argv-ENV): Set environment for tst-null-argv.
7508         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7509         (RTLD_PROGNAME): New macro.
7510         * elf/tst-null-argv.c: New test case.
7511         * elf/tst-null-argv-lib.c: Library for test case.
7512         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7513         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7514         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7515         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7516         * elf/dl-init.c (call_init): Likewise.
7517         (_dl_init): Likewise.
7518         * elf/dl-load.c (print_search_path): Likewise.
7519         (_dl_map_object): Likewise.
7520         * elf/dl-lookup.c (do_lookup_x): Likewise.
7521         (add_dependency): Likewise.
7522         (_dl_lookup_symbol_x): Likewise.
7523         (_dl_debug_bindings): Likewise.
7524         * elf/dl-open.c (_dl_show_scope): Likewise.
7525         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7526         * elf/dl-version.c (match_symbol): Likewise.
7527         (_dl_check_map_versions): Likewise.
7528         * elf/rtld.c (dl_main): Likewise.
7529         (print_unresolved): Use RTLD_PROGNAME.
7530         (print_missing_version): Likewise.
7531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7532         (elf_machine_rela): Likewise.
7533         * sysdeps/powerpc/powerpc32/dl-machine.c
7534         (__process_machine_rela): Likewise.
7535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7536         Likewise.
7537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7538         Likewise.
7539         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7540         Likewise.
7541         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7543         Likewise.
7544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7545         Likewise.
7546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7548 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7550         * po/be.po: Add descriptive title.
7551         * po/zh_CN.po: Likewise.
7552         * po/header.pot: Likewise.
7554 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7556         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7557         error message.
7558         (enlarge_archive): Likewise.
7560 2013-05-28  Ben North  <ben@redfrontdoor.org>
7562         * manual/arith.texi (frexp): It is the magnitude of the return
7563         value which lies in [0.5, 1), not the return value itself.
7565 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7569 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7571         * stdio-common/bug26.c (main): Correct fscanf template.
7573         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7574         declare _dl_skip_args.
7576         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7577         Don't declare.
7579         * manual/platform.texi: Add missing @end deftypefun.
7581 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #15529]
7584         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7585         bit of mantissa of 2^16382.
7586         * math/libm-test.inc (hypot_test_data): Add more tests.
7588         * math/libm-test.inc: Add drem and pow10 to list of tested
7589         functions.
7590         (pow10_test): New function.
7591         (drem_test): Likewise.
7592         (drem_test_tonearest): Likewise.
7593         (drem_test_towardzero): Likewise.
7594         (drem_test_downward): Likewise.
7595         (drem_test_upward): Likewise.
7596         (main): Call the new functions.
7598         * math/libm-test.inc (finite_test_data): Remove.
7599         (finite_test): Run tests from isfinite_test_data.
7600         (gamma_test_data): Remove.
7601         (gamma_test): Run tests from lgamma_test_data.
7602         * sysdeps/i386/fpu/libm-test-ulps: Update.
7603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7607         * manual/platform.texi: Add PowerPC PPR function set documentation.
7608         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7609         implementation.
7611 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7613         * math/libm-test.inc (MAX_EXP): Define.
7614         (ULPDIFF): Define.
7615         (ulp): New function.
7616         (check_float_internal): Use ULPDIFF.
7617         (cpow_test): Disable failing test.
7618         (check_ulp): Test ulp() implemetnation.
7619         (main): Call check_ulp before starting tests.
7621 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7623         * math/gen-libm-test.pl (generate_testfile): Do not handle
7624         START_DATA and END_DATA.
7625         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7626         END_DATA.
7627         (acos_tonearest_test_data): Likewise.
7628         (acos_towardzero_test_data): Likewise.
7629         (acos_downward_test_data): Likewise.
7630         (acos_upward_test_data): Likewise.
7631         (acosh_test_data): Likewise.
7632         (asin_test_data): Likewise.
7633         (asin_tonearest_test_data): Likewise.
7634         (asin_towardzero_test_data): Likewise.
7635         (asin_downward_test_data): Likewise.
7636         (asin_upward_test_data): Likewise.
7637         (asinh_test_data): Likewise.
7638         (atan_test_data): Likewise.
7639         (atanh_test_data): Likewise.
7640         (atan2_test_data): Likewise.
7641         (cabs_test_data): Likewise.
7642         (cacos_test_data): Likewise.
7643         (cacosh_test_data): Likewise.
7644         (carg_test_data): Likewise.
7645         (casin_test_data): Likewise.
7646         (casinh_test_data): Likewise.
7647         (catan_test_data): Likewise.
7648         (catanh_test_data): Likewise.
7649         (cbrt_test_data): Likewise.
7650         (ccos_test_data): Likewise.
7651         (ccosh_test_data): Likewise.
7652         (ceil_test_data): Likewise.
7653         (cexp_test_data): Likewise.
7654         (cimag_test_data): Likewise.
7655         (clog_test_data): Likewise.
7656         (clog10_test_data): Likewise.
7657         (conj_test_data): Likewise.
7658         (copysign_test_data): Likewise.
7659         (cos_test_data): Likewise.
7660         (cos_tonearest_test_data): Likewise.
7661         (cos_towardzero_test_data): Likewise.
7662         (cos_downward_test_data): Likewise.
7663         (cos_upward_test_data): Likewise.
7664         (cosh_test_data): Likewise.
7665         (cosh_tonearest_test_data): Likewise.
7666         (cosh_towardzero_test_data): Likewise.
7667         (cosh_downward_test_data): Likewise.
7668         (cosh_upward_test_data): Likewise.
7669         (cpow_test_data): Likewise.
7670         (cproj_test_data): Likewise.
7671         (creal_test_data): Likewise.
7672         (csin_test_data): Likewise.
7673         (csinh_test_data): Likewise.
7674         (csqrt_test_data): Likewise.
7675         (ctan_test_data): Likewise.
7676         (ctan_tonearest_test_data): Likewise.
7677         (ctan_towardzero_test_data): Likewise.
7678         (ctan_downward_test_data): Likewise.
7679         (ctan_upward_test_data): Likewise.
7680         (ctanh_test_data): Likewise.
7681         (ctanh_tonearest_test_data): Likewise.
7682         (ctanh_towardzero_test_data): Likewise.
7683         (ctanh_downward_test_data): Likewise.
7684         (ctanh_upward_test_data): Likewise.
7685         (erf_test_data): Likewise.
7686         (erfc_test_data): Likewise.
7687         (exp_test_data): Likewise.
7688         (exp_tonearest_test_data): Likewise.
7689         (exp_towardzero_test_data): Likewise.
7690         (exp_downward_test_data): Likewise.
7691         (exp_upward_test_data): Likewise.
7692         (exp10_test_data): Likewise.
7693         (exp2_test_data): Likewise.
7694         (expm1_test_data): Likewise.
7695         (fabs_test_data): Likewise.
7696         (fdim_test_data): Likewise.
7697         (finite_test_data): Likewise.
7698         (floor_test_data): Likewise.
7699         (fma_test_data): Likewise.
7700         (fma_towardzero_test_data): Likewise.
7701         (fma_downward_test_data): Likewise.
7702         (fma_upward_test_data): Likewise.
7703         (fmax_test_data): Likewise.
7704         (fmin_test_data): Likewise.
7705         (fmod_test_data): Likewise.
7706         (fpclassify_test_data): Likewise.
7707         (frexp_test_data): Likewise.
7708         (gamma_test_data): Likewise.
7709         (hypot_test_data): Likewise.
7710         (ilogb_test_data): Likewise.
7711         (isfinite_test_data): Likewise.
7712         (isgreater_test_data): Likewise.
7713         (isgreaterequal_test_data): Likewise.
7714         (isinf_test_data): Likewise.
7715         (isless_test_data): Likewise.
7716         (islessequal_test_data): Likewise.
7717         (islessgreater_test_data): Likewise.
7718         (isnan_test_data): Likewise.
7719         (isnormal_test_data): Likewise.
7720         (issignaling_test_data): Likewise.
7721         (isunordered_test_data): Likewise.
7722         (j0_test_data): Likewise.
7723         (j1_test_data): Likewise.
7724         (jn_test_data): Likewise.
7725         (ldexp_test_data): Likewise.
7726         (lgamma_test_data): Likewise.
7727         (lrint_test_data): Likewise.
7728         (lrint_tonearest_test_data): Likewise.
7729         (lrint_towardzero_test_data): Likewise.
7730         (lrint_downward_test_data): Likewise.
7731         (lrint_upward_test_data): Likewise.
7732         (llrint_test_data): Likewise.
7733         (llrint_tonearest_test_data): Likewise.
7734         (llrint_towardzero_test_data): Likewise.
7735         (llrint_downward_test_data): Likewise.
7736         (llrint_upward_test_data): Likewise.
7737         (log_test_data): Likewise.
7738         (log10_test_data): Likewise.
7739         (log1p_test_data): Likewise.
7740         (log2_test_data): Likewise.
7741         (logb_test_data): Likewise.
7742         (logb_downward_test_data): Likewise.
7743         (lround_test_data): Likewise.
7744         (llround_test_data): Likewise.
7745         (modf_test_data): Likewise.
7746         (nearbyint_test_data): Likewise.
7747         (nextafter_test_data): Likewise.
7748         (nexttoward_test_data): Likewise.
7749         (pow_test_data): Likewise.
7750         (pow_tonearest_test_data): Likewise.
7751         (pow_towardzero_test_data): Likewise.
7752         (pow_downward_test_data): Likewise.
7753         (pow_upward_test_data): Likewise.
7754         (remainder_test_data): Likewise.
7755         (remainder_tonearest_test_data): Likewise.
7756         (remainder_towardzero_test_data): Likewise.
7757         (remainder_downward_test_data): Likewise.
7758         (remainder_upward_test_data): Likewise.
7759         (remquo_test_data): Likewise.
7760         (rint_test_data): Likewise.
7761         (rint_tonearest_test_data): Likewise.
7762         (rint_towardzero_test_data): Likewise.
7763         (rint_downward_test_data): Likewise.
7764         (rint_upward_test_data): Likewise.
7765         (round_test_data): Likewise.
7766         (scalb_test_data): Likewise.
7767         (scalbn_test_data): Likewise.
7768         (scalbln_test_data): Likewise.
7769         (signbit_test_data): Likewise.
7770         (sin_test_data): Likewise.
7771         (sin_tonearest_test_data): Likewise.
7772         (sin_towardzero_test_data): Likewise.
7773         (sin_downward_test_data): Likewise.
7774         (sin_upward_test_data): Likewise.
7775         (sincos_test_data): Likewise.
7776         (sinh_test_data): Likewise.
7777         (sinh_tonearest_test_data): Likewise.
7778         (sinh_towardzero_test_data): Likewise.
7779         (sinh_downward_test_data): Likewise.
7780         (sinh_upward_test_data): Likewise.
7781         (sqrt_test_data): Likewise.
7782         (tan_test_data): Likewise.
7783         (tan_tonearest_test_data): Likewise.
7784         (tan_towardzero_test_data): Likewise.
7785         (tan_downward_test_data): Likewise.
7786         (tan_upward_test_data): Likewise.
7787         (tanh_test_data): Likewise.
7788         (tgamma_test_data): Likewise.
7789         (trunc_test_data): Likewise.
7790         (y0_test_data): Likewise.
7791         (y1_test_data): Likewise.
7792         (yn_test_data): Likewise.
7793         (significand_test_data): Likewise.
7795         * math/gen-libm-test.pl (@functions): Remove variable.
7796         (generate_testfile): Don't handle START and END lines.
7797         * math/libm-test.inc (START): New macro.
7798         (END): Likewise.
7799         (END_COMPLEX): Likewise.
7800         (acos_test): Use END macro without arguments.
7801         (acos_test_tonearest): Likewise.
7802         (acos_test_towardzero): Likewise.
7803         (acos_test_downward): Likewise.
7804         (acos_test_upward): Likewise.
7805         (acosh_test): Likewise.
7806         (asin_test): Likewise.
7807         (asin_test_tonearest): Likewise.
7808         (asin_test_towardzero): Likewise.
7809         (asin_test_downward): Likewise.
7810         (asin_test_upward): Likewise.
7811         (asinh_test): Likewise.
7812         (atan_test): Likewise.
7813         (atanh_test): Likewise.
7814         (atan2_test): Likewise.
7815         (cabs_test): Likewise.
7816         (cacos_test): Use END_COMPLEX macro without arguments.
7817         (cacosh_test): Likewise.
7818         (carg_test): Use END macro without arguments.
7819         (casin_test): Use END_COMPLEX macro without arguments.
7820         (casinh_test): Likewise.
7821         (catan_test): Likewise.
7822         (catanh_test): Likewise.
7823         (cbrt_test): Use END macro without arguments.
7824         (ccos_test): Use END_COMPLEX macro without arguments.
7825         (ccosh_test): Likewise.
7826         (ceil_test): Use END macro without arguments.
7827         (cexp_test): Use END_COMPLEX macro without arguments.
7828         (cimag_test): Use END macro without arguments.
7829         (clog_test): Use END_COMPLEX macro without arguments.
7830         (clog10_test): Likewise.
7831         (conj_test): Likewise.
7832         (copysign_test): Use END macro without arguments.
7833         (cos_test): Likewise.
7834         (cos_test_tonearest): Likewise.
7835         (cos_test_towardzero): Likewise.
7836         (cos_test_downward): Likewise.
7837         (cos_test_upward): Likewise.
7838         (cosh_test): Likewise.
7839         (cosh_test_tonearest): Likewise.
7840         (cosh_test_towardzero): Likewise.
7841         (cosh_test_downward): Likewise.
7842         (cosh_test_upward): Likewise.
7843         (cpow_test): Use END_COMPLEX macro without arguments.
7844         (cproj_test): Likewise.
7845         (creal_test): Use END macro without arguments.
7846         (csin_test): Use END_COMPLEX macro without arguments.
7847         (csinh_test): Likewise.
7848         (csqrt_test): Likewise.
7849         (ctan_test): Likewise.
7850         (ctan_test_tonearest): Likewise.
7851         (ctan_test_towardzero): Likewise.
7852         (ctan_test_downward): Likewise.
7853         (ctan_test_upward): Likewise.
7854         (ctanh_test): Likewise.
7855         (ctanh_test_tonearest): Likewise.
7856         (ctanh_test_towardzero): Likewise.
7857         (ctanh_test_downward): Likewise.
7858         (ctanh_test_upward): Likewise.
7859         (erf_test): Use END macro without arguments.
7860         (erfc_test): Likewise.
7861         (exp_test): Likewise.
7862         (exp_test_tonearest): Likewise.
7863         (exp_test_towardzero): Likewise.
7864         (exp_test_downward): Likewise.
7865         (exp_test_upward): Likewise.
7866         (exp10_test): Likewise.
7867         (exp2_test): Likewise.
7868         (expm1_test): Likewise.
7869         (fabs_test): Likewise.
7870         (fdim_test): Likewise.
7871         (finite_test): Likewise.
7872         (floor_test): Likewise.
7873         (fma_test): Likewise.
7874         (fma_test_towardzero): Likewise.
7875         (fma_test_downward): Likewise.
7876         (fma_test_upward): Likewise.
7877         (fmax_test): Likewise.
7878         (fmin_test): Likewise.
7879         (fmod_test): Likewise.
7880         (fpclassify_test): Likewise.
7881         (frexp_test): Likewise.
7882         (gamma_test): Likewise.
7883         (hypot_test): Likewise.
7884         (ilogb_test): Likewise.
7885         (isfinite_test): Likewise.
7886         (isgreater_test): Likewise.
7887         (isgreaterequal_test): Likewise.
7888         (isinf_test): Likewise.
7889         (isless_test): Likewise.
7890         (islessequal_test): Likewise.
7891         (islessgreater_test): Likewise.
7892         (isnan_test): Likewise.
7893         (isnormal_test): Likewise.
7894         (issignaling_test): Likewise.
7895         (isunordered_test): Likewise.
7896         (j0_test): Likewise.
7897         (j1_test): Likewise.
7898         (jn_test): Likewise.
7899         (ldexp_test): Likewise.
7900         (lgamma_test): Likewise.
7901         (lrint_test): Likewise.
7902         (lrint_test_tonearest): Likewise.
7903         (lrint_test_towardzero): Likewise.
7904         (lrint_test_downward): Likewise.
7905         (lrint_test_upward): Likewise.
7906         (llrint_test): Likewise.
7907         (llrint_test_tonearest): Likewise.
7908         (llrint_test_towardzero): Likewise.
7909         (llrint_test_downward): Likewise.
7910         (llrint_test_upward): Likewise.
7911         (log_test): Likewise.
7912         (log10_test): Likewise.
7913         (log1p_test): Likewise.
7914         (log2_test): Likewise.
7915         (logb_test): Likewise.
7916         (logb_test_downward): Likewise.
7917         (lround_test): Likewise.
7918         (llround_test): Likewise.
7919         (modf_test): Likewise.
7920         (nearbyint_test): Likewise.
7921         (nextafter_test): Likewise.
7922         (nexttoward_test): Likewise.
7923         (pow_test): Likewise.
7924         (pow_test_tonearest): Likewise.
7925         (pow_test_towardzero): Likewise.
7926         (pow_test_downward): Likewise.
7927         (pow_test_upward): Likewise.
7928         (remainder_test): Likewise.
7929         (remainder_test_tonearest): Likewise.
7930         (remainder_test_towardzero): Likewise.
7931         (remainder_test_downward): Likewise.
7932         (remainder_test_upward): Likewise.
7933         (remquo_test): Likewise.
7934         (rint_test): Likewise.
7935         (rint_test_tonearest): Likewise.
7936         (rint_test_towardzero): Likewise.
7937         (rint_test_downward): Likewise.
7938         (rint_test_upward): Likewise.
7939         (round_test): Likewise.
7940         (scalb_test): Likewise.
7941         (scalbn_test): Likewise.
7942         (scalbln_test): Likewise.
7943         (signbit_test): Likewise.
7944         (sin_test): Likewise.
7945         (sin_test_tonearest): Likewise.
7946         (sin_test_towardzero): Likewise.
7947         (sin_test_downward): Likewise.
7948         (sin_test_upward): Likewise.
7949         (sincos_test): Likewise.
7950         (sinh_test): Likewise.
7951         (sinh_test_tonearest): Likewise.
7952         (sinh_test_towardzero): Likewise.
7953         (sinh_test_downward): Likewise.
7954         (sinh_test_upward): Likewise.
7955         (sqrt_test): Likewise.
7956         (tan_test): Likewise.
7957         (tan_test_tonearest): Likewise.
7958         (tan_test_towardzero): Likewise.
7959         (tan_test_downward): Likewise.
7960         (tan_test_upward): Likewise.
7961         (tanh_test): Likewise.
7962         (tgamma_test): Likewise.
7963         (trunc_test): Likewise.
7964         (y0_test): Likewise.
7965         (y1_test): Likewise.
7966         (yn_test): Likewise.
7967         (significand_test): Likewise.
7969 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7971         [BZ #15381]
7972         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7974 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7976         [BZ #14894]
7977         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7978         __ppc_mdoio and __ppc_mdoom.
7979         * manual/platform.texi: Document new functions __ppc_yield,
7980         __ppc_mdoio and __ppc_mdoom.
7982 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7984         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7985         (main): Mention "tls" pseudo-hwcap is legacy.
7986         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7988 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7990         * math/gen-libm-test.pl (parse_args): Output only string of
7991         arguments as text for test name, not full call or descriptions of
7992         tests for extra outputs.
7993         (generate_testfile): Do not pass function name to parse_args.
7994         Generate this_func variable from START.
7995         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7996         field to arg_str.
7997         (struct test_ff_f_data): Likewise.
7998         (test_ff_f_data_nexttoward): Likewise.
7999         (struct test_fi_f_data): Likewise.
8000         (struct test_fl_f_data): Likewise.
8001         (struct test_if_f_data): Likewise.
8002         (struct test_fff_f_data): Likewise.
8003         (struct test_c_f_data): Likewise.
8004         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8005         (struct test_fF_f1_data): Likewise.
8006         (struct test_ffI_f1_data): Likewise.
8007         (struct test_c_c_data): Rename test_name field to arg_str.
8008         (struct test_cc_c_data): Likewise.
8009         (struct test_f_i_data): Likewise.
8010         (struct test_ff_i_data): Likewise.
8011         (struct test_f_l_data): Likewise.
8012         (struct test_f_L_data): Likewise.
8013         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8014         and extra2_name.
8015         (COMMON_TEST_SETUP): New macro.
8016         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8017         (COMMON_TEST_CLEANUP): Likewise.
8018         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8019         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8020         macros.
8021         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8022         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8023         macros.
8024         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8025         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8026         cleanup macros.
8027         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8028         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8029         macros.
8030         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8031         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8032         macros.
8033         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8034         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8035         cleanup macros.
8036         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8037         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8038         cleanup macros.
8039         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8040         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8041         cleanup macros.
8042         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8043         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8044         macros.
8045         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8046         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8047         macros.
8048         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8049         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8050         macros.
8051         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8052         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8053         cleanup macros.
8054         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8055         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8056         cleanup macros.
8057         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8058         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8059         macros.
8060         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8061         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8062         cleanup macros.
8063         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8064         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8065         macros.
8066         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8067         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8068         macros.
8069         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8070         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8071         cleanup macros.
8072         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8074 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8076         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8077         to _sifields.sigfault.
8078         (si_addr_lsb): Define new macro.
8079         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8081         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8083 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8085         [BZ #15441]
8086         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8087         returns -1.
8088         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8089         null return -1.
8090         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8091         loading the domain.
8093 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8095         * math/gen-libm-test.pl (parse_args): Do not include expected
8096         result in test name.
8097         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8098         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8099         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8100         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8101         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8104 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8106         * benchtests/Makefile: Sort function entries.
8108         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8109         tanh, asinh, acosh, atanh.
8110         * benchtests/acos-inputs: New file.
8111         * benchtests/acosh-inputs: New file.
8112         * benchtests/asin-inputs: New file.
8113         * benchtests/asinh-inputs: New file.
8114         * benchtests/atanh-inputs: New file.
8115         * benchtests/cosh-inputs: New file.
8116         * benchtests/log-inputs: New file.
8117         * benchtests/sinh-inputs: New file.
8118         * benchtests/tanh-inputs: New file.
8120 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8122         [BZ #15339]
8123         * posix/tst-getaddrinfo4.c: New test.
8124         * posix/Makefile (tests): Add it.
8126 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8128         [BZ #15339]
8129         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8130         when no services were used.
8131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8132         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8134 2013-05-21  Andreas Schwab  <schwab@suse.de>
8136         [BZ #15014]
8137         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8138         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8139         successful.
8140         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8141         redundant variable declarations and reallocation of buffer when
8142         parsing as IPv6 address.  Always set NSS status when called from
8143         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8144         buffer too small.  Correct computation of needed size.
8145         * nss/Makefile (tests): Add test-digits-dots.
8146         * nss/test-digits-dots.c: New test.
8148 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8150         * benchtests/Makefile: Remove instructions for adding
8151         benchmark tests.
8152         * benchtests/README: New file to explain how to execute and
8153         enhance the benchmark tests.
8155 2013-05-21  Andreas Schwab  <schwab@suse.de>
8157         [BZ #15493]
8158         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8159         * setjmp/tst-sigsetjmp.c: New test.
8161 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8163         * sysdeps/x86_64/memset.S (memset): New implementation.
8164         (__bzero): Likewise.
8165         (__memset_tail): New function.
8167 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8169         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8170         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8171         __memcpy_sse2_unaligned ifunc selection.
8172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8173         Add memcpy-sse2-unaligned.S.
8174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8175         Add: __memcpy_sse2_unaligned.
8177 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #15490]
8180         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8181         math_force_eval before restoring floating-point envrionment.
8182         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8184         Likewise.
8185         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8186         <math_private.h>.
8187         (__nearbyintl): Use math_force_eval before restoring
8188         floating-point environment.
8189         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8191         * math/gen-libm-test.pl (special_functions): Remove.
8192         (parse_args): Don't handle TEST_extra.  Handle functions with no
8193         return value.
8194         * math/libm-test.inc (struct test_sincos_data): Replace with
8195         struct test_fFF_11_data.
8196         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8197         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8198         (sincos_test_data): Change element type to struct
8199         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8200         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8201         RUN_TEST_LOOP_sincos.
8202         * math/README.libm-test: Don't mention special handling of
8203         individual functions.
8204         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8206         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8208         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8211         * math/gen-libm-test.pl (get_variable): Remove function.
8212         (parse_args): Don't show pointer parameters to call in test
8213         names.  Use "extra output N" in test names for extra outputs
8214         rather than naming variables.
8216 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8218         [BZ #15488]
8219         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8220         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8221         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8222         double tests.
8223         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8224         disable.
8225         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8226         check_long_double.
8228         * math/gen-libm-test.pl (@tests): Remove variable.
8229         ($count): Likewise.
8230         (new_test): Remove function.
8231         (show_exceptions): New function.
8232         (special_functions): Use show_exceptions instead of new_test.
8233         (parse_args): Likewise.
8234         (generate_testfile): Pass only function name in generated call to
8235         print_max_error or print_complex_max_error.
8236         (get_ulps): Do not handle complex tests specially.
8237         (output_test): Rename to ...
8238         (get_all_ulps_for_test): ... this.  Return a string rather than
8239         printing to a file.  Require ulps to be present.
8240         (output_ulps): Generate arrays rather than #defines.
8241         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8242         (struct ulp_data): New type.
8243         (BUILD_COMPLEX_ULP): Remove macro.
8244         (compare_ulp_data): New function.
8245         (find_ulps): Likewise.
8246         (find_test_ulps): Likewise.
8247         (find_function_ulps): Likewise.
8248         (find_complex_function_ulps): Likewise.
8249         (print_max_error): Determine allowed ulps using
8250         find_function_ulps.
8251         (print_complex_max_error): Determine allowed ulps using
8252         find_complex_function_ulps.
8253         (check_float_internal): Determine max ulps using find_test_ulps.
8254         (check_float): Do not take max_ulp parameter.  Update call to
8255         check_float_internal.
8256         (check_complex): Likewise.
8257         (check_int): Do not take max_ulp parameter.
8258         (check_long): Likewise.
8259         (check_bool): Likewise.
8260         (check_longlong): Likewise.
8261         (struct test_f_f_data): Remove max_ulp field.
8262         (struct test_ff_f_data): Likewise.
8263         (struct test_ff_f_data_nexttoward): Likewise.
8264         (struct test_fi_f_data): Likewise.
8265         (struct test_fl_f_data): Likewise.
8266         (struct test_if_f_data): Likewise.
8267         (struct test_fff_f_data): Likewise.
8268         (struct test_c_f_data): Likewise.
8269         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8270         (struct test_fF_f1_data): Likewise.
8271         (struct test_ffI_f1_data): Likewise.
8272         (struct test_c_c_data): Remove max_ulp field.
8273         (struct test_cc_c_data): Likewise.
8274         (struct test_f_i_data): Likewise.
8275         (struct test_ff_i_data): Likewise.
8276         (struct test_f_l_data): Likewise.
8277         (struct test_f_L_data): Likewise.
8278         (struct test_sincos_data): Likewise.
8279         (RUN_TEST_f_f): Do not handle ulps.
8280         (RUN_TEST_LOOP_f_f): Likewise.
8281         (RUN_TEST_2_f): Likewise.
8282         (RUN_TEST_LOOP_2_f): Likewise.
8283         (RUN_TEST_fff_f): Likewise.
8284         (RUN_TEST_LOOP_fff_f): Likewise.
8285         (RUN_TEST_c_f): Likewise.
8286         (RUN_TEST_LOOP_c_f): Likewise.
8287         (RUN_TEST_f_f1): Likewise.
8288         (RUN_TEST_LOOP_f_f1): Likewise.
8289         (RUN_TEST_fF_f1): Likewise.
8290         (RUN_TEST_LOOP_fF_f1): Likewise.
8291         (RUN_TEST_fI_f1): Likewise.
8292         (RUN_TEST_LOOP_fI_f1): Likewise.
8293         (RUN_TEST_ffI_f1): Likewise.
8294         (RUN_TEST_LOOP_ffI_f1): Likewise.
8295         (RUN_TEST_c_c): Likewise.
8296         (RUN_TEST_LOOP_c_c): Likewise.
8297         (RUN_TEST_cc_c): Likewise.
8298         (RUN_TEST_LOOP_cc_c): Likewise.
8299         (RUN_TEST_f_i): Likewise.
8300         (RUN_TEST_LOOP_f_i): Likewise.
8301         (RUN_TEST_f_i_tg): Likewise.
8302         (RUN_TEST_LOOP_f_i_tg): Likewise.
8303         (RUN_TEST_ff_i_tg): Likewise.
8304         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8305         (RUN_TEST_f_b): Likewise.
8306         (RUN_TEST_LOOP_f_b): Likewise.
8307         (RUN_TEST_f_b_tg): Likewise.
8308         (RUN_TEST_LOOP_f_b_tg): Likewise.
8309         (RUN_TEST_f_l): Likewise.
8310         (RUN_TEST_LOOP_f_l): Likewise.
8311         (RUN_TEST_f_L): Likewise.
8312         (RUN_TEST_LOOP_f_L): Likewise.
8313         (RUN_TEST_sincos): Likewise.
8314         (RUN_TEST_LOOP_sincos): Likewise.
8316 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8318         [BZ #15480]
8319         [BZ #15485]
8320         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8321         main case of finite arguments, set rounding mode to FE_TONEAREST
8322         and discard exceptions.
8323         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8324         exceptions.
8325         (remainder_tonearest_test_data): New variable.
8326         (remainder_test_tonearest): New function.
8327         (remainder_towardzero_test_data): New variable.
8328         (remainder_test_towardzero): New function.
8329         (remainder_downward_test_data): New variable.
8330         (remainder_test_downward): New function.
8331         (remainder_upward_test_data): New variable.
8332         (remainder_test_upward): New function.
8333         (main): Call the new test functions.
8335         * math/libm-test.inc (struct test_f_f1_data): Remove field
8336         extra_init.
8337         (struct test_fF_f1_data): Likewise.
8338         (struct test_ffI_f1_data): Likewise.
8339         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8340         based on value of EXTRA_EXPECTED.
8341         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8342         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8343         EXTRA_VAR based on value of EXTRA_EXPECTED.
8344         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8345         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8346         EXTRA_VAR based on value of EXTRA_EXPECTED.
8347         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8348         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8349         EXTRA_VAR based on value of EXTRA_EXPECTED.
8350         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8351         * math/gen-libm-test.pl (parse_args): Don't output initializers
8352         for extra output values.
8354         * math/libm-test.inc (check_int): Expect result to be exactly
8355         equal to expected value and do not handle ulps.
8356         (check_long): Likewise.
8357         (check_longlong): Likewise.
8359         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8360         exceptions.
8361         (cimag_test_data): Likewise.
8362         (conj_test_data): Likewise.
8363         (copysign_test_data): Likewise.
8364         (cproj_test_data): Likewise.
8365         (creal_test_data): Likewise.
8366         (fabs_test_data): Likewise.
8367         (fdim_test_data): Likewise.
8368         (finite_test_data): Likewise.
8369         (floor_test_data): Likewise.
8370         (fmax_test_data): Likewise.
8371         (fmin_test_data): Likewise.
8372         (fmod_test_data): Likewise.
8373         (fpclassify_test_data): Likewise.
8374         (frexp_test_data): Likewise.
8375         (ilogb_test_data): Likewise.
8376         (isfinite_test_data): Likewise.
8377         (isgreater_test_data): Likewise.
8378         (isgreaterequal_test_data): Likewise.
8379         (isinf_test_data): Likewise.
8380         (isless_test_data): Likewise.
8381         (islessequal_test_data): Likewise.
8382         (islessgreater_test_data): Likewise.
8383         (isnan_test_data): Likewise.
8384         (isnormal_test_data): Likewise.
8385         (issignaling_test_data): Likewise.
8386         (isunordered_test_data): Likewise.
8387         (ldexp_test_data): Likewise.
8388         (lrint_test_data): Likewise.
8389         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8390         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8391         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8392         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8393         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8394         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8395         test input.
8396         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8397         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8398         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8399         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8400         that test input.
8401         (lrint_downward_test_data): Test for "inexact" exceptions.
8402         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8403         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8404         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8405         test input.
8406         (lrint_upward_test_data): Test for "inexact" exceptions.
8407         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8408         test input.
8409         (llrint_test_data): Test for "inexact" exceptions.
8410         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8411         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8412         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8413         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8414         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8415         (llrint_downward_test_data): Test for "inexact" exceptions.
8416         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8417         (llrint_upward_test_data): Test for "inexact" exceptions.
8418         (logb_test_data): Likewise.
8419         (logb_downward_test_data): Likewise.
8420         (nextafter_test_data): Likewise.
8421         (nexttoward_test_data): Likewise.
8422         (remainder_test_data): Likewise.
8423         (remquo_test_data): Likewise.
8424         (scalbn_test_data): Likewise.
8425         (scalbln_test_data): Likewise.
8426         (signbit_test_data): Likewise.
8427         (sqrt_test_data): Likewise.
8428         (significand_test_data): Likewise.
8430 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8432         [BZ #15424]
8433         * benchtests/bench-modf.c (struct args): Mark arg0 as
8434         volatile.
8435         * scripts/bench.pl: Mark members of struct args as volatile.
8437 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8439         [BZ # 15497]
8440         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8441         negative infinity on POWER6 or lower.
8442         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8444 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8446         [BZ #15442]
8447         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8448         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8449         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8450         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8451         (_FP_SETQNAN): New macro.
8452         (_FP_SETQNAN_SEMIRAW): Likewise.
8453         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8454         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8455         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8456         (FP_EXTEND): Use _FP_FRAC_SNANP.
8457         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8458         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8459         into account.
8460         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8461         New macro.
8462         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8463         Likewise.
8465 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8467         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8468         with DIVIDE_BY_ZERO_EXCEPTION.
8469         (gamma_test_data): Likewise.
8470         (lgamma_test_data): Likewise.
8471         (log_test_data): Likewise.
8472         (log10_test_data): Likewise.
8473         (log2_test_data): Likewise.
8474         (tgamma_test_data): Likewise.
8476         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8477         (acos_test_tonearest): Likewise.
8478         (acos_test_towardzero): Likewise.
8479         (acos_test_downward): Likewise.
8480         (acos_test_upward): Likewise.
8481         (acosh_test): Likewise.
8482         (asin_test): Likewise.
8483         (asin_test_tonearest): Likewise.
8484         (asin_test_towardzero): Likewise.
8485         (asin_test_downward): Likewise.
8486         (asin_test_upward): Likewise.
8487         (asinh_test): Likewise.
8488         (atan_test): Likewise.
8489         (atanh_test): Likewise.
8490         (atan2_test): Likewise.
8491         (cabs_test): Likewise.
8492         (cacos_test): Likewise.
8493         (cacosh_test): Likewise.
8494         (casin_test): Likewise.
8495         (casinh_test): Likewise.
8496         (catan_test): Likewise.
8497         (catanh_test): Likewise.
8498         (cbrt_test): Likewise.
8499         (ccos_test): Likewise.
8500         (ccosh_test): Likewise.
8501         (cexp_test): Likewise.
8502         (clog_test): Likewise.
8503         (clog10_test): Likewise.
8504         (cos_test): Likewise.
8505         (cos_test_tonearest): Likewise.
8506         (cos_test_towardzero): Likewise.
8507         (cos_test_downward): Likewise.
8508         (cos_test_upward): Likewise.
8509         (cosh_test): Likewise.
8510         (cosh_test_tonearest): Likewise.
8511         (cosh_test_towardzero): Likewise.
8512         (cosh_test_downward): Likewise.
8513         (cosh_test_upward): Likewise.
8514         (cpow_test): Likewise.
8515         (csin_test): Likewise.
8516         (csinh_test): Likewise.
8517         (csqrt_test): Likewise.
8518         (ctan_test): Likewise.
8519         (ctan_test_tonearest): Likewise.
8520         (ctan_test_towardzero): Likewise.
8521         (ctan_test_downward): Likewise.
8522         (ctan_test_upward): Likewise.
8523         (ctanh_test): Likewise.
8524         (ctanh_test_tonearest): Likewise.
8525         (ctanh_test_towardzero): Likewise.
8526         (ctanh_test_downward): Likewise.
8527         (ctanh_test_upward): Likewise.
8528         (erf_test): Likewise.
8529         (erfc_test): Likewise.
8530         (exp_test): Likewise.
8531         (exp_test_tonearest): Likewise.
8532         (exp_test_towardzero): Likewise.
8533         (exp_test_downward): Likewise.
8534         (exp_test_upward): Likewise.
8535         (exp10_test): Likewise.
8536         (exp2_test): Likewise.
8537         (expm1_test): Likewise.
8538         (fmod_test): Likewise.
8539         (gamma_test): Likewise.
8540         (hypot_test): Likewise.
8541         (j0_test): Likewise.
8542         (j1_test): Likewise.
8543         (jn_test): Likewise.
8544         (lgamma_test): Likewise.
8545         (log_test): Likewise.
8546         (log10_test): Likewise.
8547         (log1p_test): Likewise.
8548         (log2_test): Likewise.
8549         (logb_test_downward): Likewise.
8550         (pow_test): Likewise.
8551         (pow_test_tonearest): Likewise.
8552         (pow_test_towardzero): Likewise.
8553         (pow_test_downward): Likewise.
8554         (pow_test_upward): Likewise.
8555         (remainder_test): Likewise.
8556         (remquo_test): Likewise.
8557         (sin_test): Likewise.
8558         (sin_test_tonearest): Likewise.
8559         (sin_test_towardzero): Likewise.
8560         (sin_test_downward): Likewise.
8561         (sin_test_upward): Likewise.
8562         (sincos_test): Likewise.
8563         (sinh_test): Likewise.
8564         (sinh_test_tonearest): Likewise.
8565         (sinh_test_towardzero): Likewise.
8566         (sinh_test_downward): Likewise.
8567         (sinh_test_upward): Likewise.
8568         (sqrt_test): Likewise.
8569         (tan_test): Likewise.
8570         (tan_test_tonearest): Likewise.
8571         (tan_test_towardzero): Likewise.
8572         (tan_test_downward): Likewise.
8573         (tan_test_upward): Likewise.
8574         (tanh_test): Likewise.
8575         (tgamma_test): Likewise.
8576         (y0_test): Likewise.
8577         (y1_test): Likewise.
8578         (yn_test): Likewise.
8580         * math/gen-libm-test.pl (adjust_arg): Remove function.
8581         (special_function): Remove argument $in_func.  Only handle
8582         generating output for tables of tests, not inside functions.
8583         (parse_args): Likewise.
8584         (generate_testfile): Remove variable $in_func.  Update call to
8585         parse_args.
8586         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8587         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8588         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8589         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8590         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8591         (MAX_VALUE_INIT): Rename macro to max_value.
8592         (MIN_VALUE_INIT): Rename macro to min_value.
8593         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8594         (plus_zero): Remove variable.
8595         (minus_zero): Likewise.
8596         (plus_infty): Likewise.
8597         (minus_infty): Likewise.
8598         (qnan_value): Likewise.
8599         (max_value): Likewise.
8600         (min_value): Likewise.
8601         (min_subnorm_value): Likewise.
8603 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8605         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8606         uint64_t or uint32_t usage.
8607         * crypt/sha256-block.c: Likewise.
8608         * crypt/sha256-crypt.c: Likewise.
8609         * crypt/sha256.c: Likewise.
8610         * crypt/sha512-block.c: Likewise.
8611         * crypt/sha512-crypt.c: Likewise.
8612         * crypt/sha512.c: Likewise.
8613         * debug/backtrace-tst.c: Likewise.
8614         * debug/pcprofiledump.c: Likewise.
8615         * elf/cache.c: Likewise.
8616         * elf/dl-cache.c: Likewise.
8617         * elf/dl-misc.c: Likewise.
8618         * elf/dl-profile.c: Likewise.
8619         * elf/dl-support.c: Likewise.
8620         * elf/ldconfig.c: Likewise.
8621         * elf/sprof.c: Likewise.
8622         * iconv/dummy-repertoire.c: Likewise.
8623         * iconv/iconv_charmap.c: Likewise.
8624         * iconv/skeleton.c: Likewise.
8625         * iconvdata/8bit-generic.c: Likewise.
8626         * iconvdata/cp737.h: Likewise.
8627         * iconvdata/cp775.h: Likewise.
8628         * iconvdata/ibm1008.h: Likewise.
8629         * iconvdata/ibm1025.h: Likewise.
8630         * iconvdata/ibm1046.h: Likewise.
8631         * iconvdata/ibm1097.h: Likewise.
8632         * iconvdata/ibm1112.h: Likewise.
8633         * iconvdata/ibm1122.h: Likewise.
8634         * iconvdata/ibm1123.h: Likewise.
8635         * iconvdata/ibm1124.h: Likewise.
8636         * iconvdata/ibm1129.h: Likewise.
8637         * iconvdata/ibm1130.h: Likewise.
8638         * iconvdata/ibm1132.h: Likewise.
8639         * iconvdata/ibm1133.h: Likewise.
8640         * iconvdata/ibm1137.h: Likewise.
8641         * iconvdata/ibm1140.h: Likewise.
8642         * iconvdata/ibm1141.h: Likewise.
8643         * iconvdata/ibm1142.h: Likewise.
8644         * iconvdata/ibm1143.h: Likewise.
8645         * iconvdata/ibm1144.h: Likewise.
8646         * iconvdata/ibm1145.h: Likewise.
8647         * iconvdata/ibm1146.h: Likewise.
8648         * iconvdata/ibm1147.h: Likewise.
8649         * iconvdata/ibm1148.h: Likewise.
8650         * iconvdata/ibm1149.h: Likewise.
8651         * iconvdata/ibm1153.h: Likewise.
8652         * iconvdata/ibm1154.h: Likewise.
8653         * iconvdata/ibm1155.h: Likewise.
8654         * iconvdata/ibm1156.h: Likewise.
8655         * iconvdata/ibm1157.h: Likewise.
8656         * iconvdata/ibm1158.h: Likewise.
8657         * iconvdata/ibm1160.h: Likewise.
8658         * iconvdata/ibm1161.h: Likewise.
8659         * iconvdata/ibm1162.h: Likewise.
8660         * iconvdata/ibm1163.h: Likewise.
8661         * iconvdata/ibm1164.h: Likewise.
8662         * iconvdata/ibm1166.h: Likewise.
8663         * iconvdata/ibm1167.h: Likewise.
8664         * iconvdata/ibm12712.h: Likewise.
8665         * iconvdata/ibm1390.h: Likewise.
8666         * iconvdata/ibm1399.h: Likewise.
8667         * iconvdata/ibm16804.h: Likewise.
8668         * iconvdata/ibm4517.h: Likewise.
8669         * iconvdata/ibm4899.h: Likewise.
8670         * iconvdata/ibm4909.h: Likewise.
8671         * iconvdata/ibm4971.h: Likewise.
8672         * iconvdata/ibm5347.h: Likewise.
8673         * iconvdata/ibm803.h: Likewise.
8674         * iconvdata/ibm856.h: Likewise.
8675         * iconvdata/ibm901.h: Likewise.
8676         * iconvdata/ibm902.h: Likewise.
8677         * iconvdata/ibm9030.h: Likewise.
8678         * iconvdata/ibm9066.h: Likewise.
8679         * iconvdata/ibm921.h: Likewise.
8680         * iconvdata/ibm922.h: Likewise.
8681         * iconvdata/ibm9448.h: Likewise.
8682         * iconvdata/isiri-3342.h: Likewise.
8683         * iconvdata/jis0201.h: Likewise.
8684         * include/link.h: Likewise.
8685         * include/netdb.h: Likewise.
8686         * inet/check_native.c: Likewise.
8687         * inet/check_pf.c: Likewise.
8688         * inet/getipv4sourcefilter.c: Likewise.
8689         * inet/getnameinfo.c: Likewise.
8690         * inet/getsourcefilter.c: Likewise.
8691         * inet/htonl.c: Likewise.
8692         * inet/setipv4sourcefilter.c: Likewise.
8693         * inet/setsourcefilter.c: Likewise.
8694         * inet/test-inet6_opt.c: Likewise.
8695         * inet/tst-network.c: Likewise.
8696         * locale/C-collate.c: Likewise.
8697         * locale/C-ctype.c: Likewise.
8698         * locale/C-time.c: Likewise.
8699         * locale/C-translit.h: Likewise.
8700         * locale/loadarchive.c: Likewise.
8701         * locale/programs/3level.h: Likewise.
8702         * locale/programs/charmap.c: Likewise.
8703         * locale/programs/charmap.h: Likewise.
8704         * locale/programs/ld-address.c: Likewise.
8705         * locale/programs/ld-collate.c: Likewise.
8706         * locale/programs/ld-ctype.c: Likewise.
8707         * locale/programs/ld-identification.c: Likewise.
8708         * locale/programs/ld-measurement.c: Likewise.
8709         * locale/programs/ld-messages.c: Likewise.
8710         * locale/programs/ld-monetary.c: Likewise.
8711         * locale/programs/ld-name.c: Likewise.
8712         * locale/programs/ld-numeric.c: Likewise.
8713         * locale/programs/ld-paper.c: Likewise.
8714         * locale/programs/ld-telephone.c: Likewise.
8715         * locale/programs/ld-time.c: Likewise.
8716         * locale/programs/linereader.c: Likewise.
8717         * locale/programs/locale.c: Likewise.
8718         * locale/programs/locarchive.c: Likewise.
8719         * locale/programs/locfile.h: Likewise.
8720         * locale/programs/repertoire.c: Likewise.
8721         * locale/programs/simple-hash.c: Likewise.
8722         * locale/programs/simple-hash.h: Likewise.
8723         * malloc/memusage.c: Likewise.
8724         * malloc/memusagestat.c: Likewise.
8725         * nis/nis_defaults.c: Likewise.
8726         * nis/nis_hash.c: Likewise.
8727         * nis/nis_print.c: Likewise.
8728         * nis/nis_xdr.c: Likewise.
8729         * nscd/connections.c: Likewise.
8730         * nscd/hstcache.c: Likewise.
8731         * nscd/nscd_gethst_r.c: Likewise.
8732         * nscd/nscd_getserv_r.c: Likewise.
8733         * nscd/nscd_helper.c: Likewise.
8734         * nscd/servicescache.c: Likewise.
8735         * nss/makedb.c: Likewise.
8736         * nss/nss_db/db-XXX.c: Likewise.
8737         * nss/nss_db/db-initgroups.c: Likewise.
8738         * nss/nss_db/db-netgrp.c: Likewise.
8739         * nss/nss_files/files-network.c: Likewise.
8740         * nss/nss_files/files-parse.c: Likewise.
8741         * posix/bug-regex5.c: Likewise.
8742         * posix/fnmatch_loop.c: Likewise.
8743         * posix/regcomp.c: Likewise.
8744         * posix/regexec.c: Likewise.
8745         * posix/tst-rfc3484-2.c: Likewise.
8746         * posix/tst-rfc3484-3.c: Likewise.
8747         * posix/tst-rfc3484.c: Likewise.
8748         * resolv/nss_dns/dns-canon.c: Likewise.
8749         * resolv/nss_dns/dns-network.c: Likewise.
8750         * resolv/res_init.c: Likewise.
8751         * resolv/res_mkquery.c: Likewise.
8752         * resolv/tst-aton.c: Likewise.
8753         * stdlib/cxa_atexit.c: Likewise.
8754         * stdlib/cxa_finalize.c: Likewise.
8755         * stdlib/gen-fpioconst.c: Likewise.
8756         * stdlib/strtol_l.c: Likewise.
8757         * string/tst-endian.c: Likewise.
8758         * sunrpc/auth_des.c: Likewise.
8759         * sunrpc/clnt_udp.c: Likewise.
8760         * sunrpc/rtime.c: Likewise.
8761         * sunrpc/svcauth_des.c: Likewise.
8762         * sunrpc/xdr.c: Likewise.
8763         * sunrpc/xdr_intXX_t.c: Likewise.
8764         * sunrpc/xdr_rec.c: Likewise.
8765         * sysdeps/generic/ldconfig.h: Likewise.
8766         * sysdeps/generic/ldsodefs.h: Likewise.
8767         * sysdeps/generic/memusage.h: Likewise.
8768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8769         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8770         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8771         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8772         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8774         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8775         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8776         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8778         * sysdeps/posix/getaddrinfo.c: Likewise.
8779         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8780         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8781         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8782         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8783         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8784         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8785         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8786         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8787         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8788         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8789         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8790         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8791         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8792         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8793         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8794         * sysdeps/x86_64/dl-tls.h: Likewise.
8795         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8796         * time/alt_digit.c: Likewise.
8797         * time/era.c: Likewise.
8798         * wcsmbs/tst-c16c32-1.c: Likewise.
8800 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8802         * math/libm-test.inc (struct test_sincos_data): New type.
8803         (RUN_TEST_LOOP_sincos): New macro.
8804         (sincos_test_data): New variable.
8805         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8807 2013-05-16  Richard Henderson  <rth@redhat.com>
8809         * math/atest-exp2.c (LIMB64): New macro.
8810         (CONSTSZ): New macro.
8811         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8812         (hexdig): Move ...
8813         (print_mpn_fp): ... to function scope.
8814         (read_mpn_hex): Remove.
8815         (get_log2): Remove.
8816         (exp2_mpn): Use mp_log2.
8817         (main): Use mp_exp1.
8819 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8821         * math/libm-test.inc: Remove comment about not testing "inexact"
8822         exceptions.
8823         (INEXACT_EXCEPTION): New macro.
8824         (NO_INEXACT_EXCEPTION): Likewise.
8825         (INVALID_EXCEPTION_OK): Update value.
8826         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8827         (OVERFLOW_EXCEPTION_OK): Likewise.
8828         (UNDERFLOW_EXCEPTION_OK): Likewise.
8829         (IGNORE_ZERO_INF_SIGN): Likewise.
8830         (ERRNO_UNCHANGED): Likewise.
8831         (ERRNO_EDOM): Likewise.
8832         (ERRNO_ERANGE): Likewise.
8833         (test_exceptions): Handle testing "inexact" exceptions.
8834         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8835         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8836         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8837         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8838         INEXACT_EXCEPTION.
8839         (rint_towardzero_test_data): Likewise.
8840         (rint_downward_test_data): Likewise.
8841         (rint_upward_test_data): Likewise.
8843         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8844         with OVERFLOW_EXCEPTION.
8845         (exp10_test_data): Likewise.
8846         (exp2_test_data): Likewise.
8847         (expm1_test_data): Likewise.
8848         (lgamma_test_data): Likewise.
8849         (pow_test_data): Likewise.
8850         (tgamma_test_data): Likewise.
8851         (yn_test_data): Remove duplicate test of overflow.
8853         * math/libm-test.inc (struct test_cc_c_data): New type.
8854         (RUN_TEST_LOOP_cc_c): New macro.
8855         (cpow_test_data): New variable.
8856         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8858         * math/libm-test.inc (struct test_f_L_data): New type.
8859         (RUN_TEST_LOOP_f_L): New macro.
8860         (llrint_test_data): New variable.
8861         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8862         (llrint_tonearest_test_data): New variable.
8863         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8864         (llrint_towardzero_test_data): New variable.
8865         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8866         (llrint_downward_test_data): New variable.
8867         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8868         (llrint_upward_test_data): New variable.
8869         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8870         (llround_test_data): New variable.
8871         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8873 2013-05-13  Peter Collingbourne  <pcc@google.com>
8875         * math/atest-exp2.c (get_log2): Remove const attribute.
8877 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8879         * math/libm-test.inc (struct test_f_l_data): New type.
8880         (RUN_TEST_LOOP_f_l): New macro.
8881         (lrint_test_data): New variable.
8882         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8883         (lrint_tonearest_test_data): New variable.
8884         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8885         (lrint_towardzero_test_data): New variable.
8886         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8887         (lrint_downward_test_data): New variable.
8888         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8889         (lrint_upward_test_data): New variable.
8890         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8891         (lround_test_data): New variable.
8892         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8894 2013-05-15  Peter Collingbourne  <pcc@google.com>
8896         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8897         (EXTRACT_WORDS64) Use where appropriate.
8898         (INSERT_WORDS64) Likewise.
8900         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8901         constraints with x constraints.
8902         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8904         * malloc/obstack.c (_obstack_compat): Add initializer.
8906 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8908         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8909         si_trapno and add si_addr_lsb to _sifields.sigfault.
8910         (si_trapno): Remove macro.
8911         (si_addr_lsb): Define new macro.
8912         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8914 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8916         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8917         instead of TEST_f_l.
8918         (llrint_test_tonearest): Likewise.
8919         (llrint_test_towardzero): Likewise.
8920         (llrint_test_downward): Likewise.
8921         (llrint_test_upward): Likewise.
8922         (llround_test): Likewise.
8924         * math/libm-test.inc (struct test_f_i_data): Add comment.
8925         (RUN_TEST_LOOP_f_b): New macro.
8926         (RUN_TEST_LOOP_f_b_tg): Likewise.
8927         (finite_test_data): New variable.
8928         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8929         (isfinite_test_data): New variable.
8930         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8931         (isinf_test_data): New variable.
8932         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8933         (isnan_test_data): New variable.
8934         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8935         (isnormal_test_data): New variable.
8936         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8937         (issignaling_test_data): New variable.
8938         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8939         (signbit_test_data): New variable.
8940         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8942         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8943         with INVALID_EXCEPTION.
8944         (acosh_test_data): Likewise.
8945         (asin_test_data): Likewise.
8946         (atanh_test_data): Likewise.
8947         (fmod_test_data): Likewise.
8948         (log_test_data): Likewise.
8949         (log10_test_data): Likewise.
8950         (log2_test_data): Likewise.
8951         (pow_test_data): Likewise.
8952         (sqrt_test_data): Likewise.
8953         (y0_test_data): Likewise.
8954         (y1_test_data): Likewise.
8955         (yn_test_data): Likewise.
8957         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8958         function contents.
8960         * math/libm-test.inc (struct test_ff_i_data): New type.
8961         (RUN_TEST_LOOP_ff_i_tg): New macro.
8962         (isgreater_test_data): New variable.
8963         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8964         (isgreaterequal_test_data): New variable.
8965         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8966         (isless_test_data): New variable.
8967         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8968         (islessequal_test_data): New variable.
8969         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8970         (islessgreater_test_data): New variable.
8971         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8972         (isunordered_test_data): New variable.
8973         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8975 2013-05-14  David S. Miller  <davem@davemloft.net>
8977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8979 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8981         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8983         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8984         extra_test to int.
8985         (struct test_f_i_data): Change type of max_ulp to int.
8987         * math/libm-test.inc (test_ffI_f1_data): New type.
8988         (RUN_TEST_LOOP_ffI_f1): New macro.
8989         (remquo_test_data): New variable.
8990         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8992         * setjmp/tst-setjmp-fp.c: New file.
8993         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8994         (link-libm): New variable.
8995         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8997         * math/libm-test.inc (struct test_f_i_data): New type.
8998         (RUN_TEST_LOOP_f_i): New macro.
8999         (RUN_TEST_LOOP_f_i_tg): Likewise.
9000         (fpclassify_test_data): New variable.
9001         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9002         (ilogb_test_data): New variable.
9003         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9005         * math/libm-test.inc (scalbln_test): Correct function name in END
9006         call.
9008         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9009         (RUN_TEST_LOOP_fI_f1): New macro.
9010         (frexp_test_data): New variable.
9011         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9013         * math/libm-test.inc (struct test_fF_f1_data): New type.
9014         (RUN_TEST_LOOP_fF_f1): New macro.
9015         (modf_test_data): New variable.
9016         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9018         * math/libm-test.inc (struct test_f_f1_data): New type.
9019         (RUN_TEST_LOOP_f_f1): New macro.
9020         (gamma_test_data): New variable.
9021         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9022         (lgamma_test_data): New variable.
9023         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9025 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9027         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9028         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9029         (main): Comment "tls" pseudo-hwcap.
9031 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9033         * math/libm-test.inc (struct test_fl_f_data): New type.
9034         (RUN_TEST_LOOP_fl_f): New variable.
9035         (scalbln_test_data): New variable.
9036         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9038         * math/libm-test.inc (struct test_fi_f_data): New type.
9039         (RUN_TEST_LOOP_fi_f): New macro.
9040         (ldexp_test_data): New variable.
9041         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9042         (scalbn_test_data): New variable.
9043         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9045         * math/libm-test.inc (struct test_c_f_data): New type.
9046         (RUN_TEST_LOOP_c_f): New macro.
9047         (cabs_test_data): New variable.
9048         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9049         (carg_test_data): New variable.
9050         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9051         (cimag_test_data): New variable.
9052         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9053         (creal_test_data): New variable.
9054         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9056         * math/libm-test.inc (struct test_if_f_data): New type.
9057         (RUN_TEST_LOOP_if_f): New macro.
9058         (jn_test_data): New variable.
9059         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9060         (yn_test_data): New variable.
9061         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9063         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9065 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9067         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9068         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9070 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9072         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9073         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9074         (bench-deps): Add bench-timing.h.
9075         * benchtests-bench-skeleton.c: Include bench-timing.h.
9076         (main): Use TIMING_* macros instead of clock_gettime.
9077         * benchtests/bench-timing.h: New file.
9079         [BZ #14582]
9080         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9081         Renamed from _LIB_VERSION.
9082         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9084 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9086         * math/libm-test.inc (struct test_fff_f_data): New type.
9087         (RUN_TEST_LOOP_fff_f): New macro.
9088         (fma_test_data): New variable.
9089         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9090         (fma_towardzero_test_data): New variable.
9091         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9092         (fma_downward_test_data): New variable.
9093         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9094         (fma_upward_test_data): New variable.
9095         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9097         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9098         (struct test_c_c_data): New type.
9099         (RUN_TEST_LOOP_c_c): New macro.
9100         (cacos_test_data): New variable.
9101         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9102         (cacosh_test_data): New variable.
9103         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9104         (casin_test_data): New variable.
9105         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9106         (casinh_test_data): New variable.
9107         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9108         (catan_test_data): New variable.
9109         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9110         (catanh_test_data): New variable.
9111         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9112         (ccos_test_data): New variable.
9113         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9114         (ccosh_test_data): New variable.
9115         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9116         (cexp_test_data): New variable.
9117         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9118         (clog_test_data): New variable.
9119         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9120         (clog10_test_data): New variable.
9121         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9122         (conj_test_data): New variable.
9123         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9124         (cproj_test_data): New variable.
9125         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9126         (csin_test_data): New variable.
9127         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9128         (csinh_test_data): New variable.
9129         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9130         (csqrt_test_data): New variable.
9131         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9132         (ctan_test_data): New variable.
9133         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9134         (ctan_tonearest_test_data): New variable.
9135         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9136         (ctan_towardzero_test_data): New variable.
9137         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9138         (ctan_downward_test_data): New variable.
9139         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9140         (ctan_upward_test_data): New variable.
9141         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9142         (ctanh_test_data): New variable.
9143         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9144         (ctanh_tonearest_test_data): New variable.
9145         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9146         (ctanh_towardzero_test_data): New variable.
9147         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9148         (ctanh_downward_test_data): New variable.
9149         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9150         (ctanh_upward_test_data): New variable.
9151         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9152         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9153         of BUILD_COMPLEX.
9155         * math/libm-test.inc (struct test_ff_f_data): New type.
9156         (struct test_ff_f_data_nexttoward): Likewise.
9157         (RUN_TEST_LOOP_2_f): New macro.
9158         (RUN_TEST_LOOP_ff_f): Likewise.
9159         (atan2_test_data): New variable.
9160         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9161         (copysign_test_data): New variable.
9162         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9163         (fdim_test_data): New variable.
9164         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9165         (fmax_test_data): New variable.
9166         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9167         (fmin_test_data): New variable.
9168         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9169         (fmod_test_data): New variable.
9170         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9171         (hypot_test_data): New variable.
9172         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9173         (nextafter_test_data): New variable.
9174         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9175         (nexttoward_test_data): New variable.
9176         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9177         (pow_test_data): New variable.
9178         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9179         (pow_tonearest_test_data): New variable.
9180         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9181         (pow_towardzero_test_data): New variable.
9182         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9183         (pow_downward_test_data): New variable.
9184         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9185         (pow_upward_test_data): New variable.
9186         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9187         (remainder_test_data): New variable.
9188         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9189         (scalb_test_data): New variable.
9190         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9191         * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9195         * math/libm-test.inc (fma_test): Use max_value instead of local
9196         variable fltmax.
9197         (nextafter_test): Likewise.
9199         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9200         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9201         (acos_downward_test_data): New variable.
9202         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9203         (acos_upward_test_data): New variable.
9204         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9205         (acosh_test_data): New variable.
9206         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9207         (asin_test_data): New variable.
9208         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9209         (asin_tonearest_test_data): New variable.
9210         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9211         (asin_towardzero_test_data): New variable.
9212         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9213         (asin_downward_test_data): New variable.
9214         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9215         (asin_upward_test_data): New variable.
9216         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9217         (asinh_test_data): New variable.
9218         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9219         (atan_test_data): New variable.
9220         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9221         (atanh_test_data): New variable.
9222         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9223         (cbrt_test_data): New variable.
9224         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9225         (ceil_test_data): New variable.
9226         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9227         (cos_test_data): New variable.
9228         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9229         (cos_tonearest_test_data): New variable.
9230         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9231         (cos_towardzero_test_data): New variable.
9232         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9233         (cos_downward_test_data): New variable.
9234         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9235         (cos_upward_test_data): New variable.
9236         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9237         (cosh_test_data): New variable.
9238         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9239         (cosh_tonearest_test_data): New variable.
9240         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9241         (cosh_towardzero_test_data): New variable.
9242         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9243         (cosh_downward_test_data): New variable.
9244         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9245         (cosh_upward_test_data): New variable.
9246         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9247         (erf_test_data): New variable.
9248         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9249         (erfc_test_data): New variable.
9250         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9251         (exp_test_data): New variable.
9252         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9253         (exp_tonearest_test_data): New variable.
9254         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9255         (exp_towardzero_test_data): New variable.
9256         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9257         (exp_downward_test_data): New variable.
9258         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9259         (exp_upward_test_data): New variable.
9260         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9261         (exp10_test_data): New variable.
9262         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9263         (exp2_test_data): New variable.
9264         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9265         (expm1_test_data): New variable.
9266         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9267         (fabs_test_data): New variable.
9268         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9269         (floor_test_data): New variable.
9270         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9271         (j0_test_data): New variable.
9272         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9273         (j1_test_data): New variable.
9274         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9275         (log_test_data): New variable.
9276         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9277         (log10_test_data): New variable.
9278         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9279         (log1p_test_data): New variable.
9280         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9281         (log2_test_data): New variable.
9282         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9283         (logb_test_data): New variable.
9284         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9285         (logb_downward_test_data): New variable.
9286         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9287         (nearbyint_test_data): New variable.
9288         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9289         (rint_test_data): New variable.
9290         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9291         (rint_tonearest_test_data): New variable.
9292         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9293         (rint_towardzero_test_data): New variable.
9294         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9295         (rint_downward_test_data): New variable.
9296         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9297         (rint_upward_test_data): New variable.
9298         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9299         (round_test_data): New variable.
9300         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9301         (sin_test_data): New variable.
9302         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9303         (sin_tonearest_test_data): New variable.
9304         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9305         (sin_towardzero_test_data): New variable.
9306         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9307         (sin_downward_test_data): New variable.
9308         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9309         (sin_upward_test_data): New variable.
9310         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9311         (sinh_test_data): New variable.
9312         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9313         (sinh_tonearest_test_data): New variable.
9314         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9315         (sinh_towardzero_test_data): New variable.
9316         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9317         (sinh_downward_test_data): New variable.
9318         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9319         (sinh_upward_test_data): New variable.
9320         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9321         (sqrt_test_data): New variable.
9322         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9323         (tan_test_data): New variable.
9324         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9325         (tan_tonearest_test_data): New variable.
9326         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9327         (tan_towardzero_test_data): New variable.
9328         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9329         (tan_downward_test_data): New variable.
9330         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9331         (tan_upward_test_data): New variable.
9332         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9333         (tanh_test_data): New variable.
9334         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9335         (tgamma_test_data): New variable.
9336         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9337         (trunc_test_data): New variable.
9338         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9339         (y0_test_data): New variable.
9340         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9341         (y1_test_data): New variable.
9342         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9343         (significand_test_data): New variable.
9344         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9346 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9348         [BZ #12387]
9349         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9351 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9353         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9355 2013-05-10  Andreas Jaeger  <aj@suse.de>
9357         [BZ #15448]
9358         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9359         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9361 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9363         * math/gen-libm-test.pl (adjust_arg): New function.
9364         (special_functions): Handle generating output in both functions
9365         and arrays.
9366         (parse_args): Likewise.
9367         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9368         $in_func argument to parse_args.
9369         * math/libm-test.inc (struct test_f_f_data): New type.
9370         (IF_ROUND_INIT_): New macro.
9371         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9372         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9373         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9374         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9375         (ROUND_RESTORE_): Likewise.
9376         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9377         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9378         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9379         (ROUND_RESTORE_FE_UPWARD): Likewise.
9380         (RUN_TEST_LOOP_f_f): New macro.
9381         (acos_test_data): New variable.
9382         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9383         (acos_tonearest_test_data): New variable.
9384         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9386 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9388         * benchtests/bench-skeleton.c (startup): Fix coding style.
9390 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9392         [BZ #6809]
9393         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9394         negative infinity argument.
9395         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9396         negative infinity argument.
9397         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9398         negative infinity argument.
9399         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9400         domain errors.
9402 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9404         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9405         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9406         * iconv/iconv_prog.c (main): Likewise.
9407         * locale/programs/charmap-dir.c (charmap_readdir)
9408         (fopen_uncompressed): Likewise.
9409         * locale/programs/locfile.c (siblings_uncached)
9410         (write_locale_data): Use lstat64 instead of lstat.
9411         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9412         stat.
9414 2013-05-10  Andreas Jaeger  <aj@suse.de>
9416         [BZ #15395]
9417         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9418         localization.
9419         Include <locale.h>.
9421 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9423         * elf/dl-close.c (_dl_close_worker): Add comments.
9425 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9427         [BZ #15359]
9428         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9429         high part of pi/2.
9430         (__ieee754_rem_pio2l): Update comments.
9432         [BZ #15429]
9433         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9434         high part of pi/2.
9435         (__ieee754_rem_pio2l): Update comments.
9437         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9438         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9440         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9441         M_PI_4l.
9443         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9444         (M_PI_34_LOG10El): Likewise.
9445         (M_PI2_LOG10El): Likewise.
9446         (M_PI4_LOG10El): Likewise.
9447         (M_PI_LOG10El): Likewise.
9449 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9453 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9455         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9456         (MINUS_ZERO_INIT): Likewise.
9457         (PLUS_INFTY_INIT): Likewise.
9458         (MINUS_INFTY_INIT): Likewise.
9459         (QNAN_VALUE_INIT): Likewise.
9460         (MAX_VALUE_INIT): Likewise.
9461         (MIN_VALUE_INIT): Likewise.
9462         (MIN_SUBNORM_VALUE_INIT): Likewise.
9463         (plus_zero): Initialize with PLUS_ZERO_INIT.
9464         (minus_zero): Initialize with MINUS_ZERO_INIT.
9465         (plus_infty): Initialize with PLUS_INFTY_INIT.
9466         (minus_infty): Initialize with MINUS_INFTY_INIT.
9467         (qnan_value): Initialize with QNAN_VALUE_INIT.
9468         (max_value): Initialize with MAX_VALUE_INIT.
9469         (min_value): Initialize with MIN_VALUE_INIT.
9470         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9472         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9473         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9474         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9475         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9477         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9478         (RUN_TEST_2_f): Likewise.
9479         (RUN_TEST_ff_f): Likewise.
9480         (RUN_TEST_fi_f): Likewise.
9481         (RUN_TEST_fl_f): Likewise.
9482         (RUN_TEST_fff_f): Likewise.
9483         (RUN_TEST_c_f): Likewise.
9484         (RUN_TEST_f_f1): Likewise.
9485         (RUN_TEST_fF_f1): Likewise.
9486         (RUN_TEST_fI_f1): Likewise.
9487         (RUN_TEST_ffI_f1): Likewise.
9488         (RUN_TEST_c_c): Likewise.
9489         (RUN_TEST_cc_c): Likewise.
9490         (RUN_TEST_f_i): Likewise.
9491         (RUN_TEST_f_i_tg): Likewise.
9492         (RUN_TEST_ff_i_tg): Likewise.
9493         (RUN_TEST_f_b): Likewise.
9494         (RUN_TEST_f_b_tg): Likewise.
9495         (RUN_TEST_f_l): Likewise.
9496         (RUN_TEST_f_L): Likewise.
9497         (RUN_TEST_sincos): Likewise.
9498         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9499         whether to show exceptions.  Do not include ");\n" in return
9500         value.
9501         (special_functions): Output call to RUN_TEST_sincos instead of
9502         check_float calls.  Update calls to new_test.
9503         (parse_args): Output call to single RUN_TEST_* macro instead of
9504         check_* calls and other assignments.  Update calls to new_test.
9506         [BZ #2546]
9507         [BZ #2560]
9508         [BZ #5159]
9509         [BZ #15426]
9510         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9511         input to result for tgamma overflow.
9512         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9513         (gamma_coeff): New variable.
9514         (NCOEFF): New macro.
9515         (gamma_positive): New function.
9516         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9517         underflow here.  Use gamma_positive instead of exp (lgamma) for
9518         other arguments.
9519         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9520         (gamma_coeff): New variable.
9521         (NCOEFF): New macro.
9522         (gammaf_positive): New function.
9523         (__ieee754_gammaf_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-128/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, NaN, overflow and
9531         underflow here.  Use gamma_positive instead of exp (lgamma) for
9532         other arguments.
9533         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9534         (gamma_coeff): New variable.
9535         (NCOEFF): New macro.
9536         (gammal_positive): New function.
9537         (__ieee754_gammal_r): Handle positive infinity, overflow and
9538         underflow here.  Handle NaN the same as positive infinity.  Remove
9539         check x < 0xffffffff for negative integers.  Use gamma_positive
9540         instead of exp (lgamma) for other arguments.
9541         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9542         (gamma_coeff): New variable.
9543         (NCOEFF): New macro.
9544         (gammal_positive): New function.
9545         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9546         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9547         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9548         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9549         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9550         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9551         * sysdeps/generic/math_private.h (__gamma_productf): New
9552         prototype.
9553         (__gamma_product): Likewise.
9554         (__gamma_productl): Likewise.
9555         * math/Makefile (libm-calls): Add gamma_product.
9556         * math/libm-test.inc (tgamma_test): Add more tests.
9557         * sysdeps/i386/fpu/libm-test-ulps: Update.
9558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9560 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9562         * benchtests/bench-skeleton.c (main): Preheat CPU.
9564 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9566         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9568 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9570         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9571         and _dl_skip_args_internal.
9573 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9575         * manual/message.texi (Message Translation): Talk about users.
9576         Message to key mapping impacts design.
9578 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9580         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9582         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9584         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9585         * sysdeps/wordsize-64/glob64.c: ... here.
9587         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9588         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9589         New macros.
9591         * debug/getlogin_r_chk.c: Moved to ...
9592         * login/getlogin_r_chk.c: ... here.
9593         * debug/Makefile (routines): Move getlogin_r_chk to ...
9594         * login/Makefile (routines): ... here.
9595         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9596         * login/Versions (libc: GLIBC_2.4): ... here.
9598         * io/poll.c (__poll): Renamed from poll.
9599         Add libc_hidden_def.
9600         (poll): Define as weak alias.
9602         * debug/ptsname_r_chk.c: Moved to ...
9603         * login/ptsname_r_chk.c: ... here.
9604         * debug/Makefile (routines): Move ptsname_r_chk to ...
9605         * login/Makefile (routines): ... here.
9606         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9607         * login/Versions (libc: GLIBC_2.4): ... here.
9609         * posix/getlogin.c: Moved to ...
9610         * login/getlogin.c: ... here.
9611         * posix/getlogin_r.c: Moved to ...
9612         * login/getlogin_r.c: ... here.
9613         * posix/getlogin_r.c: Moved to ...
9614         * login/getlogin_r.c: ... here.
9615         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9616         * login/Makefile (routines): ... here.
9617         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9618         * login/Versions (libc: GLIBC_2.0): ... here.
9620         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9621         (setrlimit): Define as weak alias.
9623         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9624         Call __ names for open, ftruncate, and close.
9625         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9626         (truncate): Define as weak alias.
9628 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9630         * math/gen-libm-test.pl (parse_args): Initialize x before each
9631         test of frexp, modf and remquo.
9633         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9634         test signgam value.
9636 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9638         [BZ #15418]
9639         [BZ #15419]
9640         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9641         internal tests.
9642         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9644 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9646         * elf/dl-writev.h: New file.
9647         * elf/dl-misc.c: Include it.
9648         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9649         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9651 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9653         * math/libm-test.inc (noXFails): Remove variable.
9654         (noXPasses): Likewise.
9655         (BUILD_COMPLEX_INT): Remove macro.
9656         (print_screen): Remove xfail argument.
9657         (print_screen_max_error): Likewise.
9658         (update_stats): Likewise.
9659         (print_max_error): Likewise.  Update calls to other affected
9660         functions.
9661         (print_complex_max_error): Likewise.
9662         (test_single_exception): Update calls to print_screen.
9663         (test_single_errno): Likewise.
9664         (check_float_internal): Remove xfail argument.  Update calls to
9665         other affected functions.
9666         (check_float): Likewise.
9667         (check_complex): Likewise.
9668         (check_int): Likewise.
9669         (check_long): Likewise.
9670         (check_bool): Likewise.
9671         (check_longlong): Likewise.
9672         (main): Don't print noXFails and noXPasses.
9673         * math/gen-libm-test.pl (top level): Don't mention expected
9674         failure handling in comment.
9675         (new_test): Don't handle expected failures.
9676         (parse_args): Don't mention expected failure handling in comment.
9677         (generate_testfile): Don't handle expected failures.
9678         (parse_ulps): Likewise.
9679         (print_ulps_file): Likewise.
9680         (get_failure): Remove function.
9681         (output_test): Don't handle expected failures.
9682         * make/README.libm-test: Don't mention expected failure handling.
9684         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9685         (minus_zero): Likewise.
9686         (plus_infty): Likewise.
9687         (minus_infty): Likewise.
9688         (qnan_value): Likewise.
9689         (max_value): Likewise.
9690         (min_value): Likewise.
9691         (min_subnorm_value): Likewise.
9692         (initialize): Do not initialize those variables dynamically.
9694 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9696         * io/open.c (__open_2): Moved to ...
9697         * io/open_2.c: ... this new file.
9698         * io/open64.c (__open64_2): Moved to ...
9699         * io/open64_2.c: ... this new file.
9700         * io/openat.c (__openat_2): Moved to ...
9701         * io/openat_2.c: ... this new file.
9702         * io/openat64.c (__openat64_2): Moved to ...
9703         * io/openat64_2.c: ... this new file.
9704         * io/Makefile (routines): Add them.
9705         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9706         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9707         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9708         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9709         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9710         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9711         (__openat64): Add hidden_ver.
9712         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9713         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9715         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9716         Separately conditionalize setting of GLRO(dl_sysinfo) so
9717         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9718         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9720 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9722         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9723         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9724         definition.
9725         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9726         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9727         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9728         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9729         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9731 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9733         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9734         test signgam value.
9736         * math/libm-test.inc (hypot_test): Do not use
9737         IGNORE_ZERO_INF_SIGN.
9739 2013-05-03  Andreas Jaeger  <aj@suse.de>
9741         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9742         Linux 3.9.
9743         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9744         (PF_MAX): Adjust for VSOCK change.
9746 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9750 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9752         [BZ #15264]
9753         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9754         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9755         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9757 2013-05-02  David S. Miller  <davem@davemloft.net>
9759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9761 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9763         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9765 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9767         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9769 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9771         [BZ #14952]
9772         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9773         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9774         Use __attribute__ ((__gnu_inline__)).
9775         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9776         Don't use __attribute__ ((__gnu_inline__)).
9778 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9780         [BZ #15423]
9781         * math/s_catan.c (__catan): Handle small real or imaginary part of
9782         input specially to avoid spurious underflow.
9783         * math/s_catanf.c (__catanf): Likewise.
9784         * math/s_catanh.c (__catanh): Likewise.
9785         * math/s_catanhf.c (__catanhf): Likewise.
9786         * math/s_catanhl.c (__catanhl): Likewise.
9787         * math/s_catanl.c (__catanl): Likewise.
9788         * math/libm-test.inc (catan_test): Add more tests.
9789         (catanh_test): Likewise.
9790         * sysdeps/i386/fpu/libm-test-ulps: Update.
9791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9793 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9797 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9799         [BZ #15416]
9800         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9801         accurately for denominator in atan2.
9802         * math/s_catanf.c (__catanf): Likewise.
9803         * math/s_catanh.c (__catanh): Likewise.
9804         * math/s_catanhf.c (__catanhf): Likewise.
9805         * math/s_catanhl.c (__catanhl): Likewise.
9806         * math/s_catanl.c (__catanl): Likewise.
9807         * math/libm-test.inc (catan_test): Add more tests.
9808         (catanh_test): Likewise.
9809         * sysdeps/i386/fpu/libm-test-ulps: Update.
9810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9812 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9814         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9816         * benchtests/Makefile (bench): Remove slow benchmarks.
9817         * benchtests/atan-inputs: Add slow benchmark inputs.
9818         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9819         (BENCH_FUNC): Accept variant offset.
9820         (VARIANT): Define.
9821         * benchtests/bench-skeleton.c (main): Run benchmark for each
9822         variant.
9823         * benchtests/cos-inputs: Add slow benchmark inputs.
9824         * benchtests/exp-inputs: Likewise.
9825         * benchtests/pow-inputs: Likewise.
9826         * benchtests/sin-inputs: Likewise.
9827         * benchtests/slowatan-inputs: Remove.
9828         * benchtests/slowatan.c: Remove.
9829         * benchtests/slowcos-inputs: Remove.
9830         * benchtests/slowcos.c: Remove.
9831         * benchtests/slowexp-inputs: Remove.
9832         * benchtests/slowexp.c: Remove.
9833         * benchtests/slowpow-inputs: Remove.
9834         * benchtests/slowpow.c: Remove.
9835         * benchtests/slowsin-inputs: Remove.
9836         * benchtests/slowsin.c: Remove.
9837         * benchtests/slowtan-inputs: Remove.
9838         * benchtests/slowtan.c: Remove.
9839         * benchtests/tan-inputs: Add slow benchmark inputs.
9840         * scripts/bench.pl: Parse comments and directives.
9842         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9843         in CPPFLAGS.
9844         ($(objpfx)bench-%.c): Remove *-ITER.
9845         * benchtests/bench-modf.c: Remove definition of ITER.
9846         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9847         (main): Loop for DURATION seconds instead of fixed number of
9848         iterations.
9849         * scripts/bench.pl: Don't expect iterations in parameters.
9851 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9853         * io/fchdir.c (__fchdir): Renamed from fchdir.
9854         (fchdir): Define as weak alias.
9856 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9858         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9859         (ERRNO_EDOM): Likewise.
9860         (ERRNO_ERANGE): Likewise.
9861         (noErrnoTests): New variable.
9862         (init_max_error): Set errno to 0.
9863         (test_single_errno): New function.
9864         (test_errno): Likewise.
9865         (check_float_internal): Call test_errno.  Set errno to 0.
9866         (check_complex): Refer to errno tests in comment.
9867         (check_int): Call test_errno.  Set errno to 0.
9868         (check_long): Likewise.
9869         (check_bool): Likewise.
9870         (check_longlong): Likewise.
9871         (cos_test): Use ERRNO_* flags for errno tests instead of
9872         check_int.
9873         (expm1_test): Likewise.
9874         (fmod_test): Likewise.
9875         (ilogb_test): Likewise.
9876         (lgamma_test): Likewise.
9877         (pow_test): Likewise.
9878         (remainder_test): Likewise.
9879         (sin_test): Likewise.
9880         (tan_test): Likewise.
9881         (yn_test): Likewise.
9882         (initialize): Set errno to 0.
9883         (main): Print number of errno tests.
9884         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9886 2013-04-29  Andreas Jaeger  <aj@suse.de>
9888         [BZ #15084]
9889         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9890         and RES_USEVC.
9892         [BZ #15085]
9893         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9894         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9895         unimplemented.
9897         [BZ #15380]
9898         * stdlib/random.c (__initstate): Return NULL if
9899         __initstate fails.
9901         [BZ #15086]
9902         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9903         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9904         RES_SNGLKUPREOP.
9906 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9910 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9912         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9913         of individual tests.
9914         (casin_test): Likewise.
9915         (casinh_test): Likewise.
9917 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #15409]
9920         * math/s_catan.c (__catan): Handle arguments with large real or
9921         imaginary part separately without squaring.
9922         * math/s_catanf.c (__catanf): Likewise.
9923         * math/s_catanh.c (__catanh): Likewise.
9924         * math/s_catanhf.c (__catanhf): Likewise.
9925         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9926         and redefine.
9927         (__catanhl): Handle arguments with large real or imaginary part
9928         separately without squaring.
9929         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9930         and redefine.
9931         (__catanl): Handle arguments with large real or imaginary part
9932         separately without squaring.
9933         * math/libm-test.inc (catan_test): Add more tests.
9934         (catanh_test): Likewise.
9935         * sysdeps/i386/fpu/libm-test-ulps: Update.
9936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9938 2013-04-27  Andreas Jaeger  <aj@suse.de>
9940         [BZ #15007]
9941         * stdlib/stdlib.h: Update guards for qecvt.
9942         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9943         <stdlib.h>.
9945 2013-04-27  Allan McRae  <allan@archlinux.org>
9947         * sysdeps/i386/fpu/libm-test-ulps: Update.
9949 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9951         [BZ #15406]
9952         * math/s_catan.c: Include <float.h>.
9953         (__catan): Ensure underflow exception occurs for underflowed
9954         result.
9955         * math/s_catanf.c: Include <float.h>.
9956         (__catanf): Ensure underflow exception occurs for underflowed
9957         result.
9958         * math/s_catanh.c: Include <float.h>.
9959         (__catanh): Ensure underflow exception occurs for underflowed
9960         result.
9961         * math/s_catanhf.c: Include <float.h>.
9962         (__catanhf): Ensure underflow exception occurs for underflowed
9963         result.
9964         * math/s_catanhl.c: Include <float.h>.
9965         (__catanhl): Ensure underflow exception occurs for underflowed
9966         result.
9967         * math/s_catanl.c: Include <float.h>.
9968         (__catanl): Ensure underflow exception occurs for underflowed
9969         result.
9970         * math/libm-test.inc (catan_test): Add more tests.
9971         (catanh_test): Likewise.
9973         [BZ #15405]
9974         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9975         underflowed result.
9976         * math/s_ccoshf.c (__ccoshf): Likewise.
9977         * math/s_ccoshl.c (__ccoshl): Likewise.
9978         * math/s_csin.c (__csin): Likewise.
9979         * math/s_csinf.c (__csinf): Likewise.
9980         * math/s_csinh.c (__csinh): Likewise.
9981         * math/s_csinhf.c (__csinhf): Likewise.
9982         * math/s_csinhl.c (__csinhl): Likewise.
9983         * math/s_csinl.c (__csinl): Likewise.
9984         * math/libm-test.inc (ccos_test): Add more tests.
9985         (ccosh_test): Likewise.
9986         (csin_test): Likewise.
9987         (csinh_test): Likewise.
9989 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9991         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9992         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9993         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9994         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9995         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9996         powerpc/power5+/fpu folders.
9997         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10000 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10004 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10006         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10007         additions to variable.
10008         [$(config-machine) = x86_64] (modules-names): Likewise.
10009         ($(objpfx)tst-audit3): Remove dependency.
10010         ($(objpfx)tst-audit3.out): Likewise.
10011         ($(objpfx)tst-audit4): Likewise.
10012         ($(objpfx)tst-audit4.out): Likewise.
10013         ($(objpfx)tst-audit5): Likewise.
10014         ($(objpfx)tst-audit5.out): Likewise.
10015         ($(objpfx)tst-audit6): Likewise.
10016         ($(objpfx)tst-audit6.out): Likewise.
10017         ($(objpfx)tst-audit7): Likewise.
10018         ($(objpfx)tst-audit7.out): Likewise.
10019         (tst-audit3-ENV): Remove variable.
10020         (tst-audit4-ENV): Likewise.
10021         (tst-audit5-ENV): Likewise.
10022         (tst-audit6-ENV): Likewise.
10023         (tst-audit7-ENV): Likewise.
10024         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10025         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10026         addition to variable.
10027         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10028         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10029         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10032         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10033         tst-audit3, tst-audit4 and tst-audit5.
10034         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10035         tst-audit6 and tst-audit7.
10036         [$(subdir) = elf] (modules-names): Add audit modules for those
10037         tests.
10038         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10039         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10040         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10041         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10042         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10043         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10044         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10045         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10046         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10047         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10048         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10049         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10050         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10051         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10052         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10053         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10054         Likewise.
10055         [$(subdir) = elf && $(config-cflags-avx) = yes]
10056         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10057         [$(subdir) = elf && $(config-cflags-avx) = yes]
10058         (CFLAGS-tst-auditmod4a.c): Likewise.
10059         [$(subdir) = elf && $(config-cflags-avx) = yes]
10060         (CFLAGS-tst-auditmod4b.c): Likewise.
10061         [$(subdir) = elf && $(config-cflags-avx) = yes]
10062         (CFLAGS-tst-auditmod6b.c): Likewise.
10063         [$(subdir) = elf && $(config-cflags-avx) = yes]
10064         (CFLAGS-tst-auditmod6c.c): Likewise.
10065         [$(subdir) = elf && $(config-cflags-avx) = yes]
10066         (CFLAGS-tst-auditmod7b.c): Likewise.
10067         * elf/tst-audit3.c: Move to ...
10068         * sysdeps/x86_64/tst-audit3.c: ... here.
10069         * elf/tst-audit4.c: Move to ...
10070         * sysdeps/x86_64/tst-audit4.c: ... here.
10071         * elf/tst-audit5.c: Move to ...
10072         * sysdeps/x86_64/tst-audit5.c: ... here.
10073         * elf/tst-audit6.c: Move to ...
10074         * sysdeps/x86_64/tst-audit6.c: ... here.
10075         * elf/tst-audit7.c: Move to ...
10076         * sysdeps/x86_64/tst-audit7.c: ... here.
10077         * elf/tst-auditmod3a.c: Move to ...
10078         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10079         * elf/tst-auditmod3b.c: Move to ...
10080         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10081         * elf/tst-auditmod4a.c: Move to ...
10082         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10083         * elf/tst-auditmod4b.c: Move to ...
10084         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10085         * elf/tst-auditmod5a.c: Move to ...
10086         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10087         * elf/tst-auditmod5b.c: Move to ...
10088         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10089         * elf/tst-auditmod6a.c: Move to ...
10090         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10091         * elf/tst-auditmod6b.c: Move to ...
10092         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10093         * elf/tst-auditmod6c.c: Move to ...
10094         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10095         * elf/tst-auditmod7a.c: Move to ...
10096         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10097         * elf/tst-auditmod7b.c: Move to ...
10098         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10100 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10102         [BZ #15366]
10103         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10104         define unconditionally.
10105         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10106         define unconditionally.
10107         (INT8_C, INT16_C, etc.): Likewise.
10109 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10111         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10112         __ehdr_start with hidden visibility.
10114         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10116 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10118         * math/libm-test.inc (cos_test): Use accurate hex constants.
10119         (sincost_test): Likewise.
10121 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10123         * math/libm-test.inc (catan_test): Add more tests.
10124         (catanh_test): Likewise.
10126         * math/s_catanf.c (__catanf): Use suffixed floating-point
10127         constants.
10128         * math/s_catanhf.c (__catanhf): Likewise.
10129         * math/s_catanhl.c (__catanhl): Likewise.
10130         * math/s_catanl.c (__catanl): Likewise.
10132         [BZ #15394]
10133         * math/s_catan.c (__catan): Calculate imaginary part of result
10134         with log1p not log unless computing log of number close to 0.
10135         * math/s_catanf.c (__catanf): Likewise.
10136         * math/s_catanl.c (__catanl): Likewise.
10137         * math/s_catanh.c (__catanh): Calculate real part of result with
10138         log1p not log unless computing log of number close to 0.
10139         * math/s_catanhf.c (__catanhf): Likewise.
10140         * math/s_catanhl.c (__catanhl): Likewise.
10141         * math/libm-test.inc (catan_test): Add more tests.
10142         (catanh_test): Likewise.
10143         * sysdeps/i386/fpu/libm-test-ulps: Update.
10144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10146 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10148         * benchtests/Makefile: Mention files in which fast and slow
10149         paths of math functions are implemented.
10151 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10153         * sysdeps/posix/timespec_get.c: New file.
10155 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10157         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10158         POWER.
10159         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10160         for POWER.
10161         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10162         powerpc/power5/fpu folders.
10163         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10164         * benchtests/Makefile: Add modf testcase.
10165         * benchtests/bench-modf.c: New file: Benchmark test for mo
10167 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10169         [BZ #14888]
10170         * time/Makefile (tests): Add tst-strptime-whitespace.
10171         * time/strptime_l.c (get_number): Use ISSPACE.
10172         (__strptime_internal): Likewise.
10173         * time/tst-strptime-whitespace.c: New test case.
10175 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10177         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10178         member.
10179         (_nss_files_init): Set it here.
10181 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10183         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10184         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10185         unsigned.
10187 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10189         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10191 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10194         size just once.
10196 2013-04-21  David S. Miller  <davem@davemloft.net>
10198         * po/ru.po: Update Russion translation from translation project.
10200 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10202         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10203         and setfsgid.
10205 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10207         * configure.in: Remove i386 configure warning. Remove i386 case.
10208         * configure: Regenerate.
10209         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10210         Add example to error message.
10211         * sysdeps/i386/configure: Regenerate.
10213 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10215         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10216         slowtan.
10217         * benchtests/cos-inputs: New file.
10218         * benchtests/slowcos-inputs: New file.
10219         * benchtests/slowcos.c: New file.
10220         * benchtests/slowtan-inputs: New file.
10221         * benchtests/slowtan.c: New file.
10222         * benchtests/tan-inputs: New file.
10224 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10226         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10227         considered kosher.
10229 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10231         * benchtests/Makefile: Include cppflags-iterator.mk to add
10232         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10234         * Makefile.in (bench-clean): New target.
10235         * benchtests/Makefile (bench-clean): Likewise.
10237 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10239         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10241 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10243         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10245 2013-04-15  Andreas Schwab  <schwab@suse.de>
10247         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10248         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10249         * nscd/pwdcache.c (cache_addpw): Likewise.
10250         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10251         more than recsize.
10253 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10255         * benchtests/Makefile (bench): Write all output to
10256         bench-out.tmp together.
10258 2013-04-15  Andreas Schwab  <schwab@suse.de>
10260         * nscd/nscd.c (main): Don't fork again after closing files.
10262 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10264         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10266         * benchtests/Rules (bench-deps): Collect dependencies into a
10267         single variable.  Add Makefile to dependencies.
10268         ($(objpfx)bench-%.c): Depend on bench-deps.
10270 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10271             Xavier Roche  <roche+kml2@exalead.com>
10273         [BZ #15361]
10274         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10275         just that it's a file descriptor.
10276         * manual/llio.texi (Synchronizing AIO Operations): Update description
10277         for EBADF error from aio_fsync.
10279 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10281         * Rules (bench): Move target definition...
10282         * benchtests/Makefile: ... here.
10284 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10286         * math/libm-test.inc (cos_test): Fix PI/2 test.
10287         (sincos_test): Likewise.
10288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10289         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10291 2013-04-11  Andreas Schwab  <schwab@suse.de>
10293         [BZ #13988]
10294         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10295         accept exponent character only when digits were seen.
10296         * stdio-common/Makefile (tests): Add bug26.
10297         * stdio-common/bug26.c: New file.
10299         [BZ #14293]
10300         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10301         non-freeable.
10303 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10305         * Makeconfig (rtld-prefix): Define built linker prefix.
10306         * Rules (run-bench): Use it.
10307         * math/Makefile (run-regen-ulps): Likewise.
10309         * Rules (bench): Remove eval.
10311 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10312             Roland McGrath  <roland@hack.frob.com>
10313             Ondrej Bilka  <neleai@seznam.cz>
10315         [BZ #15346]
10316         * time/getdate.c: Include ctype.h and alloca.h.
10317         (__getdate_r): Trim leading and trailing spaces of input.
10318         * time/tst-getdate.c (tests): Add tests with leading and
10319         trailing spaces.
10321 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10323         [BZ #14280]
10324         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10325         when computing value.
10327 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10329         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10330         Use testrun.sh to run libm tests.
10332         [BZ #15309]
10333         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10335 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10337         [BZ #15264]
10338         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10340 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10342         * Makefile.in (regen-ulps): New target.
10343         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10344         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10345         [ifneq (no,$(PERL)] (regen-ulps): New target.
10346         [ifeq (no,$(PERL)] (regen-ulps): New target.
10347         * math/libm-test.inc (ulps_file_name): Define.
10348         (output_dir): New variable.
10349         (options): Add "output-dir" option.
10350         (parse_opt): Handle 'o' case.
10351         (main): If output_dir is non-NULL use it as a prefix
10352         otherwise use "".
10353         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10355 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10357         [BZ #10060, #10062]
10358         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10359         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10360         fail configure if __sync_val_compare_and_swap is not inlined.
10361         * sysdeps/i386/configure: Regenerate.
10362         * configure.in: Build for i686 when configured for i386.
10363         * configure: Regenerate.
10364         * README: Remove i386 reference.
10366 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10368         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10371 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10373         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10374         (lmsnanval): New variables.
10375         (F): Add conversion tests.
10376         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10377         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10379         * stdio-common/tstdiomisc.c (F): Properly collect individual
10380         tests' results.
10382         [BZ #14686, #15336]
10383         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10384         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10385         Instead, use input NaN values or generate a qNaN by arithmetic
10386         operation.  Also fix bugs to comply with the standard.
10387         * math/libm-test.inc (remainder_test): Add more tests.
10389         [BZ #15335, #15342]
10390         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10392         input NaN values or generate a qNaN by arithmetic operation.
10394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10395         unreachable code.
10397         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10398         definitions.
10400 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10402         [BZ #14478]
10403         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10404         underflowed result.
10405         * math/s_cexpf.c (__cexpf): Likewise.
10406         * math/s_cexpl.c (__cexpl): Likewise.
10407         * math/libm-test.inc (cexp_test): Add more tests.
10409 2013-04-03  Andreas Schwab  <schwab@suse.de>
10411         [BZ #15330]
10412         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10413         order arrays from heap if bigger than alloca cutoff.
10415 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10417         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10418         (SNAN_TESTS_double): Refer to GCC PR56831.
10419         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10420         GCC PR56828.
10422 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10424         * Rules (bench): Move bench.out after the run is complete.
10426         * Rules (bench): Echo currently running benchmark.
10428         * benchtests/Makefile (bench): Add atan and slowatan.
10429         * benchtests/atan-inputs: New file.
10430         * benchtests/slowatan-inputs: New file.
10431         * benchtests/slowatan.c: New file.
10433         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10435         its value.
10437         [BZ #15305]
10438         * sysdeps/unix/sysv/linux/kernel-features.h
10439         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10440         __ASSUME_XFS_RESTRICTED_CHOWN.
10441         * sysdeps/unix/sysv/linux/pathconf.c
10442         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10443         Save and restore errno.
10445 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10447         [BZ #15327]
10448         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10449         arguments using __kernel_casinh.
10450         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10451         arguments using __kernel_casinhf.
10452         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10453         arguments using __kernel_casinhl.
10454         * math/libm-test.inc (cacosh_test): Add more tests.
10455         * sysdeps/i386/fpu/libm-test-ulps: Update.
10456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10458 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10460         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10461         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10463         * bench/Makefile (bench): Add sin and slowsin.
10464         * benchtests/sin-inputs: New file.
10465         * benchtests/slowsin-inputs: New file.
10466         * benchtests/slowsin.c: New file.
10468         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10469         (bench): Add slowexp and slowpow.
10470         (exp-ITER): Increase iterations.
10471         (pow-ITER): Likewise.
10472         * benchtests/exp-inputs: Change input.
10473         * benchtests/pow-inputs: Likewise.
10474         * benchtests/slowexp-inputs: New file.
10475         * benchtests/slowexp.c: New file.
10476         * benchtests/slowpow-inputs: New file.
10477         * benchtests/slowpow.c: New file.
10479 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10481         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10482         instructions.
10483         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10484         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10485         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10486         * benchtests/Makefile: Add rint benchtest.
10487         * benchtests/rint-inputs: Input for rint benchtest.
10489 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10491         * Versions.def (libm): Add GLIBC_2.18.
10492         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10493         hidden libm prototypes.
10494         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10495         * math/Makefile (libm-calls): Add s_issignaling.
10496         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10497         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10498         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10499         declaration.
10500         * math/math.h [__USE_GNU] (issignaling): New macro.
10501         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10502         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10503         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10504         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10505         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10506         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10507         * manual/arith.texi (issignaling): New section.
10508         * manual/libm-err-tab.pl (@all_functions): Update comment.
10509         * math/gen-libm-test.pl (parse_args): Apply special handling for
10510         issignaling.
10511         * math/libm-test.inc (print_float, issignaling_test): New
10512         functions.
10513         (check_float_internal): Add issignaling checks.
10514         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10515         default definition.
10516         * sysdeps/powerpc/math-tests.h: New file.
10517         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10518         tests.
10519         * math/test-snan.c (TEST_FUNC): Likewise.
10521 2013-03-30  David S. Miller  <davem@davemloft.net>
10523         * po/de.po: Update from translation team.
10525 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10527         [BZ #10357]
10528         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10529         imaginary part less than 1.0 and real part less than 0.5
10530         specially.
10531         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10532         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10533         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10534         (cacos_test): Add more tests.
10535         (casin_test): Likewise.
10536         (casinh_test): Likewise.
10537         * sysdeps/i386/fpu/libm-test-ulps: Update.
10538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10540 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10542         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10543         ONE with its value.
10545         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10546         (__pow_mp): Replace ONE and MONE with their values.
10547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10549         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10550         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10551         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10554         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10556         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10557         (__pow_mp): Replace ZERO and MZERO with their values.
10558         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10560         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10562         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10563         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10564         (__sqr): Likewise.
10566         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10568         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10570 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10572         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10573         Declare with __attribute__ ((weak)).
10574         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10575         Call __call_tls_dtors only if it's not NULL.
10577 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10579         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10580         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10581         magic __ehdr_start linker symbol if it's defined.
10582         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10583         them up here if it was already done.
10585         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10586         (_dl_aux_init): Use const in cast when setting it.
10587         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10588         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10589         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10591         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10592         Declare them here.
10593         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10594         * csu/libc-tls.c: Nor here.
10595         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10597         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10598         (__libc_message): Never call vsyslog.
10600 2013-03-28  Alan Modra  <amodra@gmail.com>
10602         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10603         Define as empty.
10604         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10605         Likewise.
10607 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10609         [BZ #15214]
10610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10611         underflow.
10612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10614 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616         [BZ #15304]
10617         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10618         Don't add gid passed as argument.
10620         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10622 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #15307]
10625         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10626         imaginary part between 1.0 and 1.5 and real part less than 0.5
10627         specially.
10628         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10629         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10630         * math/libm-test.inc (cacos_test): Add more tests.
10631         (casin_test): Likewise.
10632         (casinh_test): Likewise.
10633         * sysdeps/i386/fpu/libm-test-ulps: Update.
10634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10636 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10638         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10639         constants.
10640         (norm): Likewise.
10641         (denorm): Likewise.
10642         (__dbl_mp): Likewise.
10643         (add_magnitudes): Likewise.
10644         (sub_magnitudes): Likewise.
10645         (__add): Likewise.
10646         (__sub): Likewise.
10647         (__mul): Likewise.
10648         (__sqr): Likewise.
10649         (__inv): Likewise.
10650         (__dvd): Likewise.
10652         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10653         commented code.
10654         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10655         (__dubcos): Likewise.
10656         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10657         (__ieee754_acos): Likewise.
10658         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10659         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10660         (__exp1): Likewise.
10661         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10663         (log1): Likewise.
10664         (my_log2): Likewise.
10665         (checkint): Likewise.
10666         * sysdeps/ieee754/dbl-64/e_remainder.c
10667         (__ieee754_remainder): Likewise.
10668         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10670         (bsloww): Likewise.
10671         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10673         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10674         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10675         MANTISSA_STORE_T to store computations on mantissa.  Use
10676         macros for rounding and division.
10677         (denorm): Likewise.
10678         (__dbl_mp): Likewise.
10679         (add_magnitudes): Likewise.
10680         (sub_magnitudes): Likewise.
10681         (__mul): Likewise.
10682         (__sqr): Likewise.
10683         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10684         powers of two in terms of TWOPOW macro.
10685         (mp_no): Make type of mantissa as MANTISSA_T.
10686         [!RADIXI]: Define RADIXI.
10687         [!TWO52]: Define TWO52.
10688         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10690 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10692         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10693         llroundl symbol when building for PPC32.
10695 2013-03-24  Mark H Weaver  <mhw@netris.org>
10697         * manual/arith.texi (Normalization Functions): Fix prototypes for
10698         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10700 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10702         [BZ #13889]
10703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10704         high value to check if expl overflow.
10705         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10706         to check for underflow and overflow.
10707         * math/libm-test.inc: Add exp test.
10709 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10711         [BZ #11120]
10712         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10713         with NOT_IN_libc.
10715 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10717         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10718         symbol.
10720 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10722         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10723         wrap blocks consisting of several statements.
10725         * sysdeps/generic/math-tests.h: New file.
10726         * sysdeps/i386/fpu/math-tests.h: Likewise.
10727         * math/test-snan.c: Include it.
10728         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10730 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10732         [BZ #15285]
10733         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10734         (__ieee754_j0l): Do not improve calculations using cos of twice
10735         input for inputs above LDBL_MAX / 2.0L.
10736         (__ieee754_y0l): Likewise.
10737         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10738         (__ieee754_j1l): Do not improve calculations using cos of twice
10739         input for inputs above LDBL_MAX / 2.0L.
10740         (__ieee754_y1l): Likewise.
10741         * math/libm-test.inc (j0_test): Add another test.
10742         (j1_test): Likewise.
10743         (y0_test): Likewise.
10744         (y1_test): Likewise.
10745         * sysdeps/i386/fpu/libm-test-ulps: Update.
10747 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10749         * Rules ($(objpfx)bench-%.c): Include code from a C source
10750         file.
10752 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10754         [BZ #15287]
10755         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10756         imaginary part 1.0 and real part less than 0.5 specially.
10757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10759         * math/libm-test.inc (cacos_test): Add more tests.
10760         (casin_test): Likewise.
10761         (casinh_test): Likewise.
10762         * sysdeps/i386/fpu/libm-test-ulps: Update.
10763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10767         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10768         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10770 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10772         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10773         * config.make.in (config-cflags-sse4): Remove variable.
10774         (config-cflags-avx): Likewise.
10775         (config-cflags-sse2avx): Likewise.
10776         (config-cflags-novzeroupper): Likewise.
10777         (config-asflags-i686): Likewise.
10778         (have-mfma4): Likewise.
10779         (have-as-vis3): Likewise.
10780         (MIG): Likewise.
10781         * configure.in (MIG): Do not AC_SUBST.
10782         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10783         (libc_cv_cc_sse4): Do not AC_SUBST.
10784         (libc_cv_cc_avx): Likewise.
10785         (libc_cv_cc_sse2avx): Likewise.
10786         (libc_cv_cc_novzeroupper): Likewise.
10787         (libc_cv_cc_fma4): Likewise.
10788         (libc_cv_as_i686): Likewise.
10789         (libc_cv_sparc_as_vis3): Likewise.
10790         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10791         LIBC_CONFIG_VAR.
10792         (config-asflags-i686): Likewise.
10793         (config-cflags-avx): Likewise.
10794         (config-cflags-sse2avx): Likewise.
10795         (have-mfma4): Likewise.
10796         (config-cflags-novzeroupper): Likewise.
10797         * sysdeps/mach/configure.in (MIG): Likewise.
10798         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10799         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10800         LIBC_CONFIG_VAR.
10801         (config-cflags-avx): Likewise.
10802         (config-cflags-sse2avx): Likewise.
10803         (have-mfma4): Likewise.
10804         (config-cflags-novzeroupper): Likewise.
10805         * configure: Regenerated.
10806         * sysdeps/i386/configure: Likewise.
10807         * sysdeps/mach/configure: Likewise.
10808         * sysdeps/sparc/configure: Likewise.
10809         * sysdeps/x86_64/configure: Likewise.
10811 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10813         [BZ #14812]
10814         * locale/programs/localedef.c (options): Put N_ translation marker
10815         on argument names, not just descriptions.
10817 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10819         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10821 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10823         [BZ #14176]
10824         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10826 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10828         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10829         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10830         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10831         [!BEFORE_ABORT] (before_abort): New function.
10832         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10833         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10834         (writev_for_fatal): New function.
10835         (WRITEV_FOR_FATAL): New macro; call that.
10836         (backtrace_and_maps): New function.
10837         (BEFORE_ABORT): New macro; call that.
10838         (struct str_list): Type removed.
10839         (__libc_message, __libc_fatal): Functions removed.
10840         Include <sysdeps/posix/libc_fatal.c> instead.
10842 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10844         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10845         constants.
10846         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10847         double constants.
10849 2013-03-19  Andreas Schwab  <schwab@suse.de>
10851         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10852         * sysdeps/gnu/configure: Regenerate.
10854         * configure.in: Substitute libc_cv_rtlddir.
10855         * configure: Regenerate.
10856         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10857         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10858         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10859         * elf/Makefile (install-others, CFLAGS-interp.c)
10860         (ldso_install, common-ldd-rewrite): Likewise.
10861         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10862         $(inst_slibdir)/$(rtld-installed-name).
10863         * scripts/rellns-sh: Add -p option.
10864         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10865         for source.
10867 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10869         * manual/nptl.texi: Renamed to ...
10870         * manual/threads.texi: ... this.
10871         * manual/Makefile (chapters): Update.
10873 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10875         [BZ #14812]
10876         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10877         on argument names, not just descriptions.
10878         * malloc/memusagestat.c (options): Likewise.
10879         * nss/getent.c (options): Likewise.
10881 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10883         [BZ #14812]
10884         * iconv/iconv_prog.c (options): Put N_ translation marker
10885         on argument names, not just descriptions.
10886         * iconv/iconvconfig.c (options): Likewise.
10888 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10890         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10891         implementation which is faster on all x86_64 architectures.
10892         Tested on AMD, Intel Nehalem, SNB, IVB.
10893         * sysdeps/x86_64/strnlen.S: Likewise.
10895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10896         Remove all multiarch strlen and strnlen versions.
10897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10898         Remove strlen and strnlen related parts.
10900         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10901         Inline strlen part.
10902         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10904         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10905         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10906         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10907         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10908         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10909         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10911 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10913         * manual/memory.texi (Malloc Tunable Parameters):
10914         Sort parameters alphabetically. Add comments for missing entries.
10916 2013-03-17  David S. Miller  <davem@davemloft.net>
10918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10920 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #15283]
10923         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10924         for arguments at most half maximum finite value.
10925         * math/libm-test.inc (j0_test): Add more tests.
10926         (j1_test): Likewise.
10927         (y0_test): Likewise.
10928         (y1_test): Likewise.
10929         * sysdeps/i386/fpu/libm-test-ulps: Update.
10930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932         [BZ #14155]
10933         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10934         1 / x and functions P and Q for arguments above 0x1p256L.
10935         (__ieee754_y0l): Likewise.
10936         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10937         (__ieee754_y1l): Likewise.
10938         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10939         (j1_test): Likewise.
10940         (y0_test): Likewise.
10941         (y1_test): Likewise.
10943 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10945         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10946         variable.
10948 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10950         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10951         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10952         zero since it's initialized to EXEC_PAGESIZE.
10954         * sysdeps/unix/sysv/linux/ldsodefs.h
10955         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10956         * sysdeps/generic/ldsodefs.h: ... here.
10958 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10960         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10962         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10963         math/test-snan.c.
10964         * math/test-snan.c: Renamed from
10965         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10966         * math/Makefile (tests): Add test-snan.
10967         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10968         test-powerpc-snan.
10970         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10971         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10972         functions.
10973         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10974         __builtin_nan family of functions.
10975         * math/libm-test.inc (initialize): Initialize qnan_value with
10976         __builtin_nan family of functions.
10977         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10978         Remove variables.
10979         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10980         Remove functions.
10981         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10982         storage class.  Initialize qNaN_var and sNaN_var with
10983         __builtin_nan and __builtin_nans families of functions,
10984         respectively.
10986         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10987         (sqrt_test): Remove duplicate test with qNaN input.
10988         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10989         (round_test, signbit_test, significand_test): Note missing +/-Inf
10990         as well as qNaN tests.
10992         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10993         qNaN_var.  Fix a few strings, too.
10994         * math/libm-test.inc (nan_value): Rename to qnan_value.
10995         * math/gen-libm-test.pl (%beautify): Adjust to that.
10996         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10997         * math/test-misc.c (main): Likewise.
10998         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10999         to __qnan_bytes, and __qnan_union, respectively.
11000         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11001         Likewise.
11002         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11003         and lqnanval, respectively.
11004         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11005         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11006         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11007         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11009         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11010         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11011         doubles.
11013         * math/test-misc.c (main): Fix copy'n'pastos.
11014         * misc/tst-efgcvt.c (special): Likewise.
11016         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11017         Remove declarations.
11019 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11021         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11022         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11023         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11024         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11026 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11028         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11029         macro to return vdso values correctly in IFUNC implementations.
11030         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11031         Optimization by using IFUNC.
11033 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11034             Richard Henderson  <rth@redhat.com>
11035             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11037         * Makefile.in (bench): New target.
11038         * NEWS: Mention the benchmark framework.
11039         * Rules (bench): Likewise.
11040         (binaries-bench): Generate binaries for functions to
11041         benchmark.
11042         * benchtests/Makefile: New makefile for benchmark tests.
11043         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11044         programs.
11045         * benchtests/exp-inputs: New input file for EXP function.
11046         * benchtests/pow-inputs: New input file for POW function.
11047         * scripts/bench.pl: New script to generate source files for
11048         benchmark programs.
11050 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11052         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11053         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11054         computations on mantissa.  Use macros for rounding and
11055         division.
11056         (denorm): Likewise.
11057         (__dbl_mp): Likewise.
11058         (add_magnitudes): Likewise.
11059         (sub_magnitudes): Likewise.
11060         (__mul): Likewise.
11061         (__sqr): Likewise.
11062         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11063         powers of two in terms of TWOPOW macro.
11064         (mp_no): Make type of mantissa as MANTISSA_T.
11065         [!RADIXI]: Define RADIXI.
11066         [!TWO52]: Define TWO52.
11067         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11069         * manual/nptl.texi (cindex): Modify threads to pthreads.
11071 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11073         * sysdeps/x86_64/preconfigure: Regenerated.
11075 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #14155]
11078         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11079         0x1p28 and above.
11080         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11081         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11082         0x1p28 and above.
11083         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11084         * math/libm-test.inc (j0_test): Do not allow one spurious
11085         underflow exception.
11086         (y1_test): Likewise.
11088 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11090         * manual/Makefile (chapters): Add nptl.
11091         * manual/debug.texi (Debugging Support): Add link to Threads
11092         chapter.
11093         * manual/nptl.texi: New file.
11095         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11097 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11099         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11100         for non-NULL pointer before the memory validity test. Pointed
11101         out by Holger Brunck <holger.brunck@keymile.com>.
11103 2013-03-13  Andreas Schwab  <schwab@suse.de>
11105         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11106         instead of .os.
11108 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11110         * timezone/zic.c: Update from tzcode 2013b.
11112 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11114         * manual/install.texi (Configuring and compiling):
11115         Mention i686 and i586.
11116         * INSTALL: Regenerate.
11118 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11120         * sysdeps/init_array/elf-init.c: New file.
11121         * csu/elf-init.c
11122         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11123         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11125         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11126         __gmon_start__ as global, but as static with a .preinit_array pointer.
11127         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11128         * sysdeps/init_array/crti.S: New file, empty except for comments.
11129         * sysdeps/init_array/crtn.S: Likewise.
11131 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11133         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11134         definining bcopy.
11135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11136         Remove Prefer_SSE_for_memop.
11137         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11138         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11139         HAS_PREFER_SSE_FOR_MEMOP.
11140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11141         memset-x86-64.
11142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11143         Remove bzero, memset ifunc support.
11144         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11145         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11146         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11147         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11149 2013-03-11  Andreas Schwab  <schwab@suse.de>
11151         [BZ #15234]
11152         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11153         by SHLIB_COMPAT.
11154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11155         (GLIBC_2.16): Remove pthread_atfork.
11157 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11159         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11160         (ptestcases.h): Likewise.
11162 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11164         * Makeconfig ($(common-objpfx)config.status): Depend on
11165         sysdeps/*/preconfigure{,.in} too.
11167 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11169         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11170         (__free_hook): Use void * instead of __malloc_ptr_t.
11171         (__malloc_hook): Likewise.
11172         (__realloc_hook): Likewise.
11173         (__memalign_hook): Likewise.
11174         (__after_morecore_hook): Likewise.
11175         * malloc/arena.c (save_malloc_hook): Likewise.
11176         (save_free_hook): Likewise.
11177         * malloc/hooks.c (malloc_hook_ini): Likewise.
11178         (realloc_hook_ini): Likewise.
11179         (memalign_hook_ini): Likewise.
11180         * malloc/malloc.c (malloc_hook_ini): Likewise.
11181         (realloc_hook_ini): Likewise.
11182         (memalign_hook_ini): Likewise.
11183         (__free_hook): Likewise.
11184         (__malloc_hook): Likewise.
11185         (__realloc_hook): Likewise.
11186         (__memalign_hook): Likewise.
11187         (__libc_malloc): Likewise.
11188         (__libc_free): Likewise.
11189         (__libc_realloc): Likewise.
11190         (__libc_memalign): Likewise.
11191         (__libc_valloc): Likewise.
11192         (__libc_pvalloc): Likewise.
11193         (__libc_calloc): Likewise.
11194         (__posix_memalign): Likewise.
11195         * malloc/morecore.c (__sbrk): Likewise.
11196         (__default_morecore): Likewise.
11198         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11200         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11201         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11202         __malloc_ptrdiff_t.
11204         * malloc/malloc.h (__malloc_size_t): Remove macro.
11205         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11206         __malloc_size_t.
11207         (old_memalign_hook): Likewise.
11208         (old_realloc_hook): Likewise.
11209         (struct hdr): Likewise.
11210         (flood): Likewise.
11211         (mallochook): Likewise.
11212         (memalignhook): Likewise.
11213         (reallochook): Likewise.
11214         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11215         (tr_old_realloc_hook): Likewise.
11216         (tr_old_memalign_hook): Likewise.
11217         (tr_mallochook): Likewise.
11218         (tr_reallochook): Likewise.
11219         (tr_memalignhook): Likewise.
11221 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11224         default_ldbl_pack and using as default implementation.
11225         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11226         implementation.
11227         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11228         redundant definition.
11229         (ldbl_insert_mantissa): Likewise.
11230         (ldbl_canonicalize): Likewise.
11231         (ldbl_nearbyint): Likewise.
11232         (ldbl_pack): Rename to ldbl_pack_ppc.
11233         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11234         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11235         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11237 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11240         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11241         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11242         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11244         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11245         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11246         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11248 2013-03-07  Andreas Jaeger  <aj@suse.de>
11250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11251         bits/mman-linux.h.
11253 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11255         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11256         Include mpa.h and declare __MPEXP.
11257         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11258         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11259         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11260         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11261         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11262         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11263         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11265         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11266         (__slowpow): Use long double EXPL and LOGL functions to
11267         compute POW.
11268         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11269         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11270         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11271         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11272         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11273         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11276         intermediate variable to calculate exponent.
11277         (__sqr): Likewise.
11278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11279         Likewise.
11280         (__sqr): Likewise.
11282         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11283         [!NO__SQR]: Define __sqr.
11284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11285         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11286         sysdeps/ieee754/dbl-64/mpa.c.
11287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11289         [BZ #12723]
11290         * posix/Makefile (tests): Add tst-pathconf.
11291         * posix/tst-pathconf.c: New test case.
11292         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11293         _PC_PIPE_BUF.
11294         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11296 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11298         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11300 2013-03-06  Andreas Jaeger  <aj@suse.de>
11302         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11303         definition via __MAP_ANONYMOUS.
11305         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11306         it's not part of Linux headers.
11308         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11309         (MAP_HUGE_MASK): Define.
11311         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11312         Define.
11313         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11314         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11315         Define.
11316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11317         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11318         Define.
11319         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11320         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11321         Define.
11322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11324         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11325         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11326         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11327         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11328         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11329         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11331         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11332         Handle f2fs.
11334         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11335         Handle f2fs and efivarfs.
11337         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11338         f2fs.
11340         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11341         (EFIVARFS_MAGIC): Add.
11342         (F2FS_LINK_MAX): Add.
11344 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11346         * stdio-common/vfprintf.c: Replace __builtin_expect with
11347         __glibc_unlikely.
11349 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11351         [BZ #13550]
11352         * sysdeps/generic/bp-sym.h: Remove file.
11353         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11354         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11355         <bp-sym.h> and <bp-asm.h>.
11356         (__longjmp): Don't use BP_SYM.
11357         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11358         and <bp-asm.h>.
11359         (memcpy): Don't use BP_SYM.
11360         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11361         <bp-sym.h> and <bp-asm.h>.
11362         (memcpy): Don't use BP_SYM.
11363         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11364         <bp-asm.h>.
11365         (memcpy): Don't use BP_SYM.
11366         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11367         <bp-asm.h>.
11368         (memset): Don't use BP_SYM.
11369         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11370         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11371         (__bzero): Don't use BP_SYM.
11372         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11373         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11374         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11375         <bp-sym.h> and <bp-asm.h>.
11376         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11377         pointers.
11378         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11379         <bp-sym.h> and <bp-asm.h>.
11380         (memcpy): Don't use BP_SYM.
11381         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11382         <bp-sym.h> and <bp-asm.h>.
11383         (memset): Don't use BP_SYM.
11384         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11385         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11386         (__bzero): Don't use BP_SYM.
11387         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11388         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11390         <bp-sym.h> and <bp-asm.h>.
11391         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11392         pointers.
11393         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11394         <bp-sym.h> and <bp-asm.h>.
11395         (memcpy): Don't use BP_SYM.
11396         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11397         <bp-sym.h> and <bp-asm.h>.
11398         (memset): Don't use BP_SYM.
11399         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11400         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11401         (__bzero): Don't use BP_SYM.
11402         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11403         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11404         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11405         <bp-sym.h> and <bp-asm.h>.
11406         (__memchr): Don't use BP_SYM.
11407         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11408         <bp-sym.h> and <bp-asm.h>.
11409         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11410         pointers.
11411         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11412         <bp-sym.h> and <bp-asm.h>.
11413         (memcpy): Don't use BP_SYM.
11414         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11415         <bp-sym.h> and <bp-asm.h>.
11416         (__mempcpy): Don't use BP_SYM.
11417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11418         <bp-sym.h> and <bp-asm.h>.
11419         (__memrchr): Don't use BP_SYM.
11420         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11421         <bp-sym.h> and <bp-asm.h>.
11422         (memset): Don't use BP_SYM.
11423         (__bzero): Likewise.
11424         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11425         <bp-sym.h> and <bp-asm.h>.
11426         (__rawmemchr): Don't use BP_SYM.
11427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11428         <bp-sym.h> and <bp-asm.h>.
11429         (__STRCMP): Don't use BP_SYM.
11430         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11431         <bp-sym.h> and <bp-asm.h>.
11432         (strchr): Don't use BP_SYM.
11433         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11434         <bp-sym.h> and <bp-asm.h>.
11435         (__strchrnul): Don't use BP_SYM.
11436         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11437         <bp-sym.h> and <bp-asm.h>.
11438         (strlen): Don't use BP_SYM.
11439         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11440         <bp-sym.h> and <bp-asm.h>.
11441         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11442         pointers.
11443         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11444         <bp-sym.h> and <bp-asm.h>.
11445         (__strnlen): Don't use BP_SYM.
11446         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11447         <bp-sym.h> and <bp-asm.h>.
11448         (__GI__setjmp): Don't use BP_SYM.
11449         (_setjmp): Likewise.
11450         (__sigsetjmp): Likewise.
11451         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11452         (L(start_addresses)): Don't use BP_SYM.
11453         (_start): Likewise.
11454         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11455         <bp-asm.h>.
11456         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11457         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11458         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11459         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11460         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11461         <bp-asm.h>.
11462         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11463         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11464         about bounded pointers.
11465         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11466         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11467         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11468         <bp-asm.h>.
11469         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11470         about bounded pointers.  Remove GKM FIXME comments.
11471         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11472         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11473         <bp-asm.h>.
11474         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11475         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11476         Remove GKM FIXME comments.
11477         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11478         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11479         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11480         <bp-asm.h>.
11481         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11482         about bounded pointers.  Remove GKM FIXME comment.
11483         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11484         and <bp-asm.h>.
11485         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11486         pointers.
11487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11488         <bp-sym.h> and <bp-asm.h>.
11489         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11491         <bp-sym.h> and <bp-asm.h>.
11492         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11493         comment.
11495 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11497         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11498         call free(NULL).
11500 2013-03-05  David S. Miller  <davem@davemloft.net>
11502         * po/es.po: Update from translation team.
11504 2013-03-05  Andreas Jaeger  <aj@suse.de>
11506         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11507         <bits/mman-linux.h>.
11508         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11509         is fine.
11510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11511         <bits/mman-linux.h> to end of file.
11512         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11513         is fine.
11514         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11515         <bits/mman-linux.h> to end of file.
11516         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11517         is fine.
11518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11519         <bits/mman-linux.h> to end of file.
11521         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11522         (MCL_CURRENT, MCL_FUTURE): Define here.
11524 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11526         [BZ #15232]
11527         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11528         attribute_hidden.
11529         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11531 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11533         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11534         fourth parameter needed for rt_sigprocmask syscall.
11535         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11536         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11537         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11538         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11539         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11540         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11542 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11544         [BZ #13550]
11545         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11546         comment about bounded pointers.
11547         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11548         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11550 2013-03-04  Andreas Jaeger  <aj@suse.de>
11552         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11553         common definitions.
11555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11556         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11557         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11559         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11562 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11564         [BZ #15055]
11565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11566         __ieee754_sqrl instead of __sqrl.
11568 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11570         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11571         * sysdeps/powerpc/fpu_control.h: ... here.
11572         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11573         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11574         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11575         * sysdeps/powerpc/bits/mathinline.h: ... here.
11577 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11579         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11580         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11581         to just [NEED_DL_SYSINFO_DSO].
11582         * elf/dl-support.c: Likewise.
11583         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11584         * elf/rtld.c (dl_main): Likewise.
11585         * elf/setup-vdso.h (setup_vdso): Likewise.
11586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11587         * sysdeps/unix/sysv/linux/dl-sysdep.c
11588         (_dl_discover_osversion): Likewise.
11590 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11592         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11593         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11595 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11597         * NEWS: Mention libm performance improvements and non-x86 PI
11598         futex support.
11600         * csu/libc-start.c (__pthread_initialize_minimal): Change
11601         function arguments.
11602         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11604 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11606         [BZ #13550]
11607         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11608         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11609         <bp-sym.h> and <bp-asm.h>.
11610         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11611         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11612         and <bp-asm.h>.
11613         (memcpy): Don't use BP_SYM.
11614         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11615         <bp-asm.h>.
11616         (__mpn_add_n): Don't use BP_SYM.
11617         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11618         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11619         and <bp-asm.h>.
11620         (__mpn_addmul_1): Don't use BP_SYM.
11621         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11622         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11623         <bp-sym.h>.
11624         (_setjmp): Don't use BP_SYM.
11625         (__novmx_setjmp): Likewise.
11626         (__GI__setjmp): Likewise.
11627         (__vmx_setjmp): Likewise.
11628         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11629         <bp-sym.h>.
11630         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11631         (__bzero): Don't use BP_SYM.
11632         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11633         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11634         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11635         <bp-sym.h> and <bp-asm.h>.
11636         (memcpy): Don't use BP_SYM.
11637         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11638         <bp-sym.h> and <bp-asm.h>.
11639         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11641         <bp-sym.h> and <bp-asm.h>.
11642         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11643         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11644         <bp-asm.h>.
11645         (__mpn_lshift): Don't use BP_SYM.
11646         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11647         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11648         <bp-asm.h>.
11649         (memset): Don't use BP_SYM.
11650         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11651         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11652         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11653         <bp-asm.h>.
11654         (__mpn_mul_1): Don't use BP_SYM.
11655         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11656         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11657         <bp-sym.h> and <bp-asm.h>.
11658         (memcmp): Don't use BP_SYM.
11659         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11660         <bp-sym.h> and <bp-asm.h>.
11661         (memcpy): Don't use BP_SYM.
11662         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11663         <bp-sym.h> and <bp-asm.h>.
11664         (memset): Don't use BP_SYM.
11665         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11666         <bp-sym.h> and <bp-asm.h>.
11667         (strncmp): Don't use BP_SYM.
11668         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11669         <bp-sym.h> and <bp-asm.h>.
11670         (memcpy): Don't use BP_SYM.
11671         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11672         <bp-sym.h> and <bp-asm.h>.
11673         (memset): Don't use BP_SYM.
11674         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11675         <bp-sym.h> and <bp-asm.h>.
11676         (__memchr): Don't use BP_SYM.
11677         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11678         <bp-sym.h> and <bp-asm.h>.
11679         (memcmp): Don't use BP_SYM.
11680         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11681         <bp-sym.h> and <bp-asm.h>.
11682         (memcpy): Don't use BP_SYM.
11683         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11684         <bp-sym.h> and <bp-asm.h>.
11685         (__mempcpy): Don't use BP_SYM.
11686         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11687         <bp-sym.h> and <bp-asm.h>.
11688         (__memrchr): Don't use BP_SYM.
11689         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11690         <bp-sym.h> and <bp-asm.h>.
11691         (memset): Don't use BP_SYM.
11692         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11693         <bp-sym.h> and <bp-asm.h>.
11694         (__rawmemchr): Don't use BP_SYM.
11695         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11696         <bp-sym.h> and <bp-asm.h>.
11697         (__STRCMP): Don't use BP_SYM.
11698         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11699         <bp-sym.h> and <bp-asm.h>.
11700         (strchr): Don't use BP_SYM.
11701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11702         <bp-sym.h> and <bp-asm.h>.
11703         (__strchrnul): Don't use BP_SYM.
11704         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11705         <bp-sym.h> and <bp-asm.h>.
11706         (strlen): Don't use BP_SYM.
11707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11708         <bp-sym.h> and <bp-asm.h>.
11709         (strncmp): Don't use BP_SYM.
11710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11711         <bp-sym.h> and <bp-asm.h>.
11712         (__strnlen): Don't use BP_SYM.
11713         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11714         <bp-asm.h>.
11715         (__mpn_rshift): Don't use BP_SYM.
11716         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11717         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (__sigsetjmp): Don't use BP_SYM.
11720         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11721         (L(start_addresses)): Don't use BP_SYM.
11722         (_start): Likewise.
11723         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11724         <bp-asm.h>.
11725         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11726         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11727         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11728         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11729         <bp-asm.h>.
11730         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11731         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11732         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11733         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11734         <bp-asm.h>.
11735         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11736         comments.
11737         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11738         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11739         <bp-asm.h>.
11740         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11741         FIXME comments.
11742         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11743         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11744         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11745         <bp-asm.h>.
11746         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11747         comment.
11748         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11749         and <bp-asm.h>.
11750         (strncmp): Don't use BP_SYM,
11751         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11752         <bp-asm.h>.
11753         (__mpn_sub_n): Don't use BP_SYM.
11754         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11755         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11756         and <bp-asm.h>.
11757         (__mpn_submul_1): Don't use BP_SYM.
11758         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11760         <bp-sym.h> and <bp-asm.h>.
11761         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11763         <bp-sym.h> and <bp-asm.h>.
11764         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11765         comment.
11767 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11770         Use ZK to minimize writes to Z.
11771         (sub_magnitudes): Simplify code a bit.
11772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11773         Use ZK to minimize writes to Z.
11774         (sub_magnitudes): Simplify code a bit.
11776 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11778         * csu/gmon-start.c: Add special exception to license text.
11780 2013-02-27  Richard Henderson  <rth@redhat.com>
11782         * scripts/config.guess: Update from config.git.
11783         * scripts/config.sub: Likewise.
11785 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11789         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11791         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11793         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11795         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11797 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11799         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11800         [$(build-shared = yes].
11802 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11804         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11805         (__mul): Reduce iterations for calculating mantissa.
11807         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11808         MPTWO.
11809         (__mpranred): Likewise.
11811         [BZ #15160]
11812         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11813         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11815 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11817         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11818         Define __attribute__.
11820 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11822         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11823         unused.
11824         * posix/regex_internal.h (__attribute): Remove.
11825         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11826         (re_string_context_at): Likewise.
11827         (bitset_not): Use __attribute__ and mark function as possibly
11828         unused.
11829         (bitset_merge): Likewise.
11830         (bitset_mask): Likewise.
11831         (re_string_char_size_at): Likewise.
11832         (re_string_wchar_at): Likewise.
11833         (re_string_elem_size_at): Likewise.
11835 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11837         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11838         code.
11839         (cc32): Likewise.
11841         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11842         (__acr): Likewise.
11843         (__cpy): Likewise.
11844         (norm): Likewise.
11845         (denorm): Likewise.
11846         (__dbl_mp): Likewise.
11847         (add_magnitudes): Likewise.
11848         (sub_magnitudes): Likewise.
11849         (__mul): Likewise.
11850         (__inv): Likewise.
11852         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11853         style.
11855         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11856         style.
11858         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11859         code.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11862         up changes with default code.
11863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11864         Likewise.
11866 2013-02-24  Allan McRae  <allan@archlinux.org>
11868         * manual/socket.texi (The Internet Namespace): Order menu items
11869         to match that in the file.
11871         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11872         node listing of the info page menu.
11874 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11876         [BZ #13550]
11877         * sysdeps/i386/bp-asm.h: Remove file.
11878         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11879         (PARMS): Do not use macros from bp-asm.h.
11880         (S1): Likewise.
11881         (S2): Likewise.
11882         (SIZE): Likewise.
11883         (__mpn_add_n): Do not use BP_SYM
11884         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11885         "bp-asm.h".
11886         (PARMS): Do not use macros from bp-asm.h.
11887         (S1): Likewise.
11888         (SIZE): Likewise.
11889         (__mpn_addmul_1): Do not use BP_SYM
11890         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11891         "bp-asm.h".
11892         (PARMS): Do not use macros from bp-asm.h.
11893         (SIGMSK): Likewise.
11894         (_setjmp): Likewise.  Do not use BP_SYM.
11895         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11896         "bp-asm.h".
11897         (PARMS): Do not use macros from bp-asm.h.
11898         (SIGMSK): Likewise.
11899         (setjmp): Likewise.  Do not use BP_SYM.
11900         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11901         "bp-asm.h".
11902         (PARMS): Do not use macros from bp-asm.h.
11903         (__frexp): Do not use BP_SYM.
11904         (frexp): Likewise.
11905         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11906         "bp-asm.h".
11907         (PARMS): Do not use macros from bp-asm.h.
11908         (__frexpf): Do not use BP_SYM.
11909         (frexpf): Likewise.
11910         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11911         "bp-asm.h".
11912         (PARMS): Do not use macros from bp-asm.h.
11913         (__frexpl): Do not use BP_SYM.
11914         (frexpl): Likewise.
11915         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11916         "bp-asm.h".
11917         (PARMS): Do not use macros from bp-asm.h.
11918         (__remquo): Do not use BP_SYM.
11919         (remquo): Likewise.
11920         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11921         "bp-asm.h".
11922         (PARMS): Do not use macros from bp-asm.h.
11923         (__remquof): Do not use BP_SYM.
11924         (remquof): Likewise.
11925         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11926         "bp-asm.h".
11927         (PARMS): Do not use macros from bp-asm.h.
11928         (__remquol): Do not use BP_SYM.
11929         (remquol): Likewise.
11930         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11931         "bp-asm.h".
11932         (PARMS): Do not use macros from bp-asm.h.
11933         (DEST): Likewise.
11934         (SRC): Likewise.
11935         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11936         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11937         "bp-asm.h".
11938         (PARMS): Do not use macros from bp-asm.h.
11939         (strlen): Do not use BP_SYM.
11940         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
11945         (SIZE): Likewise.
11946         (__mpn_add_n): Do not use BP_SYM.
11947         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11948         "bp-asm.h".
11949         (PARMS): Do not use macros from bp-asm.h.
11950         (S1): Likewise.
11951         (SIZE): Likewise.
11952         (__mpn_addmul_1): Do not use BP_SYM.
11953         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11954         weak_alias.
11955         (bzero): Likewise.
11956         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11957         "bp-asm.h".
11958         (PARMS): Do not use macros from bp-asm.h.
11959         (S): Likewise.
11960         (SIZE): Likewise.
11961         (__mpn_lshift): Do not use BP_SYM.
11962         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11963         "bp-asm.h".
11964         (PARMS): Do not use macros from bp-asm.h.
11965         (DEST): Likewise.
11966         (SRC): Likewise.
11967         (LEN): Likewise.
11968         (memcpy): Likewise.  Do not use BP_SYM.
11969         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11970         libc_hidden_def and weak_alias.
11971         (mempcpy): Do not use BP_SYM in weak_alias.
11972         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11973         "bp-asm.h".
11974         (PARMS): Do not use macros from bp-asm.h.
11975         (DEST): Likewise.
11976         (LEN): Likewise.
11977         [!BZERO_P] (CHR): Likewise.
11978         (memset): Likewise.  Do not use BP_SYM.
11979         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11980         "bp-asm.h".
11981         (PARMS): Do not use macros from bp-asm.h.
11982         (S1): Likewise.
11983         (SIZE): Likewise.
11984         (__mpn_mul_1): Do not use BP_SYM.
11985         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11986         "bp-asm.h".
11987         (PARMS): Do not use macros from bp-asm.h.
11988         (S): Likewise.
11989         (SIZE): Likewise.
11990         (__mpn_rshift): Do not use BP_SYM.
11991         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11992         "bp-asm.h".
11993         (PARMS): Do not use macros from bp-asm.h.
11994         (STR): Likewise.
11995         (CHR): Likewise.
11996         (strchr): Likewise.  Do not use BP_SYM.
11997         (index): Do not use BP_SYM in weak_alias.
11998         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11999         "bp-asm.h".
12000         (PARMS): Do not use macros from bp-asm.h.
12001         (DEST): Likewise.
12002         (SRC): Likewise.
12003         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12004         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12005         "bp-asm.h".
12006         (PARMS): Do not use macros from bp-asm.h.
12007         (strlen): Do not use BP_SYM.
12008         * sysdeps/i386/i586/sub_n.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         (S2): Likewise.
12013         (SIZE): Likewise.
12014         (__mpn_sub_n): Do not use BP_SYM.
12015         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12016         "bp-asm.h".
12017         (PARMS): Do not use macros from bp-asm.h.
12018         (S1): Likewise.
12019         (SIZE): Likewise.
12020         (__mpn_submul_1): Do not use BP_SYM.
12021         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12022         "bp-asm.h".
12023         (PARMS): Do not use macros from bp-asm.h.
12024         (S1): Likewise.
12025         (S2): Likewise.
12026         (SIZE): Likewise.
12027         (__mpn_add_n): Do not use BP_SYM.
12028         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12029         weak_alias.
12030         (bzero): Likewise.
12031         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12032         "bp-asm.h".
12033         (PARMS): Do not use macros from bp-asm.h.
12034         (BLK2): Likewise.
12035         (LEN): Likewise.
12036         (memcmp): Do not use BP_SYM.
12037         (bcmp): Do not use BP_SYM in weak_alias.
12038         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
12045         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
12052         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12053         "bp-asm.h".
12054         (PARMS): Do not use macros from bp-asm.h.
12055         (DEST): Likewise.
12056         (SRC): Likewise.
12057         (LEN): Likewise.
12058         (__mempcpy): Likewise.  Do not use BP_SYM.
12059         (mempcpy): Do not use BP_SYM in weak_alias.
12060         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12061         "bp-asm.h".
12062         (PARMS): Do not use macros from bp-asm.h.
12063         (DEST): Likewise.
12064         (LEN): Likewise.
12065         [!BZERO_P] (CHR): Likewise.
12066         (memset): Likewise.  Do not use BP_SYM.
12067         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12068         "bp-asm.h".
12069         (PARMS): Do not use macros from bp-asm.h.
12070         (STR2): Likewise.
12071         (strcmp): Do not use BP_SYM.
12072         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12073         "bp-asm.h".
12074         (PARMS): Do not use macros from bp-asm.h.
12075         (STR): Likewise.
12076         (DELIM): Likewise.
12077         [USE_AS_STRTOK_R] (SAVE): Likewise.
12078         (FUNCTION): Likewise.  Do not use BP_SYM.
12079         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12080         aliases.
12081         (strtok_r): Likewise.
12082         (__GI___strtok_r): Likewise.
12083         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12084         (PARMS): Do not use macros from bp-asm.h.
12085         (S): Likewise.
12086         (SIZE): Likewise.
12087         (__mpn_lshift): Do not use BP_SYM.
12088         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12089         (PARMS): Do not use macros from bp-asm.h.
12090         (STR): Likewise.
12091         (CHR): Likewise.
12092         (__memchr): Do not use BP_SYM.
12093         (memchr): Do not use BP_SYM in weak_alias.
12094         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12095         (PARMS): Do not use macros from bp-asm.h.
12096         (BLK2): Likewise.
12097         (LEN): Likewise.
12098         (memcmp): Do not use BP_SYM.
12099         (bcmp): Do not use BP_SYM in weak_alias.
12100         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12101         (PARMS): Do not use macros from bp-asm.h.
12102         (S1): Likewise.
12103         (SIZE): Likewise.
12104         (__mpn_mul_1): Do not use BP_SYM.
12105         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12106         "bp-asm.h".
12107         (PARMS): Do not use macros from bp-asm.h.
12108         (STR): Likewise.
12109         (CHR): Likewise.
12110         (__rawmemchr): Do not use BP_SYM.
12111         (rawmemchr): Do not use BP_SYM in weak_alias.
12112         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12113         (PARMS): Do not use macros from bp-asm.h.
12114         (S): Likewise.
12115         (SIZE): Likewise.
12116         (__mpn_rshift): Do not use BP_SYM.
12117         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12118         (PARMS): Do not use macros from bp-asm.h.
12119         (SIGMSK): Likewise.
12120         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12121         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12122         (_start): Do not use BP_SYM.
12123         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12124         (PARMS): Do not use macros from bp-asm.h.
12125         (DEST): Likewise.
12126         (SRC): Likewise.
12127         (__stpcpy): Likewise.  Do not use BP_SYM.
12128         (stpcpy): Do not use BP_SYM in weak_alias.
12129         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12130         "bp-asm.h".
12131         (PARMS): Do not use macros from bp-asm.h.
12132         (DEST): Likewise.
12133         (SRC): Likewise.
12134         (LEN): Likewise.
12135         (__stpncpy): Likewise.  Do not use BP_SYM.
12136         (stpncpy): Do not use BP_SYM in weak_alias.
12137         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12138         (PARMS): Do not use macros from bp-asm.h.
12139         (STR): Likewise.
12140         (CHR): Likewise.
12141         (strchr): Likewise.  Do not use BP_SYM.
12142         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12143         "bp-asm.h".
12144         (PARMS): Do not use macros from bp-asm.h.
12145         (STR): Likewise.
12146         (CHR): Likewise.
12147         (__strchrnul): Likewise.  Do not use BP_SYM.
12148         (strchrnul): Do not use BP_SYM in weak_alias.
12149         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12150         "bp-asm.h".
12151         (PARMS): Do not use macros from bp-asm.h.
12152         (STOP): Likewise.
12153         (strcspn): Do not use BP_SYM.
12154         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12155         "bp-asm.h".
12156         (PARMS): Do not use macros from bp-asm.h.
12157         (STR): Likewise.
12158         (STOP): Likewise.
12159         (strpbrk): Likewise.  Do not use BP_SYM.
12160         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12161         "bp-asm.h".
12162         (PARMS): Do not use macros from bp-asm.h.
12163         (STR): Likewise.
12164         (CHR): Likewise.
12165         (strrchr): Likewise.  Do not use BP_SYM.
12166         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12167         (PARMS): Do not use macros from bp-asm.h.
12168         (SKIP): Likewise.
12169         (strspn): Do not use BP_SYM.
12170         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12171         (PARMS): Do not use macros from bp-asm.h.
12172         (STR): Likewise.
12173         (DELIM): Likewise.
12174         (SAVE): Likewise.
12175         (FUNCTION): Likewise.  Do not use BP_SYM.
12176         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12177         aliases.
12178         (strtok_r): Likewise.
12179         (__GI___strtok_r): Likewise.
12180         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12181         (PARMS): Do not use macros from bp-asm.h.
12182         (S1): Likewise.
12183         (S2): Likewise.
12184         (SIZE): Likewise.
12185         (__mpn_sub_n): Do not use BP_SYM.
12186         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12187         "bp-asm.h".
12188         (PARMS): Do not use macros from bp-asm.h.
12189         (S1): Likewise.
12190         (SIZE): Likewise.
12191         (__mpn_submul_1): Do not use BP_SYM.
12192         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12193         <bp-sym.h>.
12194         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12195         and <bp-asm.h>.
12196         (PARMS): Do not use macros from bp-asm.h.
12197         (FLAGS): Likewise.
12198         (PTID): Likewise.
12199         (TLS): Likewise.
12200         (CTID): Likewise.
12201         (__clone): Do not use BP_SYM.
12202         (clone): Do not use BP_SYM in weak_alias.
12203         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12204         and <bp-asm.h>.
12205         (PARMS): Do not use macros from bp-asm.h.
12206         (LEN): Likewise.
12207         (__mmap64): Do not use BP_SYM.
12208         (mmap64): Do not use BP_SYM in weak_alias.
12209         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12210         <bp-sym.h> and <bp-asm.h>.
12211         (PARMS): Do not use macros from bp-asm.h.
12212         (__posix_fadvise64_l64): Do not use BP_SYM.
12213         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12214         (PARMS): Do not use macros from bp-asm.h.
12215         (NSOPS): Likewise.
12216         (semtimedop): Do not use BP_SYM.
12217         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12218         and <bp-asm.h>.
12220 2013-02-21  Allan McRae  <allan@archlinux.org>
12222         * manual/message.texi (Charset conversion in gettext):
12223         Move @end statement to beginning of line.
12225 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12228         static.
12229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12230         Likewise.
12232         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12233         (denorm): Likewise.
12234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12237 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12239         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12240         tail-call to the resolved function if pltexit isn't needed.
12242 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12245         or Y being zero as being unlikely.
12246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12247         Likewise.
12249 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12251         * manual/nss.texi (System Databases and Name Service Switch):
12252         Remove frobnicate @pxref.
12254 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12256         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12257         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12259 2013-02-20  Petr Machata  <pmachata@redhat.com>
12261         * elf/elf.h (R_ARM_TARGET1): New macro.
12262         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12263         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12264         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12265         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12266         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12267         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12268         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12269         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12270         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12271         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12272         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12273         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12274         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12275         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12276         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12277         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12278         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12279         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12280         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12281         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12282         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12283         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12284         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12285         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12286         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12287         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12288         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12289         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12290         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12291         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12292         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12293         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12294         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12295         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12296         (R_ARM_THM_GOT_BREL12): Likewise.
12297         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12298         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12299         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12300         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12301         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12302         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12303         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12304         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12305         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12307 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12309         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12310         __attribute_used__ to __attribute__ ((unused)).
12312 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12315         powerpc mpa.c.
12316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12317         comment formatting.
12318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12320 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12322         [BZ #13550]
12323         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12324         Remove macro.
12325         (ENTER): Remove both macro definitions.
12326         (LEAVE): Likewise.
12327         (CHECK_BOUNDS_LOW): Likewise.
12328         (CHECK_BOUNDS_HIGH): Likewise.
12329         (CHECK_BOUNDS_BOTH): Likewise.
12330         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12331         (RETURN_BOUNDED_POINTER): Likewise.
12332         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12333         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12334         (POP_ERRNO_LOCATION_RETURN): Likewise.
12335         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12336         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12337         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12338         macros.
12339         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12340         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12341         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12342         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12343         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12344         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12345         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12346         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12347         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12348         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12349         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12350         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12351         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12352         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12353         removed macros.
12354         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12355         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12356         macros.
12357         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12358         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12359         * sysdeps/i386/i586/memset.S (memset): Likewise.
12360         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12361         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12362         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12363         macros.
12364         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12365         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12366         Change uses of L(2) to L(out).
12367         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12368         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12369         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12370         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12371         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12372         removed macros.
12373         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12374         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12375         macros.
12376         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12377         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12378         (RETURN): Do not use macro LEAVE.
12379         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12380         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12381         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12382         * sysdeps/i386/i686/memset.S (memset): Likewise.
12383         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12384         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12385         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12386         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12387         Likewise.
12388         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12389         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12390         L(1_2) and L(1_3) into L(1).
12391         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12392         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12393         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12394         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12395         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12396         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12397         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12398         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12399         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12400         macros.
12401         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12402         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12403         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12404         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12405         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12406         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12407         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12408         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12409         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12410         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12411         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12412         * sysdeps/i386/strspn.S (strspn): Likewise.
12413         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12414         conditional code.
12415         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12416         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12417         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12418         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12419         L(1_3) into L(1_1).
12420         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12421         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12422         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12423         macros.
12424         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12428         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12429         macro.
12431 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12433         * math/atest-exp.c (exp_mpn): Remove ROUND.
12434         * math/atest-exp2.c (exp_mpn): Likewise.
12435         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12437         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12438         * stdlib/tst-tls-atexit-lib.c: Likewise.
12439         * stdlib/tst-tls-atexit.c: Likewise.
12441 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12443         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12444         and __attribute_alloc_size__.
12446 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12448         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12449         __attribute_alloc_size__.
12450         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12451         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12453 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12455         * include/programs/xmalloc.h: New file.
12456         * catgets/gencat.c: Include it.
12457         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12458         * elf/pldd.c: Likewise.
12459         * iconv/iconv_charmap.c: Likewise.
12460         * iconv/iconvconfig.c: Likewise.
12461         * iconv/strtab.c: Likewise.
12462         * locale/programs/locale.c: Likewise.
12463         * locale/programs/localedef.h: Likewise.
12464         * locale/programs/simple-hash.c: Likewise.
12465         * nscd/nscd.h: Likewise.
12466         * nss/makedb.c: Likewise.
12467         * sysdeps/generic/ldconfig.h: Likewise.
12469 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12471         * Versions.def: Add GLIBC_2.18.
12472         * include/link.h (struct link_map): New member l_tls_dtor_count.
12473         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12474         (__call_tls_dtors): Likewise.
12475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12476         __cxa_thread_atexit_impl.
12477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12478         Likewise.
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12484         Likewise.
12485         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12487         Likewise.
12488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12489         Likewise.
12490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12492         Likewise.
12493         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12494         (tests): Add test case tst-tls-atexit.
12495         (modules-names): Add shared library for tst-tls-atexit.
12496         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12497         (GLIBC_PRIVATE): Add __call_tls_dtors.
12498         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12499         for libstdc++.
12500         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12501         * stdlib/tst-tls-atexit.c: New test case.
12502         * stdlib/tst-tls-atexit-lib.c: New test case.
12504         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12506         * elf/Versions (ld): Add _dl_find_dso_for_object.
12507         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12508         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12509         (dl_open_worker): Use _dl_find_dso_for_object.
12510         * elf/dl-sym.c (do_sym): Likewise.
12511         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12513 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12515         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12516         Syntactic changes only.
12517         (_dl_runtime_profile): Do a tail-call to the resolved function.
12519 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12521         [BZ #13550]
12522         * sysdeps/x86_64/bp-asm.h: Remove file.
12523         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12524         <bp-sym.h> and <bp-asm.h>.
12525         (__clone): Do not use BP_SYM.
12526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12527         <bp-sym.h> and <bp-asm.h>.
12528         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12529         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12530         "bp-asm.h".
12531         (_setjmp): Do not use BP_SYM.
12532         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12533         "bp-asm.h".
12534         (setjmp): Do not use BP_SYM.
12535         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12536         libc_hidden_def.
12537         (mempcpy): Do not use BP_SYM in weak_alias.
12538         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12539         "bp-asm.h".
12540         (strchr): Do not use BP_SYM.
12541         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12542         "bp-asm.h".
12543         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12544         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12545         (_start): Do not use BP_SYM.
12546         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12547         "bp-asm.h".
12548         (strcat): Do not use BP_SYM.
12549         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12550         "bp-asm.h".
12551         (STRCMP): Do not use BP_SYM.
12552         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12553         "bp-asm.h".
12554         (STRCPY): Do not use BP_SYM.
12555         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12556         "bp-asm.h".
12557         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12558         "bp-asm.h".
12559         (FUNCTION): Do not use BP_SYM.
12560         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12561         weak_alias.
12562         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12564 2013-02-17  Andreas Jaeger  <aj@suse.de>
12566         * time/Versions: Sort entries.
12567         * string/Versions: Likewise.
12568         * resolv/Versions: Likewise.
12569         * posix/Versions: Likewise.
12570         * iconv/Versions: Likewise.
12571         * elf/Versions: Likewise.
12572         * wcsmbs/Versions: Likewise.
12574 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12576         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12577         loop termination condition.
12579         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12580         variable to calculate EZ.
12581         (__sqr): Likewise.
12583         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12584         the lower precision input.
12586 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12588         [BZ #13550]
12589         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12590         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12591         (run-via-rtld-prefix): Do not handle %-bp tests.
12592         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12593         (all-object-suffixes): Remove .ob.
12594         (bppfx): Remove variable.
12595         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12596         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12597         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12598         [$(build-bounded) = yes] (libtype.ob): Likewise.
12599         * Makerules (elide-routines.ob): Remove variable.
12600         (do-tests-clean): Do not handle *-bp.out.
12601         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12602         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12603         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12604         (tests): Do not include $(tests-bp.out).
12605         (xtests): Do not include $(xtests-bp.out).
12606         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12607         [$(build-bounded) = yes] ($(addprefix
12608         $(objpfx),$(binaries-bounded))): Remove rule.
12609         ($(objpfx)%-bp.out): Remove rule.
12610         * config.make.in (build-bounded): Remove variable.
12611         * crypt/Makefile [$(build-bounded) = yes]
12612         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12613         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12614         append to variable.
12615         [$(build-bounded) = yes] (install-lib): Likewise.
12616         [$(build-bounded) = yes] (generated): Likewise.
12617         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12618         Remove rule.
12619         * intl/Makefile [$(build-bounded) = yes]
12620         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12621         * math/Makefile [$(build-bounded) = yes]
12622         ($(tests:%=$(objpfx)%-bp): Likewise.
12623         * misc/Makefile [$(build-bounded) = yes]
12624         ($(objpfx)tst-tsearch-bp): Likewise.
12625         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12626         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12627         Remove dependency.
12628         * string/Makefile (o-objects.ob): Remove variable.
12629         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12630         (CFLAGS-.ob): Remove variable.
12631         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12632         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12633         both definitions of variable.
12634         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12635         (ASFLAGS-.ob): Remove variable.
12637 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12639         [BZ #13550]
12640         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12641         Remove __BOUNDED_POINTERS__ from condition.
12642         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12643         * string/bits/string2.h [!__NO_STRING_INLINES &&
12644         !__BOUNDED_POINTERS__]: Likewise.
12645         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12646         Likewise.
12647         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12648         Remove conditional code.
12649         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12650         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12651         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12652         condition.
12654         [BZ #13550]
12655         * csu/libc-start.c: Do not include <bp-sym.h>.
12656         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12657         * elf/dl-open.c: Do not include <bp-sym.h>.
12658         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12659         * math/fegetenv.c: Do not include <bp-sym.h>.
12660         (fegetenv): Do not use BP_SYM in versioned symbols.
12661         * nptl/sysdeps/pthread/bits/libc-lockP.h
12662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12663         <bp-sym.h>.
12664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12665         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12667         (__pthread_mutex_destroy): Likewise.
12668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12669         (__pthread_mutex_lock): Likewise.
12670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12671         (__pthread_mutex_trylock): Likewise.
12672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12673         (__pthread_mutex_unlock): Likewise.
12674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12675         (__pthread_mutexattr_init): Likewise.
12676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12677         (__pthread_mutexattr_destroy): Likewise.
12678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12679         (__pthread_mutexattr_settype): Likewise.
12680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12681         (__pthread_rwlock_init): Likewise.
12682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12683         (__pthread_rwlock_destroy): Likewise.
12684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12685         (__pthread_rwlock_rdlock): Likewise.
12686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12687         (__pthread_rwlock_tryrdlock): Likewise.
12688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12689         (__pthread_rwlock_wrlock): Likewise.
12690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12691         (__pthread_rwlock_trywrlock): Likewise.
12692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12693         (__pthread_rwlock_unlock): Likewise.
12694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12695         (__pthread_key_create): Likewise.
12696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12697         (__pthread_setspecific): Likewise.
12698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12699         (__pthread_getspecific): Likewise.
12700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12701         Likewise.
12702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12703         (_pthread_cleanup_push_defer): Likewise.
12704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12705         (_pthread_cleanup_pop_restore): Likewise.
12706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12707         (pthread_setcancelstate): Likewise.
12708         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12709         <bp-sym.h>.
12710         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12711         (memchr): Do not use BP_SYM in weak_alias.
12712         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12713         (fegetenv): Do not use BP_SYM in versioned symbols.
12714         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12715         (fesetenv): Do not use BP_SYM in versioned symbols.
12716         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12717         (feupdateenv): Do not use BP_SYM in versioned symbols.
12718         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12719         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12720         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12721         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12722         (open64): Do not use BP_SYM in weak_alias.
12723         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12724         (fegetenv): Do not use BP_SYM in versioned symbols.
12725         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12726         (fesetenv): Do not use BP_SYM in versioned symbols.
12727         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12728         (feupdateenv): Do not use BP_SYM in versioned symbols.
12729         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12730         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12731         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12732         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12733         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12734         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12735         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12736         <bp-sym.h>.
12737         (__libc_start_main): Do not use BP_SYM.
12739 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12742         redundant return line.
12743         (norm): Likewise.
12744         (denorm): Likewise.
12745         (dbl_mp): Likewise.
12746         (sub_magnitudes): Likewise.
12747         (__add): Likewise.
12748         (__sub): Likewise.
12749         (__mul): Likewise.
12750         (__inv): Likewise.
12751         (__dvd): Likewise.
12752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12753         (norm): Likewise.
12754         (denorm): Likewise.
12755         (dbl_mp): Likewise.
12756         (sub_magnitudes): Likewise.
12757         (__add): Likewise.
12758         (__sub): Likewise.
12759         (__mul): Likewise.
12760         (__inv): Likewise.
12761         (__dvd): Likewise.
12763         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12764         instead of __mul.
12765         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12766         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12767         (cc32): Likewise.
12769         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12770         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12772         of __mul for squares.
12773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12774         function
12775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12776         Likewise.
12777         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12778         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12780 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12782         [BZ #13550]
12783         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12784         code.
12785         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12786         prototype or function definition.  Rename ubp_* variables and
12787         parameters.  Remove argv definitions conditional on
12788         [__BOUNDED_POINTERS__].
12789         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12790         * elf/dl-runtime.c (_dl_fixup): Likewise.
12791         * include/set-hooks.h (RUN_HOOK): Likewise.
12792         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12793         definition.
12794         * string/strcpy.c (strcpy): Do not use __unbounded.
12795         * sysdeps/generic/frame.h (struct layout): Likewise.
12796         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12797         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12798         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12799         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12800         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12801         (__backtrace): Likewise.
12802         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12803         use __ptrvalue.
12804         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12805         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12806         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12807         Likewise.
12808         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12809         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12810         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12811         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12812         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12813         Do not use __unbounded.
12814         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12815         Rename __unboundedrlimits parameter to rlimits in prototype.
12816         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12817         Do not use __unbounded.
12818         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12819         not use __ptrvalue.
12820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12821         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12822         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12823         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12824         __ptrvalue or __unbounded.
12825         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12826         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12827         use __unbounded.
12828         (__new_msgctl): Do not use __ptrvalue.
12829         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12830         __unbounded.
12831         (__libc_msgrcv): Do not use __ptrvalue.
12832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12833         startup_info): Do not use __unbounded.
12834         (__libc_start_main): Likewise.  Rename ubp_* variables and
12835         parameters.  Remove argv definitions conditional on
12836         [__BOUNDED_POINTERS__].
12837         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12838         __ptrvalue.
12839         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12840         use __unbounded.
12841         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12842         or __ptrvalue.
12843         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12844         use __unbounded.
12845         (__new_shmctl): Do not use __ptrvalue.
12846         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12847         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12848         Likewise.
12849         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12850         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12851         (__libc_sigaction): Likewise.
12852         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12853         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12854         Likewise.
12855         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12857 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12859         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12861         * string/mempcpy.c: Implement by calling memcpy.
12863 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12868         evaluation.
12870         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12871         values in the mantissa.
12873         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12874         minimize writes to Z.
12875         (sub_magnitudes): Simplify code a bit.
12877 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12879         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12880         from the message.  The linker prefixes all warnings with that already.
12882 2013-02-12  Andreas Schwab  <schwab@suse.de>
12884         [BZ #15078]
12885         * posix/regexec.c (extend_buffers): Add parameter min_len.
12886         (check_matching): Pass minimum needed length.
12887         (clean_state_log_if_needed): Likewise.
12888         (get_subexp): Likewise.
12889         * posix/Makefile (tests): Add bug-regex34.
12890         (bug-regex34-ENV): Define.
12891         * posix/bug-regex34.c: New file.
12893         [BZ #11561]
12894         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12895         elements compare against the byte sequence of it, not its name.
12896         * posix/Makefile (tests): Add bug-regex35.
12897         (bug-regex35-ENV): Define.
12898         * posix/bug-regex35.c: New file.
12900 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12902         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12903         comment.
12904         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12905         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12906         (CHECK_EOL): Add undef.
12908 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12910         * bits/stdlib-bsearch.h: New file.
12911         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12912         * stdlib/stdlib.h: Likewise.
12914 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12916         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12917         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12918         declaration.
12919         * manual/search.texi (Array Search Function): Add missing const in
12920         lfind prototype.
12921         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12922         declaration to use rlim_t.
12923         (Basic Scheduling Functions): Remove erroneous const from
12924         sched_getparam prototype.  Remove erroneous * from
12925         sched_get_priority_max and sched_get_priority_min prototypes.
12926         (Resource Usage): Fix summary @comment on vtimes to refer to
12927         sys/vtimes.h rather than vtimes.h.
12928         Add missing *s in vtimes prototype.
12929         (Limits on Resources): Fix ulimit prototype to return long int.
12930         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12931         prototypes to use long int rather than double.
12932         (BSD Random): Fix initstate and setstate to use char *, not void *.
12933         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12934         prototype to make second argument 'struct aiocb64 *const[]'.
12935         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12936         (Status of AIO Operations): Remove erroneous const in aio_return and
12937         aio_return64 prototypes.
12938         (Synchronizing I/O): Fix sync prototype to return void.
12939         * manual/startup.texi (Suboptions): Remove an erroneous const in
12940         getsubopt prototype.
12941         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12942         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12943         use size_t rather than int.
12944         (Scanning All Users): Likewise for getpwent_r.
12945         (Setting Groups): Add missing const to setgroups prototype.
12946         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12947         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12948         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12949         'const void *' rather than 'const char *'.
12950         (Host Address Functions): Likewise for inet_ntop.
12951         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12952         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12953         ssize_t for return value.
12954         (Sending Data): Likewise for send, sendto, sendmsg.
12955         (Socket Option Functions): Add a missing const in setsockopt prototype.
12956         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12957         use wchar_t for the argument.
12958         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12959         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12960         take no arguments.
12961         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12962         double/float/long double for second argument.
12963         Fix return types of significand, significandf, significandl.
12964         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12965         argument in fchmod prototype.
12966         (File Owner): Use uid_t and gid_t in fchown prototype.
12967         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12968         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12969         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12970         use 'const struct dirent **' as argument types to CMP function pointer
12971         argument.
12972         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12973         (File Times): Fix summary magic @comment for struct utimbuf and utime
12974         to refer to utime.h, not time.h.
12975         * manual/string.texi (Argz Functions): Add missing const in
12976         argz_extract and argz_next prototypes.
12977         (Finding Tokens in a String): Likewise for basename.
12978         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12979         (Copying and Concatenation): Fix typo in wmemmove prototype.
12980         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12981         (Signal Stack): Remove erroneous const in sigstack prototype.
12982         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12983         prototype.
12984         (Simple Calendar Time): Likewise for stime.
12985         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12986         prototype.
12987         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12988         say sys/sysctl.h instead.
12989         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12990         and vsyslog prototypes.
12992 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12994         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12995         Remove.
12997 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12999         * misc/sys/mman.h: Fix typo in mremap comment.
13001 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13003         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13004         the '\0' terminator.
13006 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13008         [BZ #13550]
13009         * debug/segfault.c: Don't include <bp-checks.h>.
13010         * sysdeps/generic/bp-checks.h: Remove file.
13011         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13012         (__GETDENTS): Don't use CHECK_N.
13013         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13014         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13015         (__getgroups): Don't use CHECK_N.
13016         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13017         (setgroups): Don't use CHECK_N.
13018         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13019         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13020         (__libc_msgrcv): Don't use CHECK_N.
13021         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13022         (__libc_msgsnd): Don't use CHECK_N.
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13024         <bp-checks.h>.
13025         (__libc_pread): Don't use CHECK_N.
13026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13027         include <bp-checks.h>.
13028         (__libc_pread64): Don't use CHECK_N.
13029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13030         include <bp-checks.h>.
13031         (__libc_pwrite): Don't use CHECK_N.
13032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13033         include <bp-checks.h>.
13034         (__libc_pwrite64): Don't use CHECK_N.
13035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13036         <bp-checks.h>.
13037         (__libc_pread): Don't use CHECK_N.
13038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13039         include <bp-checks.h>.
13040         (__libc_pread64): Don't use CHECK_N.
13041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13042         include <bp-checks.h>.
13043         (__libc_pwrite): Don't use CHECK_N.
13044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13045         include <bp-checks.h>.
13046         (__libc_pwrite64): Don't use CHECK_N.
13047         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13048         (do_pread): Don't use CHECK_N.
13049         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13050         (do_pread64): Don't use CHECK_N.
13051         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13052         (do_pwrite): Don't use CHECK_N.
13053         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13054         (do_pwrite64): Don't use CHECK_N.
13055         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13056         (__libc_readv): Don't use CHECK_N.
13057         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13058         (semop): Don't use CHECK_N.
13059         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13060         <bp-checks.h>.
13061         (semtimedop): Don't use CHECK_N.
13062         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13063         (__libc_pread): Don't use CHECK_N.
13064         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13065         <bp-checks.h>.
13066         (__libc_pread64): Don't use CHECK_N.
13067         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13068         <bp-checks.h>.
13069         (__libc_pwrite): Don't use CHECK_N.
13070         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13071         <bp-checks.h>.
13072         (__libc_pwrite64): Don't use CHECK_N.
13073         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13074         <bp-checks.h>.
13075         (__libc_msgrcv): Don't use CHECK_N.
13076         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13077         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13078         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13079         (__libc_writev): Don't use CHECK_N.
13081 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13083         * string/strcpy.c: Removed unused variable.
13085         * Makeconfig (+sysdep-includes): Define with := rather than =.
13086         Use an existing include/ subdir of each sysdeps dir before it.
13088 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13090         * nscd/connection.c (register_traced_file): Comment function.
13091         [HAVE_INOTIFY] (union __inev): Define.
13092         [HAVE_INOTIFY] (inotify_check_files): New function.
13093         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13094         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13095         clear_db_cache.
13096         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13098 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13100         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13101         loaded if not already and that a failure is permanent.
13103 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13105         [BZ #15006]
13106         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13107         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13109 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13111         [BZ #13550]
13112         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13113         (CHECK_1_NULL_OK): Likewise.
13114         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13115         (__fxstat): Do not use CHECK_1.
13116         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13117         <bp-checks.h>.
13118         (___fxstat64): Do not use CHECK_1.
13119         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13120         <bp-checks.h>.
13121         (__fxstatat): Do not use CHECK_1.
13122         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13123         <bp-checks.h>.
13124         (__fxstatat64): Do not use CHECK_1.
13125         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13126         <bp-checks.h>.
13127         (__fxstat): Do not use CHECK_1.
13128         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13129         <bp-checks.h>.
13130         (__fxstatat): Do not use CHECK_1.
13131         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13132         <bp-checks.h>.
13133         (__getresgid): Do not use CHECK_1.
13134         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13135         <bp-checks.h>.
13136         (__getresuid): Do not use CHECK_1.
13137         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13138         <bp-checks.h>.
13139         (__lxstat): Do not use CHECK_1.
13140         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13141         <bp-checks.h>.
13142         (__old_msgctl): Do not use CHECK_1.
13143         (__new_msgctl): Likewise.
13144         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13145         <bp-checks.h>.
13146         (__new_setrlimit): Do not use CHECK_1.
13147         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13148         <bp-checks.h>.
13149         (__old_shmctl): Do not use CHECK_1.
13150         (__new_shmctl): Likewise.
13151         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13152         <bp-checks.h>.
13153         (__xstat): Do not use CHECK_1.
13154         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13155         (__lxstat): Do not use CHECK_1.
13156         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13157         <bp-checks.h>.
13158         (___lxstat64): Do not use CHECK_1.
13159         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13160         (__old_msgctl): Do not use CHECK_1.
13161         (__new_msgctl): Likewise.
13162         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13163         <bp-checks.h>.
13164         (__gettimeofday): Do not use CHECK_1.
13165         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13166         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13167         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13168         <bp-checks.h>.
13169         (__gettimeofday): Do not use CHECK_1.
13170         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13171         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13172         (__new_shmctl): Do not use CHECK_1.
13173         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13174         <bp-checks.h>.
13175         (do_sigtimedwait): Do not use CHECK_1.
13176         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13177         <bp-checks.h>.
13178         (do_sigwaitinfo): Do not use CHECK_1.
13179         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13180         <bp-checks.h>.
13181         (msgctl): Do not use CHECK_1.
13182         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13183         <bp-checks.h>.
13184         (shmctl): Do not use CHECK_1.
13185         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13186         (ustat): Do not use CHECK_1.
13187         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13188         <bp-checks.h>.
13189         (__fxstat): Do not use CHECK_1.
13190         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13191         <bp-checks.h>.
13192         (__fxstatat): Do not use CHECK_1.
13193         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13194         <bp-checks.h>.
13195         (__lxstat): Do not use CHECK_1.
13196         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13197         <bp-checks.h>.
13198         (__xstat): Do not use CHECK_1.
13199         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13200         (__xstat): Do not use CHECK_1.
13201         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13202         (___xstat64): Do not use CHECK_1.
13204         [BZ #13550]
13205         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13206         definitions.
13207         (CHECK_BOUNDS_HIGH): Likewise.
13208         * string/strcpy.c: Do not include <bp-checks.h>.
13209         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13211 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13213         * nscd/nscd-client.h (__nscd_drop_map_ref):
13214         Add __attribute__ ((unused)).
13215         * nis/nss-nisplus.h (niserr2nss): Likewise.
13217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13218         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13220         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13221         Remove inline keyword.
13222         * include/rounding-mode.h (round_away): Likewise.
13223         * libio/wfileops.c (adjust_wide_data): Likewise.
13224         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13225         (__m128i_strloadu_tolower): Likewise.
13226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13227         (__m128i_strloadu_tolower): Likewise.
13228         * time/mktime.c (ydhms_diff): Likewise.
13229         * locale/elem-hash.h (elem_hash): Likewise.
13230         * locale/setlocale.c (setdata): Likewise.
13231         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13232         (re_string_wchar_at): Likewise.
13233         (bitset_not, bitset_merge, bitset_mask): Likewise.
13234         [!(__GNUC__ > 3)] (inline): Remove macro.
13235         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13236         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13237         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13238         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13239         * string/memcmp.c (memcmp_bytes): Likewise.
13240         * locale/programs/locarchive.c (compute_hashval): Likewise.
13241         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13242         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13243         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13244         * nss/getent.c (print_rpc, print_protocols): Likewise.
13245         (print_passwd, print_group, print_aliases): Likewise.
13246         * nis/nss-nisplus.h (niserr2nss): Likewise.
13247         * nscd/connections.c (restart_p): Likewise.
13248         Change return type to bool.
13250 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13252         * Makeconfig (all-Depend-files): Add existing
13253         $(sorted-subdirs:=/Depend) files.
13254         (all-subdirs): Remove nss.
13255         * sysdeps/unix/inet/Subdirs: Add it here instead.
13256         * hesiod/Depend: New file.
13258         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13259         instead of calling alloca.
13261         * io/lseek.c (__lseek): Rename to __libc_lseek.
13262         Define __lseek as an alias.
13264         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13266 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13268         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13269         else clause and remove check for non-standard endianness.
13271 2013-02-04  David S. Miller  <davem@davemloft.net>
13273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13275 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13277         [BZ #13550]
13278         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13279         (__ubp_memchr): Remove prototype.
13280         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13281         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13282         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13283         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13284         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13285         Remove alias.
13286         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13287         (__ubp_memchr): Likewise.
13288         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13289         (__ubp_memchr): Likewise.
13290         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13291         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13292         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13293         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13294         CHECK_STRING.
13295         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13296         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13297         (__getcwd): Do not use CHECK_STRING.
13298         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13299         <bp-checks.h>.
13300         (__real_chown): Do not use CHECK_STRING.
13301         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13302         <bp-checks.h>.
13303         (fchownat): Do not use CHECK_STRING.
13304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13305         CHECK_STRING.
13306         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13307         <bp-checks.h>.
13308         (__lchown): Do not use CHECK_STRING.
13309         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13310         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13311         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13312         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13314         include <bp-checks.h>.
13315         (truncate64): Do not use CHECK_STRING.
13316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13317         <bp-checks.h>.
13318         (__real_chown): Do not use CHECK_STRING.
13319         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13320         <bp-checks.h>.
13321         (__lchown): Do not use CHECK_STRING.
13322         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13323         <bp-checks.h>.
13324         (__chown): Do not use CHECK_STRING.
13325         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13326         <bp-checks.h>.
13327         (truncate64): Do not use CHECK_STRING.
13328         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13329         Likewise.
13330         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13331         (__xmknod): Do not use CHECK_STRING.
13332         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13333         <bp-checks.h>.
13334         (__xmknodat): Do not use CHECK_STRING.
13335         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13336         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13338 2013-02-04  Andreas Schwab  <schwab@suse.de>
13340         [BZ #14142]
13341         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13342         * include/netdb.h: Likewise for h_errno.
13343         * elf/tst-stackguard1.c: Include <tls.h>.
13345 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13347         * elf/link.h (struct link_map): Extend the l_addr comment.
13348         * include/link.h (struct link_map): Likewise.
13350 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #13550]
13353         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13354         (BOUNDED_1): Remove macro.
13355         * debug/backtrace.c: Don't include <bp-checks.h>.
13356         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13357         (__backtrace): Likewise.
13358         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13359         <bp-checks.h>.
13360         (__backtrace): Don't use BOUNDED_1.
13361         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13362         <bp-checks.h>.
13363         (__backtrace): Don't use BOUNDED_1.
13364         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13365         (__backtrace): Don't use BOUNDED_1.
13366         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13367         (shmat): Don't use BOUNDED_N.
13369 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13371         [BZ #13550]
13372         * sysdeps/generic/bp-start.h: Remove file.
13373         * csu/libc-start.c: Don't include <bp-start.h>.
13374         (LIBC_START_MAIN): Set up __environ directly instead of using
13375         INIT_ARGV_and_ENVIRON.
13376         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13377         <bp-start.h>.
13379         [BZ #13550]
13380         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13381         definitions.
13382         (CHECK_FCNTL): Likewise.
13383         (CHECK_N_PAGES): Likewise.
13385         [BZ #13550]
13386         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13387         definitions.
13388         (CHECK_SIGSET_NULL_OK): Likewise.
13389         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13390         <bp-checks.h>.
13391         (sigpending): Don't use CHECK_SIGSET.
13392         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13393         <bp-checks.h>.
13394         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13395         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13396         <bp-checks.h>.
13397         (do_sigsuspend): Don't use CHECK_SIGSET.
13398         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13399         use CHECK_SIGSET.
13400         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13401         (do_sigwait): Don't use CHECK_SIGSET.
13402         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13403         use CHECK_SIGSET.
13404         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13405         include <bp-checks.h>.
13406         (sigpending): Don't use CHECK_SIGSET.
13407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13408         include <bp-checks.h>.
13409         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13410         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13411         <bp-checks.h>.
13412         (sigpending): Don't use CHECK_SIGSET.
13413         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13414         <bp-checks.h>.
13415         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13417         [BZ #13550]
13418         * sysdeps/generic/bp-semctl.h: Remove file.
13419         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13420         <bp-checks.h> and <bp-semctl.h>.
13421         (__old_semctl): Don't use CHECK_SEMCTL.
13422         (__new_semctl): Likewise.
13423         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13424         and <bp-semctl.h>.
13425         (__old_semctl): Don't use CHECK_SEMCTL.
13426         (__new_semctl): Likewise.
13427         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13428         <bp-checks.h> and <bp-semctl.h>.
13429         (__old_semctl): Don't use CHECK_SEMCTL.
13430         (__new_semctl): Likewise.
13431         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13432         <bp-checks.h> and <bp-semctl.h>.
13433         (semctl): Don't use CHECK_SEMCTL.
13435         [BZ #13550]
13436         * Makerules (elide-bp-thunks): Remove variable.
13437         (elide-routines.oS): Don't use $(elide-bp-thunks).
13438         (elide-routines.os): Likewise.
13439         (elide-routines.o): Likewise.
13440         (elide-routines.op): Likewise.
13441         (elide-routines.og): Likewise.
13442         (objects): Don't use $(bp-thunks).
13443         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13444         include.
13445         (common-generated): Do not add s-proto-bp.d.
13446         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13447         (int): Likewise.
13448         (typ): Likewise.
13449         Do not generate makefile rules for bounded-pointer thunks.
13450         * sysdeps/generic/bp-thunks.h: Remove file.
13451         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13452         * sysdeps/unix/s-proto-bp.S: Likewise.
13454         [BZ #15062]
13455         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13456         parts of result separately when argument is not close to line from
13457         -i to i and one part of argument is small.
13458         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13459         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13460         * math/libm-test.inc (cacos_test): Add more tests.
13461         (casin_test): Likewise.
13462         (casinh_test): Likewise.
13463         * sysdeps/i386/fpu/libm-test-ulps: Update.
13464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13466 2013-01-31  David S. Miller  <davem@davemloft.net>
13468         * po/de.po: Update from translation team.
13470 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13472         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13474 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13476         * configure.in (_AC_PROG_CC_C89): New definition.
13477         * configure: Regenerate.
13479         * configure.in (AC_PROG_CPP): New definition.
13480         * configure: Regenerate.
13482 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13484         * debug/tst-backtrace.h: New file.
13485         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13486         (ret): Remove variable.
13487         (x): Likewise.
13488         (FAIL): Remove macro.
13489         (NO_INLINE): Likewise.
13490         (fn1): Use match function instead of strstr.
13491         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13492         (ret): Remove variable.
13493         (x): Likewise.
13494         (FAIL): Remove macro.
13495         (NO_INLINE): Likewise.
13496         (fn): Use match function instead of strstr.
13497         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13498         (ret): Remove variable.
13499         (x): Likewise.
13500         (FAIL): Remove macro.
13501         (NO_INLINE): Likewise.
13502         (handle_signal): Use match function instead of strstr.
13503         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13504         (ret): Remove variable.
13505         (x): Likewise.
13506         (FAIL): Remove macro.
13507         (NO_INLINE): Likewise.
13508         (handle_signal): Use match function instead of strstr.
13510 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13512         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13514 2013-01-23  David S. Miller  <davem@davemloft.net>
13516         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13517         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13518         argument of CAS if possible.
13519         * sysdeps/sparc/sparc64/bits/atomic.h
13520         (__arch_compare_and_exchange_val_32_acq): Likewise.
13521         (__arch_compare_and_exchange_val_64_acq): Likewise.
13523 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13525         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13526         * sysdeps/posix/ulimit.c: ... this.
13527         Include <limits.h>.
13528         * sysdeps/unix/bsd/ulimit.c: Remove file.
13530 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13532         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13533         (LDFLAGS-tst-array5): Likewise.
13535 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13537         [BZ #15036]
13538         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13539         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13540         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13541         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13543 2013-01-21  David S. Miller  <davem@davemloft.net>
13545         * sysdeps/sparc/backtrace.c: New file.
13546         * sysdeps/sparc/sparc32/backtrace.h: New file.
13547         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13548         * sysdeps/sparc/sparc64/backtrace.h: New file.
13549         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13550         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13551         -funwind-tables.
13553 2013-01-21  Andreas Schwab  <schwab@suse.de>
13555         [BZ #15020]
13556         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13557         closed its stdout.
13559 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13562         "mpa2.h".
13563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13565 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13566             Mark Mitchell  <mark@codesourcery.com>
13567             Tom de Vries  <tom@codesourcery.com>
13568             Paul Pluzhnikov  <ppluzhnikov@google.com>
13570         * debug/tst-backtrace2.c: New file.
13571         * debug/tst-backtrace3.c: Likewise.
13572         * debug/tst-backtrace4.c: Likewise.
13573         * debug/tst-backtrace5.c: Likewise.
13574         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13575         (CFLAGS-tst-backtrace3.c): Likewise.
13576         (CFLAGS-tst-backtrace4.c): Likewise.
13577         (CFLAGS-tst-backtrace5.c): Likewise.
13578         (LDFLAGS-tst-backtrace2): Likewise.
13579         (LDFLAGS-tst-backtrace3): Likewise.
13580         (LDFLAGS-tst-backtrace4): Likewise.
13581         (LDFLAGS-tst-backtrace5): Likewise.
13582         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13583         tst-backtrace4 and tst-backtrace5.
13585 2013-01-18  Anton Blanchard  <anton@samba.org>
13586             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13589         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13590         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13591         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13593         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13594         "+r" and remove output regs list as redundant.  Add explicit inline
13595         asm to specify register of return val to work around compiler codegen
13596         bug.  Remove (int) cast on return value.  Add return type parameter to
13597         use in macro so that this macro does not truncate return value for
13598         64-bit values.
13599         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13600         pass to INTERNAL_VSYSCALL_NCS.
13601         (INLINE_VSYSCALL): Add 'long int' as return type to
13602         INTERNAL_VSYSCALL_NCS macro invocation.
13603         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13604         INTERNAL_VSYSCALL_NCS macro invocation.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13607 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13609         [BZ #14496]
13610         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13611         Fix application of SIMD FP exception mask.
13613         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13614         mp_no from a power of two.
13615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13616         __mpexp_twomm1.  Use __pow_mp.
13618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13619         multiplication.
13621 2013-01-17  David S. Miller  <davem@davemloft.net>
13623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13625 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #15023]
13628         * include/complex.h: Condition contents on [!_COMPLEX_H].
13629         (__kernel_casinhf): New prototype.
13630         (__kernel_casinh): Likewise.
13631         (__kernel_casinhl): Likewise.
13632         * math/Makefile (libm_calls): Add k_casinh.
13633         * math/k_casinh.c: New file.
13634         * math/k_casinhf.c: Likewise.
13635         * math/k_casinhl.c: Likewise.
13636         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13637         finite nonzero arguments.
13638         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13639         finite nonzero arguments.
13640         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13641         finite nonzero arguments.
13642         * math/s_casinh.c: Do not include <float.h>.
13643         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13644         * math/s_casinhf.c: Do not include <float.h>.
13645         (__casinhf): Move code for finite nonzero arguments to
13646         k_casinhf.c.
13647         * math/s_casinhl.c: Do not include <float.h>.
13648         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13649         redefine.
13650         (__casinhl): Move code for finite nonzero arguments to
13651         k_casinhl.c.
13652         * math/libm-test.inc (cacos_test): Add more tests.
13653         * sysdeps/i386/fpu/libm-test-ulps: Update.
13654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13656 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13658         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13659         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13660         [!HAVE_MREMAP]: Remove [defined linux] case.
13661         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13663 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13665         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13667 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13669         * elf/elf.h (R_386_SIZE32): New relocation.
13670         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13671         R_386_SIZE32.
13672         (elf_machine_rela): Likewise.
13673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13674         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13676 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13678         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13679         (FP_FAST_FMA): Do not define.
13680         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13681         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13682         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13683         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13684         !_SOFT_FLOAT]: Likewise.
13685         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13686         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13687         value.
13688         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13689         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13690         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13692         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13693         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13694         file.
13696 2013-01-16  Andreas Schwab  <schwab@suse.de>
13698         [BZ #14327]
13699         * include/stdlib.h (__mktemp): Add declaration.
13700         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13701         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13703 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13705         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13706         definitions.
13707         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13708         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13709         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13710         definitions here.
13711         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13712         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13713         definitions.
13714         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13715         and ONE.
13716         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13717         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13718         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13719         definitions.
13720         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13721         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13722         definitions.
13723         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13725         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13727 2013-01-15  David S. Miller  <davem@davemloft.net>
13729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13730         trunc{,f} to libm-sysdep_routes.
13731         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13733         file.
13734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13736         file.
13737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13738         file.
13739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13741         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13742         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13743         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13744         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13745         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13746         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13749         nearbyint{,f} to libm-sysdep_routes.
13750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13752         New file.
13753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13754         file.
13755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13756         New file.
13757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13758         file.
13759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13761         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13762         file.
13763         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13764         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13765         file.
13766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13767         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13768         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13771         libc_feholdexcept and libc_fesetenv.
13773 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13775         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13777 2013-01-14  David S. Miller  <davem@davemloft.net>
13779         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13780         (SPARC_ASM_VIS2_IFUNC): Likewise.
13781         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13783         use of 'siam' instruction.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13785         Likewise.
13786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13787         Likewise.
13788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13789         Likewise.
13790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13795         file.
13796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13797         file.
13798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13799         file.
13800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13801         file.
13802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13807         new VIS2 routines.
13808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13811         Likewise.
13812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13815         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13817         routines to libm-sysdep_routines.
13818         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13821         fdim/fdimf to libm-sysdep_routines.
13822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13823         file.
13824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13826         file.
13827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13830         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13831         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13832         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13833         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13835 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13837         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13838         to optimize copies.
13840         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13845         local variable MPTWO.
13846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13847         Likewise.
13849 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13851         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13852         GLOB_NOESCAPE.
13854 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13856         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13858 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13860         * manual/pattern.texi (glob_t): Document gl_flags.
13861         (glob64_t): Likewise.
13863 2013-01-11  David S. Miller  <davem@davemloft.net>
13865         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13866         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13867         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13868         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13869         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13870         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13871         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13872         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13873         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13874         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13875         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13876         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13877         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13879         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13880         sparc V9 rather than using V8 code.
13881         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13882         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13884         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13885         Move to...
13886         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13887         Here.
13889 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13891         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13892         not in the main loop.
13893         * configure: Regenerated.
13895 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13897         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13898         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13899         to just #else.
13900         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13901         [!__GLIBC_HAVE_LONG_LONG] case.
13902         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13903         condition to just #else.
13904         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13905         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13906         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13907         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13908         unconditional.
13909         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13910         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13911         #elif condition to just #else.
13912         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13913         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13914         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13915         #elif condition to just #else.
13917 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13919         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13920         (EF_MIPS_ARCH_64): Fix value.
13921         (EF_MIPS_ARCH_32R2): New.
13922         (EF_MIPS_ARCH_64R2): New.
13924 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13926         * Makeconfig (+link-pie-before-libc): New.
13927         (+link-pie-after-libc): Likewise.
13928         (+link-pie-tests): Likewise.
13929         (+link-pie): Rewritten.
13930         (link-before-libc): Remove $(config-LDFLAGS).
13931         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13932         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13933         (config-LDFLAGS): Renamed to ...
13934         (rtld-LDFLAGS): This.
13935         (rtld-tests-LDFLAGS): New macro.
13936         (link-libc-rpath-link): Likewise.
13937         (link-libc-tests-rpath-link): Likewise.
13938         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13939         (link-libc): Prepand $(link-libc-rpath-link).
13940         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13941         (test-program-prefix): New macro.
13942         (test-via-rtld-prefix): Likewise.
13943         (test-program-cmd): Likewise.
13944         (host-test-program-cmd): Likewise.
13945         * Makefile ($(common-objpfx)testrun.sh): Replace
13946         $(run-program-prefix) with $(test-program-prefix).
13947         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13948         $(rtld-LDFLAGS).
13949         ($(common-objpfx)shlib.lds): Likewise.
13950         (build-module-helper): Likewise.
13951         ($(common-objpfx)format.lds): Likewise.
13952         * Rules (binaries-pie-tests): New.
13953         (binaries-pie-notests): Likewise.
13954         (binaries-pie): Rewritten.
13955         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13956         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13957         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13958         (make-test-out): Replace $(host-built-program-cmd) with
13959         $(host-test-program-cmd).
13960         * config.make.in (build-hardcoded-path-in-tests): New variable.
13961         * configure.in (--enable-hardcoded-path-in-tests): New configure
13962         option.
13963         (hardcoded_path_in_tests): New AC_SUBST.
13964         * configure: Regenerated.
13965         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13966         $(built-program-cmd) with $(test-program-cmd).
13967         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13968         (test_program_cmd): This.
13969         * elf/Makefile ($(objpfx)order.out): Run test with
13970         $(test-program-prefix).
13971         ($(objpfx)order2.out): Likewise.
13972         ($(objpfx)tst-initorder.out): Likewise.
13973         ($(objpfx)tst-initorder2.out): Likewise.
13974         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13975         $(test-program-cmd).
13976         ($(objpfx)tst-array1-static.out): Likewise.
13977         ($(objpfx)tst-array2.out): Likewise.
13978         ($(objpfx)tst-array3.out): Likewise.
13979         ($(objpfx)tst-array4.out): Likewise.
13980         ($(objpfx)tst-array5.out): Likewise.
13981         ($(objpfx)tst-array5-static.out): Likewise.
13982         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13983         $(test-program-cmd).
13984         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13985         $(run-program-prefix) with $(test-program-prefix).
13986         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13987         (test_program_prefix): This.
13988         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13989         $(run-program-prefix) with $(test-program-prefix).
13990         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13991         (test_program_prefix): This.
13992         * iconvdata/tst-tables.sh: Likewise.
13993         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13994         $(run-program-prefix) with $(test-program-prefix).
13995         ($(objpfx)tst-translit.out): Likewise.
13996         ($(objpfx)tst-gettext2.out): Likewise.
13997         ($(objpfx)tst-gettext4.out): Likewise.
13998         ($(objpfx)tst-gettext6.out): Likewise.
13999         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14000         (test_program_prefix): This.
14001         * intl/tst-gettext2.sh: Likewise.
14002         * intl/tst-gettext4.sh  Likewise.
14003         * intl/tst-gettext6.sh: Likewise.
14004         * intl/tst-translit.sh: Likewise.
14005         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14006         with $(test-program-cmd).
14007         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14008         $(run-program-prefix) with $(test-program-prefix).
14009         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14010         (test_program_prefix): This.
14011         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14012         $(run-program-prefix) with $(test-program-prefix).
14013         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14014         (test_program_prefix): This.
14015         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14016         * posix/Makefile ($(objpfx)globtest.out): Replace
14017         $(run-via-rtld-prefix) and $(test-wrapper) with
14018         $(test-program-prefix) and $(test-via-rtld-prefix).
14019         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14020         $(test-program-prefix).
14021         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14022         $(host-test-program-cmd).
14023         (tst-spawn-ARGS): Likewise.
14024         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14025         $(test-program-prefix).
14026         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14027         (test_via_rtld_prefix): This.
14028         (test_wrapper): Renamed to ...
14029         (test_program_prefix): This.
14030         (run_program_prefix): Replaced by test_program_prefix.
14031         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14032         (test_program_prefix): This.
14033         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14034         with $(host-test-program-cmd).
14035         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14036         $(run-program-prefix) with $(test-program-prefix).
14037         ($(objpfx)tst-printf.out): Likewise.
14038         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14039         $(test-program-cmd).
14040         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14041         (test_program_prefix): This.
14042         * stdio-common/tst-unbputc.sh: Likewise.
14043         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14044         $(run-program-prefix) with $(test-program-prefix).
14045         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14046         (test_program_prefix): This.
14047         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14048         $(built-program-cmd) with $(test-program-cmd).
14050 2013-01-11  Andreas Jaeger  <aj@suse.de>
14052         [BZ #15003]
14053         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14054         value. Sync with Linux 3.7.
14056 2013-01-10  David S. Miller  <davem@davemloft.net>
14058         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14059         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14060         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14062 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14064         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14065         never set.
14066         * configure: Regenerated.
14068 2013-01-10  David S. Miller  <davem@davemloft.net>
14070         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14071         sparc V9 rather than using V8 code.
14072         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14073         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14075 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14077         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14078         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14079         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14080         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14081         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14082         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14083         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14084         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14085         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14086         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14087         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14088         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14089         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14090         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14091         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14092         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14093         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14094         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14095         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14096         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14097         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14098         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14099         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14100         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14101         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14102         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14103         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14105 2013-01-10  David S. Miller  <davem@davemloft.net>
14107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14109 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14111         * posix/Makefile (tests-static): New variable.
14112         (tests): Add $(tests-static).
14113         (tst-exec-static-ARGS): New variable.
14114         (tst-spawn-static-ARGS): Likewise.
14115         * posix/tst-exec-static.c: New file.
14116         * posix/tst-spawn-static.c: Likewise.
14117         * posix/tst-exec.c: Support run directly.
14118         * posix/tst-spawn.c: Likewise.
14120 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14122         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14123         long.
14124         * math/bits/mathcalls.h (llrint): Likewise.
14125         (llround): Likewise.
14126         * stdlib/stdlib.h (struct drand48_data): Likewise.
14127         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14128         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14129         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14130         Likewise.
14131         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14132         Likewise.
14133         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14134         (elf_greg_t): Likewise.
14135         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14136         (__jmp_buf): Likewise.
14137         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14138         definitions.
14139         (llrint): Likewise, for all definitions.
14140         (llrintl): Likewise.
14142         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14143         Remove [__GNUC__] condition.
14144         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14145         condition to just [__USE_ISOC99].
14146         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14148 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14150         [BZ #14200]
14151         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14152         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14153         defined.
14154         (_POSIX_V6_ILP32_OFF32): Likewise.
14155         (_XBS5_ILP32_OFF32): Likewise.
14156         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14157         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14159 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14161         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14163         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14164         doubles __mpexp_twomm1.  Adjust usage.
14165         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14166         Remove.
14168 2013-01-10  Andreas Schwab  <schwab@suse.de>
14170         [BZ #14964]
14171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14172         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14174 2013-01-09  David S. Miller  <davem@davemloft.net>
14176         [BZ #15003]
14177         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14178         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14179         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14180         TCP_FASTOPEN): Define.
14181         (tcp_repair_opt): New structure.
14182         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14183         enum values.
14184         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14185         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14186         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14187         (tcp_cookie_transactions): New structure.
14189 2013-01-09  Anton Blanchard  <anton@samba.org>
14191         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14192         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14194         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14196 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14198         * include/features.h (__USE_ANSI): Remove.
14200 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14202         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14204         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14206 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14208         * sysdeps/s390/fpu/libm-test-ulps: Update.
14210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14212         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14213         (__acr): Likewise.
14214         (__cpy): Likewise.
14215         (norm): Likewise.
14216         (denorm): Likewise.
14217         (__mp_dbl): Likewise.
14218         (__dbl_mp): Likewise.
14219         (add_magnitudes): Likewise.
14220         (sub_magnitudes): Likewise.
14221         (__add): Likewise.
14222         (__sub): Likewise.
14223         (__mul): Likewise.
14224         (__inv): Likewise.
14225         (__dvd): Likewise.
14226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14227         (__acr): Likewise.
14228         (__cpy): Likewise.
14229         (norm): Likewise.
14230         (denorm): Likewise.
14231         (__mp_dbl): Likewise.
14232         (__dbl_mp): Likewise.
14233         (add_magnitudes): Likewise.
14234         (sub_magnitudes): Likewise.
14235         (__add): Likewise.
14236         (__sub): Likewise.
14237         (__mul): Likewise.
14238         (__inv): Likewise.
14239         (__dvd): Likewise.
14240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14241         (__acr): Likewise.
14242         (__cpy): Likewise.
14243         (norm): Likewise.
14244         (denorm): Likewise.
14245         (__mp_dbl): Likewise.
14246         (__dbl_mp): Likewise.
14247         (add_magnitudes): Likewise.
14248         (sub_magnitudes): Likewise.
14249         (__add): Likewise.
14250         (__sub): Likewise.
14251         (__mul): Likewise.
14252         (__inv): Likewise.
14253         (__dvd): Likewise.
14255 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14257         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14258         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14259         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14260         2 && __USE_EXTERN_INLINES]: Likewise.
14262 2013-01-08  Andreas Jaeger  <aj@suse.de>
14264         [BZ# 14985]
14265         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14266         Remove.
14267         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14268         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14270 2013-01-07  Anton Blanchard  <anton@samba.org>
14272         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14273         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14274         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14275         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14276         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14277         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14278         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14279         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14281         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14282         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14283         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14285         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14286         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14287         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14288         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14289         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14290         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14291         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14292         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14293         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14294         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14295         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14296         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14297         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14299         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14300         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14301         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14302         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14305         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14307         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14308         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14310         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14311         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14312         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14314         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14316 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14318         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14319         (__MALLOC_PMT): Likewise.
14320         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14321         [__GNUC__], only on [_LIBC].
14322         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14323         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14324         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14325         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14326         forward declaration.
14327         (realloc_hook_ini): Likewise.
14328         (memalign_hook_ini): Likewise.
14329         (__libc_memalign): Do not use __MALLOC_PMT in variable
14330         declaration.
14331         (__libc_valloc): Likewise.
14332         (__libc_pvalloc): Likewise.
14333         (__libc_calloc): Likewise.
14334         (__posix_memalign): Likewise.
14336         [BZ #14996]
14337         * math/s_casinh.c: Include <float.h>.
14338         (__casinh): Do not do computation with squaring and square root
14339         for large arguments.
14340         * math/s_casinhf.c: Include <float.h>.
14341         (__casinhf): Do not do computation with squaring and square root
14342         for large arguments.
14343         * math/s_casinhl.c: Include <float.h>.
14344         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14345         (__casinhl): Do not do computation with squaring and square root
14346         for large arguments.
14347         * math/libm-test.inc (casin_test): Add more tests.
14348         (casinh_test): Likewise.
14349         * sysdeps/i386/fpu/libm-test-ulps: Update.
14350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14354         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14355         (__x86_64_raw_data_cache_size): Likewise.
14356         (__x86_64_data_cache_size_half): Likewise.
14357         (__x86_64_raw_data_cache_size_half): Likewise.
14358         (__x86_64_shared_cache_size): Likewise.
14359         (__x86_64_raw_shared_cache_size): Likewise.
14360         (__x86_64_shared_cache_size_half): Likewise.
14361         (__x86_64_raw_shared_cache_size_half): Likewise.
14362         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14363         to ...
14364         (__x86_data_cache_size): This.
14365         (__x86_64_raw_data_cache_size): Renamed to ...
14366         (__x86_raw_data_cache_size): This.
14367         (__x86_64_data_cache_size_half): Renamed to ...
14368         (__x86_data_cache_size_half): This.
14369         (__x86_64_raw_data_cache_size_half): Renamed to ...
14370         (__x86_raw_data_cache_size_half): This.
14371         (__x86_64_shared_cache_size): Renamed to ...
14372         (__x86_shared_cache_size): This.
14373         (__x86_64_raw_shared_cache_size): Renamed to ...
14374         (__x86_raw_shared_cache_size): This.
14375         (__x86_64_shared_cache_size_half): Renamed to ...
14376         (__x86_shared_cache_size_half): This.
14377         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14378         (__x86_raw_shared_cache_size_half): This.
14379         * sysdeps/x86_64/memcpy.S: Updated.
14380         * sysdeps/x86_64/memset.S: Likewise.
14381         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14382         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14383         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14385 2013-01-04  David S. Miller  <davem@davemloft.net>
14387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14389 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14391         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14392         1 to avoid redefinition warning.
14393         (__USE_GNU): Don't define.
14394         (init_signaling_nan): Protoize.
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14400         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14402         (__cpymn): Likewise.
14403         (norm): Remove commented code.
14404         (denorm): Likewise.
14405         (__mp_dbl): Likewise.
14406         (__inv): Likewise.
14407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14408         (__cpymn): Likewise.
14409         (norm): Remove commented code.
14410         (denorm): Likewise.
14411         (__mp_dbl): Likewise.
14412         (__inv): Likewise.
14414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14415         mp_no value for 1.0 and 2.0.
14416         (norm): Use RADIXI instead of radixi.d.
14417         (denorm): Likewise.
14418         (__mul): Use 0.0 instead of zero.d.
14419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14420         mp_no value for 1.0 and 2.0.
14421         (norm): Use RADIXI instead of radixi.d.
14422         (denorm): Likewise.
14423         (__mul): Use 0.0 instead of zero.d.
14425 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14427         [BZ #14994]
14428         * math/s_casinh.c (__casinh): Reduce finite argument to first
14429         quadrant then set signs of results at the end.
14430         * math/s_casinhf.c (__casinhf): Likewise.
14431         * math/s_casinhl.c (__casinhl): Likewise.
14432         * math/libm-test.inc (casin_test): Add more tests.
14433         (casinh_test): Likewise.
14434         * sysdeps/i386/fpu/libm-test-ulps: Update.
14435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14437 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14439         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14441         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14443         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14444         declarations.
14445         (denorm): Likewise.
14446         (__mp_dbl): Likewise.
14447         (__inv): Likewise.
14449         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14450         and adjust the header comment.
14452         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14453         variable name from declaration.
14455 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14458         Initialize COMMON_CPUID_INDEX_7 element.
14459         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14460         (CPUID_RTM): Likewise.
14461         (HAS_RTM): Likewise.
14462         (COMMON_CPUID_INDEX_7): New enum.
14464 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14466         [BZ #14981]
14467         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14468         size is zero, record memory as freed.
14470 2013-01-03  Andreas Jaeger  <aj@suse.de>
14472         * po/ia.po: Add new Interlingua translation.
14474 2012-01-03  Allan McRae  <allan@archlinux.org>
14476         * locale/programs/localedef.c: Fix description of '--posix' flag.
14478 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14480         * NEWS: Update dates in second copyright notice.
14481         * README: Update copyright dates in example.
14482         * manual/libc.texinfo: Update copyright dates.
14483         * scripts/test-installation.pl: Update copyright date in --version
14484         output.
14486         * hurd/ctty-input.c: Fix copyright notice formatting.
14487         * hurd/ctty-output.c: Likewise.
14488         * hurd/dtable.c: Likewise.
14489         * hurd/hurd-raise.c: Likewise.
14490         * hurd/hurdprio.c: Likewise.
14491         * hurd/msgportdemux.c: Likewise.
14492         * misc/sys/file.h: Likewise.
14493         * misc/sys/ioctl.h: Likewise.
14494         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14495         * sysdeps/mach/hurd/chdir.c: Likewise.
14496         * sysdeps/mach/hurd/fchdir.c: Likewise.
14497         * sysdeps/mach/hurd/rename.c: Likewise.
14498         * sysdeps/mach/hurd/rmdir.c: Likewise.
14499         * sysdeps/mach/hurd/seekdir.c: Likewise.
14500         * sysdeps/mach/hurd/setsid.c: Likewise.
14501         * sysdeps/posix/wait3.c: Likewise.
14503         * All files with FSF copyright notices: Update copyright dates
14504         using scripts/update-copyrights.
14505         * intl/plural.c: Regenerated.
14506         * locale/programs/charmap-kw.h: Likewise.
14507         * locale/programs/locfile-kw.h: Likewise.
14509 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14511         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14512         four values.
14514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14515         calculation loop and add branch prediction.
14517         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14518         check access beyond bounds of m1np.
14520         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14521         MPTWO.
14522         (__inv): Remove local variable MPTWO to use the global
14523         constant.
14524         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14525         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14526         variable MPTWO.
14527         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14528         MP3HALFS static const.
14530 2013-01-01  David S. Miller  <davem@davemloft.net>
14532         * po/ca.po: Update from translation team.
14534 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14536         * scripts/update-copyrights: New file.
14537         * Makeconfig: Reformat copyright notice.
14538         * ctype/ctype.h: Likewise.
14539         * debug/swprintf_chk.c: Likewise.
14540         * elf/dl-cache.c: Likewise.
14541         * elf/dl-debug.c: Likewise.
14542         * elf/dl-object.c: Likewise.
14543         * grp/initgroups.c: Likewise.
14544         * hurd/Makefile: Likewise.
14545         * hurd/hurd/signal.h: Likewise.
14546         * hurd/hurdfault.c: Likewise.
14547         * hurd/hurdioctl.c: Likewise.
14548         * hurd/hurdlookup.c: Likewise.
14549         * hurd/intr-msg.c: Likewise.
14550         * iconv/gconv_open.c: Likewise.
14551         * libio/swprintf.c: Likewise.
14552         * locale/lc-ctype.c: Likewise.
14553         * locale/nl_langinfo.c: Likewise.
14554         * mach/Machrules: Likewise.
14555         * mach/Makefile: Likewise.
14556         * malloc/obstack.h: Likewise.
14557         * manual/Makefile: Likewise.
14558         * manual/tsort.awk: Likewise.
14559         * misc/bits/stab.def: Likewise.
14560         * nis/nis_print_group_entry.c: Likewise.
14561         * nis/nis_table.c: Likewise.
14562         * nis/nss_compat/compat-pwd.c: Likewise.
14563         * nis/nss_compat/compat-spwd.c: Likewise.
14564         * po/Makefile: Likewise.
14565         * posix/fnmatch.c: Likewise.
14566         * posix/regex.h: Likewise.
14567         * resolv/Makefile: Likewise.
14568         * resolv/nss_dns/dns-network.c: Likewise.
14569         * resolv/res_hconf.c: Likewise.
14570         * scripts/gen-sorted.awk: Likewise.
14571         * soft-fp/soft-fp.h: Likewise.
14572         * stdio-common/printf.h: Likewise.
14573         * stdlib/monetary.h: Likewise.
14574         * stdlib/random.c: Likewise.
14575         * stdlib/random_r.c: Likewise.
14576         * sysdeps/generic/Makefile: Likewise.
14577         * sysdeps/gnu/Makefile: Likewise.
14578         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14580         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14586         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14588         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14589         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14594         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14602         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14606         * sysdeps/mach/hurd/errnos.awk: Likewise.
14607         * sysdeps/mach/hurd/fork.c: Likewise.
14608         * sysdeps/mach/hurd/getcwd.c: Likewise.
14609         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14610         * sysdeps/mach/hurd/mmap.c: Likewise.
14611         * sysdeps/mach/hurd/utimes.c: Likewise.
14612         * sysdeps/mach/hurd/xmknod.c: Likewise.
14613         * sysdeps/posix/profil.c: Likewise.
14614         * sysdeps/posix/readdir_r.c: Likewise.
14615         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14616         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14617         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14618         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14620         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14621         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14624         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14625         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14626         * sysdeps/pthread/lio_listio.c: Likewise.
14627         * sysdeps/sparc/dl-procinfo.h: Likewise.
14628         * sysdeps/unix/i386/sysdep.S: Likewise.
14629         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14630         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14631         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14632         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14634         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14635         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14636         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14637         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14638         * sysdeps/wordsize-32/divdi3.c: Likewise.
14639         * time/sys/time.h: Likewise.
14640         * wcsmbs/Makefile: Likewise.
14642 2013-01-01  David S. Miller  <davem@davemloft.net>
14644         * po/fr.po: Update from translation team.
14646         * catgets/gencat.c: Update copyright year.
14647         * csu/version.c: Likewise.
14648         * debug/catchsegv.sh: Likewise.
14649         * debug/pcprofiledump.c: Likewise.
14650         * debug/xtrace.sh: Likewise.
14651         * elf/ldconfig.c: Likewise.
14652         * elf/ldd.bash.in: Likewise.
14653         * elf/pldd.c: Likewise.
14654         * elf/sotruss.ksh: Likewise.
14655         * elf/sprof.c: Likewise.
14656         * iconv/iconv_prog.c: Likewise.
14657         * iconv/iconvconfig.c: Likewise.
14658         * locale/programs/locale.c: Likewise.
14659         * locale/programs/localedef.c: Likewise.
14660         * login/programs/pt_chown.c: Likewise.
14661         * malloc/memusage.sh: Likewise.
14662         * malloc/memusagestat.c: Likewise.
14663         * malloc/mtrace.pl: Likewise.
14664         * nscd/nscd.c: Likewise.
14665         * nss/getent.c: Likewise.
14666         * nss/makedb.c: Likewise.
14667         * posix/getconf.c: Likewise.
14669 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14671         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14672         numbers.
14674 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14676         * math/bits/mathcalls.h (modf): Use __nonnull.
14678 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14680         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14681         (split): Use macro CN instead of the bare value.
14682         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14683         could be used.
14684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14685         instead of the bare value.
14686         (power1): Likewise.
14688 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14691         __ATAN_TWOM.
14692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14694         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14695         their values.
14696         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14697         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14698         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14699         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14701 2012-12-28  Andreas Jaeger  <aj@suse.de>
14703         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14704         values are from Linux 3.7.
14706         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14707         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14709 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14711         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14712         TRUE case.
14714         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14715         (norm): Likewise.
14716         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14717         variables with preprocessor constants.
14718         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14719         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14720         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14722 2012-12-27  Bruno Haible  <bruno@clisp.org>
14724         [BZ #14317]
14725         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14726         only if needed.
14728 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14731         and use variable directly.
14732         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14734         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14735         MPONE.
14736         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14738         variable MPONE.
14739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14741         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14742         include directive.  Remove local variable MPONE.
14743         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14744         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14747 2012-12-25  David S. Miller  <davem@davemloft.net>
14749         * version.h (RELEASE): Set to "development".
14750         (VERSION): Set to "2.17.90".
14751         * NEWS: Add 2.18 section.
14753 2012-12-21  David S. Miller  <davem@davemloft.net>
14755         * po/hr.po: Update from translation team.
14757 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14759         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14761 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14763         * NEWS:  Mention new memcpy for MIPS.
14765 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14767         * manual/contrib.texi (Contributors): Spelling correction.
14769 2012-12-15  David S. Miller  <davem@davemloft.net>
14771         * po/ru.po: Update from translation team.
14773 2012-12-13  David S. Miller  <davem@davemloft.net>
14775         * NEWS: Mention IFUNC testsuite enhancements.
14777         * po/pl.po: Update from translation team.
14778         * po/bg.po: Likewise.
14780         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14781         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14783 2012-12-11  David S. Miller  <davem@davemloft.net>
14785         * po/sv.po: Update from translation team.
14787         * po/vi.po: Update from translation team.
14789         * po/cs.po: Update from translation team.
14791         * po/de.po: Update from translation team.
14792         * po/eo.po: Likewise.
14793         * po/nl.po: Likewise.
14795 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14797         [BZ #14246]
14798         * manual/argp.texi (Argp Helper Functions): Move node to follow
14799         Argp Parsing State.
14801         [BZ #14872]
14802         * manual/conf.texi (Limits on File System Capacity): Mention if
14803         terminating null is included in the max size.
14805 2012-12-10  Andreas Jaeger  <aj@suse.de>
14807         * po/cs.po: Update from translation team.
14809 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14811         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14812         void pointer and cast to uintptr_t.
14813         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14814         path.
14815         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14816         * sysdeps/s390/s390-64/memset.S: Likewise.
14818 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14820         [BZ #14833]
14821         * menual/message.texi (Message Translation): Fix typos.
14822         (Helper programs for gettext): Likewise.
14824 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14826         [BZ #14898]
14827         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14828         Change to -1.
14830 2012-12-07  David S. Miller  <davem@davemloft.net>
14832         * po/libc.pot: Update.
14834 2012-12-07  Richard Henderson  <rth@redhat.com>
14836         [BZ #10114]
14837         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14838         normal/normal case to before the switch.
14839         (_FP_DIV): Likewise.
14841 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14842             Mike Frysinger  <vapier@gentoo.org>
14844         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14845         check for __NR_fadvise64_64.
14847 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14849         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14850         0, not just to plain "0" as a statement.
14851         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14852         with cw.
14854 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14856         * NEWS: Use sourceware.org in Bugzilla URL.
14858 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14861         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14863         * stdio-common/tst-put-error.c (do_test): Add newline to the
14864         padded test to ensure flush.
14866 2012-12-05  Jeff Law  <law@redhat.com>
14868         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14870 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14872         * README: Don't refer to ports add-on as distributed separately.
14873         Mention AArch64 in list of systems supported in the ports add-on.
14875         * LICENSES: Add more non-FSF copyright and license notices.
14877         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14878         ((unused)).
14880         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14882         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14883         10000 as width of padded output.
14885 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14887         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14890         variable LX with __attribute__ ((unused)).
14891         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14892         Likewise.
14893         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14895         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14896         with __attribute__ ((unused)).
14898 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14900         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14902 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14904         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14905         (CFLAGS-nldbl-acos.c): New variable.
14906         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14907         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14908         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14909         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14910         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14911         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14912         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14913         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14914         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14915         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14916         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14917         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14918         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14919         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14920         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14921         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14922         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14923         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14924         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14925         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14926         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14927         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14928         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14929         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14930         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14931         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14932         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14933         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14934         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14935         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14936         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14937         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14938         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14939         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14940         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14941         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14942         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14943         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14944         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14945         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14946         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14947         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14948         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14949         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14950         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15005         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15007         [BZ #14914]
15008         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15009         whole low double instead of just low 47 bits when splitting values
15010         into two parts.
15012 2012-12-03  Allan McRae  <allan@archlinux.org>
15014         * manual/stdio.texi (Predefined Printf Handlers): Remove
15015         @hsep and @vsep usage.
15017 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15019         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15020         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15022 2012-12-03  Jeff Law  <law@redhat.com>
15024         * time/sys/time.h (settimeofday): Do not mark TV argument
15025         as __nonnull.
15027 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15029         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15030         when currently writing and seek to current position when not.
15031         * libio/Makefile (tests): Remove bug-fclose1.
15032         * libio/bug-fclose1.c: Delete.
15034 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15036         * manual/arith.texi (feenableexcept): Fix typo.
15037         (fedisableexcept): Likewise.
15039 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15041         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15042         second, differently-typed declaration, rather than a cast.
15044 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15046         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15047         * include/rpc/svc.h: ... here.
15049 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15051         [BZ #13013]
15052         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15053         depending n and resplen2 to catch cases where answer
15054         equals answerp2.
15056 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15058         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15059         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15061 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15063         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15065 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15067         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15069 2012-11-28  Jeff Law  <law@redhat.com>
15071         [BZ #13761]
15072         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15073         dataset_temporary.  Track alloca usage into alloca_used.
15074         If dataset is large allocate and release it via malloc/free.
15076 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15078         [BZ #14197]
15079         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15081 2012-11-28  David S. Miller  <davem@davemloft.net>
15083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15085 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15087         [BZ #14803]
15088         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15089         of pi/2 rounded to nearest to 64 bits.
15090         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15091         nearest to 64 bits.
15092         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15093         bits.
15095 2012-11-28  Jeff Law <law@redhat.com>
15096             Martin Osvald <mosvald@redhat.com>
15098         [BZ #14889]
15099         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15100         * sunrpc/svc.c: Include time.h.
15101         (__svc_accept_failed): New function.
15102         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15103         any reason other than EINTR, call __svc_accept_failed.
15104         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15105         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15107 2012-11-28  Andreas Schwab  <schwab@suse.de>
15109         * scripts/abilist.awk: Also handle indirect functions in .opd
15110         section.
15112 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15114         [BZ #13881]
15115         * sysdeps/x86/fpu/powl_helper.c: New file.
15116         * sysdeps/x86/fpu/Makefile: Likewise.
15117         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15118         (p3): New object.
15119         (__ieee754_powl): Use __powl_helper for finite arguments except
15120         integer exponents below 8.
15121         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15122         (p3): New object.
15123         (__ieee754_powl): Use __powl_helper for finite arguments except
15124         integer exponents below 8.
15125         * math/libm-test.inc (pow_test): Add more tests and enable some
15126         previously disabled tests.
15127         * sysdeps/i386/fpu/libm-test-ulps: Update.
15128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15131             Carlos O'Donell  <carlos_odonell@mentor.com>
15133         * nss/makedb.c (is_prime): Assert that input is odd and greater
15134         than 4.  Note that fact in a comment too.
15135         (next_prime): Add 4 to input.
15137 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15139         [BZ #11741]
15140         * libio/Makefile (tests): Add test case tst-fwrite-error.
15141         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15142         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15143         * libio/tst-fwrite-error.c: New test case.
15145 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15147         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15148         before casting to void *.
15149         * include/libc-internal.h (__pointer_type): New macro.
15150         (__integer_if_pointer_type_sub): Likewise.
15151         (__integer_if_pointer_type): Likewise.
15152         (cast_to_integer): Likewise.
15153         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15154         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15155         before casting to atomic64_t.
15156         (atomic_exchange_acq): Likewise.
15157         (__arch_exchange_and_add_body): Likewise.
15158         (__arch_add_body): Likewise.
15159         (atomic_add_negative): Likewise.
15160         (atomic_add_zero): Likewise.
15162 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15164         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15165         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15166         (add_fdes): Likewise.
15167         (linear_search_fdes): Likewise.
15168         (binary_search_unencoded_fdes): Likewise.
15170 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15172         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15174 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15176         * configure.in: Autodetect C++ header directories.
15177         * configure: Regenerated.
15179 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15181         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15183 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15187 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15189         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15190         LDBL_MANT_DIG == 106]: Disable some tests.
15191         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15192         Likewise.
15193         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15194         Likewise.
15196         [BZ #14871]
15197         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15198         input for small inputs.  Return +/- pi/2 for large inputs.
15199         * math/libm-test.inc (atan_test): Add more tests.
15201         * sysdeps/generic/unwind-dw2-fde-glibc.c
15202         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15203         __attribute__ ((unused)).
15205         [BZ #14645]
15206         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15207         x * y if x and y are nonzero and z is zero.
15209         [BZ #14811]
15210         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15211         nonzero exponents with absolute value below 0x1p-117 to +/-
15212         0x1p-117.
15214         [BZ #14869]
15215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15216         up arguments below 2**-450, not just those below 2**-500.
15217         * math/libm-test.inc (hypot_test): Add another test.
15219         [BZ #14868]
15220         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15221         Return a+b for ratio over 2**120, not 2**60.
15222         * math/libm-test.inc (hypot_test): Add another test.
15224         * math/libm-test.inc (clog_test): Use
15225         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15226         (clog10_test): Likewise.
15228         [BZ #6778]
15229         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15231 2012-11-22  Andreas Schwab  <schwab@suse.de>
15233         * sysdeps/i386/fpu/libm-test-ulps: Update.
15235 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15237         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15238         printf output with newline.
15240 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15242         [BZ #14865]
15243         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15244         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15245         -z nodlopen, -z initfirst and -z execstack support.
15246         * configure: Regenerated.
15248         * elf/elf.h (DF_1_NODIRECT): New macro.
15249         (DF_1_IGNMULDEF): Likewise.
15250         (DF_1_NOKSYMS): Likewise.
15251         (DF_1_NOHDR): Likewise.
15252         (DF_1_EDITED): Likewise.
15253         (DF_1_NORELOC): Likewise.
15254         (DF_1_SYMINTPOSE): Likewise.
15255         (DF_1_GLOBAUDIT): Likewise.
15256         (DF_1_SINGLETON): Likewise.
15257         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15258         DT_1_SUPPORTED_MASK bits.
15259         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15261 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15263         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15265 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15267         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15268         macro.
15270         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15271         (sendmmsg): Move declarations...
15272         * socket/sys/socket.h: ... here.
15273         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15274         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15275         include it from...
15276         * socket/recvmmsg.c: ... this new file.
15277         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15278         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15279         definition of __sendmmsg hidden.
15280         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15281         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15282         Move ENOSYS stub into and include it from...
15283         * socket/sendmmsg.c: ... this new file.
15284         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15285         (sysdep_routines): Move recvmmsg and sendmmsg...
15286         * socket/Makefile (routines): ... here.
15287         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15288         (GLIBC_PRIVATE): Add __sendmmsg.
15289         * include/sys/socket.h (__sendmmsg): Add declarations.
15290         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15291         sendmmsg.
15293 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15295         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15296         variable I1 with __attribute__ ((unused)).
15297         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15299 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15301         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15302         DUMMY variables with __attribute__ ((unused)).
15304         * bits/byteswap.h: Include <bits/types.h>.
15305         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15307 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15309         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15310         string_t.  Do not manually set errno.
15311         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15312         length with __strnlen.  Make sure to both set errno and return it on
15313         failure.
15315 2012-11-19  David S. Miller  <davem@davemloft.net>
15317         With help from Joseph Myers.
15318         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15319         very large arguments properly.
15320         * math/libm-test.inc (atan_test): New tests.
15321         (atan2_test): New tests.
15322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15325 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15327         [BZ #14856]
15328         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15329         Define to 3.
15331         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15332         [POSIX] (EADDRNOTAVAIL): Likewise.
15333         [POSIX] (EAFNOSUPPORT): Likewise.
15334         [POSIX] (EALREADY): Likewise.
15335         [POSIX] (ECONNABORTED): Likewise.
15336         [POSIX] (ECONNREFUSED): Likewise.
15337         [POSIX] (ECONNRESET): Likewise.
15338         [POSIX] (EDESTADDRREQ): Likewise.
15339         [POSIX] (EDQUOT): Likewise.
15340         [POSIX] (EHOSTUNREACH): Likewise.
15341         [POSIX] (EIDRM): Likewise.
15342         [POSIX] (EISCONN): Likewise.
15343         [POSIX] (ELOOP): Likewise.
15344         [POSIX] (EMULTIHOP): Likewise.
15345         [POSIX] (ENETDOWN): Likewise.
15346         [POSIX] (ENETUNREACH): Likewise.
15347         [POSIX] (ENOBUFS): Likewise.
15348         [POSIX] (ENODATA): Likewise.
15349         [POSIX] (ENOLINK): Likewise.
15350         [POSIX] (ENOMSG): Likewise.
15351         [POSIX] (ENOPROTOOPT): Likewise.
15352         [POSIX] (ENOSR): Likewise.
15353         [POSIX] (ENOSTR): Likewise.
15354         [POSIX] (ENOTCONN): Likewise.
15355         [POSIX] (ENOTSOCK): Likewise.
15356         [POSIX] (EOPNOTSUPP): Likewise.
15357         [POSIX] (EOVERFLOW): Likewise.
15358         [POSIX] (EPROTO): Likewise.
15359         [POSIX] (EPROTONOSUPPORT): Likewise.
15360         [POSIX] (EPROTOTYPE): Likewise.
15361         [POSIX] (ESTALE): Likewise.
15362         [POSIX] (ETIME): Likewise.
15363         [POSIX] (ETXTBSY): Likewise.
15364         [POSIX] (EWOULDBLOCK): Likewise.
15365         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15366         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15367         [POSIX] (SEEK_CUR): Likewise.
15368         [POSIX] (SEEK_END): Likewise.
15369         [POSIX || UNIX98] (mode_t): Do not require.
15370         [POSIX] (off_t): Likewise.
15371         [POSIX] (pid_t): Likewise.
15372         [POSIX] (sys/stat.h): Do not allow header.
15373         [POSIX] (unistd.h): Likewise.
15374         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15375         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15376         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15377         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15378         require.
15379         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15380         sigevent): Specify elements.
15381         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15382         entry.
15383         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15384         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15386         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15387         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15388         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15389         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15390         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15391         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15392         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15393         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15394         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15395         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15396         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15397         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15398         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15399         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15400         Likewise.
15401         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15402         Likewise.
15403         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15404         Likewise.
15405         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15406         Likewise.
15407         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15408         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15409         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15410         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15411         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15412         Specify lower bound on value.
15413         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15414         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15415         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15416         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15417         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15418         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15419         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15420         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15421         value.
15422         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15423         as optional.
15424         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15425         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15427         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15428         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15429         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15430         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15431         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15432         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15433         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15434         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15435         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15436         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15440         entry.
15441         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15442         optional.
15443         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15448         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15449         Likewise.
15450         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15451         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15455         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15456         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15457         as optional.
15458         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15462         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15463         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15464         specify as optional.
15465         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15466         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15467         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15468         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15469         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15470         [XPG3] (NL_LANGMAX): Likewise.
15471         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15472         [POSIX || XPG3] (NL_NMAX): Likewise.
15473         [POSIX || XPG3] (NL_SETMAX): Likewise.
15474         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15475         [XPG3] (NZERO): Likewise.
15476         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15477         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15478         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15479         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15480         (REG_ERANGE): Expect.
15481         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15482         optional-constant.
15483         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15484         Use (void) in prototype.
15485         [POSIX] (*_t): Allow.
15486         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15487         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15488         (WRDE_BADVAL): Expect.
15490         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15491         expect.
15492         [XPG3 || XPG4] (O_RSYNC): Likewise.
15493         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15494         Likewise.
15495         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15496         [XPG3 || XPG4] (sigqueue): Likewise.
15497         [XPG3 || XPG4] (sigtimedwait): Likewise.
15498         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15499         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15500         [XPG3 || XPG4] (vsnprintf): Likewise.
15501         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15502         Likewise.
15503         [XPG3 || XPG4] (blksize_t): Likewise.
15504         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15505         Likewise.
15506         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15507         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15508         [XPG3 || XPG4] (struct itimerspec): Likewise.
15509         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15510         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15511         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15512         [XPG3 || XPG4] (clockid_t): Likewise.
15513         [XPG3 || XPG4] (timer_t): Likewise.
15514         [XPG3 || XPG4] (clock_getres): Likewise.
15515         [XPG3 || XPG4] (clock_gettime): Likewise.
15516         [XPG3 || XPG4] (clock_settime): Likewise.
15517         [XPG3 || XPG4] (nanosleep): Likewise.
15518         [XPG3 || XPG4] (timer_create): Likewise.
15519         [XPG3 || XPG4] (timer_delete): Likewise.
15520         [XPG3 || XPG4] (timer_gettime): Likewise.
15521         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15522         [XPG3 || XPG4] (timer_settime): Likewise.
15523         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15524         [XPG3 || XPG4] (getlogin_r): Likewise.
15525         [XPG3 || XPG4] (pread): Likewise.
15526         [XPG3 || XPG4] (pthread_atfork): Likewise.
15527         [XPG3 || XPG4] (pwrite): Likewise.
15529         [BZ #14835]
15530         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15531         <bits/siginfo.h>.
15533 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15535         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15536         finalizing MALLSTREAM.
15538         * sysdeps/mach/hurd/syncfs.c: New file.
15540 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15542         [BZ #14719]
15543         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15544         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15545         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15546         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15547         (_nss_dns_gethostbyname4_r): Likewise.
15548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15549         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15551 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15553         [BZ #13763]
15554         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15556 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15558         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15559         * elf/cache.c (print_entry): Print ",AArch64" for
15560         FLAG_AARCH64_LIB64
15562         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15563         * elf/cache.c (print_entry): Print ",hard-float" for
15564         FLAG_ARM_LIBHF.
15566 2012-11-18  David S. Miller  <davem@davemloft.net>
15568         With help from Joseph Myers.
15569         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15570         cutoff to 2**-13.
15571         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15572         cutoff to 2**-25.
15573         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15574         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15575         small.
15576         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15577         * math/libm-test.inc (y0_test): New tests.
15578         (y1_test): New tests.
15579         * sysdeps/i386/fpu/libm-test-ulps: Update.
15580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15583 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15585         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15586         64-bit targets.
15587         * configure: Regenerated.
15589 2012-11-17  David S. Miller  <davem@davemloft.net>
15591         [BZ #14811]
15592         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15593         nonzero exponents with absolute value below 0x1p-128 to +/-
15594         0x1p-128.
15596 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15598         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15600         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15602         * posix/getconf-speclist.c: New file.
15603         * posix/posix-envs.def: Likewise.
15604         * posix/confstr.c (START_ENV_GROUP): New macro.
15605         (END_ENV_GROUP): Likewise.
15606         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15607         (KNOWN_PRESENT_ENV_STRING): Likewise.
15608         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15609         (UNKNOWN_ENVIRONMENT): Likewise.
15610         (confstr): Include posix-envs.def instead of handling
15611         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15612         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15613         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15614         (END_ENV_GROUP): Likewise.
15615         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15616         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15617         (UNKNOWN_ENVIRONMENT): Likewise.
15618         (__sysconf): Include posix-envs.def instead of handling associated
15619         cases directly here.
15620         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15621         preprocessing getconf-speclist.c rather than running getconf or
15622         generating empty file.
15624 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15626         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15628 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15630         [BZ #14672]
15631         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15633 2012-11-16  David S. Miller  <davem@davemloft.net>
15635         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15636         smaller than LDBL_EPSILON/2.0L, just return xm1.
15638 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15640         * elf/tst-array1.c (init): Set constructor priority to 1000.
15641         (fini): Set destructor priority to 1000.
15642         * elf/tst-array2dep.c: Likewise.
15644 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15646         [BZ #11741]
15647         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15648         (_IO_new_file_xsputn): Also return EOF if none of the input
15649         data was written when overflow failed.
15650         * libio/iopadn.c (_IO_padn): Likewise.
15651         * libio/iowpadn.c (_IO_wpadn): Likewise.
15652         * stdio-common/tst-put-error.c: Add copyright notice.
15653         (do_test): Add case for printing padded string.
15654         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15655         _IO_padn returned error.
15656         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15657         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15658         return EOF.
15660 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15662         * libio/libioP.h: Add comment note that the references to C++
15663         bits are now obsolete.
15665 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15667         * math/libm-test.inc (check_complex): Use asprintf.
15669 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15671         * debug/pcprofiledump.c (print_version): Update copyright year.
15672         * malloc/memusagestat.c (print_version): Likewise.
15674 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15676         [BZ #14831]
15677         * elf/Makefile (tests): Add tst-audit8.
15678         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15679         ($(objpfx)tst-audit8.out): New target.
15680         (tst-audit8-ENV): New variable.
15681         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15682         audit if l_reloc_result is NULL.
15683         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15684         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15685         * elf/tst-audit8.c: New file.
15687 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15689         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15690         * misc/Makefile (CFLAGS-select.c): Define.
15691         * posix/Makefile (CFLAGS-pause.c): Define.
15693 2012-11-13  David S. Miller  <davem@davemloft.net>
15695         * crypt/Makefile: Move test targets after toplevel Rules
15696         inclusion.  Grab any necessary sysdep routines when linking.
15697         * crypt/md5.c (md5_process_block): Remove define, we will always
15698         name it __md5_process_block.
15699         (md5_finish_ctx): Update md5_process_block call.
15700         (md5_stream): Likewise.
15701         (md5_process_bytes): Likewise.
15702         (md5_process_block): Rename to __md5_process_block and move to ...
15703         * crypt/md5-block.c: ... here.
15704         * crypt/sha256.c (sha256_process_block): Move to ...
15705         * crypt/sha256-block.c: ... here.
15706         * crypt/sha512.c (sha512_process_block): Move to ...
15707         * crypt/sha512-block.c: ... here.
15708         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15709         path.
15710         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15711         * sysdeps/sparc/sparc64/multiarch/Makefile
15712         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15713         crypt subdir.
15714         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15715         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15716         multiarch changes.
15717         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15718         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15719         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15720         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15721         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15722         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15723         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15724         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15725         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15726         file.
15727         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15728         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15729         file.
15730         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15732 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15734         * timezone/tzselect.ksh: Update from tzcode git revision
15735         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15736         * timezone/zdump.c: Likewise.
15737         * timezone/zic.c: Likewise.
15738         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15739         in TZVERSION setting, not $(PKGVERSION).
15740         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15741         REPORT_BUGS_TO settings.
15743         [BZ #14838]
15744         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15745         macro.
15747 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15749         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15750         detection to immediately after _FP_ROUND().
15751         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15752         bits are 0.
15754 2012-11-11  David S. Miller  <davem@davemloft.net>
15756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15757         inttypes.h
15758         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15759         __close rather than their public counterparts.
15761 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15763         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15764         file.
15765         [UNIX98] (sem_timedwait): Do not expect.
15766         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15767         [XPG4 || UNIX98] (sockatmark): Do not expect.
15768         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15769         (clock_getcpuclockid): Do not expect.
15770         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15771         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15772         Do not expect.
15773         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15774         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15775         [UNIX98] (vwscanf): Likewise.
15776         [UNIX98] (vswscanf): Likewise.
15778 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15780         * timezone/version.h: Remove file.
15781         * timezone/README: Do not refer to version.h.
15782         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15783         $(objpfx)version.h.
15784         ($(objpfx)zdump.o): Likewise.
15785         ($(objpfx)version.h): New target.
15787         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15788         2012i.
15789         * timezone/README: Don't mention modification to tzselect.ksh.
15790         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15791         work on unmodified tzselect.ksh.  Substitute version numbers in
15792         tzselect.ksh.
15794         * Makefile (format-me): Remove.
15795         (INSTALL): Adjust indentation.  Use commands directly instead of
15796         using $(format-me).
15798         * aclocal.m4 (ACX_PKGVERSION): New macro.
15799         (ACX_BUGURL): Likewise.
15800         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15801         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15802         (REPORT_BUGS_TO): Likewise.
15803         * configure: Regenerated.
15804         * config.h.in (PKGVERSION): New macro.
15805         (REPORT_BUGS_TO): Likewise.
15806         * config.make.in (PKGVERSION): New variable.
15807         (PKGVERSION_TEXI): Likewise.
15808         (REPORT_BUGS_TO): Likewise.
15809         (REPORT_BUGS_TEXI): Likewise.
15810         * Makefile (format-me): Use -I$(common-objpfx)manual.
15811         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15812         ($(common-objpfx)manual/%): New target.
15813         (manual/%): Remove target.
15814         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15815         (print_version): Use PKGVERSION.
15816         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15817         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15818         and REPORT_BUGS_TO.
15819         ($(objpfx)xtrace): Likewise.
15820         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15821         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15822         (print_version): Use PKGVERSION.
15823         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15824         (do_version): Use PKGVERSION.
15825         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15826         REPORT_BUGS_TO.
15827         (common-ldd-rewrite): Likewise.
15828         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15829         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15830         (print_version): Use PKGVERSION.
15831         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15832         * elf/pldd.c (argp_program_bug_address): Remove variable.
15833         (more_help): New function.
15834         (argp): Use more_help.
15835         (print_version): Use PKGVERSION.
15836         * elf/sln.c (main): Use PKGVERSION.
15837         (usage): Use REPORT_BUGS_TO.
15838         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15839         (top level): Use PKGVERSION.
15840         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15841         (print_version): Use PKGVERSION.
15842         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15843         (print_version): Use PKGVERSION.
15844         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15845         (print_version): Use PKGVERSION.
15846         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15847         (print_version): Use PKGVERSION.
15848         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15849         (print_version): Use PKGVERSION.
15850         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15851         (print_version): Use PKGVERSION.
15852         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15853         and BUGURL.
15854         ($(objpfx)memusage): Likewise.
15855         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15856         (do_version): Use PKGVERSION.
15857         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15858         (print_version): Use PKGVERSION.
15859         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15860         ($PKGVERSION): New variable.
15861         ($REPORT_BUGS_TO): Likewise.
15862         (usage): Use $REPORT_BUGS_TO.
15863         (top level): Use $PKGVERSION.
15864         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15865         ($(objpfx)pkgvers.texi): New rule.
15866         ($(objpfx)stamp-pkgvers): Likewise.
15867         * manual/install.texi: Include pkgvers.texi.
15868         (--with-pkgversion): Document new configure option.
15869         (--with-bugurl): Likewise.
15870         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15871         than necessarily for this particular distribution.  Use
15872         REPORT_BUGS_TO for where to report bugs.
15873         * INSTALL: Regenerated.
15874         * manual/libc.texinfo: Include pkgvers.texi.
15875         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15876         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15877         (print_version): Use PKGVERSION.
15878         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15879         (print_version): Use PKGVERSION.
15880         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15881         (print_version): Use PKGVERSION.
15882         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15883         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15884         macro.
15885         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15886         (print_version): Use PKGVERSION.
15887         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15888         (print_version): Use PKGVERSION.
15889         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15890         and PKGVERSION.
15892         * timezone/checktab.awk: Update from tzcode 2012i.
15893         * timezone/ialloc.c: Likewise.
15894         * timezone/private.h: Likewise.
15895         * timezone/scheck.c: Likewise.
15896         * timezone/tzfile.h: Likewise.
15897         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15898         (TZVERSION): Hardcode tzcode version number.
15899         * timezone/zdump.c: Update from tzcode 2012i.
15900         * timezone/zic.c: Likewise.
15901         * timezone/version.h: New file.
15902         * timezone/README: Describe version.h.  Update upstream location.
15904         [BZ #14824]
15905         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15906         (mktemp): Enable declaration.
15907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15911         Likewise.
15912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15913         Likewise.
15914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15915         Likewise.
15916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15917         Likewise.
15918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15919         Likewise.
15920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15921         Likewise.
15923         [BZ #14821]
15924         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15925         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15926         for copies of such integer values.
15927         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15928         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15930 2012-11-09  Andreas Jaeger  <aj@suse.de>
15932         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15933         definitions and declarations that are provided by
15934         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15936 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15938         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15939         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15940         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15941         definition.
15943 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15945         * elf/elf.h: Update comment before AArch64 relocations.
15947 2012-11-07  David S. Miller  <davem@davemloft.net>
15949         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15950         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15951         (__start_context): Declare.
15952         (__makecontext_ret): Delete.
15953         (__makecontext): Hook up __start_context instead of
15954         __makecontext_ret.
15955         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15956         (sysdep_routines): Add __start_context when in stdlib.
15958 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15960         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15961         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15962         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15963         hardcoded "nm".
15964         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15965         (READELF): New variable.  Use it instead of hardcoded "readelf".
15967 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15969         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15970         * sysdeps/x86/Makefile: Here.
15971         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15972         * sysdeps/x86/tst-xmmymm.sh: This.
15974 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15976         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15977         expectations.
15978         [UNIX98] (pthread_barrier_t): Do not expect.
15979         [UNIX98] (pthread_barrierattr_t): Likewise.
15980         [UNIX98] (pthread_spinlock_t): Likewise.
15981         [UNIX98] (pthread_barrier_destroy): Likewise.
15982         [UNIX98] (pthread_barrier_init): Likewise.
15983         [UNIX98] (pthread_barrier_wait): Likewise.
15984         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15985         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15986         [UNIX98] (pthread_barrierattr_init): Likewise.
15987         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15988         [UNIX98] (pthread_getcpuclockid): Likewise.
15989         [UNIX98] (pthread_mutex_timedlock): Likewise.
15990         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15991         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15992         [UNIX98] (pthread_sigmask): Likewise.
15993         [UNIX98] (pthread_spin_destroy): Likewise.
15994         [UNIX98] (pthread_spin_init): Likewise.
15995         [UNIX98] (pthread_spin_lock): Likewise.
15996         [UNIX98] (pthread_spin_trylock): Likewise.
15997         [UNIX98] (pthread_spin_unlock): Likewise.
15998         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15999         Do not expect.
16000         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16001         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16002         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16003         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16004         [XPG3 || XPG4] (pthread_key_t): Likewise.
16005         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16006         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16007         [XPG3 || XPG4] (pthread_once_t): Likewise.
16008         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16009         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16010         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16011         [XPG3 || XPG4] (pthread_t): Likewise.
16013         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16014         not expect.
16015         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16017         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16018         Change function return type to int.
16020         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16021         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16022         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16023         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16024         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16025         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16026         [!POSIX] (posix_madvise): Likewise.
16027         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16028         && !UNIX98].
16029         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16030         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16031         (mode_t): Likewise.
16032         (posix_mem_offset): Likewise.
16033         (posix_typed_mem_get_info): Likewise.
16034         (posix_typed_mem_open): Likewise.
16036         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16037         Change condition to [XOPEN2K8].
16039         * conform/conformtest.pl: Preprocess allow-header data with -x c
16040         instead of from stdin.
16041         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16042         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16043         [C99-based standards] (cerfc): Likewise.
16044         [C99-based standards] (cexp2): Likewise.
16045         [C99-based standards] (cexpm1): Likewise.
16046         [C99-based standards] (clog10): Likewise.
16047         [C99-based standards] (clog1p): Likewise.
16048         [C99-based standards] (clog2): Likewise.
16049         [C99-based standards] (clgamma): Likewise.
16050         [C99-based standards] (ctgamma): Likewise.
16051         [C99-based standards] (cerff): Likewise.
16052         [C99-based standards] (cerfcf): Likewise.
16053         [C99-based standards] (cexp2f): Likewise.
16054         [C99-based standards] (cexpm1f): Likewise.
16055         [C99-based standards] (clog10f): Likewise.
16056         [C99-based standards] (clog1pf): Likewise.
16057         [C99-based standards] (clog2f): Likewise.
16058         [C99-based standards] (clgammaf): Likewise.
16059         [C99-based standards] (ctgammaf): Likewise.
16060         [C99-based standards] (cerfl): Likewise.
16061         [C99-based standards] (cerfcl): Likewise.
16062         [C99-based standards] (cexp2l): Likewise.
16063         [C99-based standards] (cexpm1l): Likewise.
16064         [C99-based standards] (clog10l): Likewise.
16065         [C99-based standards] (clog1pl): Likewise.
16066         [C99-based standards] (clog2l): Likewise.
16067         [C99-based standards] (clgammal): Likewise.
16068         [C99-based standards] (ctgammal): Likewise.
16069         * conform/data/inttypes.h-data [C99-based standards]: Include
16070         stdint.h-data.  Remove all expectations for stdint.h contents.
16071         [C99-based standards] (PRI*): Do not allow.
16072         [C99-based standards] (SCN*): Likewise.
16073         [C99-based standards] (*_t): Likewise.
16074         [C99-based-standards] (PRId8): Expect macro.
16075         [C99-based-standards] (PRIi8): Likewise.
16076         [C99-based-standards] (PRIo8): Likewise.
16077         [C99-based-standards] (PRIu8): Likewise.
16078         [C99-based-standards] (PRIx8): Likewise.
16079         [C99-based-standards] (PRIX8): Likewise.
16080         [C99-based-standards] (SCNd8): Likewise.
16081         [C99-based-standards] (SCNi8): Likewise.
16082         [C99-based-standards] (SCNo8): Likewise.
16083         [C99-based-standards] (SCNu8): Likewise.
16084         [C99-based-standards] (SCNx8): Likewise.
16085         [C99-based-standards] (PRIdLEAST8): Likewise.
16086         [C99-based-standards] (PRIiLEAST8): Likewise.
16087         [C99-based-standards] (PRIoLEAST8): Likewise.
16088         [C99-based-standards] (PRIuLEAST8): Likewise.
16089         [C99-based-standards] (PRIxLEAST8): Likewise.
16090         [C99-based-standards] (PRIXLEAST8): Likewise.
16091         [C99-based-standards] (SCNdLEAST8): Likewise.
16092         [C99-based-standards] (SCNiLEAST8): Likewise.
16093         [C99-based-standards] (SCNoLEAST8): Likewise.
16094         [C99-based-standards] (SCNuLEAST8): Likewise.
16095         [C99-based-standards] (SCNxLEAST8): Likewise.
16096         [C99-based-standards] (PRIdFAST8): Likewise.
16097         [C99-based-standards] (PRIiFAST8): Likewise.
16098         [C99-based-standards] (PRIoFAST8): Likewise.
16099         [C99-based-standards] (PRIuFAST8): Likewise.
16100         [C99-based-standards] (PRIxFAST8): Likewise.
16101         [C99-based-standards] (PRIXFAST8): Likewise.
16102         [C99-based-standards] (SCNdFAST8): Likewise.
16103         [C99-based-standards] (SCNiFAST8): Likewise.
16104         [C99-based-standards] (SCNoFAST8): Likewise.
16105         [C99-based-standards] (SCNuFAST8): Likewise.
16106         [C99-based-standards] (SCNxFAST8): Likewise.
16107         [C99-based-standards] (PRId16): Likewise.
16108         [C99-based-standards] (PRIi16): Likewise.
16109         [C99-based-standards] (PRIo16): Likewise.
16110         [C99-based-standards] (PRIu16): Likewise.
16111         [C99-based-standards] (PRIx16): Likewise.
16112         [C99-based-standards] (PRIX16): Likewise.
16113         [C99-based-standards] (SCNd16): Likewise.
16114         [C99-based-standards] (SCNi16): Likewise.
16115         [C99-based-standards] (SCNo16): Likewise.
16116         [C99-based-standards] (SCNu16): Likewise.
16117         [C99-based-standards] (SCNx16): Likewise.
16118         [C99-based-standards] (PRIdLEAST16): Likewise.
16119         [C99-based-standards] (PRIiLEAST16): Likewise.
16120         [C99-based-standards] (PRIoLEAST16): Likewise.
16121         [C99-based-standards] (PRIuLEAST16): Likewise.
16122         [C99-based-standards] (PRIxLEAST16): Likewise.
16123         [C99-based-standards] (PRIXLEAST16): Likewise.
16124         [C99-based-standards] (SCNdLEAST16): Likewise.
16125         [C99-based-standards] (SCNiLEAST16): Likewise.
16126         [C99-based-standards] (SCNoLEAST16): Likewise.
16127         [C99-based-standards] (SCNuLEAST16): Likewise.
16128         [C99-based-standards] (SCNxLEAST16): Likewise.
16129         [C99-based-standards] (PRIdFAST16): Likewise.
16130         [C99-based-standards] (PRIiFAST16): Likewise.
16131         [C99-based-standards] (PRIoFAST16): Likewise.
16132         [C99-based-standards] (PRIuFAST16): Likewise.
16133         [C99-based-standards] (PRIxFAST16): Likewise.
16134         [C99-based-standards] (PRIXFAST16): Likewise.
16135         [C99-based-standards] (SCNdFAST16): Likewise.
16136         [C99-based-standards] (SCNiFAST16): Likewise.
16137         [C99-based-standards] (SCNoFAST16): Likewise.
16138         [C99-based-standards] (SCNuFAST16): Likewise.
16139         [C99-based-standards] (SCNxFAST16): Likewise.
16140         [C99-based-standards] (PRId32): Likewise.
16141         [C99-based-standards] (PRIi32): Likewise.
16142         [C99-based-standards] (PRIo32): Likewise.
16143         [C99-based-standards] (PRIu32): Likewise.
16144         [C99-based-standards] (PRIx32): Likewise.
16145         [C99-based-standards] (PRIX32): Likewise.
16146         [C99-based-standards] (SCNd32): Likewise.
16147         [C99-based-standards] (SCNi32): Likewise.
16148         [C99-based-standards] (SCNo32): Likewise.
16149         [C99-based-standards] (SCNu32): Likewise.
16150         [C99-based-standards] (SCNx32): Likewise.
16151         [C99-based-standards] (PRIdLEAST32): Likewise.
16152         [C99-based-standards] (PRIiLEAST32): Likewise.
16153         [C99-based-standards] (PRIoLEAST32): Likewise.
16154         [C99-based-standards] (PRIuLEAST32): Likewise.
16155         [C99-based-standards] (PRIxLEAST32): Likewise.
16156         [C99-based-standards] (PRIXLEAST32): Likewise.
16157         [C99-based-standards] (SCNdLEAST32): Likewise.
16158         [C99-based-standards] (SCNiLEAST32): Likewise.
16159         [C99-based-standards] (SCNoLEAST32): Likewise.
16160         [C99-based-standards] (SCNuLEAST32): Likewise.
16161         [C99-based-standards] (SCNxLEAST32): Likewise.
16162         [C99-based-standards] (PRIdFAST32): Likewise.
16163         [C99-based-standards] (PRIiFAST32): Likewise.
16164         [C99-based-standards] (PRIoFAST32): Likewise.
16165         [C99-based-standards] (PRIuFAST32): Likewise.
16166         [C99-based-standards] (PRIxFAST32): Likewise.
16167         [C99-based-standards] (PRIXFAST32): Likewise.
16168         [C99-based-standards] (SCNdFAST32): Likewise.
16169         [C99-based-standards] (SCNiFAST32): Likewise.
16170         [C99-based-standards] (SCNoFAST32): Likewise.
16171         [C99-based-standards] (SCNuFAST32): Likewise.
16172         [C99-based-standards] (SCNxFAST32): Likewise.
16173         [C99-based-standards] (PRId64): Likewise.
16174         [C99-based-standards] (PRIi64): Likewise.
16175         [C99-based-standards] (PRIo64): Likewise.
16176         [C99-based-standards] (PRIu64): Likewise.
16177         [C99-based-standards] (PRIx64): Likewise.
16178         [C99-based-standards] (PRIX64): Likewise.
16179         [C99-based-standards] (SCNd64): Likewise.
16180         [C99-based-standards] (SCNi64): Likewise.
16181         [C99-based-standards] (SCNo64): Likewise.
16182         [C99-based-standards] (SCNu64): Likewise.
16183         [C99-based-standards] (SCNx64): Likewise.
16184         [C99-based-standards] (PRIdLEAST64): Likewise.
16185         [C99-based-standards] (PRIiLEAST64): Likewise.
16186         [C99-based-standards] (PRIoLEAST64): Likewise.
16187         [C99-based-standards] (PRIuLEAST64): Likewise.
16188         [C99-based-standards] (PRIxLEAST64): Likewise.
16189         [C99-based-standards] (PRIXLEAST64): Likewise.
16190         [C99-based-standards] (SCNdLEAST64): Likewise.
16191         [C99-based-standards] (SCNiLEAST64): Likewise.
16192         [C99-based-standards] (SCNoLEAST64): Likewise.
16193         [C99-based-standards] (SCNuLEAST64): Likewise.
16194         [C99-based-standards] (SCNxLEAST64): Likewise.
16195         [C99-based-standards] (PRIdFAST64): Likewise.
16196         [C99-based-standards] (PRIiFAST64): Likewise.
16197         [C99-based-standards] (PRIoFAST64): Likewise.
16198         [C99-based-standards] (PRIuFAST64): Likewise.
16199         [C99-based-standards] (PRIxFAST64): Likewise.
16200         [C99-based-standards] (PRIXFAST64): Likewise.
16201         [C99-based-standards] (SCNdFAST64): Likewise.
16202         [C99-based-standards] (SCNiFAST64): Likewise.
16203         [C99-based-standards] (SCNoFAST64): Likewise.
16204         [C99-based-standards] (SCNuFAST64): Likewise.
16205         [C99-based-standards] (SCNxFAST64): Likewise.
16206         [C99-based-standards] (PRIdMAX): Likewise.
16207         [C99-based-standards] (PRIiMAX): Likewise.
16208         [C99-based-standards] (PRIoMAX): Likewise.
16209         [C99-based-standards] (PRIuMAX): Likewise.
16210         [C99-based-standards] (PRIxMAX): Likewise.
16211         [C99-based-standards] (PRIXMAX): Likewise.
16212         [C99-based-standards] (SCNdMAX): Likewise.
16213         [C99-based-standards] (SCNiMAX): Likewise.
16214         [C99-based-standards] (SCNoMAX): Likewise.
16215         [C99-based-standards] (SCNuMAX): Likewise.
16216         [C99-based-standards] (SCNxMAX): Likewise.
16217         [C99-based-standards] (PRIdPTR): Likewise.
16218         [C99-based-standards] (PRIiPTR): Likewise.
16219         [C99-based-standards] (PRIoPTR): Likewise.
16220         [C99-based-standards] (PRIuPTR): Likewise.
16221         [C99-based-standards] (PRIxPTR): Likewise.
16222         [C99-based-standards] (PRIXPTR): Likewise.
16223         [C99-based-standards] (SCNdPTR): Likewise.
16224         [C99-based-standards] (SCNiPTR): Likewise.
16225         [C99-based-standards] (SCNoPTR): Likewise.
16226         [C99-based-standards] (SCNuPTR): Likewise.
16227         [C99-based-standards] (SCNxPTR): Likewise.
16228         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16229         allow.
16230         * conform/data/stdint.h-data: Update comments to clarify
16231         requirements.
16232         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16233         type.
16234         [C99-based standards] (INT8_MAX): Likewise.
16235         [C99-based standards] (INT16_MIN): Likewise.
16236         [C99-based standards] (INT16_MAX): Likewise.
16237         [C99-based standards] (INT32_MIN): Likewise.
16238         [C99-based standards] (INT32_MAX): Likewise.
16239         [C99-based standards] (INT64_MIN): Likewise.
16240         [C99-based standards] (INT64_MAX): Likewise.
16241         [C99-based standards] (UINT8_MAX): Likewise.
16242         [C99-based standards] (UINT16_MAX): Likewise.
16243         [C99-based standards] (UINT32_MAX): Likewise.
16244         [C99-based standards] (UINT64_MAX): Likewise.
16245         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16246         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16247         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16248         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16249         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16250         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16251         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16252         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16253         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16254         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16255         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16256         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16257         [C99-based standards] (INT_FAST8_MIN): Likewise.
16258         [C99-based standards] (INT_FAST8_MAX): Likewise.
16259         [C99-based standards] (INT_FAST16_MIN): Likewise.
16260         [C99-based standards] (INT_FAST16_MAX): Likewise.
16261         [C99-based standards] (INT_FAST32_MIN): Likewise.
16262         [C99-based standards] (INT_FAST32_MAX): Likewise.
16263         [C99-based standards] (INT_FAST64_MIN): Likewise.
16264         [C99-based standards] (INT_FAST64_MAX): Likewise.
16265         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16266         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16267         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16268         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16269         [C99-based standards] (INTPTR_MIN): Likewise.
16270         [C99-based standards] (INTPTR_MAX): Likewise.
16271         [C99-based standards] (UINTPTR_MAX): Likewise.
16272         [C99-based standards] (INTMAX_MIN): Likewise.
16273         [C99-based standards] (INTMAX_MAX): Likewise.
16274         [C99-based standards] (UINTMAX_MAX): Likewise.
16275         [C99-based standards] (PTRDIFF_MIN): Likewise.
16276         [C99-based standards] (PTRDIFF_MAX): Likewise.
16277         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16278         [C99-based standards] (SIZE_MAX): Likewise.
16279         [C99-based standards] (WCHAR_MAX): Likewise.
16280         [C99-based standards] (WINT_MAX): Likewise.
16281         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16282         constraint on value.
16283         [C99-based standards] (WCHAR_MIN): Likewise.
16284         [C99-based standards] (WINT_MIN): Likewise.
16285         [C99-based standards] (*_t): Allow.
16286         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16287         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16288         Include math.h-data and complex.h-data.  Remove all expectations
16289         of math.h and complex.h contents.
16290         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16291         at end of line.
16292         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16293         (struct tm): Expect tag.
16294         [C99-based-standards] (wcstof): Expect function.
16295         [C99-based-standards] (wcstold): Likewise.
16296         [C99-based-standards] (wcstoll): Likewise.
16297         [C99-based-standards] (wcstoull): Likewise.
16298         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16299         macro-int-constant.  Specify type.
16300         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16301         constraint on value.
16302         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16303         Specify type.
16304         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16305         Specify value.
16306         [ISO C standards]: Do not allow headers.
16307         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16308         wcs[abcdefghijklmnopqrstuvwxyz]*.
16309         [ISO C standards] (*_t): Do not allow.
16310         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16311         Expect function.
16312         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16313         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16314         Specify type.
16315         [ISO C standards]: Do not allow headers.
16316         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16317         is[abcdefghijklmnopqrstuvwxyz]*.
16318         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16319         to[abcdefghijklmnopqrstuvwxyz]*.
16320         [ISO C standards] (*_t): Do not allow.
16321         * conform/data/stdalign.h-data: New file.
16322         * conform/data/stdbool.h-data: Likewise.
16323         * conform/data/stdnoreturn.h-data: Likewise.
16325 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16327         [BZ #14815]
16328         * manual/filesys.texi (Directory Entries): Typo fix.
16329         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16331 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16333         * elf/elf.h (EM_AARCH64): New macro.
16334         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16335         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16336         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16337         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16338         (R_AARCH64_TLSDESC): Likewise.
16339         (NT_ARM_TLS): Likewise.
16340         (NT_ARM_HW_BREAK): Likewise.
16341         (NT_ARM_HW_WATCH): Likewise.
16343 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16345         [BZ #14811]
16346         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16347         (__ieee754_powl): Saturate nonzero exponents with absolute value
16348         below 0x1p-79 to +/- 0x1p-79.
16349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16350         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16351         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16352         nonzero exponents with absolute value below 0x1p-32 to +/-
16353         0x1p-32.
16354         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16355         (__ieee754_powl): Saturate nonzero exponents with absolute value
16356         below 0x1p-79 to +/- 0x1p-79.
16357         * math/libm-test.inc (pow_test): Add more tests.
16359 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16361         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16362         _dl_s390_cap_flags with kernel. Increase string length.
16363         (_dl_s390_platforms): Add z196 and zEC12.
16365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16367         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16368         Change XOPEN21K to XOPEN2K.
16370 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16372         * string/memmove.c: Use memcpy when possible.
16374 2012-11-06  Andreas Jaeger  <aj@suse.de>
16376         * po/eo.po: Update from translation team.
16378 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16380         [BZ #14793]
16381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16382         exponent and small x and y exponents, scale x or y up.  Increase
16383         by 2 the exponent used in scaling up.
16384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16386         * math/libm-test.inc (fma_test): Add more tests.
16387         (fma_test_towardzero): Likewise.
16388         (fma_test_downward): Likewise.
16389         (fma_test_upward): Likewise.
16391 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16393         [BZ #14805]
16394         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16395         fenv_t *.
16397         [BZ #14801]
16398         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16399         namespace for names of struct fields.
16400         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16401         fenv_t fields.
16402         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16403         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16405 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16407         [BZ #3665]
16408         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16410 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16412         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16413         PTR_DEMANGLE.
16415         [BZ #5246]
16416         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16417         PTR_DEMANGLE.
16419 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16421         [BZ #14797]
16422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16423         definitely overflow as x * y not x * y + z.
16424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16425         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16426         * math/libm-test.inc (fma_test): Add more tests.
16427         (fma_test_towardzero): Likewise.
16428         (fma_test_downward): Likewise.
16429         (fma_test_upward): Likewise.
16431 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16433         [BZ #157]
16435         * include/stub-tag.h: Remove file.
16436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16437         '#include' of it.
16438         * manual/maint.texi (Porting): Don't reference it.
16439         * Makerules ($(objpfx)stubs): Likewise.
16440         * dirent/closedir.c: Don't include <stub-tag.h>.
16441         * dirent/dirfd.c: Likewise.
16442         * dirent/fdopendir.c: Likewise.
16443         * dirent/getdents.c: Likewise.
16444         * dirent/getdents64.c: Likewise.
16445         * dirent/opendir.c: Likewise.
16446         * dirent/readdir.c: Likewise.
16447         * dirent/readdir64.c: Likewise.
16448         * dirent/readdir64_r.c: Likewise.
16449         * dirent/readdir_r.c: Likewise.
16450         * dirent/rewinddir.c: Likewise.
16451         * dirent/seekdir.c: Likewise.
16452         * dirent/telldir.c: Likewise.
16453         * gmon/profil.c: Likewise.
16454         * grp/setgroups.c: Likewise.
16455         * inet/if_index.c: Likewise.
16456         * io/access.c: Likewise.
16457         * io/chdir.c: Likewise.
16458         * io/chmod.c: Likewise.
16459         * io/chown.c: Likewise.
16460         * io/close.c: Likewise.
16461         * io/dup.c: Likewise.
16462         * io/dup2.c: Likewise.
16463         * io/dup3.c: Likewise.
16464         * io/euidaccess.c: Likewise.
16465         * io/faccessat.c: Likewise.
16466         * io/fchdir.c: Likewise.
16467         * io/fchmod.c: Likewise.
16468         * io/fchmodat.c: Likewise.
16469         * io/fchown.c: Likewise.
16470         * io/fchownat.c: Likewise.
16471         * io/fcntl.c: Likewise.
16472         * io/flock.c: Likewise.
16473         * io/fstatfs.c: Likewise.
16474         * io/fstatfs64.c: Likewise.
16475         * io/fstatvfs.c: Likewise.
16476         * io/fstatvfs64.c: Likewise.
16477         * io/futimens.c: Likewise.
16478         * io/fxstat.c: Likewise.
16479         * io/fxstat64.c: Likewise.
16480         * io/fxstatat.c: Likewise.
16481         * io/fxstatat64.c: Likewise.
16482         * io/getcwd.c: Likewise.
16483         * io/isatty.c: Likewise.
16484         * io/lchmod.c: Likewise.
16485         * io/lchown.c: Likewise.
16486         * io/link.c: Likewise.
16487         * io/linkat.c: Likewise.
16488         * io/lseek.c: Likewise.
16489         * io/lseek64.c: Likewise.
16490         * io/lxstat64.c: Likewise.
16491         * io/mkdir.c: Likewise.
16492         * io/mkdirat.c: Likewise.
16493         * io/mkfifo.c: Likewise.
16494         * io/mkfifoat.c: Likewise.
16495         * io/open.c: Likewise.
16496         * io/open64.c: Likewise.
16497         * io/openat.c: Likewise.
16498         * io/openat64.c: Likewise.
16499         * io/pipe.c: Likewise.
16500         * io/pipe2.c: Likewise.
16501         * io/poll.c: Likewise.
16502         * io/posix_fadvise.c: Likewise.
16503         * io/posix_fadvise64.c: Likewise.
16504         * io/posix_fallocate.c: Likewise.
16505         * io/posix_fallocate64.c: Likewise.
16506         * io/read.c: Likewise.
16507         * io/readlink.c: Likewise.
16508         * io/readlinkat.c: Likewise.
16509         * io/rmdir.c: Likewise.
16510         * io/sendfile.c: Likewise.
16511         * io/sendfile64.c: Likewise.
16512         * io/statfs.c: Likewise.
16513         * io/statfs64.c: Likewise.
16514         * io/statvfs.c: Likewise.
16515         * io/statvfs64.c: Likewise.
16516         * io/symlink.c: Likewise.
16517         * io/symlinkat.c: Likewise.
16518         * io/ttyname.c: Likewise.
16519         * io/ttyname_r.c: Likewise.
16520         * io/umask.c: Likewise.
16521         * io/unlink.c: Likewise.
16522         * io/unlinkat.c: Likewise.
16523         * io/utime.c: Likewise.
16524         * io/utimensat.c: Likewise.
16525         * io/write.c: Likewise.
16526         * io/xmknod.c: Likewise.
16527         * io/xmknodat.c: Likewise.
16528         * io/xstat.c: Likewise.
16529         * io/xstat64.c: Likewise.
16530         * login/getpt.c: Likewise.
16531         * login/grantpt.c: Likewise.
16532         * login/unlockpt.c: Likewise.
16533         * math/e_acoshl.c: Likewise.
16534         * math/e_acosl.c: Likewise.
16535         * math/e_asinl.c: Likewise.
16536         * math/e_atan2l.c: Likewise.
16537         * math/e_atanhl.c: Likewise.
16538         * math/e_coshl.c: Likewise.
16539         * math/e_expl.c: Likewise.
16540         * math/e_fmodl.c: Likewise.
16541         * math/e_gammal_r.c: Likewise.
16542         * math/e_hypotl.c: Likewise.
16543         * math/e_j0l.c: Likewise.
16544         * math/e_j1l.c: Likewise.
16545         * math/e_jnl.c: Likewise.
16546         * math/e_lgammal_r.c: Likewise.
16547         * math/e_log10l.c: Likewise.
16548         * math/e_log2l.c: Likewise.
16549         * math/e_logl.c: Likewise.
16550         * math/e_powl.c: Likewise.
16551         * math/e_rem_pio2l.c: Likewise.
16552         * math/e_sinhl.c: Likewise.
16553         * math/e_sqrtl.c: Likewise.
16554         * math/fclrexcpt.c: Likewise.
16555         * math/fedisblxcpt.c: Likewise.
16556         * math/feenablxcpt.c: Likewise.
16557         * math/fegetenv.c: Likewise.
16558         * math/fegetexcept.c: Likewise.
16559         * math/fegetround.c: Likewise.
16560         * math/feholdexcpt.c: Likewise.
16561         * math/fesetenv.c: Likewise.
16562         * math/fesetround.c: Likewise.
16563         * math/feupdateenv.c: Likewise.
16564         * math/fgetexcptflg.c: Likewise.
16565         * math/fraiseexcpt.c: Likewise.
16566         * math/fsetexcptflg.c: Likewise.
16567         * math/ftestexcept.c: Likewise.
16568         * math/k_cosl.c: Likewise.
16569         * math/k_rem_pio2l.c: Likewise.
16570         * math/k_sinl.c: Likewise.
16571         * math/k_tanl.c: Likewise.
16572         * math/s_asinhl.c: Likewise.
16573         * math/s_atanl.c: Likewise.
16574         * math/s_cbrtl.c: Likewise.
16575         * math/s_erfl.c: Likewise.
16576         * math/s_expm1l.c: Likewise.
16577         * math/s_log1pl.c: Likewise.
16578         * math/s_tanhl.c: Likewise.
16579         * misc/acct.c: Likewise.
16580         * misc/brk.c: Likewise.
16581         * misc/chflags.c: Likewise.
16582         * misc/chroot.c: Likewise.
16583         * misc/fchflags.c: Likewise.
16584         * misc/fgetxattr.c: Likewise.
16585         * misc/flistxattr.c: Likewise.
16586         * misc/fremovexattr.c: Likewise.
16587         * misc/fsetxattr.c: Likewise.
16588         * misc/fsync.c: Likewise.
16589         * misc/ftruncate.c: Likewise.
16590         * misc/futimes.c: Likewise.
16591         * misc/futimesat.c: Likewise.
16592         * misc/getdomain.c: Likewise.
16593         * misc/getdtsz.c: Likewise.
16594         * misc/gethostid.c: Likewise.
16595         * misc/gethostname.c: Likewise.
16596         * misc/getloadavg.c: Likewise.
16597         * misc/getpagesize.c: Likewise.
16598         * misc/getsysstats.c: Likewise.
16599         * misc/getxattr.c: Likewise.
16600         * misc/gtty.c: Likewise.
16601         * misc/ioctl.c: Likewise.
16602         * misc/lgetxattr.c: Likewise.
16603         * misc/listxattr.c: Likewise.
16604         * misc/llistxattr.c: Likewise.
16605         * misc/lremovexattr.c: Likewise.
16606         * misc/lsetxattr.c: Likewise.
16607         * misc/lutimes.c: Likewise.
16608         * misc/madvise.c: Likewise.
16609         * misc/mincore.c: Likewise.
16610         * misc/mlock.c: Likewise.
16611         * misc/mlockall.c: Likewise.
16612         * misc/mmap.c: Likewise.
16613         * misc/mprotect.c: Likewise.
16614         * misc/msync.c: Likewise.
16615         * misc/munlock.c: Likewise.
16616         * misc/munlockall.c: Likewise.
16617         * misc/munmap.c: Likewise.
16618         * misc/preadv.c: Likewise.
16619         * misc/preadv64.c: Likewise.
16620         * misc/ptrace.c: Likewise.
16621         * misc/pwritev.c: Likewise.
16622         * misc/pwritev64.c: Likewise.
16623         * misc/readv.c: Likewise.
16624         * misc/reboot.c: Likewise.
16625         * misc/remap_file_pages.c: Likewise.
16626         * misc/removexattr.c: Likewise.
16627         * misc/revoke.c: Likewise.
16628         * misc/select.c: Likewise.
16629         * misc/setdomain.c: Likewise.
16630         * misc/setegid.c: Likewise.
16631         * misc/seteuid.c: Likewise.
16632         * misc/sethostid.c: Likewise.
16633         * misc/sethostname.c: Likewise.
16634         * misc/setregid.c: Likewise.
16635         * misc/setreuid.c: Likewise.
16636         * misc/setxattr.c: Likewise.
16637         * misc/sstk.c: Likewise.
16638         * misc/stty.c: Likewise.
16639         * misc/swapoff.c: Likewise.
16640         * misc/swapon.c: Likewise.
16641         * misc/sync.c: Likewise.
16642         * misc/syncfs.c: Likewise.
16643         * misc/syscall.c: Likewise.
16644         * misc/truncate.c: Likewise.
16645         * misc/ualarm.c: Likewise.
16646         * misc/usleep.c: Likewise.
16647         * misc/ustat.c: Likewise.
16648         * misc/utimes.c: Likewise.
16649         * misc/vhangup.c: Likewise.
16650         * misc/writev.c: Likewise.
16651         * posix/_exit.c: Likewise.
16652         * posix/alarm.c: Likewise.
16653         * posix/execve.c: Likewise.
16654         * posix/fexecve.c: Likewise.
16655         * posix/fork.c: Likewise.
16656         * posix/fpathconf.c: Likewise.
16657         * posix/getaddrinfo.c: Likewise.
16658         * posix/getegid.c: Likewise.
16659         * posix/geteuid.c: Likewise.
16660         * posix/getgid.c: Likewise.
16661         * posix/getgroups.c: Likewise.
16662         * posix/getlogin.c: Likewise.
16663         * posix/getlogin_r.c: Likewise.
16664         * posix/getpgid.c: Likewise.
16665         * posix/getpid.c: Likewise.
16666         * posix/getppid.c: Likewise.
16667         * posix/getresgid.c: Likewise.
16668         * posix/getresuid.c: Likewise.
16669         * posix/getsid.c: Likewise.
16670         * posix/getuid.c: Likewise.
16671         * posix/glob64.c: Likewise.
16672         * posix/nanosleep.c: Likewise.
16673         * posix/pathconf.c: Likewise.
16674         * posix/pause.c: Likewise.
16675         * posix/posix_madvise.c: Likewise.
16676         * posix/pread.c: Likewise.
16677         * posix/pread64.c: Likewise.
16678         * posix/pwrite.c: Likewise.
16679         * posix/pwrite64.c: Likewise.
16680         * posix/sched_getaffinity.c: Likewise.
16681         * posix/sched_getp.c: Likewise.
16682         * posix/sched_gets.c: Likewise.
16683         * posix/sched_primax.c: Likewise.
16684         * posix/sched_primin.c: Likewise.
16685         * posix/sched_rr_gi.c: Likewise.
16686         * posix/sched_setaffinity.c: Likewise.
16687         * posix/sched_setp.c: Likewise.
16688         * posix/sched_sets.c: Likewise.
16689         * posix/sched_yield.c: Likewise.
16690         * posix/setgid.c: Likewise.
16691         * posix/setlogin.c: Likewise.
16692         * posix/setpgid.c: Likewise.
16693         * posix/setresgid.c: Likewise.
16694         * posix/setresuid.c: Likewise.
16695         * posix/setsid.c: Likewise.
16696         * posix/setuid.c: Likewise.
16697         * posix/sleep.c: Likewise.
16698         * posix/spawni.c: Likewise.
16699         * posix/sysconf.c: Likewise.
16700         * posix/times.c: Likewise.
16701         * posix/wait.c: Likewise.
16702         * posix/wait3.c: Likewise.
16703         * posix/wait4.c: Likewise.
16704         * posix/waitpid.c: Likewise.
16705         * resolv/gai_sigqueue.c: Likewise.
16706         * resource/getpriority.c: Likewise.
16707         * resource/getrlimit.c: Likewise.
16708         * resource/getrusage.c: Likewise.
16709         * resource/nice.c: Likewise.
16710         * resource/setpriority.c: Likewise.
16711         * resource/setrlimit.c: Likewise.
16712         * resource/ulimit.c: Likewise.
16713         * rt/aio_cancel.c: Likewise.
16714         * rt/aio_fsync.c: Likewise.
16715         * rt/aio_read.c: Likewise.
16716         * rt/aio_sigqueue.c: Likewise.
16717         * rt/aio_suspend.c: Likewise.
16718         * rt/aio_write.c: Likewise.
16719         * rt/clock_getres.c: Likewise.
16720         * rt/clock_gettime.c: Likewise.
16721         * rt/clock_nanosleep.c: Likewise.
16722         * rt/clock_settime.c: Likewise.
16723         * rt/lio_listio.c: Likewise.
16724         * rt/mq_close.c: Likewise.
16725         * rt/mq_getattr.c: Likewise.
16726         * rt/mq_notify.c: Likewise.
16727         * rt/mq_open.c: Likewise.
16728         * rt/mq_receive.c: Likewise.
16729         * rt/mq_send.c: Likewise.
16730         * rt/mq_setattr.c: Likewise.
16731         * rt/mq_timedreceive.c: Likewise.
16732         * rt/mq_timedsend.c: Likewise.
16733         * rt/mq_unlink.c: Likewise.
16734         * rt/shm_open.c: Likewise.
16735         * rt/shm_unlink.c: Likewise.
16736         * rt/timer_create.c: Likewise.
16737         * rt/timer_delete.c: Likewise.
16738         * rt/timer_getoverr.c: Likewise.
16739         * rt/timer_gettime.c: Likewise.
16740         * rt/timer_settime.c: Likewise.
16741         * setjmp/__longjmp.c: Likewise.
16742         * setjmp/setjmp.c: Likewise.
16743         * signal/kill.c: Likewise.
16744         * signal/killpg.c: Likewise.
16745         * signal/raise.c: Likewise.
16746         * signal/sigaction.c: Likewise.
16747         * signal/sigaltstack.c: Likewise.
16748         * signal/sigblock.c: Likewise.
16749         * signal/sigignore.c: Likewise.
16750         * signal/sigintr.c: Likewise.
16751         * signal/signal.c: Likewise.
16752         * signal/sigpause.c: Likewise.
16753         * signal/sigpending.c: Likewise.
16754         * signal/sigqueue.c: Likewise.
16755         * signal/sigreturn.c: Likewise.
16756         * signal/sigset.c: Likewise.
16757         * signal/sigsetmask.c: Likewise.
16758         * signal/sigstack.c: Likewise.
16759         * signal/sigsuspend.c: Likewise.
16760         * signal/sigtimedwait.c: Likewise.
16761         * signal/sigvec.c: Likewise.
16762         * signal/sigwait.c: Likewise.
16763         * signal/sigwaitinfo.c: Likewise.
16764         * signal/sysv_signal.c: Likewise.
16765         * socket/accept.c: Likewise.
16766         * socket/accept4.c: Likewise.
16767         * socket/bind.c: Likewise.
16768         * socket/connect.c: Likewise.
16769         * socket/getpeername.c: Likewise.
16770         * socket/getsockname.c: Likewise.
16771         * socket/getsockopt.c: Likewise.
16772         * socket/isfdtype.c: Likewise.
16773         * socket/listen.c: Likewise.
16774         * socket/recv.c: Likewise.
16775         * socket/recvfrom.c: Likewise.
16776         * socket/recvmsg.c: Likewise.
16777         * socket/send.c: Likewise.
16778         * socket/sendmsg.c: Likewise.
16779         * socket/sendto.c: Likewise.
16780         * socket/setsockopt.c: Likewise.
16781         * socket/shutdown.c: Likewise.
16782         * socket/sockatmark.c: Likewise.
16783         * socket/socket.c: Likewise.
16784         * socket/socketpair.c: Likewise.
16785         * stdio-common/ctermid.c: Likewise.
16786         * stdio-common/cuserid.c: Likewise.
16787         * stdio-common/remove.c: Likewise.
16788         * stdio-common/rename.c: Likewise.
16789         * stdio-common/renameat.c: Likewise.
16790         * stdio-common/tempname.c: Likewise.
16791         * stdlib/getcontext.c: Likewise.
16792         * stdlib/makecontext.c: Likewise.
16793         * stdlib/setcontext.c: Likewise.
16794         * stdlib/swapcontext.c: Likewise.
16795         * stdlib/system.c: Likewise.
16796         * streams/fattach.c: Likewise.
16797         * streams/fdetach.c: Likewise.
16798         * streams/getmsg.c: Likewise.
16799         * streams/getpmsg.c: Likewise.
16800         * streams/putmsg.c: Likewise.
16801         * streams/putpmsg.c: Likewise.
16802         * sysdeps/unix/bsd/getpt.c: Likewise.
16803         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16804         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16805         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16807         Likewise.
16808         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16809         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16810         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16811         * sysvipc/msgctl.c: Likewise.
16812         * sysvipc/msgget.c: Likewise.
16813         * sysvipc/msgrcv.c: Likewise.
16814         * sysvipc/msgsnd.c: Likewise.
16815         * sysvipc/semctl.c: Likewise.
16816         * sysvipc/semget.c: Likewise.
16817         * sysvipc/semop.c: Likewise.
16818         * sysvipc/semtimedop.c: Likewise.
16819         * sysvipc/shmat.c: Likewise.
16820         * sysvipc/shmctl.c: Likewise.
16821         * sysvipc/shmdt.c: Likewise.
16822         * sysvipc/shmget.c: Likewise.
16823         * termios/tcdrain.c: Likewise.
16824         * termios/tcflow.c: Likewise.
16825         * termios/tcflush.c: Likewise.
16826         * termios/tcgetattr.c: Likewise.
16827         * termios/tcgetpgrp.c: Likewise.
16828         * termios/tcsendbrk.c: Likewise.
16829         * termios/tcsetattr.c: Likewise.
16830         * termios/tcsetpgrp.c: Likewise.
16831         * time/adjtime.c: Likewise.
16832         * time/clock.c: Likewise.
16833         * time/getitimer.c: Likewise.
16834         * time/gettimeofday.c: Likewise.
16835         * time/setitimer.c: Likewise.
16836         * time/settimeofday.c: Likewise.
16837         * time/stime.c: Likewise.
16838         * time/time.c: Likewise.
16840 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16842         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16843         /usr/old/bin.
16845         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16846         instead of spaces.
16847         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16849 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16851         [BZ #14796]
16852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16853         FE_TONEAREST before applying Dekker multiplication and Knuth
16854         addition.  Clear inexact exceptions and check for exact zero
16855         results afterwards.
16856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16859         * math/libm-test.inc (fma_test): Add more tests.
16860         (fma_test_towardzero): Likewise.
16861         (fma_test_downward): Likewise.
16862         (fma_test_upward): Likewise.
16863         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16864         function.
16865         (libc_fesetround): New macro.
16866         (libc_fesetroundf): Likewise.
16867         (libc_fesetroundl): Likewise.
16868         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16869         function.
16870         (libc_fesetround_387): Likewise.
16871         (libc_fesetroundf): New macro.
16872         (libc_fesetround): Likewise.
16873         (libc_fesetroundl): Likewise.
16874         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16875         function.
16876         (libc_fesetroundf): New macro.
16877         (libc_fesetround): Likewise.
16878         (libc_fesetroundl): Likewise.
16879         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16880         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16881         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16882         libm_hidden_ver.
16883         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16884         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16885         libm_hidden_def.
16886         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16887         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16888         libm_hidden_ver.
16889         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16890         libm_hidden_def.
16892         [BZ #3439]
16893         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16894         integer constant usable in #if and use that to give value to enum
16895         constant.
16896         (FE_DIVBYZERO): Likewise.
16897         (FE_UNDERFLOW): Likewise.
16898         (FE_OVERFLOW): Likewise.
16899         (FE_INVALID): Likewise.
16900         (FE_INVALID_SNAN): Likewise.
16901         (FE_INVALID_ISI): Likewise.
16902         (FE_INVALID_IDI): Likewise.
16903         (FE_INVALID_ZDZ): Likewise.
16904         (FE_INVALID_IMZ): Likewise.
16905         (FE_INVALID_COMPARE): Likewise.
16906         (FE_INVALID_SOFTWARE): Likewise.
16907         (FE_INVALID_SQRT): Likewise.
16908         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16909         (FE_TONEAREST): Likewise.
16910         (FE_TOWARDZERO): Likewise.
16911         (FE_UPWARD): Likewise.
16912         (FE_DOWNWARD): Likewise.
16913         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16914         (FE_DIVBYZERO): Likewise.
16915         (FE_OVERFLOW): Likewise.
16916         (FE_UNDERFLOW): Likewise.
16917         (FE_INEXACT): Likewise.
16918         (FE_TONEAREST): Likewise.
16919         (FE_DOWNWARD): Likewise.
16920         (FE_UPWARD): Likewise.
16921         (FE_TOWARDZERO): Likewise.
16922         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16923         (FE_UNDERFLOW): Likewise.
16924         (FE_OVERFLOW): Likewise.
16925         (FE_DIVBYZERO): Likewise.
16926         (FE_INVALID): Likewise.
16927         (FE_TONEAREST): Likewise.
16928         (FE_TOWARDZERO): Likewise.
16929         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16930         (FE_OVERFLOW): Likewise.
16931         (FE_UNDERFLOW): Likewise.
16932         (FE_DIVBYZERO): Likewise.
16933         (FE_INEXACT): Likewise.
16934         (FE_TONEAREST): Likewise.
16935         (FE_TOWARDZERO): Likewise.
16936         (FE_UPWARD): Likewise.
16937         (FE_DOWNWARD): Likewise.
16938         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16939         (FE_DIVBYZERO): Likewise.
16940         (FE_OVERFLOW): Likewise.
16941         (FE_UNDERFLOW): Likewise.
16942         (FE_INEXACT): Likewise.
16943         (FE_TONEAREST): Likewise.
16944         (FE_DOWNWARD): Likewise.
16945         (FE_UPWARD): Likewise.
16946         (FE_TOWARDZERO): Likewise.
16948 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16950         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16952 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16954         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16955         commands.  Quote $PWD.
16956         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16957         -x" by "export".
16958         (remove_newlines): Remove.
16960 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16962         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16963         * stdlib/stdlib.h (atof): Moved to ...
16964         * include/bits/stdlib-float.h: Here.  New file.
16965         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16966         * stdlib/bits/stdlib-float.h: New file.
16967         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16968         -mno-sse -mno-mmx.
16969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16970         <xmmintrin.h>.
16972 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16974         * conform/conformtest.pl (@headers): Add fenv.h.
16975         * conform/data/fenv.h-data: New file.
16976         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16977         include of <math/fenv.h>.
16979         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16980         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16981         && !UNIX98].  Enables tests for XOPEN2K8.
16982         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16983         POSIX2008]: Likewise.
16985         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16986         (struct rusage): Do not expect type or its members.
16988         [BZ #3439]
16989         * math/math.h (FP_NAN): Define macro to integer constant usable in
16990         #if and use that to give value to enum constant.
16991         (FP_INFINITE): Likewise.
16992         (FP_ZERO): Likewise.
16993         (FP_SUBNORMAL): Likewise.
16994         (FP_NORMAL): Likewise.
16996 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16998         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16999         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17000         arguments.
17002 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17004         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17005         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17006         autoconf-time if not.
17007         * configure.in: Remove AC_PREREQ.
17009 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17011         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17012         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17013         of the internal implementation.
17015 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17017         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17018         except include of <misc/sys/syslog.h>.
17020 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17023         function returns with a NULL context exit with zero.
17025 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17027         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17029 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17031         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17032         (run_program_cmd): This.
17033         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17034         (tst_langinfo): New variable.  Use it.
17036 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17038         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17039         floating point opcodes.
17041 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17043         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17044         variable.
17046         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17048         * sysdeps/mach/hurd/powerpc: Remove directory.
17049         * sysdeps/mach/powerpc: Likewise.
17051 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17053         * scripts/check-local-headers.sh: Ignore c++ headers.
17055 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17057         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17058         __libc_cleanup_region_start argument.
17060 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17062         [BZ #14784]
17063         [BZ #14785]
17064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17065         x * y using scaling, not as x * y + z.
17066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17068         * math/libm-test.inc (fma_test): Add more tests.
17069         (fma_test_towardzero): Likewise.
17070         (fma_test_downward): Likewise.
17071         (fma_test_upward): Likewise.
17073 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17075         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17077 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17079         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17080         New variable.
17082 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17084         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17086 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17089         Fix sort order.
17090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17091         Likewise.
17093 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17096         Fix the order of the list for glibc 2.17.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17098         Likewise.
17100 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17104 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17106         [BZ #14610]
17107         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17108         for low part of x being zero before using __atanl (y).
17109         * math/libm-test.inc (atan2_test): Add another test.
17111         * manual/install.texi (Configuring and compiling): Document
17112         general use of test-wrapper and test-wrapper-env.
17113         * INSTALL: Regenerated.
17115         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17116         (__fma): Do not extract and scale down low bits on after-rounding
17117         systems when result rounded to normal precision would have normal
17118         exponent.
17119         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17120         (__fmal): Do not extract and scale down low bits on after-rounding
17121         systems when result rounded to normal precision would have normal
17122         exponent.
17123         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17124         (__fmal): Do not extract and scale down low bits on after-rounding
17125         systems when result rounded to normal precision would have normal
17126         exponent.
17127         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17128         macro.
17129         (fma_test): Add more tests.
17130         (fma_test_towardzero): Likewise.
17131         (fma_test_downward): Likewise.
17132         (fma_test_upward): Likewise.
17134 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17136         * sysdeps/i386/tininess.h: Renamed to ...
17137         * sysdeps/x86/tininess.h: This.
17138         * sysdeps/x86_64/tininess.h: Removed.
17140 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17142         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17143         input.  Use $(build-program-cmd).
17144         ($(objpfx)tst-array1-static.out): Likewise.
17145         ($(objpfx)tst-array2.out): Likewise.
17146         ($(objpfx)tst-array3.out): Likewise.
17147         ($(objpfx)tst-array4.out): Likewise.
17148         ($(objpfx)tst-array5.out): Likewise.
17149         ($(objpfx)tst-array5-static.out): Likewise.
17151 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17153         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17154         if defined.
17156         * nss/nsswitch.h (nss_interface_function): Provide new
17157         macro for use with NSS functions.
17158         * grp/initgroups.c: Use new macro.
17159         * nss/getXXbyYY.c: Likewise.
17160         * nss/getXXbyYY_r.c: Likewise.
17161         * nss/getXXent.c: Likewise.
17162         * nss/getXXent_r.c: Likewise.
17163         * sysdeps/posix/getaddrinfo.c: Likewise.
17165 2012-10-30  Andreas Jaeger  <aj@suse.de>
17167         * po/ru.po: Update Russion translation from translation project.
17169 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17171         [BZ #14152]
17172         [BZ #14783]
17173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17174         result and shift together with sticky bit instead of replicating
17175         round-to-nearest rounding.
17176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17178         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17179         missing underflow exceptions.
17180         (fma_test_towardzero): Add more tests.
17181         (fma_test_downward): Likewise.
17182         (fma_test_upward): Likewise.
17184         [BZ #14047]
17185         * sysdeps/generic/tininess.h: New file.
17186         * sysdeps/i386/tininess.h: Likewise.
17187         * sysdeps/sh/tininess.h: Likewise.
17188         * sysdeps/x86_64/tininess.h: Likewise.
17189         * stdlib/tst-strtod-underflow.c: Likewise.
17190         * stdlib/tst-tininess.c: Likewise.
17191         * stdlib/strtod_l.c: Include <tininess.h>.
17192         (round_and_return): Do not set errno for exact underflow cases.
17193         Force an underflow exception when setting errno for underflow.
17194         Determine underflow based on rounding to normal precision if
17195         TININESS_AFTER_ROUNDING.
17196         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17197         ERANGE for exact underflow cases.
17198         * stdlib/Makefile (tests): Add tst-tininess and
17199         tst-strtod-underflow.
17200         ($(objpfx)tst-tininess): Use $(link-libm).
17201         ($(objpfx)tst-strtod-underflow): Likewise.
17203 2012-10-30  Andreas Jaeger  <aj@suse.de>
17205         [BZ#14767]
17206         * elf/Makefile (tests): Remove conditional for have-initfini-array
17207         since this is now always required and the variable does not exist
17208         anymore.
17209         (tests-static): Likewise.
17210         (modules-names): Likewise.
17212         * po/eo.po: Add Esperanto translation from translation project.
17214         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17215         merged with constructor/destructor.
17216         (init_array): Likewise.
17217         * elf/tst-array2dep.c (fini_array): Likewise.
17218         (init_array): Likewise.
17220 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17222         * manual/message.texi: Delete @cartouche tags.
17224 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17226         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17227         EOPNOTSUPP.
17228         * sysdeps/mach/hurd/fsync.c: Likewise.
17230         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17231         [_POSIX_REALTIME_SIGNALS]: Change condition to
17232         [_POSIX_REALTIME_SIGNALS > 0].
17234 2012-10-27  Andreas Jaeger  <aj@suse.de>
17236         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17237         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17239         [__WORDSIZE != 64]: Likewise.
17241 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17243         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17244         *  iconvdata/tst-tables.sh: Likewise.
17246 2012-10-25  David S. Miller  <davem@davemloft.net>
17248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17249         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17250         of strtoull.
17252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17253         ifunc-impl-list.c
17254         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17255         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17256         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17257         file.
17259 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17261         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17262         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17263         __getdirentries.
17265 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17266             Jim Blandy  <jimb@codesourcery.com>
17268         * scripts/cross-test-ssh.sh: New file.
17269         * manual/install.texi (Configuring and compiling): Document use of
17270         cross-test-ssh.sh.
17271         * INSTALL: Regenerated.
17273 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17275         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17276         EOPNOTSUPP.
17278 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17280         * Makeconfig (run-program-prefix): Fix comment.
17282 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17283             Jim Blandy  <jimb@codesourcery.com>
17285         * Makeconfig (test-wrapper): New variable,
17286         (test-wrapper-env): Likewise.
17287         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17288         (run-built-tests): Define to yes.
17289         (run-program-prefix): Use $(test-wrapper).
17290         (built-program-cmd): Likewise.
17291         * Rules (make-test-out): Use $(test-wrapper-env) and
17292         $(host-built-program-cmd).
17293         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17294         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17295         tst-pathopt.sh.
17296         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17297         $(test-wrapper-env) to tst-rtld-load-self.sh.
17298         ($(objpfx)order2.out): Use $(test-wrapper).
17299         ($(objpfx)tst-initorder.out): Likewise.
17300         ($(objpfx)tst-initorder2.out): Likewise.
17301         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17302         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17303         (test_wrapper_env): New variable.  Use it to run ld.so.
17304         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17305         Use it to run ld.so.
17306         (test_wrapper_env): Likewise.
17307         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17308         $(test-wrapper) to run-iconv-test.sh.
17309         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17310         (ICONV): Use $test_wrapper.
17311         * posix/Makefile ($(objpfx)globtest.out): Pass
17312         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17313         globtest.sh, not $(run-program-prefix).
17314         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17315         (test_wrapper): Likewise.
17316         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17317         set together with run_via_rtld_prefix.
17318         (run_program_prefix): Define in terms of test_wrapper and
17319         run_via_rtld_prefix.
17321 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17323         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17324         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17325         Targets removed.
17327         [BZ #14743]
17328         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17329         Declare __clock_getres, __clock_gettime, __clock_settime,
17330         __clock_nanosleep, and __clock_getcpuclockid.
17331         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17332         Remove librt_hidden_def (clock_gettime).
17333         * sysdeps/unix/clock_gettime.c: Likewise.
17334         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17336         * rt/clock_getres.c: Define __clock_getres as an alias.
17337         * sysdeps/posix/clock_getres.c: Likewise.
17338         * rt/clock_settime.c: Define __clock_settime as an alias.
17339         * sysdeps/unix/clock_settime.c: Likewise.
17340         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17341         * sysdeps/unix/clock_nanosleep.c: Likewise.
17342         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17343         * rt/clock-compat.c: New file.
17344         * rt/Makefile (librt-routines): Add clock-compat and move
17345         $(clock-routines) to ...
17346         (routines): ... here, new variable.
17347         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17348         Don't add get_clockfreq here.
17349         * rt/Versions (libc: GLIBC_2.17): New version set.
17350         Add clock_* symbols here.
17351         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17352         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17353         (GLIBC_2.17): Add clock_* symbols.
17354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17360         Likewise.
17361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17365         * NEWS: Mention the move.
17367         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17368         Use __open, __read, __close rather than their public counterparts.
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17370         (__get_clockfreq_via_cpuinfo): Likewise.
17371         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17372         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17374         * config.h.in (HAVE_IFUNC): New #undef.
17375         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17376         was successful.
17377         * configure: Regenerated.
17379 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17381         * configure.in: Move READELF check to start of file.
17382         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17383         libc_cv_asm_gnu_indirect_function in the process.
17384         * configure: Regenerated.
17386 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17388         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17389         send the output to /dev/null.
17390         (libc_cv_cc_with_libunwind): Likewise.
17391         (libc_cv_as_noexecstack): Likewise.
17392         * configure: Regenerate.
17394 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17396         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17398         * posix/globtest.sh (TMPDIR): Do not set.
17399         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17400         (testout): Likewise.
17402 2012-10-24  Andreas Jaeger  <aj@suse.de>
17404         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17405         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17406         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17407         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17408         posix_fadvise64, posix_fallocate64.
17410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17411         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17412         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17413         Likewise.
17414         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17415         Likewise.
17416         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17419         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17420         <bits/fcntl-linux.h>.
17421         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17424         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17425         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17426         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17427         [__WORDSIZE != 64]: Likewise.
17429 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17431         * Makeconfig (run-built-tests): New variable.
17432         * Rules [$(cross-compiling) = yes]: Change condition to
17433         [$(run-built-tests) = no].
17434         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17435         to [$(run-built-tests) = yes].
17436         * elf/Makefile [$(cross-compiling) = no]: Likewise
17437         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17438         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17439         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17440         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17441         * io/Makefile [$(cross-compiling) = no]: Likewise.
17442         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17443         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17444         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17445         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17446         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17447         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17448         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17449         * string/Makefile [$(cross-compiling) = no]: Likewise.
17451         * posix/Makefile ($(objpfx)globtest.out): Pass
17452         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17453         $(rtld-installed-name).
17454         * posix/globtest.sh (elf_objpfx): Remove variable.
17455         (rtld_installed_name): Likewise.
17456         (library_path): Likewise.
17457         (run_program_prefix): New variable.  Use for running globtest
17458         binary.
17460 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17461             Joseph Myers  <joseph@codesourcery.com>
17463         * Makeconfig (host-built-program-cmd): New variable.
17464         * elf/Makefile (tst-stackguard1-ARGS): Use
17465         $(host-built-program-cmd).
17466         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17467         (tst-spawn-ARGS): Likewise.
17468         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17470 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17471             Jim Blandy  <jimb@codesourcery.com>
17473         * Makeconfig (run-via-rtld-prefix): New variable.
17474         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17475         (built-program-cmd): Likewise.
17477 2012-10-22  Andreas Jaeger  <aj@suse.de>
17479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17480         __O_RSYNC if it exists, otherwise to O_SYNC.
17482 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17483             Joseph Myers  <joseph@codesourcery.com>
17485         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17486         /dev/null.
17487         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17488         from /dev/null
17489         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17490         /dev/null.
17492 2012-10-22  Andreas Jaeger  <aj@suse.de>
17494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17495         Define always.
17496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17499         bits/fcntl-linux.h.
17501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17502         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17505         to __O_LARGEFILE.
17506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17507         to __O_LARGEFILE.
17509 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17510             Joseph Myers  <joseph@codesourcery.com>
17512         * config.make.in (NM): New variable.
17514 2012-10-21  Andreas Jaeger  <aj@suse.de>
17516         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17517         definitions and declarations that are provided by
17518         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17520 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17522         [BZ #14683]
17523         * elf/Makefile (tests-static): Add tst-leaks1-static.
17524         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17525         ($(objpfx)tst-leaks1-static): New rule.
17526         ($(objpfx)tst-leaks1-static-mem): Likewise.
17527         (tst-leaks1-static-ENV): New macro.
17528         * elf/dl-open.c (dl_open_worker): Check the main application
17529         only if SHARED is defined.
17530         * elf/tst-leaks1-static.c: New file.
17532 2012-10-20  Andreas Jaeger  <aj@suse.de>
17534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17535         generic values for Linux.
17536         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17537         and declarations that are provided by <bits/fcntl-linux.h> and
17538         include <bits/fcntl-linux.h>.
17539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17542 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17544         * io/fcntl.h: Move include of <bits/types.h> to the top and
17545         include it unconditionally.
17547 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17549         * wcsmbs/Makefile (tests-ifunc): New variable.
17550         (tests): Add $(tests-ifunc).
17551         * wcsmbs/test-wcschr-ifunc.c: New file.
17552         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17553         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17554         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17555         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17556         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17558         * string/Makefile (tests-ifunc): New variable.
17559         (tests): Add $(tests-ifunc).
17560         * string/test-memccpy.c (TEST_NAME): New macro.
17561         * string/test-memchr.c (TEST_NAME): Likewise.
17562         * string/test-memcmp.c (TEST_NAME): Likewise.
17563         * string/test-memcpy.c (TEST_NAME): Likewise.
17564         * string/test-memmem.c (TEST_NAME): Likewise.
17565         * string/test-memmove.c (TEST_NAME): Likewise.
17566         * string/test-memset.c (TEST_NAME): Likewise.
17567         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17568         * string/test-stpcpy.c (TEST_NAME): Likewise.
17569         * string/test-stpncpy.c (TEST_NAME): Likewise.
17570         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17571         * string/test-strcasestr.c (TEST_NAME): Likewise.
17572         * string/test-strcat.c (TEST_NAME): Likewise.
17573         * string/test-strchr.c (TEST_NAME): Likewise.
17574         * string/test-strcmp.c(TEST_NAME): Likewise.
17575         * string/test-strcpy.c (TEST_NAME): Likewise.
17576         * string/test-strcspn.c (TEST_NAME): Likewise.
17577         * string/test-strlen.c (TEST_NAME): Likewise.
17578         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17579         * string/test-strncmp.c (TEST_NAME): Likewise.
17580         * string/test-strncpy.c (TEST_NAME): Likewise.
17581         * string/test-strnlen.c (TEST_NAME): Likewise.
17582         * string/test-strpbrk.c (TEST_NAME): Likewise.
17583         * string/test-strrchr.c (TEST_NAME): Likewise.
17584         * string/test-strspn.c (TEST_NAME): Likewise.
17585         * string/test-strstr.c (TEST_NAME): Likewise.
17586         * string/test-bcopy-ifunc.c: New file.
17587         * string/test-bzero-ifunc.c: Likewise.
17588         * string/test-memccpy-ifunc.c: Likewise.
17589         * string/test-memchr-ifunc.c: Likewise.
17590         * string/test-memcmp-ifunc.c: Likewise.
17591         * string/test-memcpy-ifunc.c: Likewise.
17592         * string/test-memmem-ifunc.c: Likewise.
17593         * string/test-memmove-ifunc.c: Likewise.
17594         * string/test-mempcpy-ifunc.c: Likewise.
17595         * string/test-memset-ifunc.c: Likewise.
17596         * string/test-rawmemchr-ifunc.c: Likewise.
17597         * string/test-stpcpy-ifunc.c: Likewise.
17598         * string/test-stpncpy-ifunc.c: Likewise.
17599         * string/test-strcasecmp-ifunc.c: Likewise.
17600         * string/test-strcasestr-ifunc.c: Likewise.
17601         * string/test-strcat-ifunc.c: Likewise.
17602         * string/test-strchr-ifunc.c: Likewise.
17603         * string/test-strchrnul-ifunc.c: Likewise.
17604         * string/test-strcmp-ifunc.c: Likewise.
17605         * string/test-strcpy-ifunc.c: Likewise.
17606         * string/test-strcspn-ifunc.c: Likewise.
17607         * string/test-strlen-ifunc.c: Likewise.
17608         * string/test-strncasecmp-ifunc.c: Likewise.
17609         * string/test-strncat-ifunc.c: Likewise.
17610         * string/test-strncmp-ifunc.c: Likewise.
17611         * string/test-strncpy-ifunc.c: Likewise.
17612         * string/test-strnlen-ifunc.c: Likewise.
17613         * string/test-strpbrk-ifunc.c: Likewise.
17614         * string/test-strrchr-ifunc.c: Likewise.
17615         * string/test-strspn-ifunc.c: Likewise.
17616         * string/test-strstr-ifunc.c: Likewise.
17618         * debug/Makefile (tests-ifunc): New variable.
17619         (tests): Add $(tests-ifunc).
17620         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17621         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17622         * debug/test-stpcpy_chk-ifunc.c: New file.
17623         * debug/test-strcpy_chk-ifunc.c: Likewise.
17625 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17627         [BZ #13601]
17628         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17629         header is not read in.
17631 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17633         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17634         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17635         directly.  Pass built executable to script as
17636         $(built-program-cmd).
17637         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17638         $testprogram without using LD_LIBRARY_PATH and $ldso.
17640         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17641         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17642         $(rtld-installed-name).
17643         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17644         (rtld_installed_name): Likewise.
17645         (library_path): Likewise.
17646         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17647         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17648         $(run-program-prefix) to tst-tables.sh.
17649         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17650         it to run tst-table-from and tst-table-to.
17651         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17652         Pass it to tst-table.sh.
17653         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17654         $(run-program-prefix) to tst-gettext.sh.
17655         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17656         tst-translit.sh.
17657         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17658         tst-gettext2.sh.
17659         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17660         to run tst-gettext.
17661         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17662         to run tst-gettext2.
17663         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17664         to run tst-translit.
17665         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17666         $(run-program-prefix) to tst-mtrace.sh.
17667         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17668         to run tst-mtrace.
17669         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17670         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17671         $(rtld-installed-name).
17672         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17673         (rtld_installed_name): Likewise.
17674         (run_program_prefix): New variable.  Use it to run wordexp-test.
17676         * Makeconfig (ARCH): Remove all definitions.
17677         (machine): Likewise.
17678         [ARCH]: Remove conditional code.
17679         [!objdir]: Give error.
17680         [!objdir] (objpfx): Remove.
17681         [!objdir] (common-objpfx): Likewise.
17682         [!objdir] (common-objdir): Likewise.
17683         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17684         AC_CONFIG_FILES call.
17685         * configure: Regenerated.
17687         [BZ #13888]
17688         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17689         or TMPDIR.
17690         (testout): Likewise.
17692         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17693         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17694         $(rtld-installed-name).
17695         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17696         (rtld_installed_name): Likwise.
17697         (runit): Remove function.
17698         (run_getconf): New variable,  Use it for running getconf binary.
17700 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17702         [BZ #14716]
17703         * string/test-memmem.c (check_result): New function.
17704         (do_one_test): Use it.
17705         (check1): New function.
17706         (test_main): Use it.
17708 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17710         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17712 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17714         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17715         (_G_LSEEK64): Likewise.
17716         (_G_MMAP64): Likewise.
17717         (_G_FSTAT64): Likewise.
17718         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17719         (_G_LSEEK64): Likewise.
17720         (_G_MMAP64): Likewise.
17721         (_G_FSTAT64): Likewise.
17722         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17723         unconditional.  Call __mmap64 directly.
17724         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17725         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17726         __lseek64 directly.
17727         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17728         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17729         __mmap64 directly.
17730         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17731         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17732         __lseek64 directly.
17733         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17734         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17735         __lseek64 directly.
17736         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17737         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17738         __lseek64 directly.
17739         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17740         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17741         __fxstat64 directly.
17742         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17743         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17744         unconditional.
17745         (freopen64) [!_G_OPEN64]: Remove conditional code.
17746         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17747         unconditional.
17748         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17749         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17750         unconditional.
17751         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17752         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17753         unconditional.
17754         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17755         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17756         unconditional.
17757         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17758         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17759         unconditional.
17760         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17761         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17762         unconditional.
17763         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17764         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17765         unconditional.
17766         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17768 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17770         [BZ #12140]
17771         * manual/memory.texi (Malloc Tunable Parameters): Add note
17772         about free list pointers overwriting some perturb bytes.
17773         Wording suggested by Roland McGrath.
17775 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17777         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17778         (lgamma_test): Likewise.
17779         (tgamma_test): Likewise.
17781 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17783         [BZ #14700]
17784         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17785         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17787 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17789         * NEWS: Mention BZ #14716.
17790         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17791         when removing AVAILABLE1_USES_J macro.
17793 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17795         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17796         (__bswap_64): __uint64_t for unsigned 64-bit int.
17798 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17800         * include/string.h (memmem): Declare libc hidden alias.
17801         * string/memmem.c (memmem): Define libc hidden alias.
17802         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17803         __read, __close instead of open, read, close.
17805 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17808         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17809         global and hidden.
17810         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17811         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17812         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17813         Likewise.
17814         (__rawmemchr_sse2): Likewise.
17815         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17816         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17817         (__strchr_sse2): Likewise.
17818         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17819         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17820         (__strcasecmp_sse2): Likewise.
17821         (__strncasecmp_sse2): Likewise.
17822         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17823         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17824         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17825         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17826         (__strrchr_sse2): Likewise.
17827         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17828         ifunc-impl-list.c.
17829         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17830         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17831         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17832         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17833         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17834         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17835         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17836         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17837         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17838         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17839         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17840         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17841         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17842         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17843         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17844         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17845         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17846         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17847         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17848         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17849         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17850         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17851         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17852         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17853         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17854         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17855         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17856         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17857         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17858         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17860         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17861         global and hidden.
17862         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17863         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17864         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17865         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17866         Likewise.
17867         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17868         Likewise.
17869         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17870         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17871         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17872         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17873         ifunc-impl-list.c.
17874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17875         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17877         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17879         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17880         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17881         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17883         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17884         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17885         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17886         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17887         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17888         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17889         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17890         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17891         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17892         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17893         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17894         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17895         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17896         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17897         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17898         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17899         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17900         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17901         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17902         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17903         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17905         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17906         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17907         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17908         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17909         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17910         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17911         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17912         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17913         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17914         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17916         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17917         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17918         * include/ifunc-impl-list.h: New file.
17919         * misc/ifunc-impl-list.c: Likewise.
17920         * misc/Makefile (routines): Add ifunc-impl-list.
17921         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17922         * string/test-string.h: Include <ifunc-impl-list.h>.
17923         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17924         impl_array): New variables.
17925         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17926         are defined.
17927         (test_init): Call __libc_ifunc_impl_list to initialize
17928         func_list if TEST_IFUNC and TEST_NAME are defined.
17930         * string/Makefile (strop-tests): Add bcopy and bzero.
17931         * string/test-bcopy.c: New file.
17932         * string/test-bzero.c: Likewise.
17933         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17934         defined.
17935         * string/test-memset.c: Support bzero test if TEST_BZERO is
17936         defined.
17937         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17938         __libc_memmove.
17939         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17940         __libc_memset.
17941         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17942         of memset.
17944 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17946         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17947         * configure: Regenerated.
17949         * Makeconfig (+link-static-before-libc): Don't include
17950         $(link-static-libc).
17952         * libio/libio.h (_IO_pos_t): Remove.
17954 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17956         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17957         McGrath.
17959 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17961         * crypt/crypt-entry.c: Include fips-private.h.
17962         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17963         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17964         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17965         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17967 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17969         * crypt/crypt-private.h: Include stdbool.h.
17970         (_ufc_setup_salt_r): Return bool.
17971         * crypt/crypt-entry.c: Include errno.h.
17972         (__crypt_r): Return NULL with EINVAL for bad salt.
17973         * crypt/crypt_util.c (bad_for_salt): New.
17974         (_ufc_setup_salt_r): Check that salt is long enough and within
17975         the specified alphabet.
17976         * crypt/badsalttest.c: New file.
17977         * crypt/Makefile (tests): Add it.
17978         ($(objpfx)badsalttest): New.
17980 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17982         * NEWS: Add entry for BZ #14602.
17984 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17986         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17987         type-generic.
17988         * math/libm-test.inc: Update comment listing what functions and
17989         macros are tested.
17990         (isgreater_test): New function.
17991         (isgreaterequal_test): Likewise.
17992         (isless_test): Likewise.
17993         (islessequal_test): Likewise.
17994         (islessgreater_test): Likewise.
17995         (isunordered_test): Likewise.
17996         (main): Call the new functions.
17998 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18000         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18001         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18002         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18003         * sysdeps/i386/configure: Regenerated.
18004         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18005         * sysdeps/mach/configure: Regenerated.
18006         * sysdeps/mach/hurd/configure: Regenerated.
18007         * sysdeps/powerpc/configure: Regenerated.
18008         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18009         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18010         * sysdeps/s390/s390-32/configure: Regenerated.
18011         * sysdeps/s390/s390-64/configure: Regenerated.
18012         * sysdeps/sh/configure: Regenerated.
18013         * sysdeps/sparc/configure: Regenerated.
18014         * sysdeps/unix/sysv/linux/configure: Regenerated.
18015         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18016         * sysdeps/x86_64/configure: Regenerated.
18018         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18019         defined.  Don't check if MAP is NULL.
18021 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18023         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18024         (_G_stat64): Likewise.
18025         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18026         (_G_stat64): Likewise.
18027         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18028         instead of struct _G_stat64.
18029         * libio/fileops.c (mmap_remap_check): Likewise.
18030         (decide_maybe_mmap): Likewise.
18031         (_IO_new_file_seekoff): Likewise.
18032         (_IO_file_stat): Likewise.
18033         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18034         _G_off64_t.
18035         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18036         instead of struct _G_stat64.
18037         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18039 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18041         [BZ #14602]
18042         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18043         Replace with ...
18044         (CHECK_EOL): New macro.
18045         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18046         CHECK_EOL.
18047         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18048         Replace with CHECK_EOL.
18049         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18050         Replace with CHECK_EOL.
18052 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18054         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18055         type-generic.
18056         * math/libm-test.inc: Update comment listing what functions and
18057         macros are tested.
18058         (finite_test): New function.
18059         (isinf_test): Likewise.
18060         (isnan_test): Likewise.
18061         (fpclassify_test): Test subnormal input.
18062         (isfinite_test): Likewise.
18063         (isnormal_test): Likewise.
18064         (main): Call the new functions.
18066 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18068         [BZ #14660]
18069         * Makerules (%.dynsym): Force C locale when running
18070         $(OBJDUMP) --dynamic-syms.
18072 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18074         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18075         <stdint.h>.
18077 2012-10-06  David S. Miller  <davem@davemloft.net>
18079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18080         upper 32-bits of the length value in %o2 since we use branch-on-register
18081         tests which consider the entire 64-bit register.
18083 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18085         * string/test-strstr.c (check2): Add a test for page boundary.
18087 2012-10-05  David S. Miller  <davem@davemloft.net>
18089         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18090         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18091         file.
18092         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18093         sysdep_routines.
18094         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18095         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18096         and bzero when HWCAP_SPARC_CRYPTO is present.
18098 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18100         [BZ #14602]
18101         * string/test-strstr.c (check2): New function.
18102         (test_main): Call check2.
18104         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18105         and bug-strchr1.
18106         * string/bug-strcasestr1.c (do_test): Moved to ...
18107         * string/test-strcasestr.c (check1): Here.  New function.
18108         (do_one_test): Break out result checking code into ...
18109         (check_result): This.  New function.
18110         (do_one_test): Call check_result.
18111         (test_main): Call check1.
18112         * string/bug-strchr1.c (do_test): Moved to ...
18113         * string/test-strchr.c (check1): Here.  New function.
18114         (do_one_test): Break out result checking code into ...
18115         (check_result): This.  New function.
18116         (do_one_test): Call check_result.
18117         (test_main): Call check1.
18118         * string/bug-strstr1.c (main): Moved to ...
18119         * string/test-strstr.c (check1): Here.  New function.
18120         (do_one_test): Break out result checking code into ...
18121         (check_result): This.  New function.
18122         (do_one_test): Call check_result.
18123         (test_main): Call check1.
18124         * string/bug-strcasestr1.c: Removed.
18125         * string/bug-strchr1.c: Likewise.
18126         * string/bug-strstr1.c: Likewise.
18128         * elf/Makefile (dl-routines): Add hwcaps.
18129         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18130         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18131         (_dl_important_hwcaps): Moved to ...
18132         * elf/dl-hwcaps.c: Here.  New file.
18133         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18135         [BZ #14557]
18136         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18137         if IS_IN_rtld isn't defined.
18139         * elf/dl-support.c (_dl_sysinfo_map): New.
18140         Include "get-dynamic-info.h" and "setup-vdso.h".
18141         (_dl_non_dynamic_init): Call setup_vdso.
18142         * elf/dynamic-link.h: Don't include <assert.h>.
18143         (elf_get_dynamic_info): Moved to ...
18144         * elf/get-dynamic-info.h: Here.  New file.
18145         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18146         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18147         * elf/setup-vdso.h: Here.  New file.
18148         * elf/rtld.c: Include "setup-vdso.h".
18149         (dl_main): Call setup_vdso.
18151 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18153         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18154         creal in comment listing functions tested.  List finite, isinf,
18155         isnan, isless, islessequal, isgreater, isgreaterequal,
18156         islessgreater, isunordered, lgamma_r and pow10 as functions and
18157         macros not tested.  Mention which functions not tested are aliases
18158         for other functions.  Fix typo.  Note that signs of NaNs are not
18159         tested.
18161         * scripts/config.guess: Update from config.git.
18162         * scripts/config.sub: Likewise.
18164 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18166         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18167         * misc/madvise.c (madvise): Renamed to __madvise.
18168         Make madvise a weak alias.
18169         * include/sys/mman.h: Declare __madvise.
18170         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18171         * sysdeps/unix/syscalls.list
18172         (madvise): Make __madvise the strong name, and madvise a weak alias.
18173         * sysdeps/unix/sysv/linux/syscalls.list
18174         (madvise, mmap): Remove redundant entries.
18175         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18176         * malloc/malloc.c (mtrim): Likewise.
18177         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18179 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18181         * sysdeps/mach/hurd/dl-cache.c: File removed.
18182         * config.h.in (USE_LDCONFIG): New #undef.
18183         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18184         * configure: Regenerated.
18185         * elf/Makefile (dl-routines): Add dl-cache only under
18186         [$(use-ldconfig) = yes].
18187         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18188         cache on [USE_LDCONFIG].
18189         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18190         [USE_LDCONFIG].
18191         * elf/rtld.c (dl_main): Likewise.
18193 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18195         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18196         _SC_LEVEL4_CACHE_LINESIZE.
18198 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18200         * sysdeps/unix/bsd/confstr.h: File removed.
18202 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18204         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18205         sys/sdt-config.h.
18207 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18209         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18210         Make 'mapoff' field ElfW(Off) rather than off_t.
18212 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18214         * nscd/Makefile: Remove nscd-cflags and all its users.
18215         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18216         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18218         [BZ #10631]
18219         * malloc.c (malloc_printerr): Clarify error message.
18221 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18223         [BZ #14648]
18224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18225         Set bit_FMA_Usable if FMA is supported.
18226         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18227         macro.
18228         (bit_FMA4_Usable): Updated.
18229         (index_FMA_Usable): New macro.
18230         (CPUID_FMA): Likewise
18231         (HAS_FMA): Defined with bit_FMA_Usable.
18233 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18235         * bits/types.h (__swblk_t): Type removed.
18236         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18237         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18238         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18239         (__SWBLK_T_TYPE): Likewise.
18240         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18241         (__SWBLK_T_TYPE): Likewise.
18242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18243         (__SWBLK_T_TYPE): Likewise.
18244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18245         (__SWBLK_T_TYPE): Likewise.
18247 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18248             Honza Horak <hhorak@redhat.com>
18250         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18251         (xdr_mapname): Use YPMAXMAP as maxsize.
18252         (xdr_peername): Use YPMAXPEER as maxsize.
18253         (xdr_keydat): Use YPAXRECORD as maxsize.
18254         (xdr_valdat): Use YPMAXRECORD as maxsize.
18256 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18258         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18260         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18261         * csu/init-first.c: ... here.
18262         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18263         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18264         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18265         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18266         * sysdeps/i386/init-first.c: File removed.
18267         * sysdeps/sh/init-first.c: File removed.
18269 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18271         [BZ #14645]
18272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18273         if x * y might underflow to zero and z is zero.
18274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18276         * math/libm-test.inc (min_subnorm_value): New variable.
18277         (fma_test): Add more tests.
18278         (fma_test_towardzero): Likewise.
18279         (fma_test_downward): Likewise
18280         (fma_test_upward): Likewise.
18281         (initialize): Set min_subnorm_value.
18283 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18285         [BZ #14638]
18286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18287         0 + 0.
18288         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18289         mode for addition resulting in exact zero.
18290         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18292         exact 0 + 0.
18293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18295         * math/libm-test.inc (fma_test): Add more tests.
18296         (fma_test_towardzero): New function.
18297         (fma_test_downward): Likewise.
18298         (fma_test_upward): Likewise.
18299         (main): Call the new functions.
18301 2012-09-28  David S. Miller  <davem@davemloft.net>
18303         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18305 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18307         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18308         instead of SIGALRM.
18310         * sysdeps/gnu/_G_config.h: Moved to ...
18311         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18312         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18313         * sysdeps/generic/_G_config.h: ... here.
18315         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18317         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18319         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18320         Conditionalize target on [libnss_test1.so-version].
18322         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18324         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18325         (elfobjdir): Move out of conditionals.
18327         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18328         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18329         (__nss_lookup_function): Conditionalize label remove_from_tree on
18330         [!DO_STATIC_NSS || SHARED], matching its only use.
18332 2012-09-28  David S. Miller  <davem@davemloft.net>
18334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18335         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18336         file.
18337         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18338         sysdep_routines.
18339         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18341         when HWCAP_SPARC_CRYPTO is present.
18343 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18345         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18347 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18349         [BZ #6530]
18350         * stdio-common/vfprintf.c (process_string_arg): Revert
18351         2000-07-22 change.
18353 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18355         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18356         for testcase.
18357         * stdio-common/tst-sprintf.c: Include <locale.h>
18358         (main): Test sprintf's handling of incomplete multibyte
18359         characters.
18361 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18363         * elf/dl-runtime.c (VERSYMIDX): Removed.
18364         * elf/dl-version.c (VERSYMIDX): Likewise.
18365         * elf/do-rel.h (VERSYMIDX): Likewise.
18366         (VALIDX): Likewise.
18367         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18368         * elf/rtld.c (VALIDX): Likewise.
18369         (ADDRIDX): Likewise.
18370         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18371         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18372         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18373         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18374         (VALIDX): Likewise.
18375         (ADDRIDX): Likewise.
18377 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18379         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18381 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18383         [BZ #11438]
18384         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18385         to global scope.
18386         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18387         addresses are in the same scope as 192.0.2/24.
18388         * posix/gai.conf: Document new scope table defaults.
18390 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         [BZ #5298]
18393         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18394         for ftell.  Compute offsets from write pointers instead.
18395         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18397 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18399         [BZ #14543]
18400         * libio/Makefile (tests): New test case tst-fseek.
18401         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18402         combination works in wide mode.
18403         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18404         state when the external buffer state changes.
18406 2012-09-27  David S. Miller  <davem@davemloft.net>
18408         [BZ #14376]
18409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18410         pass reloc->r_addend in as the 'high' argument to
18411         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18415 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18417         * rt/tst-aio2.c: Include <pthread.h>.
18418         * rt/tst-aio3.c: Likewise.
18420 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18422         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18424 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18426         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18427         contents on [SHARED].
18429 2012-09-26  Marek Polacek  <polacek@redhat.com>
18431         [BZ #14530]
18432         [BZ #13741]
18433         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18434         for C++ and GCC <4.3 as well as for non GCC compilers.
18436 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18440 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18442         * Makefile.in (all, install): Declare with .PHONY.
18443         Reported by Michael Hope <michael.hope@linaro.org>.
18445 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18447         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18448         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18449         system header.
18450         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18451         Likewise.
18452         (sydep_routines): Add the new and the internal functions.
18453         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18454         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18456         (GLIBC_2.17): Add the new function.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18458         (GLIBC_2.17): Likewise.
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18460         (GLIBC_2.17): Likewise.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18462         (GLIBC_2.17): Likewise.
18463         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18465 2012-09-25  Alan Modra  <amodra@gmail.com>
18467         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18468         Add release barrier before setting once_control to say
18469         initialisation is done.  Add hints on lwarx.  Use macro in
18470         place of isync.
18471         (clear_once_control): Add release barrier.
18473 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #13629]
18476         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18477         specially.
18478         * math/s_clog10.c (__clog10): Likewise.
18479         * math/s_clog10f.c (__clog10f): Likewise.
18480         * math/s_clog10l.c (__clog10l): Likewise.
18481         * math/s_clogf.c (__clogf): Likewise.
18482         * math/s_clogl.c (__clogl): Likewise.
18483         * math/Makefile (libm-calls): Add x2y2m1.
18484         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18485         (__x2y2m1): Likewise.
18486         (__x2y2m1l): Likewise.
18487         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18488         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18489         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18490         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18491         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18492         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18493         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18494         * sysdeps/i386/fpu/libm-test-ulps: Update.
18495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497         [BZ #14621]
18498         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18499         int as type of variable DEPTH.
18500         (glob): Use size_t instead of int as type of variables NEWCOUNT
18501         and OLD_PATHC.
18503 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18505         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18506         Add s_sincosf-sse2.
18507         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18508         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18509         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18510         macros for using routine as __sincosf_ia32.
18511         Use macro for function declaration and weak_alias.
18512         * sysdeps/i386/fpu/libm-test-ulps: Update.
18514         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18517         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18518         subnormal argument.
18519         * math/s_cexpf.c (__cexpf): Likewise.
18520         * math/s_csinf.c (__csinf): Likewise.
18521         * math/s_csinhf.c (__csinhf): Likewise.
18522         * math/s_ctanf.c (__ctanf): Likewise.
18523         * math/s_ctanhf.c (__ctanhf): Likewise.
18524         * math/s_ccosh.c (__ccoshf): Likewise.
18525         * math/s_cexp.c (__cexpl): Likewise.
18526         * math/s_csin.c (__csin): Likewise.
18527         * math/s_csinh.c (__csinh): Likewise.
18528         * math/s_ctan.c (__ctan): Likewise.
18529         * math/s_ctanh.c (ctanh): Likewise.
18530         * math/s_ccoshl.c (__ccoshl): Likewise.
18531         * math/s_cexpl.c (__cexpl): Likewise.
18532         * math/s_csinl.c (__csinl): Likewise.
18533         * math/s_csinhl.c (__csinhl): Likewise.
18534         * math/s_ctanl.c (__ctanl): Likewise.
18535         * math/s_ctanhl.c (__ctanhl): Likewise.
18537 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18539         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18540         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18541         (_IO_off_t): Define to __off_t, not _G_off_t.
18542         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18543         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18544         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18545         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18546         type of __dummy and __dummy2 fields.
18547         * sysdeps/generic/_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/gnu/_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.
18561         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18562         (_G_ssize_t): Likewise.
18563         (_G_off_t): Likewise.
18564         (_G_pid_t): Likewise.
18565         (_G_uid_t): Likewise.
18566         (_G_wchar_t): Likewise.
18567         (_G_wint_t): Likewise.
18569 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18571         * malloc/arena.c: Include malloc-sysdep.h.
18572         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18573         is sufficient to shrink the heap or an unmap is needed.
18574         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18575         new function check_may_shrink_heap.
18576         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18577         new function check_may_shrink_heap.
18579 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18582         comments.
18584 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18586         * catgets/test-gencat.sh: Add "set -e".
18587         * elf/tst-pathopt.sh: Likewise.
18588         * grp/tst_fgetgrent.sh: Likewise.
18589         * iconvdata/run-iconv-test.sh: Likewise.
18590         * intl/tst-gettext.sh: Likewise.
18591         * intl/tst-gettext2.sh: Likewise.
18592         * intl/tst-gettext4.sh: Likewise.
18593         * intl/tst-gettext6.sh: Likewise.
18594         * intl/tst-translit.sh: Likewise.
18595         * io/ftwtest-sh: Likewise.
18596         * libio/test-freopen.sh: Likewise.
18597         * malloc/tst-mtrace.sh: Likewise.
18598         * posix/globtest.sh: Likewise.
18599         * posix/tst-getconf.sh: Likewise.
18600         * posix/wordexp-tst.sh: Likewise.
18601         * stdio-common/tst-printf.sh: Likewise.
18602         * stdio-common/tst-unbputc.sh: Likewise.
18603         * stdlib/tst-fmtmsg.sh: Likewise.
18604         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18605         * catgets/Makefile: Do not specify -e option when running
18606         testsuite shell scripts.
18607         * elf/Makefile: Likewise.
18608         * grp/Makefile: Likewise.
18609         * iconvdata/Makefile: Likewise.
18610         * intl/Makefile: Likewise.
18611         * io/Makefile: Likewise.
18612         * libio/Makefile: Likewise.
18613         * malloc/Makefile: Likewise.
18614         * posix/Makefile: Likewise.
18615         * stdio-common/Makefile: Likewise.
18616         * stdlib/Makefile: Likewise.
18617         * sysdeps/x86_64/Makefile: Likewise.
18619         * io/ftwtest-sh: Add copyright header.
18620         * posix/globtest.sh: Likewise.
18621         * posix/tst-getconf.sh: Likewise.
18622         * posix/wordexp-tst.sh: Likewise.
18623         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18625 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18627         [BZ #13679]
18628         * Makeconfig (+link): Defined as $(+link-static) if
18629         $(build-shared) isn't yes.
18630         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18631         isn't yes.
18632         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18634         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18636         [BZ #14562]
18637         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18638         new chunk size with MALLOC_ALIGN_MASK.
18640 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18642         [BZ #5044]
18643         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18644         <rounding-mode.h>.
18645         (__printf_fphex): Determine rounding using get_rounding_mode and
18646         round_away.
18647         * stdio-common/tst-printf-round.c (struct hex_test): New
18648         structure.
18649         (hex_tests): New variable.
18650         (test_hex_in_one_mode): New function.
18651         (do_test): Also run tests for hex float output.
18653 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18655         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18656         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18657         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18658         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18659         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18660         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18661         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18662         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18664 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18666         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18667         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18668         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18669         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18671 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18673         [BZ #14579]
18674         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18675         mode only.
18676         * elf/tst-rtld-load-self.sh: New test.
18677         * elf/Makefile: Run it.
18679 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18681         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18682         (tst-writev-ENV): Remove.
18683         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18685 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18687         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18689 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18691         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18692         unconditional.
18693         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18694         Likewise.
18695         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18696         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18697         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18698         Likewise.
18700 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18702         [BZ #14587]
18703         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18704         * config.make.in (have-cpp-asm-debuginfo): Removed.
18705         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18706         * configure: Regenerated.
18708 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18710         [BZ #5044]
18711         * stdio-common/printf_fp.c: Include <stdbool.h> and
18712         <rounding-mode.h>.
18713         (___printf_fp): Determine rounding using get_rounding_mode and
18714         round_away.
18715         * stdio-common/tst-printf-round.c: New file.
18716         * stdio-common/Makefile (tests): Add tst-printf-round.
18717         (link-libm): New variable.
18718         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18720 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18722         [BZ #14576]
18723         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18724         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18725         Likewise.
18726         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18727         Likewise.
18729 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18731         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18732         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18733         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18734         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18736 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18738         [BZ #14518]
18739         * include/rounding-mode.h: New file.
18740         * sysdeps/generic/get-rounding-mode.h: Likewise.
18741         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18742         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18743         (MAX_VALUE): New macro.
18744         (MIN_VALUE): Likewise.
18745         (overflow_value): New function.
18746         (underflow_value): Likewise.
18747         (round_and_return): Use overflow_value and underflow_value to
18748         determine return values in overflow and underflow cases.  Use
18749         round_away to determine rounding depending on rounding mode.
18750         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18751         determine return values in overflow and underflow cases.
18752         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18753         (struct test_results): New structure.
18754         (struct test): Use struct test_results to store expected results
18755         for all rounding modes.
18756         (TEST): Include expected results for all rounding modes.
18757         (test_in_one_mode): New function.
18758         (do_test): Use test_in_one_mode to compute and check results.
18759         Check results for all rounding modes.
18760         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18761         $(link-libm).
18763 2012-12-09  Allan McRae  <allan@archlinux.org>
18765         * sysdeps/i386/fpu/libm-test-ulps: Update
18767 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18769         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18770         (_G_int32_t): Likewise.
18771         (_G_uint16_t): Likewise.
18772         (_G_uint32_t): Likewise.
18773         (_G_HAVE_BOOL): Likewise.
18774         (_G_HAVE_ATEXIT): Likewise.
18775         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18776         (_G_HAVE_IO_FILE_OPEN): Likewise.
18777         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18778         (_G_int32_t): Likewise.
18779         (_G_uint16_t): Likewise.
18780         (_G_uint32_t): Likewise.
18781         (_G_HAVE_BOOL): Likewise.
18782         (_G_HAVE_ATEXIT): Likewise.
18783         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18784         (_G_HAVE_IO_FILE_OPEN): Likewise.
18785         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18786         (_G_int32_t): Likewise.
18787         (_G_uint16_t): Likewise.
18788         (_G_uint32_t): Likewise.
18789         (_G_HAVE_BOOL): Likewise.
18790         (_G_HAVE_ATEXIT): Likewise.
18791         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18792         (_G_HAVE_IO_FILE_OPEN): Likewise.
18794 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18796         * csu/libc-tls.c: Update copyright years.
18798 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18800         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18801         [!_G_USING_THUNKS]: Remove conditional code.
18802         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18803         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18805         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18806         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18807         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18808         (_G_VTABLE_LABEL_PREFIX): Likewise.
18809         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18810         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18811         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18812         (_G_VTABLE_LABEL_PREFIX): Likewise.
18813         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18814         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18815         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18816         (_G_VTABLE_LABEL_PREFIX): Likewise.
18817         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18819 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18821         * libio/Makefile: Include ../Makeconfig before tests.
18822         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18823         only if $(build-shared) is yes.
18825         * iconv/gconv_db.c: Update copyright years.
18827 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18829         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18830         unwind info if defined PIC. Fix special cases description.
18831         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18833         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18834         DP_HI_MASK entry.
18835         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18837 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18839         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18841         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18842         is NULL.
18844         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18845         (LDLIBS-tst-chk4): This.
18846         (LDFLAGS-tst-chk5): Renamed to ...
18847         (LDLIBS-tst-chk5): This.
18848         (LDFLAGS-tst-chk6): Renamed to ...
18849         (LDLIBS-tst-chk6): This.
18850         (LDFLAGS-tst-lfschk4): Renamed to ...
18851         (LDLIBS-tst-lfschk4): This.
18852         (LDFLAGS-tst-lfschk5): Renamed to ...
18853         (LDLIBS-tst-lfschk5): This.
18854         (LDFLAGS-tst-lfschk6): Renamed to ...
18855         (LDLIBS-tst-lfschk6): This.
18857         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18858         on $(common-objpfx)soversions.mk.
18860 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18862         [BZ #10014]
18863         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18864         example host name.
18866 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18868         * malloc/arena.c (arena_get_retry): New function that gets
18869         another arena for the caller to try its request on.
18870         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18871         current arena cannot fulfill the request.
18872         (__libc_memalign): Likewise.
18873         (__libc_memalign): Likewise.
18874         (__libc_pvalloc): Likewise.
18875         (__libc_calloc): Likewise.
18877 2012-09-05  John Tobey  <john.tobey@gmail.com>
18879         [BZ #13542]
18880         * manual/arith.texi (Operations on Complex): Fix description
18881         of carg branch cut.
18883 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18885         [BZ #10014]
18886         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18887         host name.
18889         [BZ #10038]
18890         * manual/memory.texi (Memory): Make order of menu items match
18891         order of sections.
18893 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18895         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18896         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18897         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18901         * csu/libc-tls.c (static_dtv): Renamed to ...
18902         (_dl_static_dtv): This.  Make it global.
18903         (_dl_initial_dtv): Removed.
18904         (__libc_setup_tls): Updated.
18905         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18906         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18907         DL_INITIAL_DTV.
18909 2012-09-06  Petr Machata  <pmachata@redhat.com>
18911         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18912         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18913         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18914         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18916 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18918         [BZ #14545]
18919         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18920         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18921         freeing dtv[-1].
18923 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18925         [BZ #14544]
18926         * Makeconfig (link-static-before-libc): Replace $(+prector)
18927         with $(+prectorT).
18928         (link-static-after-libc): Replace $(+postctor) with
18929         $(+postctorT).
18930         (link-bounded): Replace $(+prector)/$(+postctor) with
18931         $(+prectorT)/$(+postctorT).
18932         (+prectorT): New macro.
18933         (+postctorT): Likewise.
18935 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18937         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18938         (round_str): Handle values above the maximum for IBM long double
18939         as inexact.
18940         * stdlib/tst-strtod-round.c (tests): Regenerated.
18942 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18944         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18945         assembler flag.
18946         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18947         zarch_nohighgprs around the zarch optimized routines.
18948         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18949         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18950         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18951         for zarch.
18953 2012-09-05  David S. Miller  <davem@davemloft.net>
18955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18957         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18958         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18959         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18960         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18961         entries.
18963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18965         * malloc/arena.c: Fold copyright years.
18966         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18968 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18970         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18972 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18974         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18978         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18979         change internal state upon failure.
18981 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18983         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18984         * malloc/memusage.c (mmap): Likewise.
18985         (mmap64, mremap): Likewise.  Adjust name in comment.
18987 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18989         * libio/fileops.c: Fix typos in comments.
18990         * libio/oldfileops.c: Likewise.
18991         * libio/wfileops.c: Likewise.
18993 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18995         [BZ #1349]
18996         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18997         (tst-malloc-usable-ENV): Set environment for test case.
18998         * malloc/hooks.c (malloc_check_get_size): New function to get
18999         requested size.
19000         * malloc/malloc.c (musable): Use malloc_check_get_size.
19001         * malloc/tst-malloc-usable.c: New test case.
19003 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19005         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19007 2012-09-05  Allan McRae  <allan@archlinux.org>
19009         [BZ #13966]
19010         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19011         determine header location.
19012         * configure: Regenerated.
19014 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19016         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19017         float format.
19018         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19019         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19020         format.
19021         (test): Regenerate.
19023 2012-09-04  David S. Miller  <davem@davemloft.net>
19025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19027         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19029 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19031         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19032         failures.
19034         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19036 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19038         [BZ #9914]
19039         * libio/iogetdelim.c: Include <limits.h>.
19040         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19041         + len + 1 would overflow.
19043 2012-09-03  Andreas Jaeger  <aj@suse.de>
19045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19046         * sysdeps/i386/fpu/libm-test-ulps: Update.
19048 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19050         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19051         Add s_sinf-sse2, s_conf-sse2.
19053         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19054         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19055         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19056         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19058         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19059         for using routine as __sinf_ia32.
19060         Use macro for function declaration and weak_alias.
19061         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19062         for using routine as __cosf_ia32.
19063         Use macro for function declaration and weak_alias.
19065         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19066         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19068         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19069         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19072         * math/libm-test.inc (cos_test): Add more test cases.
19073         (sin_test): Likewise.
19074         (sincos_test): Likewise.
19076 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19079         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19080         hidden.
19081         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19083 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19085         [BZ #14538]
19086         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19087         first element of the GOT.
19088         (elf_machine_load_address): Return the difference between
19089         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19091 2012-09-01  Allan McRae  <allan@archlinux.org>
19093         [BZ #13412]
19094         * configure.in (AWK): Require gawk version 3.0 or later.
19095         * configure: Regenerated.
19097 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19099         * sysdeps/unix/sysv/linux/kernel-features.h
19100         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19101         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19102         [__NR_clock_getres]: Make code unconditional.
19103         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19104         (clock_getcpuclockid): Remove code left unreachable by removal of
19105         conditionals.
19106         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19107         code unconditional.
19108         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19109         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19110         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19111         Make code unconditional.
19112         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19113         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19114         * sysdeps/unix/sysv/linux/clock_settime.c
19115         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19116         conditional code.
19117         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19118         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19120 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19122         [BZ #14476]
19123         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19124         scripts/test-installation.pl.
19126         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19127         and $ld_so_version if it is set.
19129 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131         [BZ #14516]
19132         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19133         failure if reading from procfs failed.
19134         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19136 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19138         * sysdeps/unix/sysv/linux/kernel-features.h
19139         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19140         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19141         Remove conditional code.
19142         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19143         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19144         Remove conditional code.
19145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19146         * sysdeps/unix/sysv/linux/i386/fxstat.c
19147         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19149         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19150         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19152         * sysdeps/unix/sysv/linux/i386/lxstat.c
19153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19155         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19156         Remove conditional code.
19157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19158         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19159         Remove conditional code.
19160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19161         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19162         <kernel-features.h>.
19163         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19164         Remove.
19165         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19166         Remove conditional code.
19167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19168         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19169         Remove conditional.
19171 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19173         [BZ #5400]
19174         * NEWS: Add fixed bug number.
19176 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19178         [BZ #14519]
19179         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19180         underflowing exponent in case of negative sign.
19181         * stdlib/tst-strtod-round-data: Add more tests.
19182         * stdlib/tst-strtod-round.c (tests): Regenerated.
19184         [BZ #3479]
19185         * stdlib/strtod_l.c (NDIG): Remove.
19186         (HEXNDIG): Likewise.
19187         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19188         smallest representable value.
19189         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19190         lie within an exact representation of 1/2 ulp of the result.
19191         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19192         unconditionally.
19193         (TENS_P9_IDX): Define unconditionally.
19194         (TENS_P9_SIZE): Likewise.
19195         (TENS_P10_IDX): Likewise.
19196         (TENS_P10_SIZE): Likewise.
19197         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19198         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19199         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19200         entries for 10^2^13 and 10^2^14.
19201         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19202         (TENS_P13_IDX): Define.
19203         (TENS_P13_SIZE): Likewise.
19204         (TENS_P14_IDX): Likewise.
19205         (TENS_P14_SIZE): Likewise.
19206         (_fpioconst_pow10): Change array size to
19207         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19208         unconditional.
19209         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19210         1024]: Add entries for 10^2^13 and 10^2^14.
19211         [LAST_POW10 > _LAST_POW10]: Remove #error.
19212         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19213         (_fpioconst_pow10): Change array size to
19214         FPIOCONST_POW10_ARRAY_SIZE.
19215         * stdlib/gen-fpioconst.c: New file.
19216         * stdlib/gen-tst-strtod-round.c: Likewise.
19217         * stdlib/tst-strtod-round-data: Likewise.
19218         * stdlib/tst-strtod-round.c: Likewise.
19219         * stdlib/Makefile (tests): Add tst-strtod-round.
19221         [BZ #14459]
19222         * stdlib/strtod_l.c: Include <stdint.h>.
19223         (NDEBUG): Do not define.
19224         (round_and_return): Change EXPONENT parameter to type intmax_t.
19225         Rearrange calculations to avoid internal overflow possibilities.
19226         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19227         Rearrange calculations to avoid internal overflow possibilities.
19228         Assert that number fits inside MPNSIZE limbs.
19229         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19230         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19231         calculations and add assertions to avoid internal overflow
19232         possibilities.  Add casts to avoid signed/unsigned operations.
19233         * stdlib/tst-strtod-overflow.c: New file.
19234         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19236 2012-08-25  Marek Polacek  <polacek@redhat.com>
19238         * time/time.h: Fix some typos in comments.
19240 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19242         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19243         * posix/tst-rfc3484-2.c: Likewise.
19244         * posix/tst-rfc3484-3.c: Likewise.
19246 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19248         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19249         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19251 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19253         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19254         #include of fxstatat64.c.
19256 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19258         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19259         * shadow/getspent_r.c: Likewise.
19260         * shadow/getspnam.c: Likewise.
19261         * shadow/getspnam_r.c: Likewise.
19262         * gshadow/getsgent.c: Likewise.
19263         * gshadow/getsgent_r.c: Likewise.
19264         * gshadow/getsgnam.c: Likewise.
19265         * gshadow/getsgnam_r.c: Likewise.
19266         * inet/getnetbyad.c: Likewise.
19267         * inet/getnetbyad_r.c: Likewise.
19268         * inet/getnetbynm.c: Likewise.
19269         * inet/getnetbynm_r.c: Likewise.
19270         * inet/getnetent.c: Likewise.
19271         * inet/getnetent_r.c: Likewise.
19272         * inet/getproto.c: Likewise.
19273         * inet/getproto_r.c: Likewise.
19274         * inet/getprtent.c: Likewise.
19275         * inet/getprtent_r.c: Likewise.
19276         * inet/getprtname.c: Likewise.
19277         * inet/getprtname_r.c: Likewise.
19278         * inet/getrpcbyname.c: Likewise.
19279         * inet/getrpcbyname_r.c: Likewise.
19280         * inet/getrpcbynumber.c: Likewise.
19281         * inet/getrpcbynumber_r.c: Likewise.
19282         * inet/getrpcent.c: Likewise.
19283         * inet/getrpcent_r.c: Likewise.
19284         * inet/getaliasent.c: Likewise.
19285         * inet/getaliasent_r.c: Likewise.
19286         * inet/getaliasname.c: Likewise.
19287         * inet/getaliasname_r.c: Likewise.
19288         * nscd/getgrgid_r.c: Likewise.
19289         * nscd/getgrnam_r.c: Likewise.
19290         * nscd/gethstbyad_r.c: Likewise.
19291         * nscd/gethstbynm3_r.c: Likewise.
19292         * nscd/getpwnam_r.c: Likewise.
19293         * nscd/getpwuid_r.c: Likewise.
19294         * nscd/getsrvbynm_r.c: Likewise.
19295         * nscd/getsrvbypt_r.c: Likewise.
19296         * nscd/gai.c: Likewise.
19298         * configure.in (build_nscd): New substituted variable, set
19299         by --disable-build-nscd and defaults to $use_nscd.
19300         * configure: Regenerated.
19301         * config.make.in (build-nscd): New substituted variable.
19302         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19303         Change conditional to require [$(build-nscd) = yes] as well.
19304         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19306         [BZ# 13696]
19307         * configure.in (use_nscd): New substituted variable, set by
19308         --disable-nscd.  If enabled, define USE_NSCD.
19309         * configure: Regenerated.
19310         * config.h.in: Add USE_NSCD.
19311         * config.make.in (use-nscd): New substituted variable.
19312         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19313         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19314         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19315         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19316         (CFLAGS-getgrnam_r.c): Likewise.
19317         (CFLAGS-initgroups.c): Likewise.
19318         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19319         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19320         Variables removed.
19321         * inet/getnetgrent_r.c
19322         (nscd_setnetgrent): New function, broken out of ...
19323         (setnetgrent): ... here.  Call it.
19324         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19325         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19326         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19327         * nscd/Makefile (routines, aux): Move definitions after include of
19328         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19329         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19330         Conditionalize on [USE_NSCD].
19331         (is_nscd, nscd_init_cb): Likewise.
19332         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19333         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19334         * nss/nss_db/db-init.c: Likewise.
19335         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19336         [USE_NSCD].
19337         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19338         (make_request): Use it.
19339         (cache_valid_p): New function.
19340         (__check_pf): Use it.
19341         * NEWS: Add item for --disable-nscd.
19343 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19345         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19346         to support sed >= 4.2.1-20-ga9bf076.
19347         * configure: Regenerated.
19349 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19351         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19352         Conditionalize whole body on [IREL].
19354 2012-08-22  Jeff Law <law@redhat.com>
19356         [BZ #14505]
19357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19358         if the family is PF_UNSPEC.
19360 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19362         * Makerules (lib-version): Rename from V.
19363         (install-lib-nosubdir): Change V to lib-version.
19365 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19367         [BZ #14252]
19368         * powerpc32/power6/wcschr.c: New file.
19369         * powerpc32/power6/wcscpy.c: New file.
19370         * powerpc32/power6/wcsrchr.c: New file.
19371         * powerpc64/power6/wcschr.c: New file.
19372         * powerpc64/power6/wcscpy.c: New file.
19373         * powerpc64/power6/wcsrchr.c: New file.
19375 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19377         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19378         (two_way_short_needle): Use it.
19379         * string/strstr.c (AVAILABLE1_USES_J): Define.
19380         * string/strcasestr.c: Likewise.
19382         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19383         array references.
19384         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19386         [BZ #11607]
19387         * NEWS: Add an entry.
19388         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19389         define their defaults.
19390         (two_way_short_needle): Detect end-of-string on-the-fly.
19391         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19392         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19393         * string/bug-strcasestr1.c: New test.
19394         * string/Makefile: Run it.
19396 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19398         [BZ #11607]
19399         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19400         the first character.
19402 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19404         * csu/elf-init.c (__libc_csu_irel): Function removed.
19405         * csu/libc-start.c (apply_irel): New function.
19406         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19408 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19410         * sysdeps/unix/sysv/linux/kernel-features.h
19411         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19412         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19413         <kernel-features.h>.
19414         [__NR_fadvise64_64]: Make code unconditional.
19415         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19416         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19417         !__NR_fadvise64_64)]: Likewise.
19418         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19419         !__NR_fadvise64_64))]: Likewise.
19420         [__NR_fadvise64]: Make code unconditional.
19421         [!__NR_fadvise64]: Remove conditional code.
19422         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19423         <kernel-features.h>.
19424         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19425         unconditional.
19426         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19427         conditional code.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19429         not include <kernel-features.h>.
19430         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19431         unconditional.
19432         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19433         conditional code.
19434         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19435         include <kernel-features.h>.
19436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19437         unconditional.
19438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19439         conditional code.
19441 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19443         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19444         slight instruction rearrangements per scrollpipe analysis.
19445         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19447 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19449         * manual/syslog.texi (syslog; vsyslog, closelog):
19450         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19451         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19453         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19454         DSOCAPS to match condition on defining it.
19456 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19458         * sysdeps/unix/sysv/linux/kernel-features.h
19459         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19461         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19462         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19464         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19465         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19470         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19471         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19473         * sysdeps/unix/sysv/linux/kernel-features.h
19474         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19475         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19476         unconditional.
19477         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19478         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19479         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19480         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19481         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19482         Make code unconditional.
19483         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19484         (__mmap64) [!__NR_mmap2]: Likewise.
19485         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19486         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19487         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19488         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19489         [__NR_mmap2]: Make code unconditional.
19490         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19491         (__mmap64) [!__NR_mmap2]: Likewise.
19493 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19495         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19497 2012-08-18  Andreas Jaeger  <aj@suse.de>
19499         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19501 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19503         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19504         * include/unistd.h (__have_sock_cloexec): Likewise.
19505         (__have_pipe2): Likewise.
19506         (__have_dup3): Likewise.
19508 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19510         [BZ #9685]
19511         * include/unistd.h (__have_pipe2): Change define into an extern int.
19512         (__have_dup3): Likewise.
19513         * socket/have_sock_cloexec.c: Include fcntl.h.
19514         (__have_pipe2): New variable.
19515         (__have_dup3): Likewise.
19517 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19519         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19521 2012-08-17  Marek Polacek  <polacek@redhat.com>
19523         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19524         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19526 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19528         * configure.in: Add AC_SUBST for sysheaders.
19529         * configure: Regenerated.
19530         * config.make.in (sysheaders): New substituted variable.
19532         * sysdeps/unix/mkfifo.c: Moved ...
19533         * sysdeps/posix/mkfifo.c: ... here.
19534         * sysdeps/unix/mkfifoat.c: Moved ...
19535         * sysdeps/posix/mkfifoat.c: ... here.
19537         * sysdeps/unix/utime.c: Moved ...
19538         * sysdeps/posix/utime.c: ... here.
19540         * sysdeps/unix/time.c: Moved ...
19541         * sysdeps/posix/time.c: ... here.
19542         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19543         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19545         * sysdeps/unix/nice.c: Moved ...
19546         * sysdeps/posix/nice.c: ... here.
19548         * sysdeps/unix/alarm.c: Moved ...
19549         * sysdeps/posix/alarm.c: ... here.
19551         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19553 2012-08-17  Jeff Law <law@redhat.com>
19555         * intl/Makefile (codeset_mo): New variable.
19556         ($(codeset_mo)): New target.
19557         (tst-codeset.out): Depend on that.  Remove explicit rule.
19558         (tst-gettext3.out, tst-gettext5.out): Likewise.
19559         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19560         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19561         * intl/tst-codeset.sh: Remove.
19562         * intl/tst-gettext3.sh: Likewise.
19563         * intl/tst-gettext5.sh: Likewise.
19565 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19567         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19568         * sysdeps/unix/syscalls.list: ... here.
19570         * sysdeps/posix/getaddrinfo.c
19571         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19572         (gaiconf_init, gaiconf_reload): Use them.
19573         [!_STATBUF_ST_NSEC]
19574         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19575         Define using time_t rather than struct timespec.
19577         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19578         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19579         Macros removed.
19580         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19581         [!NO_THREADS].
19582         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19583         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19584         Likewise.
19586         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19587         __libc_cleanup_push argument.
19589         * bits/param.h: New file.
19590         * misc/sys/param.h: New file.
19591         * include/sys/param.h: New file.
19592         * misc/Makefile (headers): Add bits/param.h.
19593         * sysdeps/generic/sys/param.h: File removed.
19594         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19595         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19596         * sysdeps/mach/hurd/bits/param.h: New file.
19597         * sysdeps/mach/hurd/sys/param.h: File removed.
19599         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19600         last change.
19602         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19603         [_IO_MTSAFE_IO].
19604         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19605         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19606         New macros.
19608         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19609         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19610         rather than -D_IO_MTSAFE_IO conditionally.
19611         * stdio-common/Makefile (CPPFLAGS): Likewise.
19612         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19613         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19614         Use $(libio-mtsafe).
19615         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19616         of -D_IO_MTSAFE_IO.
19617         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19618         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19619         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19620         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19621         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19622         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19623         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19624         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19625         (CFLAGS-fread_u_chk.c): Likewise.
19626         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19627         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19628         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19629         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19630         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19631         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19632         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19633         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19634         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19636         * libio/Makefile: Test [$(libc-reentrant) = yes]
19637         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19639         * Makeconfig
19640         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19641         * sysdeps/pthread/configure: File removed.
19642         * sysdeps/pthread/Makeconfig: New file.
19643         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19644         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19646 2012-08-16  Gary Benson  <gbenson@redhat.com>
19648         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19649         unmapping the first object in a namespace.
19651 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19653         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19654         (__internal_setnetgrent): ... this.  Add internal_function to
19655         definition.  Add libc_hidden_def.
19656         (setnetgrent): Update caller.
19657         (internal_endnetgrent): Renamed to ...
19658         (__internal_endnetgrent): ... this.  Add internal_function to
19659         definition.  Add libc_hidden_def.
19660         (endnetgrent): Update caller.
19661         (internal_getnetgrent_r): Renamed to ...
19662         (__internal_getnetgrent_r): ... this.  Add internal_function to
19663         definition.  Add libc_hidden_def.
19664         (__getnetgrent_r): Update caller.
19665         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19667 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19669         * stdlib/longlong.h: Update from GCC.
19671 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19673         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19674         on _QL, which is set by umul_ppmm but never used.
19675         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19676         variables, which are set by GMP macros but never used.
19677         * stdio-common/_itowa.c (_itowa): Likewise.
19678         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19679         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19681 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19683         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19684         struct La_sh_regs is not constant.
19685         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19686         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19687         and struct La_sparc64_regs are not constant.
19689 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19691         * sysdeps/unix/sysv/linux/kernel-features.h
19692         (__ASSUME_POSIX_TIMERS): Remove.
19693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19694         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19695         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19696         Make code unconditional.
19697         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19698         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19699         Make code unconditional.
19700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19701         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19702         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19704         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19705         Make code unconditional.
19706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19707         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19708         (__libc_missing_posix_timers): Remove.
19710 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19712         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19713         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19715         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19717         * elf/dl-sym.c: Include <stdlib.h>.
19719         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19720         constants, which avoids warnings in 32-bit builds.
19722         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19723         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19725         * misc/lseek.c: File moved to ...
19726         * io/lseek.c: ... here.
19728         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19730         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19731         shifting LEN more than 31 bits at once.
19733 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19735         [BZ #14195]
19736         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19737         segmentation fault for a case of two empty input strings.
19738         * string/test-strncasecmp.c (check1): Renamed to...
19739         (bz12205): ...this.
19740         (bz14195): Add new testcase for two empty input strings and N > 0.
19741         (test_main): Call new testcase, adapt for renamed function.
19743 2012-08-15  Andreas Jaeger  <aj@suse.de>
19745         [BZ #14090]
19746         * crypt/md5test2.c: New test, based on test supplied by Serge
19747         Belyshev <belyshev@depni.sinp.msu.ru>.
19748         * crypt/Makefile (xtests): Add md5test-giant..
19749         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19751 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19753         [BZ #14090]
19754         * crypt/md5.c (md5_process_block): Don't assume the buffer
19755         length is less than 2**32.
19756         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19757         length is less than 2**64.
19759 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19761         * string/str-two-way.h: Include <sys/param.h>.
19762         (MAX): Macro removed.
19764         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19765         Move #define and #undef of memmove to just before and after
19766         including <string.h>.
19768         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19769         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19770         and after including <string.h>.  Move declarations of
19771         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19772         to before #include "string/memmove.c".
19774         * include/dirent.h: Declare __getdirentries.
19776         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19777         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19779 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19781         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19782         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19783         * sysdeps/i386/configure: Regenerated.
19784         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19785         STABS_CURRENT_FILE, and STABS_FUN.
19786         (END): Remove call to STABS_FUN_END.
19787         (STABS_CURRENT_FILE1): Delete.
19788         (STABS_CURRENT_FILE): Likewise.
19789         (STABS_FUN): Likewise.
19790         (STABS_FUN_END): Likewise.
19791         (STABS_FUN2): Likewise.
19792         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19793         * sysdeps/x86_64/configure: Regenerated.
19795 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19797         * elf/dl-open.c: Include <atomic.h>.
19798         * elf/dl-lookup.c: Likewise.
19800 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19802         * sysdeps/unix/sysv/linux/kernel-features.h
19803         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19804         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19805         unconditionally.
19806         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19807         unconditionally.
19808         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19809         condition on __ASSUME_CLONE_THREAD_FLAGS.
19811 2012-08-14  Andreas Jaeger  <aj@suse.de>
19813         * sysdeps/i386/fpu/libm-test-ulps: Update.
19815 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19817         * include/atomic.h (atomic_exchange_and_add): Split into ...
19818         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19819         New atomic macros.
19821 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19825 2012-08-13  Jeff Law <law@redhat.com>
19827         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19828         null byte in the output string.
19830 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19832         * sysdeps/unix/sysv/linux/kernel-features.h
19833         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19834         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19835         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19836         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19837         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19838         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19839         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19841 2012-08-09  Jeff Law <law@redhat.com>
19843         [BZ #13939]
19844         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19845         When avoid_arena is set, don't retry in the that arena.  Pick the
19846         next one, whatever it might be.
19847         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19848         (arena_lock): Pass in new parameter to arena_get2.
19849         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19850         arena_get2.
19851         (__libc_malloc): Unify retrying after main arena failure with
19852         __libc_memalign version.
19853         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19855 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19857         [BZ #14166]
19858         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19859         to __redirect_strstr.
19860         (__strstr_sse42): Use typeof __redirect_strstr.
19861         (__strstr_ia32): Likewise.
19862         (__libc_strstr): New prototype.
19863         (strstr): Renamed to ...
19864         (__libc_strstr): This.
19865         (strstr): New strong alias of __libc_strstr.
19866         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19867         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19868         __redirect_time.
19869         Include <time.h>.
19870         (__libc_time): New prototype.
19871         (time_ifunc): Replace time with __libc_time.
19872         (time): New strong alias and hidden definition of __libc_time.
19873         (__GI_time): Remove strong alias.
19874         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19875         Include <stddef.h>.
19876         (memmove): Redefined to __redirect_memmove.
19877         (__memmove_sse2): Use typeof __redirect_memmove.
19878         (__memmove_ssse3): Likewise.
19879         (__memmove_ssse3_back): Likewise.
19880         (__libc_memmove): New prototype.
19881         (memmove): Renamed to ...
19882         (__libc_memmove): This.
19883         (memmove): New strong alias of __libc_memmove.
19885 2012-08-08  Mark Salter  <msalter@redhat.com>
19887         * elf/elf.h
19888         (R_MN10300_TLS_GD): Define.
19889         (R_MN10300_TLS_LD): Likewise.
19890         (R_MN10300_TLS_LDO): Likewise.
19891         (R_MN10300_TLS_GOTIE): Likewise.
19892         (R_MN10300_TLS_IE): Likewise.
19893         (R_MN10300_TLS_LE): Likewise.
19894         (R_MN10300_TLS_DTPMOD): Likewise.
19895         (R_MN10300_TLS_DTPOFF): Likewise.
19896         (R_MN10300_TLS_TPOFF): Likewise.
19897         (R_MN10300_SYM_DIFF): Likewise.
19898         (R_MN10300_ALIGN): Likewise.
19899         (R_MN10300_NUM): Update.
19901 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19904         Remove.
19906 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19908         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19910         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19911         sysdeps/unix -> sysdeps/posix move.
19912         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19914 2012-08-07      Allan McRae     <allan@archlinux.org>
19916         [BZ #14303]
19917         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19918         (SUNOS_CPP): Likewise.
19919         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19920         not found.
19921         (open_input): Call CPP using execvp.
19923 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19925         * sysdeps/unix/sysv/linux/kernel-features.h
19926         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19927         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19928         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19929         (__ASSUME_WAITID_SYSCALL): Likewise.
19930         * sysdeps/unix/sysv/linux/dl-execstack.c
19931         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19932         code unconditional.
19933         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19934         conditional code.
19935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19936         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19937         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19938         code.
19939         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19940         unconditional.
19941         [__ASSUME_WAITID_SYSCALL]: Likewise.
19942         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19944 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19946         * sysdeps/unix/closedir.c: Renamed to ...
19947         * sysdeps/posix/closedir.c: ... here.
19948         * sysdeps/unix/dirfd.c: Renamed to ...
19949         * sysdeps/posix/dirfd.c: ... here.
19950         * sysdeps/unix/dirstream.h: Renamed to ...
19951         * sysdeps/posix/dirstream.h: ... here.
19952         * sysdeps/unix/fdopendir.c: Renamed to ...
19953         * sysdeps/posix/fdopendir.c: ... here.
19954         * sysdeps/unix/opendir.c: Renamed to ...
19955         * sysdeps/posix/opendir.c: ... here.
19956         * sysdeps/unix/readdir.c: Renamed to ...
19957         * sysdeps/posix/readdir.c: ... here.
19958         * sysdeps/unix/readdir_r.c: Renamed to ...
19959         * sysdeps/posix/readdir_r.c: ... here.
19960         * sysdeps/unix/rewinddir.c: Renamed to ...
19961         * sysdeps/posix/rewinddir.c: ... here.
19962         * sysdeps/unix/seekdir.c: Renamed to ...
19963         * sysdeps/posix/seekdir.c: ... here.
19964         * sysdeps/unix/telldir.c: Renamed to ...
19965         * sysdeps/posix/telldir.c: ... here.
19966         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19967         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19968         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19969         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19971         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19972         * bits/fcntl.h: ... here.
19974         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19975         not 0.
19976         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19977         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19978         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19979         (struct flock): Move l_start, l_len to the beginning.
19980         Use __pid_t for l_pid.
19981         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19982         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19983         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19984         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19985         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19986         [__USE_LARGEFILE64] (struct flock64): New type.
19987         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19989         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19990         * bits/dirent.h: ... here.
19992         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19993         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19995 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19997         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19998         Change from 2.6.0 to 2.6.16.
19999         * sysdeps/unix/sysv/linux/configure: Regenerated.
20000         * sysdeps/unix/sysv/linux/kernel-features.h
20001         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20002         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20003         version.
20004         (__ASSUME_UTIMES): Likewise.
20005         (__ASSUME_CLONE_STOPPED): Remove.
20006         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20007         architectures, not kernel version.
20008         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20009         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20010         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20011         (__ASSUME_WAITID_SYSCALL): Likewise.
20012         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20013         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20014         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20015         refer to older versions.
20017 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20019         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20020         Define alphasort64 as an alias.
20021         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20022         Define versionsort64 as an alias.
20023         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20024         Define scandir64 as an alias.
20025         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20026         Define scandirat64 as an alias.
20027         * dirent/alphasort64.c (alphasort64):
20028         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20029         * dirent/versionsort64.c: Likewise.
20030         * dirent/scandir64.c: Likewise.
20031         * dirent/scandirat64.c: Likewise.
20032         * sysdeps/wordsize-64/alphasort.c: File removed.
20033         * sysdeps/wordsize-64/alphasort64.c: File removed.
20034         * sysdeps/wordsize-64/scandir.c: File removed.
20035         * sysdeps/wordsize-64/scandir64.c: File removed.
20036         * sysdeps/wordsize-64/scandirat.c: File removed.
20037         * sysdeps/wordsize-64/scandirat64.c: File removed.
20038         * sysdeps/wordsize-64/versionsort.c: File removed.
20039         * sysdeps/wordsize-64/versionsort64.c: File removed.
20040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20041         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20042         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20043         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20044         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20045         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20047         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20049         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20051         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20053         [defined __arch64__ || defined __sparcv9]
20054         (__INO_T_MATCHES_INO64_T): New macro.
20055         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20056         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20057         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20058         * sysdeps/unix/sysv/linux/bits/dirent.h
20059         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20060         (_DIRENT_MATCHES_DIRENT64): New macro.
20062         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20063         Define lockf64 as an alias.
20064         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20065         Define fseeko64 as an alias.
20066         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20067         Define ftello64 as an alias.
20068         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20069         Define _IO_fgetpos64 and fgetpos64 as aliases.
20070         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20071         Define _IO_fsetpos64 and fsetpos64 as aliases.
20072         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20073         Conditionalize body on this.
20074         * libio/fseeko64.c: Likewise.
20075         * libio/ftello64.c: Likewise.
20076         * libio/iofgetpos64.c: Likewise.
20077         * libio/iofsetpos64.c: Likewise.
20078         * sysdeps/wordsize-64/lockf.c: File removed.
20079         * sysdeps/wordsize-64/lockf64.c: File removed.
20080         * sysdeps/wordsize-64/fseeko.c: File removed.
20081         * sysdeps/wordsize-64/fseeko64.c: File removed.
20082         * sysdeps/wordsize-64/ftello.c: File removed.
20083         * sysdeps/wordsize-64/ftello64.c: File removed.
20084         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20085         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20086         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20087         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20088         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20089         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20090         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20092         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20094         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20095         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20097         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20099         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20101         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20103         [defined __arch64__ || defined __sparcv9]
20104         (__OFF_T_MATCHES_OFF64_T): New macro.
20105         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20106         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20108         (__OFF_T_MATCHES_OFF64_T): New macro.
20110 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20112         * stdlib/secure-getenv.c (__secure_getenv): Replace
20113         GLIBC_2_16 with GLIBC_2_17.
20115 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20117         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20118         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20120 2012-08-03  David S. Miller  <davem@davemloft.net>
20122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20124 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20127         Remove.
20128         (__ASSUME_CORRECT_SI_PID): Likewise.
20129         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20130         (__ASSUME_TMPFS_NAME): Likewise.
20131         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20132         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20133         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20134         (HAVE_AUX_SECURE): Make definition unconditional.
20135         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20136         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20138 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20140         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20141         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20142         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20143         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20144         __eloop_threshold instead of SYMLOOP_MAX.
20146         * sysdeps/generic/eloop-threshold.h: New file.
20147         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20148         of MAXSYMLINKS.
20149         * elf/chroot_canon.c (chroot_canon): Likewise.
20151 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20153         [BZ #13717]
20154         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20155         Change to 2.6.0 everywhere.
20156         * sysdeps/unix/sysv/linux/configure: Regenerated.
20157         * sysdeps/unix/sysv/linux/kernel-features.h
20158         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20159         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20160         kernel versions.
20161         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20162         (__ASSUME_FUTEX_REQUEUE): Remove.
20163         (__ASSUME_STATFS64): Define unconditionally.
20164         (__ASSUME_AT_SECURE): Likewise.
20165         (__ASSUME_CORRECT_SI_PID): Likewise.
20166         (__ASSUME_TGKILL): Define without depending on kernel version for
20167         i386.
20168         (__ASSUME_UTIMES): Likewise.
20169         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20170         kernel version.
20171         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20172         (__ASSUME_TMPFS_NAME): Likewise.
20173         * README: Update reference to Linux kernel versions.
20175 2012-08-02  Marek Polacek  <polacek@redhat.com>
20177         [BZ# 14150]
20178         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20179         libc_cv_asm_type_prefix with %.
20180         * configure: Regenerated.
20181         * include/libc-symbols.h: Remove comment about
20182         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20183         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20184         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20185         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20186         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20187         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20188         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20189         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20190         * elf/tst-unique2mod1.c: Likewise.
20191         * elf/tst-unique1mod2.c: Likewise.
20192         * elf/tst-unique1mod1.c: Likewise.
20193         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20194         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20195         Replace ASM_TYPE_DIRECTIVE with .type.
20196         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20197         * sysdeps/i386/sysdep.h: Likewise.
20198         * sysdeps/x86_64/sysdep.h: Likewise.
20199         * sysdeps/sh/sysdep.h: Likewise.
20200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20201         Do not define ASM_TYPE_DIRECTIVE.
20202         * sysdeps/powerpc/sysdep.h: Likewise.
20203         * sysdeps/powerpc/powerpc32/sysdep.h:
20204         Replace ASM_TYPE_DIRECTIVE with .type.
20205         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20206         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20207         * sysdeps/i386/fpu/e_powf.S: Likewise.
20208         * sysdeps/i386/fpu/e_expl.S: Likewise.
20209         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20211         * sysdeps/i386/fpu/e_pow.S: Likewise.
20212         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20213         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20214         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20215         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20216         * sysdeps/i386/fpu/e_log2.S: Likewise.
20217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20219         * sysdeps/i386/fpu/e_powl.S: Likewise.
20220         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20221         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20222         * sysdeps/i386/fpu/e_logl.S: Likewise.
20223         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20224         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20225         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20226         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20227         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20228         * sysdeps/i386/fpu/e_log.S: Likewise.
20229         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20230         * sysdeps/i386/fpu/e_logf.S: Likewise.
20231         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20232         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20233         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20234         * sysdeps/i386/fpu/e_log10.S: Likewise.
20235         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20236         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20237         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20238         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20239         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20240         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20241         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20242         * sysdeps/i386/i686/strtok.S: Likewise.
20243         * sysdeps/i386/i386-mcount.S: Likewise.
20244         * sysdeps/i386/strtok.S: Likewise.
20245         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20246         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20247         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20248         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20249         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20250         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20251         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20252         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20253         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20254         * sysdeps/x86_64/_mcount.S: Likewise.
20255         * sysdeps/x86_64/strtok.S: Likewise.
20256         * sysdeps/sh/_mcount.S: Likewise.
20258 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20260         * libio/iofopen.c: Include <fcntl.h>.
20261         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20262         (_IO_fopen64, fopen64): Define as aliases.
20263         * libio/iofopen64.c: Include <fcntl.h>.
20264         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20265         Conditionalize body on this.
20266         * sysdeps/wordsize-64/iofopen.c: File removed.
20267         * sysdeps/wordsize-64/iofopen64.c: File removed.
20269 2012-08-01  Marek Polacek  <polacek@redhat.com>
20271         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20272         Use dlfcn directly instead of a variable.
20273         (binfmt-subdir): Do not define.
20274         (dlfcn): Likewise.
20276 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20279         Remove all definitions.
20280         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20281         <kernel-features.h>.
20282         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20283         (miss_F_GETOWN_EX): Remove all definitions.
20284         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20285         macro definition.
20286         [!__ASSUME_FCNTL64]: Remove conditional code.
20287         [__ASSUME_FCNTL64]: Make code unconditional.
20288         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20289         <kernel-features.h>.
20290         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20291         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20292         (lockf64) [__NR_fcntl64]: Make code unconditional.
20293         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20295         * sysdeps/unix/sysv/linux/kernel-features.h
20296         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20297         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20298         Make code unconditional.
20299         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20300         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20302         [__NR_vfork]: Make code unconditional.
20303         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20304         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20306         [__NR_vfork]: Make code unconditional.
20307         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20308         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20310 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20312         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20313         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20315         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20316         Define mkstemp64 as an alias.
20317         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20318         Define mkstemps64 as an alias.
20319         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20320         Define mkostemp64 as an alias.
20321         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20322         Define mkostemps64 as an alias.
20323         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20324         Conditionalize body on this.
20325         * misc/mkostemp64.c: Likewise.
20326         * misc/mkostemps64.c: Likewise.
20327         * misc/mkstemps64.c: Likewise.
20328         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20329         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20330         * sysdeps/wordsize-64/mkostemp.c: File removed.
20331         * sysdeps/wordsize-64/mkstemp.c: File removed.
20332         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20334         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20337         [BZ #14138]
20338         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20339         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20340         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20341         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20343         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20344         compat_symbol macros from <shlib-compat.h> rather than the underlying
20345         default_symbol_version and symbol_version macros, so that DEFAULT
20346         lines in shlib-versions are respected.
20347         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20349 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20351         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20352         Declare with warn_unused_result.
20353         (setgid, setregid, setegid, setresgid): Likewise.
20354         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20355         Likewise.
20356         * WUR-REPORT: Remove set*id functions.
20358 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20360         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20362 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20364         [BZ #10191]
20365         * include/sys/socket.h (__libc_accept, __libc_accept4):
20366         Add attribute_hidden.
20367         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20369         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20370         use of PTR_MANGLE.
20371         * inet/getnetgrent_r.c (setup): Likewise.
20373         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20375 2012-07-31  David S. Miller  <davem@davemloft.net>
20377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20379 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20381         [BZ #13629]
20382         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20383         value between 1.0 and 2.0 and smaller part has absolute value less
20384         than 1.0.
20385         * math/s_clog10.c (__clog10): Likewise.
20386         * math/s_clog10f.c (__clog10f): Likewise.
20387         * math/s_clog10l.c (__clog10l): Likewise.
20388         * math/s_clogf.c (__clogf): Likewise.
20389         * math/s_clogl.c (__clogl): Likewise.
20390         * math/libm-test.inc (clog_test): Add more tests.
20391         (clog10_test): Likewise.
20392         * sysdeps/i386/fpu/libm-test-ulps: Update.
20393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20397         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20398         Exit with zero in case no suitable GID is found, and write a
20399         message to standard error.
20401 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20403         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20404         rather than to 1.
20405         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20406         (MAXPATHLEN): Removed.
20407         (NOGROUP, NODEV): New macros.
20408         (setbit, clrbit, isset, isclr): New macros.
20409         (howmany, roundup, powerof2): New macros.
20410         (DEV_BSIZE): New macro.
20412         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20413         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20415         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20416         definition on [!__NO_LONG_DOUBLE_MATH].
20418         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20419         PTR_MANGLE and PTR_DEMANGLE.
20421         * socket/accept4.c (accept4): Rename to __libc_accept4.
20422         Define accept4 as a weak alias.
20424         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20425         on [_DIRENT_HAVE_D_TYPE].
20426         * io/ftw.c (ftw_dir): Likewise.
20428         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20430         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20432         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20433         Use the BSD numbers rather than the arbitrary ones we had.
20434         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20435         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20436         (SIGXCPU, SIGXFSZ): New macros.
20437         (_NSIG): Now 32.
20439         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20440         initializer on [_LIBC_REENTRANT].
20442         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20443         definitions inside [_POSIX_MAPPED_FILES].
20445         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20447         * dirent/opendir.c: Include <fcntl.h>.
20449         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20450         (__libc_getspecific): Likewise.
20451         (__libc_key_create): Likewise.
20453         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20454         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20455         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20456         (tmpfile64): Define as alias.
20457         * sysdeps/wordsize-64/tmpfile.c: File removed.
20458         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20460         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20462         * stdio-common/vfscanf.c: Include <stdbool.h>.
20463         * nss/makedb.c: Likewise.
20464         * stdio-common/_i18n_number.h: Likewise.
20465         * argp/argp-help.c: Likewise.
20466         * posix/wordexp.c: Likewise.
20467         * sysdeps/posix/spawni.c: Likewise.
20468         * nss/nss_files/files-initgroups.c: Likewise.
20469         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20470         * nss/nss_files/files-initgroups.c: Likewise.
20471         * nss/nss_db/db-netgrp.c: Likewise.
20472         * nss/nss_db/db-initgroups.c: Likewise.
20473         * io/fchmodat.c: Include <sys/stat.h>.
20475         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20476         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20478         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20479         [HAVE_MMAP].
20481         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20482         Add multiple inclusion protection.
20484 2012-07-27  David S. Miller  <davem@davemloft.net>
20486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20488 2012-07-27  Gary Benson  <gbenson@redhat.com>
20490         [BZ #14298]
20491         * elf/rtld.c: Include <stap-probe.h>.
20492         (dl_main): Added static probes "init_start" and "init_complete".
20493         * elf/dl-load.c: Include <stap-probe.h>.
20494         (lose): Take new parameter "nsid".
20495         Added static probe "map_failed".
20496         (_dl_map_object_from_fd): Pass namespace id to lose.
20497         Added static probe "map_start".
20498         (open_verify): Pass namespace id to lose.
20499         * elf/dl-open.c: Include <stap-probe.h>.
20500         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20501         and "reloc_complete".
20502         * elf/dl-close.c: Include <stap-probe.h>.
20503         (_dl_close_worker): Added static probes "unmap_start" and
20504         "unmap_complete".
20505         * elf/rtld-debugger-interface.txt: New file documenting the above.
20507 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20509         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20510         rather than a string variable.
20511         * sunrpc/rpc_main.c (h_output): Likewise.
20512         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20514 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20516         * inet/check_native.c: New file.
20518 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #13629]
20521         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20522         if larger part has absolute value 1.0.
20523         * math/s_clog10.c (__clog10): Likewise.
20524         * math/s_clog10f.c (__clog10f): Likewise.
20525         * math/s_clog10l.c (__clog10l): Likewise.
20526         * math/s_clogf.c (__clogf): Likewise.
20527         * math/s_clogl.c (__clogl): Likewise.
20528         * math/libm-test.inc (clog_test): Add more tests.
20529         (clog10_test): Likewise.
20530         * sysdeps/i386/fpu/libm-test-ulps: Update.
20531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20533         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20534         (pltexit): Likewise.
20535         (La_regs): Likewise.
20536         (La_retval): Likewise.
20537         (int_retval): Likewise.
20538         Update #error for removed macros to refer only to definitions in
20539         tst-audit.h.
20540         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20541         macro.
20542         (pltexit): Likewise.
20543         (La_regs): Likewise.
20544         (La_retval): Likewise.
20545         (int_retval): Likewise.
20546         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20547         macro.
20548         (pltexit): Likewise.
20549         (La_regs): Likewise.
20550         (La_retval): Likewise.
20551         (int_retval): Likewise.
20552         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20553         macro.
20554         (pltexit): Likewise.
20555         (La_regs): Likewise.
20556         (La_retval): Likewise.
20557         (int_retval): Likewise.
20558         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20559         macro.
20560         (pltexit): Likewise.
20561         (La_regs): Likewise.
20562         (La_retval): Likewise.
20563         (int_retval): Likewise.
20564         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20565         macro.
20566         (pltexit): Likewise.
20567         (La_regs): Likewise.
20568         (La_retval): Likewise.
20569         (int_retval): Likewise.
20570         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20571         macro.
20572         (pltexit): Likewise.
20573         (La_regs): Likewise.
20574         (La_retval): Likewise.
20575         (int_retval): Likewise.
20576         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20577         macro definitions in tst-audit.h.
20578         * sysdeps/i386/tst-audit.h: New file.
20579         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20580         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20581         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20582         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20583         * sysdeps/sh/tst-audit.h: Likewise.
20584         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20585         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20586         * sysdeps/x86_64/tst-audit.h: Likewise.
20588 2012-07-26  Andreas Jaeger  <aj@suse.de>
20590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20591         ptrace.
20593         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20594         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20595         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20596         PTRACE_O_MASK.
20597         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20598         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20599         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20601         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20602         value.
20604         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20605         _sigsys.
20606         (si_call_addr, si_syscall, si_arch): Define new macro.
20607         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20608         _sigsys.
20609         (si_call_addr, si_syscall, si_arch): Define new marcro.
20610         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20611         _sigsys.
20612         (si_call_addr, si_syscall, si_arch): Define new macro.
20613         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20614         _sigsys.
20615         (si_call_addr, si_syscall, si_arch): Define new macro.
20617 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20619         [BZ #13717]
20620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20621         Change to 2.4.21 where previously 2.4.1.
20622         * sysdeps/unix/sysv/linux/configure: Regenerated.
20623         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20624         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20625         Linux kernel version.
20626         (__ASSUME_STD_AUXV): Remove.
20627         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20628         kernel version.
20629         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20630         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20631         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20632         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20633         (__ASSUME_NETLINK_SUPPORT): Likewise.
20634         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20635         (__no_netlink_support): Remove conditional definition.
20636         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20637         Remove.
20638         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20639         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20640         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20641         (if_nameindex_ioctl): Remove.
20642         (if_nameindex_netlink): Do not handle __no_netlink_support.
20643         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20644         code.
20645         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20646         Remove conditional code.
20647         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20648         code.
20649         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20650         unconditional.
20651         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20652         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20653         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20654         Remove.
20655         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20656         [!__ASSUME_STD_AUXV]: Remove conditional code.
20657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20658         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20659         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20661         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20662         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20663         code.
20664         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20666         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20667         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20668         conditional code.
20669         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20671         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20672         code.
20673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20674         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20675         conditional code.
20676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20677         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20678         code unconditional.
20679         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20680         conditional code.
20681         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20682         unconditional.
20683         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20684         conditional code.
20685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20686         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20687         unconditional.
20688         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20689         conditional code.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20691         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20692         code unconditional.
20693         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20694         conditional code.
20695         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20696         unconditional.
20697         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20698         conditional code.
20699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20700         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20701         code unconditional.
20702         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20703         conditional code.
20704         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20705         unconditional.
20706         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20707         conditional code.
20709 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20711         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20712         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20713         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20714         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20715         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20716         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20717         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20718         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20719         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20720         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20721         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20722         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20723         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20724         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20725         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20726         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20727         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20729         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20731         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20732         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20733         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20735 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20737         * Versions.def: Add GLIBC_2.17.
20738         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20739         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20740         Introduce __libc_secure_getenv.
20741         * stdlib/Versions (2.17): Add secure_getenv
20742         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20743         * stdlib/secure-getenv.c: Rename __secure_getenv to
20744         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20745         symbol __secure_getenv for GLIBC_2.0.
20746         * stdlib/tst-secure-getenv.c: New.
20747         * stdlib/Makefile (tests): Add testcase.
20748         * manual/startup.texi (Environment Access): Document
20749         secure_getenv.
20750         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20751         __libc_secure_getenv.
20752         * inet/ruserpass.c (ruserpass): Likewise.
20753         * malloc/mtrace.c (mtrace): Likewise.
20754         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20755         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20756         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20757         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20758         HAVE_SECURE_GETENV.
20759         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20760         __secure_getenv to __libc_secure_getenv.
20761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20763         Likewise.
20764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20765         Likewise.
20766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20774 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20776         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20777         (struct La_i86_retval): Likewise.
20778         (struct La_x86_64_regs): Likewise.
20779         (struct La_x86_64_retval): Likewise.
20780         (struct La_x32_regs): Likewise.
20781         (struct La_x32_retval): Likewise.
20782         (struct La_ppc32_regs): Likewise.
20783         (struct La_ppc32_retval): Likewise.
20784         (struct La_ppc64_regs): Likewise.
20785         (struct La_ppc64_retval): Likewise.
20786         (struct La_sh_regs): Likewise.
20787         (struct La_sh_retval): Likewise.
20788         (struct La_s390_32_regs): Likewise.
20789         (struct La_s390_32_retval): Likewise.
20790         (struct La_s390_64_regs): Likewise.
20791         (struct La_s390_64_retval): Likewise.
20792         (struct La_sparc32_regs): Likewise.
20793         (struct La_sparc32_retval): Likewise.
20794         (struct La_sparc64_regs): Likewise.
20795         (struct La_sparc64_retval): Likewise.
20796         (struct audit_ifaces): Remove architecture-specific pltenter and
20797         pltexit members.
20798         * sysdeps/i386/ldsodefs.h: New file.
20799         * sysdeps/powerpc/ldsodefs.h: Likewise.
20800         * sysdeps/s390/ldsodefs.h: Likewise.
20801         * sysdeps/sh/ldsodefs.h: Likewise.
20802         * sysdeps/sparc/ldsodefs.h: Likewise.
20803         * sysdeps/x86_64/ldsodefs.h: Likewise.
20805 2012-07-25  Marek Polacek  <polacek@redhat.com>
20807         [BZ #6808]
20808         * math/libm-test.inc (yn_test): Add another test.
20809         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20810         to ERANGE when the result is +-Inf.
20811         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20813         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20814         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20816 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20818         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20819         equal to 0.
20820         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20821         clock_t.
20822         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20824 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20826         * configure.in <sysdeps resolving>: Correct printing
20827         Implies_before.
20828         * configure: Regenerate.
20830 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20832         * math/w_ilogb.c: Include <limits.h>.
20833         * math/w_ilogbl.c: Likewise.
20835 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20837         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20838         va_copy.  Document allowing for unavailable va_copy only as
20839         pre-C99 compatibility.
20840         * manual/string.texi (Copying and Concatenation): Use va_copy
20841         instead of __va_copy in concat example.
20843 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20845         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20846         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20847         it if not null.
20849         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20850         with O_NOLINK passed to __file_name_lookup.
20852         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20853         with O_NOLINK passed to __file_name_lookup.
20855         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20856         negative N or less than NGIDS.
20858         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20859         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20860         enough.  Use memcpy instead of strncpy.
20862 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20864         * elf/Makefile (check-data): Remove.
20865         (localplt.data): New vpath directive.
20866         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20867         instead of $(check-data).
20868         * scripts/data/localplt-generic.data: Move to ...
20869         * sysdeps/generic/localplt.data: ... here.
20870         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20871         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20872         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20874         ... here.
20875         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20877         ... here.
20878         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20880         ... here.
20881         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20883         ... here.
20884         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20886         ... here.
20887         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20889         ... here.
20891 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20893         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20894         PPC32 and PPC64 files.
20895         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20896         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20898 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20900         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20901         __makecontext_ret to ...
20902         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20903         ... here and call exit if uc_link is NULL.  New file.
20904         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20905         __makecontext_ret.S.
20906         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20907         __makecontext_ret to ...
20908         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20909         ... here and call exit if uc_link is NULL.  New file.
20910         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20911         __makecontext_ret.S.
20913 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20915         * elf/elf.h (R_390_IRELATIVE): New definition.
20916         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20917         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20918         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20919         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20920         (elf_machine_lazy_rel): Likewise.
20921         * sysdeps/s390/dl-irel.h: New file.
20922         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20923         * sysdeps/s390/s390-64/memset.S: New asm code.
20924         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20925         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20926         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20927         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20928         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20929         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20930         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20931         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20932         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20933         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20934         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20935         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20936         * sysdeps/s390/s390-32/memset.S: New asm code.
20937         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20939 2012-07-17  Marek Polacek  <polacek@redhat.com>
20941         [BZ #14349]
20942         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20943         * sysdeps/s390/s390-64/configure.in: Likewise.
20944         * sysdeps/sparc/configure.in: Likewise.
20945         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20946         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20947         * sysdeps/i386/configure.in: Likewise.
20948         * sysdeps/x86_64/configure.in: Likewise.
20949         * sysdeps/sh/configure.in: Likewise.
20950         * sysdeps/s390/s390-32/configure: Regenerated.
20951         * sysdeps/s390/s390-64/configure: Likewise.
20952         * sysdeps/x86_64/configure: Likewise.
20953         * sysdeps/sh/configure: Likewise.
20954         * sysdeps/powerpc/powerpc64/configure: Likewise.
20955         * sysdeps/powerpc/powerpc32/configure: Likewise.
20956         * sysdeps/sparc/configure: Likwise.
20957         * sysdeps/i386/configure: Likewise.
20959         * elf/dl-open.c: Comment fixes.
20961 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20963         * Makefile [CXX] (check-data): Remove.
20964         [CXX] (c++-types.data): New vpath directive.
20965         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20966         vpath.  Do not allow for C++ type data being missing.
20967         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20968         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20969         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20970         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20971         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20972         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20973         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20975         ... here.
20976         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20978         ... here.
20979         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20981         ... here.
20982         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20984         ... here.
20985         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20987         ... here.
20988         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20990         ... here.
20991         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20993         ... here.
20994         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20997         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20998         definitions to architecture-specific files.
20999         (TLS_IE): Likewise.
21000         (TLS_LD): Likewise.
21001         (TLS_GD): Likewise.
21002         * sysdeps/i386/tls-macros.h: New file.
21003         * sysdeps/powerpc/tls-macros.h: Likewise.
21004         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21005         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21006         * sysdeps/sh/tls-macros.h: Likewise.
21007         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21008         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21009         * sysdeps/x86_64/tls-macros.h: Likewise.
21011 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21013         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21014         zero value for regular exit case.
21016         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21017         (__start_context): Preserve zero value for regular exit case.
21019 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21020             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21022         * manual/setjmp.texi (setcontext): Clarify normal process
21023         termination when uc_link is the null pointer.
21024         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21025         exit call.
21027 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21029         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21030         preprocessor.  Test for each exception mask separately.
21032 2012-07-16  Andreas Jaeger  <aj@suse.de>
21034         * po/ru.po: Update from translation team.
21036 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21038         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21039         equal to 0.
21040         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21041         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21042         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21043         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21046 2012-07-13  Andreas Jaeger  <aj@suse.de>
21048         * po/fr.po: Update from translation team.
21050 2012-07-12  Marek Polacek  <polacek@redhat.com>
21052         [BZ #14173]
21053         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21054         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21055         loop condition.
21057 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21059         [BZ #13717]
21060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21061         Change to 2.4.1 where previously 2.4.0.
21062         * sysdeps/unix/sysv/linux/configure: Regenerated.
21063         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21064         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21065         version.
21066         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21067         (__ASSUME_AT_CLKTCK): Remove.
21068         (__ASSUME_AT_PAGESIZE): Likewise.
21069         (__ASSUME_AT_XID): Likewise.
21070         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21071         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21072         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21073         unconditionally.
21074         (HAVE_AUX_PAGESIZE): Likewise.
21075         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21076         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21077         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21079 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21081         [BZ #14307]
21082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21083         the temporary buffer used to invoke __gethostbyname2_r,
21084         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21085         host_data / struct gaih_addrtuple.
21086         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21087         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21088         header file nss/nsswitch.h.
21089         * nss/nsswitch.h (global scope): Add definition of implementation
21090         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21091         resolv/nss_dns/dns-host.c).
21093 2012-07-11  Andreas Jaeger  <aj@suse.de>
21095         * po/fr.po: Update from translation team.
21097         * po/sv.po: Update from translation team
21098         * po/fr.po: Another update from translation team.
21100 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21102         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21103         for subnormals or multiply small sinh result by itself.
21104         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21107 2012-07-11  David S. Miller  <davem@davemloft.net>
21109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21111 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21113         [BZ #14347]
21114         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21115         (INTERNAL_MARK): Shift it here.
21117 2012-07-10  Marek Polacek  <polacek@redhat.com>
21119         [BZ #14151]
21120         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21121         libc_cv_asm_global_directive with .globl.
21122         * configure: Regenerated.
21123         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21124         with .globl.
21125         * sysdeps/i386/configure: Regenerated.
21126         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21127         with .globl.
21128         * sysdeps/x86_64/configure: Regenerated.
21129         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21130         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21131         * elf/tst-unique2mod2.c: Likewise.
21132         * elf/tst-unique2mod1.c: Likewise.
21133         * elf/tst-unique1mod2.c: Likewise.
21134         * elf/tst-unique1mod1.c: Likewise.
21135         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21136         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21137         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21138         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21139         * sysdeps/mach/sysdep.h: Likewise.
21140         * sysdeps/i386/sysdep.h: Likewise.
21141         * sysdeps/i386/i386-mcount.S: Likewise.
21142         * sysdeps/x86_64/_mcount.S: Likewise.
21143         * sysdeps/x86_64/sysdep.h: Likewise.
21144         * sysdeps/sh/_mcount.S: Likewise.
21145         * sysdeps/sh/sysdep.h: Likewise.
21146         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21147         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21148         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21149         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21150         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21151         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21152         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21153         * locale/localeinfo.h: Likewise.
21154         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21155         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21157 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21159         [BZ #14336]
21160         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21161         system".
21162         * manual/message.texi (The Uniforum approach): Likewise.
21163         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21164         (glibc iconv Implementation): Likewise.
21166 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21168         [BZ #14337]
21169         * math/s_clog.c (__clog): Avoid scaling a value down where that
21170         could result in underflow.
21171         * math/s_clog10.c (__clog10): Likewise.
21172         * math/s_clog10f.c (__clog10f): Likewise.
21173         * math/s_clog10l.c (__clog10l): Likewise.
21174         * math/s_clogf.c (__clogf): Likewise.
21175         * math/s_clogl.c (__clogl): Likewise.
21176         * math/libm-test.inc (clog_test): Add more tests.
21177         (clog10_test): Likewise.
21178         * sysdeps/i386/fpu/libm-test-ulps: Update.
21179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21183         [BZ #14283]
21184         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21185         by 7 not 8 to examine high bit of fractional part.
21187         [BZ #14042]
21188         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21189         for call to __mcount_internal.
21190         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21191         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21192         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21194 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21196         [BZ #14154]
21197         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21198         approximation for values within 0x1p-13f of an odd multiple of
21199         pi/4.
21200         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21201         exception.  Add more tests.
21202         * sysdeps/i386/fpu/libm-test-ulps: Update.
21204         [BZ #6778]
21205         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21206         inputs and return -1 for them.  Do not check for +Inf in case not
21207         reachable for +Inf.
21208         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21209         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21210         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21211         and return -1 for them.  Do not check for +Inf in case not
21212         reachable for +Inf.
21213         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21214         define.
21215         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21216         and return -1 for them.  Do not check for +Inf in case not
21217         reachable for +Inf.
21218         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21219         spurious underflow.
21220         * sysdeps/i386/fpu/libm-test-ulps: Update.
21221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21223 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21225         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21227 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #14157]
21230         [BZ #14331]
21231         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21232         could result in spurious underflow.  Scale down values above
21233         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21234         * math/s_csqrtf.c (__csqrtf): Likewise.
21235         * math/s_csqrtl.c (__csqrtl): Likewise.
21236         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21237         spurious underflow.
21238         * sysdeps/i386/fpu/libm-test-ulps: Update.
21239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21243         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21244         xopen-msg.sed.
21245         * catgets/xopen-msg.awk: New file.
21246         * catgets/xopen-msg.sed: Removed.
21248         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21249         po2text.sed.
21250         * intl/po2test.awk: New file.
21251         * intl/po2test.sed: Removed.
21253 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21255         [BZ #14328]
21256         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21257         or multiply small sinh result by itself.
21258         * math/s_ctanf.c (__ctanf): Likewise.
21259         * math/s_ctanh.c (__ctanh): Likewise.
21260         * math/s_ctanhf.c (__ctanhf): Likewise.
21261         * math/s_ctanhl.c (__ctanhl): Likewise.
21262         * math/s_ctanl.c (__ctanl): Likewise.
21263         * math/libm-test.inc (ctan_test_tonearest): New function.
21264         (ctan_test_towardzero): Likewise.
21265         (ctan_test_downward): Likewise.
21266         (ctan_test_upward): Likewise.
21267         (ctanh_test_tonearest): Likewise.
21268         (ctanh_test_towardzero): Likewise.
21269         (ctanh_test_downward): Likewise.
21270         (ctanh_test_upward): Likewise.
21271         (main): Call these new functions.
21272         * sysdeps/i386/fpu/libm-test-ulps: Update.
21273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21275 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21277         * .gitignore: Delete /ports entry.
21279 2012-07-03  Andreas Jaeger  <aj@suse.de>
21281         * po/bg.po: Update from translation team.
21282         * po/cs.po: Likewise.
21283         * po/de.po: Likewise.
21284         * po/hr.po: Likewise.
21285         * po/nl.pl: Likewise.
21286         * po/pl.po: Likewise.
21287         * po/vi.po: Likewise.
21289 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21291         * Makeconfig [!+link] (+link-before-libc): New variable.
21292         [!+link] (+link-after-libc): Likewise.
21293         [!+link] (+link-tests): Likewise.
21294         [!+link] (+link): Define in terms of $(+link-before-libc) and
21295         $(+link-after-libc).
21296         [!+link-static] (+link-static-before-libc): New variable.
21297         [!+link-static] (+link-static-after-libc): Likewise.
21298         [!+link-static] (+link-static-tests): Likewise.
21299         [!+link-static] (+link-static): Define in terms of
21300         $(+link-static-before-libc) and $(+link-static-after-libc).
21301         [build-shared] (link-libc-before-gnulib): New variable.
21302         [build-shared] (link-libc-tests): Likewise.
21303         [build-shared] (link-libc): Define in terms of
21304         $(link-libc-before-gnulib).
21305         [!build-shared] (link-libc-tests): New variable.
21306         (link-libc-static-tests): New variable.
21307         [!gnulib] (gnulib-arch): New variable.
21308         [!gnulib] (gnulib-tests): Likewise.
21309         [!gnulib] (static-gnulib-arch): Likewise.
21310         [!gnulib] (static-gnulib-tests): Likewise.
21311         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21312         Define with "=" instead of ":=".
21313         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21314         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21315         * Rules (binaries-all-notests): New variable.
21316         (binaries-all-tests): Likewise.
21317         (binaries-static-notests): Likewise.
21318         (binaries-static-tests): Likewise.
21319         (binaries-all): Define using $(binaries-all-notests) and
21320         $(binaries-all-tests).
21321         (binaries-static): Define using $(binaries-static-notests) and
21322         $(binaries-static-tests).
21323         (binaries-shared-tests): New variable.
21324         (binaries-shared-notests): Likewise.
21325         (binaries-shared): Remove variable.
21326         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21327         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21328         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21329         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21330         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21331         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21332         * elf/Makefile (sln-modules): New variable.
21333         (extra-objs): Add $(sln-modules:=.o).
21334         (ldconfig-modules): Add static-stubs.
21335         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21336         * elf/static-stubs.c: New file.
21338         [BZ #14283]
21339         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21340         by 7 not 8 to examine high bit of fractional part.  Use volatile
21341         variables when splitting into final array of floats if
21342         __FLT_EVAL_METHOD__ != 0.
21343         * math/libm-test.inc (cos_test): Add another test.
21344         (sin_test): Likewise.
21345         * sysdeps/i386/fpu/libm-test-ulps: Update.
21347         [BZ #14273]
21348         * math/libm-test.inc (cosh_test): Add more tests.
21350         * version.h (RELEASE): Set to "development".
21351         (VERSION): Set to "2.16.90".
21353 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21355         * NEWS: Update copyright. Remove last-updated date.
21356         Mention math library bug fixes and timezone data changes.
21357         * README: Mention GNU/Hurd, x32, and HPPA support status.
21359 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21361         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21363 2012-06-27  Andreas Jaeger  <aj@suse.de>
21365         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21367 2012-06-25  Andreas Jaeger  <aj@suse.de>
21369         * sysdeps/s390/fpu/libm-test-ulps: Update.
21371 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21372             Thomas Schwinge  <thomas@codesourcery.com>
21374         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21375         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21377         fanotify_mark.
21379 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21381         * sysdeps/mach/start.c: Remove file.
21382         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21383         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21384         * sysdeps/sh/init-first.c: Likewise.
21386         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21387         registers for frame unwinding purposes, add CFI directives.
21388         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21389         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21390         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21391         Likewise.
21393         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21394         __fortify_fail returning.
21395         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21397         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21398         sysdeps/sh/____longjmp_chk.S.
21399         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21400         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21401         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21402         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21404         * sysdeps/sh/abort-instr.h: New file.
21405         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21406         process in case exit returns.
21408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21409         initialize the GOT register before use.
21411         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21412         calculation of ARGC > 4.
21414         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21415         meaningful names to some local labels.
21417 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21418             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21420         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21421         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21422         (__arch_compare_and_exchange_val_16_acq): Likewise.
21423         (__arch_compare_and_exchange_val_32_acq): Likewise.
21424         (atomic_exchange_and_add): Fix gUSA sequence.
21425         (atomic_add): Likewise.
21426         (atomic_add_negative): Likewise.
21427         (atomic_add_zero): Likewise.
21428         (atomic_bit_test_set): Likewise.
21430 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21432         [BZ #13579]
21433         * include/link.h (struct link_map): Add l_free_initfini.
21434         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21435         l_initfini.
21436         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21437         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21438         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21439         set.
21441 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21443         * configure.in: Use AC_LANG_SOURCE.
21444         * configure: Regenerate.
21446 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21448         * configure.in (libc_cv_localstatedir): New substituted variable.
21449         * configure: Regenerated.
21450         * config.make.in (localstatedir): New variable, substituted from
21451         libc_cv_localstatedir.
21452         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21453         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21454         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21455         * sysdeps/gnu/configure: Regenerated.
21457 2012-06-21  Jeff Law  <law@redhat.com>
21459         [BZ #14277]
21460         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21461         free.  Simplify list management for _LIBC case.
21463 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21465         [BZ #14273]
21466         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21467         Clear sign bit of 64-bit integer value before comparing against
21468         overflow value.
21470         * sysdeps/mach/configure: Regenerated.
21472 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21474         [BZ #14278]
21475         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21477 2012-06-21  Jeff Law  <law@redhat.com>
21479         [BZ #13882]
21480         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21481         uint16_t for elements in the "seen" array to avoid char overflows.
21482         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21483         * elf/dl-open.c (dl_open_worker): Likewise.
21485 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21487         * scripts/list-sources.sh: Scan PORTS for translations.
21488         * po/libc.pot: Regenerated.
21490 2012-06-21  Andreas Jaeger  <aj@suse.de>
21492         [BZ #12194]
21493         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21494         warning.
21495         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21496         * bits/byteswap-16.h (__bswap_16): Likewise.
21497         * bits/byteswap.h (__bswap_constant_16): Likewise.
21499 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21501         [BZ #14117]
21502         * sysdeps/i386/fpu_control.h: Removed.
21503         * sysdeps/x86_64/fpu_control.h: Moved to ...
21504         * sysdeps/x86/fpu_control.h: Here.
21506         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21507         (_FPU_SETCW): Likewise.
21509 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21511         [BZ #14117]
21512         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21513         * sysdeps/x86/fpu/bits/mathinline.h: This.
21514         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21516         [BZ #14050]
21517         [BZ #14117]
21518         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21519         functions if __x86_64__ is defined.
21521 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21523         * string/endian.h: Add !__ASSEMBLER__ condition for including
21524         conversion interfaces.
21526 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21528         [BZ #14241]
21529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21530         of ABS(x) in calculating zero to negative powers other than odd
21531         integers.
21532         * math/libm-test.inc (pow_test): Add more tests.
21534 2012-06-15  Andreas Jaeger  <aj@suse.de>
21536         * manual/contrib.texi (Contributors): Update entry of Liubov
21537         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21538         Machado Filho.
21540 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21542         * string/string.h: Add __wur to GNU version of strerror_r.
21544 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21546         [BZ #14229]
21547         * string/Makefile (tests): Add tst-strtok_r.
21548         * string/tst-strtok_r.c: New file.
21549         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21550         RAX_LP/RDX_LP on SAVE_PTR.
21552 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21554         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21556 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21558         * libm_test.inc (csqrt_test): Allow more spurious underflow
21559         exceptions.
21560         (j0_test): Likewise.
21561         (j1_test): Likewise.
21562         (y0_test): Likewise.
21563         (y1_test): Likewise.
21565 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21567         * po/Makefile (libc.pot): Use UTF-8 charset.
21569 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21571         [BZ #14210]
21572         Suppress sign-conversion warning from FD_SET.
21573         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21574         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21575         not unsigned long int.
21576         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21578 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21580         [BZ #14050]
21581         [BZ #14117]
21582         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21583         __extern_always_inline instead of __extern_inline.
21584         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21585         (__signbit): Likewise.
21586         (__signbitl): Support C++ namespace.
21587         (lrintf): New inline function.
21588         (lrint): Likewise.
21589         (llrintf): Likewise.
21590         (llrint): Likewise.
21591         (fmaxf): Likewise.
21592         (fmax): Likewise.
21593         (fminf): Likewise.
21594         (fmin): Likewise.
21595         (rint): Likewise.
21596         (rintf): Likewise.
21597         (ceil): Likewise.
21598         (ceilf): Likewise.
21599         (floor): Likewise.
21600         (floorf): Likewise.
21601         (nearbyint): Likewise.
21602         (nearbyintf): Likewise.
21604 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21606         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21607         non-default versions.
21609 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21611         [BZ #14218]
21612         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21614 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21616         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21617         (FE_UPWARD, FE_DOWNWARD): Don't define.
21618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21619         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21622         reading it.
21623         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21624         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21626 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21628         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21630         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21631         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21633 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21635         [BZ #14117]
21636         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21637         * sysdeps/i386/fpu/Implies: New file.
21638         * sysdeps/x86_64/fpu/Implies: Likewise.
21639         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21640         * sysdeps/x86/fpu/bits/fenv.h: This.
21642         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21643         __SSE_MATH__.
21645 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21647         [BZ #14134]
21648         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21649         character 0xffff that matches the last element of the
21650         conversion table.
21652 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21655         fmodl commit.
21657 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21660         values higher than 25.6283.
21662 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21665         subnormal exponent extraction and add some __builtin_expect.
21666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21667         Fix for subnormal mantissa calculation.
21669 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21671         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21672         cpu2 is -1 and errno is not ENOSYS.
21674 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21676         [BZ #14117]
21677         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21678         * sysdeps/x86/bits/string.h: This.
21679         * sysdeps/x86_64/bits/string.h: Removed.
21681         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21682         if not compiling for x86-64, but compiling for >= i486.
21684         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21685         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21687         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21688         New macro from Linux kernel 3.4.0.
21689         (FP_XSTATE_MAGIC2): Likewise.
21690         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21691         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21692         (struct _fpx_sw_bytes): New struct.
21693         (struct _xsave_hdr): Likewise.
21694         (struct _ymmh_state): Likewise.
21695         (struct _xstate): Likewise.
21697         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21698         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21699         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21700         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21701         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21702         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21704         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21705         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21706         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21707         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21708         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21709         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21711 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21713         [BZ #13743]
21714         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21715         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21716         (sysdep_headers): Include sys/platform/ppc.h.
21717         * sysdeps/powerpc/test-gettimebase.c: Test for
21718         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21719         * manual/Makefile (appendices): Include platform.texi.
21720         * manual/contrib.texi (Contributors): Update @node pointers.
21721         * manual/maint.texi (Maintenance): Likewise.
21722         (Platform): New node.
21723         * manual/platform.texi: New file.  Document the new features.
21725 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21726             Jakub Jelinek  <jakub@redhat.com>
21728         [BZ #14188]
21729         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21730         where __builtin_expect is unavailable.
21732 2012-06-03  David S. Miller  <davem@davemloft.net>
21734         * stdlib/longlong.h: Updated from GCC.
21736 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21738         [BZ #14042]
21739         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21740         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21741         __mcount_internal.
21742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21743         (GLIBC_2.16): Likewise.
21745 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21747         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21749 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21752         (default-abi): New variable.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21754         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21755         variable.
21756         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21757         Likewise.
21758         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21759         Likewise.
21760         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21761         Likewise.
21763         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21764         definition.  Document in comment.
21766 2012-06-01  David S. Miller  <davem@davemloft.net>
21768         * stdlib/longlong.h: Updated from GCC.
21770 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21772         [BZ #14117]
21773         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21774         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21775         sys/debugreg.h sys/io.h here.
21776         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21777         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21778         sys/io.h.
21779         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21780         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21781         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21782         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21783         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21784         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21787         Define only if __x86_64__ is defined.
21789 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21791         [BZ #14048]
21792         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21793         Use int64_t for variable i.
21794         * math/libm-test.inc (fmod_test): Add more tests.
21796         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21797         z computation is not scheduled after fetestexcept.
21798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21799         Use math_force_eval instead of asm to ensure calculation scheduled
21800         before exception test.
21801         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21802         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21804 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21807         computation is not scheduled after fetestexcept.
21809 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21811         [BZ #14117]
21812         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21813         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21815 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21817         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21818         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21820 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21822         [BZ #14117]
21823         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21824         <bits/wordsize.h>.
21825         (__WCHAR_MIN): Support __WORDSIZE == 64.
21826         (__WCHAR_MAX): Likewise.
21828         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21829         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21831         [BZ #14183]
21832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21833         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21835         [BZ #14117]
21836         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21837         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21839         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21840         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21842         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21843         Defined to 1 if __x86_64__ isn't defined.
21844         (_STAT_VER_LINUX_OLD): New.
21845         (st_atime): Remove duplicate.
21846         (st_mtime): Likewise.
21847         (st_ctime): Likewise.
21849 2012-05-31  David S. Miller  <davem@davemloft.net>
21851         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21852         entries.
21854 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21856         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21857         gen-libm-test.pl.
21859         [BZ #14132]
21860         * elf/dl-reloc.c: Include <_itoa.h>.
21861         (_dl_reloc_bad_type): Remove use of INTUSE.
21862         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21863         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21864         * stdio-common/psiginfo.c (psiginfo): Likewise.
21865         * stdio-common/psignal.c (psignal): Likewise.
21866         * string/strsignal.c (strsignal): Likewise.
21867         * include/signal.h (_sys_siglist): Declare hidden proto.
21868         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21869         INTVARDEF with libc_hidden_data_def.
21870         * stdio-common/itoa-udigits.c: Likewise.
21871         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21872         (_itoa_lower_digits_internal): Remove declaration.
21873         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21874         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21875         (_sys_sigabbrev_internal): Remove aliases.
21876         (_sys_siglist): Define hidden alias.
21878 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21881         bits/sysctl.h.
21883 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21885         [BZ #14117]
21886         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21887         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21889         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21890         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21891         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21892         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21894         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21896         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21897         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21898         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21900         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21901         with __addr.
21902         (insw): Likewise.
21903         (insl): Likewise.
21904         (outsb): Likewise.
21905         (outsw): Likewise.
21906         (outsl): Likewise.
21908         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21909         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21910         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21912         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21914         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21915         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21916         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21917         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21919         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21920         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21922         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21923         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21925         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21926         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21929         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21930         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21931         to ...
21932         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21934         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21935         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21936         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21938         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21939         for x86-64.
21940         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21942 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21944         * math/math.h (M_El): Use two more decimal places.
21945         (M_LOG2El): Likewise.
21946         (M_LOG10El): Likewise.
21947         (M_LN2l): Likewise.
21948         (M_LN10l): Likewise.
21949         (M_PIl): Likewise.
21950         (M_PI_2l): Likewise.
21951         (M_PI_4l): Likewise.
21952         (M_1_PIl): Likewise.
21953         (M_2_PIl): Likewise.
21954         (M_2_SQRTPIl): Likewise.
21955         (M_SQRT2l): Likewise.
21956         (M_SQRT1_2l): Likewise.
21958 2012-05-31  David S. Miller  <davem@davemloft.net>
21960         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21961         values between float registers.
21962         * sysdeps/sparc/sparc64/memset.S: Likewise.
21963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21965 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21967         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21968         -D_FORTIFY_SOURCE=1.
21969         (CPPFLAGS-tst-longjmp_chk.c): Define.
21970         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21971         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21972         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21973         CFLAGS-tst-wchar-h.c.
21975 2012-05-31  Marek Polacek  <polacek@redhat.com>
21977         [BZ #14132]
21978         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21979         __endmntent_internal): Remove declaration.
21980         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21981         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21982         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21984 2012-05-30  David S. Miller  <davem@davemloft.net>
21986         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21987         (___Q_simulate_exceptions): Use real FP ops rather than writing
21988         into the %fsr.
21989         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21990         Likewise.
21992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21994         [BZ #14117]
21995         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21996         * sysdeps/x86/bits/xtitypes.h: This.
21998         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21999         * sysdeps/x86/bits/wordsize.h: This.
22001         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22002         * sysdeps/x86/bits/huge_vall.h: This.
22004         * sysdeps/i386/bits/select.h: Removed.
22005         * sysdeps/x86_64/bits/select.h: Renamed to ...
22006         * sysdeps/x86/bits/select.h: This.
22008         * sysdeps/i386/bits/setjmp.h: Removed.
22009         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22010         * sysdeps/x86/bits/setjmp.h: This.
22012         * sysdeps/i386/bits/mathdef.h: Removed.
22013         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22014         * sysdeps/x86/bits/mathdef.h: This.
22016 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22018         [BZ #14132]
22019         * include/sys/socket.h (__connect_internal)
22020         (__libc_sa_len_internal): Remove declaration.
22021         (__connect, __libc_sa_len): Declare hidden_proto.
22022         (SA_LEN): Remove use of INTUSE.
22023         * socket/connect.c: Add libc_hidden_def.
22024         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22025         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22026         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22027         alias.
22028         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22029         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22030         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22031         of adding _internal alias.
22033 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22035         [BZ #14117]
22036         * sysdeps/i386/bits/link.h: Removed.
22037         * sysdeps/i386/bits/linkmap.h: Likewise.
22038         * sysdeps/x86_64/bits/link.h: Renamed to ...
22039         * sysdeps/x86/bits/link.h: This.
22040         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22041         * sysdeps/x86/bits/linkmap.h: This.
22043         * sysdeps/i386/bits/endian.h: Removed.
22044         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22045         * sysdeps/x86/bits/endian.h: This.
22047         * sysdeps/i386/bits/byteswap.h: Removed.
22048         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22049         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22050         * sysdeps/x86/bits/byteswap.h: This.
22051         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22052         * sysdeps/x86/bits/byteswap-16.h: This.
22053         * sysdeps/i386/Implies: Add x86.
22054         * sysdeps/x86_64/Implies: Likewise.
22056 2012-05-30  David S. Miller  <davem@davemloft.net>
22058         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22059         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22060         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22061         (FP_TRAPPING_EXCEPTIONS): Define.
22062         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22063         (FP_TRAPPING_EXCEPTIONS): Define.
22064         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22065         subnormals only when inexact has been signalled or underflow
22066         exceptions are enabled.
22067         (_FP_PACK_CANONICAL): Likewise.
22069 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22071         [BZ #14183]
22072         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22073         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22075 2012-05-30  Richard Henderson  <rth@twiddle.net>
22077         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22078         with #ifndef NOT_IN_libc.
22080         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22081         marked to avoid plt entry.
22083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22085         [BZ #14112]
22086         * Makeconfig (default-abi): New macro.
22087         (abi-includes): Likewise.
22088         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22089         $(abi-$(default-abi)-lib-soname) for soname if defined.
22090         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22091         abi-variants.
22092         * Makefile (installed-stubs): Likewise.
22093         * include/stubs-biarch.h: Removed.
22094         * scripts/lib-names.awk: Only handle one library at a time.
22095         * scripts/soversions.awk: Remove WORDSIZE support.
22096         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22097         entries.
22098         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22099         Removed.
22100         (syscall-list-default-condition): Likewise.
22101         (syscall-list-default-condition): Likewise.
22102         (syscall-list-includes): Likewise.
22103         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22104         syscall-list-* with abi-*.  Handle undefined abi-variants.
22105         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22106         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22107         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22108         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22109         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22110         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22111         Removed.
22112         (syscall-list-32-options): Likewise.
22113         (syscall-list-32-condition): Likewise.
22114         (syscall-list-64-options): Likewise.
22115         (syscall-list-64-condition): Likewise.
22116         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22117         macro.
22118         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22119         Renamed to ...
22120         (abi-*): This.
22121         (abi-64-ld-soname): New macro.
22122         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22123         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22124         Renamed to ...
22125         (abi-*): This.
22126         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22127         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22129 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22131         * sysdeps/unix/sysv/linux/kernel-features.h
22132         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22133         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22134         include <kernel-features.h>.
22135         [!__NR_ftruncate64]: Remove conditional code.
22136         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22137         [__NR_ftruncate64]: Make code unconditional.
22138         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22139         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22140         include <kernel-features.h>.
22141         [!__NR_ftruncate64]: Remove conditional code.
22142         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22143         [__NR_ftruncate64]: Make code unconditional.
22144         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22146         include <kernel-features.h>.
22147         [!__NR_ftruncate64]: Remove conditional code.
22148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22149         [__NR_ftruncate64]: Make code unconditional.
22150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22152         include <kernel-features.h>.
22153         [!__NR_ftruncate64]: Remove conditional code.
22154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22155         [__NR_ftruncate64]: Make code unconditional.
22156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22158         * configure.in (libc_cv_fpie): Weaken to a compile test using
22159         LIBC_TRY_CC_OPTION.
22160         * configure: Regenerated.
22162 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22168         Refreshed.
22169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22175         Refreshed.
22177 2012-05-27  David S. Miller  <davem@davemloft.net>
22179         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22180         (___Q_zero): New.
22181         (__Q_simulate_exceptions): Return void.  Change to simulate
22182         exceptions by writing into the %fsr.
22183         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22184         (__Qp_handle_exceptions): Likewise.
22185         (numbers): Delete.
22186         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22187         __Qp_handle_exceptions.
22188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22189         __Qp_handle_exceptions.
22190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22191         as unused and give dummy FP_RND_NEAREST initializer.
22192         (FP_INHIBIT_RESULTS): Define.
22193         (___Q_simulate_exceptions): Update declaration.
22194         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22195         formatting.
22196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22197         as unused and give dummy FP_RND_NEAREST initializer.
22198         (__Qp_handle_exceptions): Update declaration.
22199         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22200         formatting.
22202 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22204         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22205         the temporary FPU control word.
22206         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22207         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22208         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22209         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22210         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22211         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22212         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22213         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22214         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22215         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22216         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22218 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22220         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22221         fields.
22223 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22225         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22226         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22227         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22228         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22229         Likewise.
22230         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22231         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22232         Likewise.
22234 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22236         * po/h.po: Update from translation team.
22238 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22240         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22242         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22243         handling of denormals.
22244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22245         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22246         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22247         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22251         Likewise.
22253 2012-05-26  Marek Polacek  <polacek@redhat.com>
22255         [BZ #14152]
22256         * math/libm-test.inc (fma_test): Don't always expect underflow
22257         exception.
22259 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261         [BZ #12416]
22262         * elf/tst-execstack.c: Include stackinfo.h.
22263         (do_test): Adjust test case to ensure that pthread_getattr_np
22264         behaviour remains the same after marking stack executable.
22266 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22268         * sysdeps/unix/sysv/linux/kernel-features.h
22269         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22270         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22271         kernel-features.h.
22272         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22273         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22274         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22275         kernel-features.h.
22276         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22277         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22279 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22281         * configure.in: Define the default includes to being none.
22282         * configure: Regenerated.
22284 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22286         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22287         * sysdeps/x86_64/setjmp.S: Likewise.
22288         * sysdeps/i386/bsd-setjmp.S: Likewise.
22289         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22290         * sysdeps/i386/setjmp.S: Likewise.
22291         * sysdeps/i386/__longjmp.S: Likewise.
22292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22293         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22295         * include/stap-probe.h: New file.
22296         * configure.in: Handle --enable-systemtap.
22297         * configure: Regenerated.
22298         * config.h.in (USE_STAP_PROBE): New #undef.
22299         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22300         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22301         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22303 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #13717]
22306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22307         to 2.4.0 where earlier.
22308         * sysdeps/unix/sysv/linux/configure: Regenerated.
22309         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22310         <kernel-features.h>.
22311         [__ASSUME_32BITUIDS]: Make code unconditional.
22312         [!__ASSUME_32BITUIDS]: Remove conditional code.
22313         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
22318         [__ASSUME_32BITUIDS]: Make code unconditional.
22319         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22320         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22321         <kernel-features.h>.
22322         [__ASSUME_32BITUIDS]: Make code unconditional.
22323         [!__ASSUME_32BITUIDS]: Remove conditional code.
22324         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22325         <kernel-features.h>.
22326         [__ASSUME_32BITUIDS]: Make code unconditional.
22327         [!__ASSUME_32BITUIDS]: Remove conditional code.
22328         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22329         <kernel-features.h>.
22330         [__ASSUME_32BITUIDS]: Make code unconditional.
22331         [!__ASSUME_32BITUIDS]: Remove conditional code.
22332         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22333         <kernel-features.h>.
22334         [__ASSUME_32BITUIDS]: Make code unconditional.
22335         [!__ASSUME_32BITUIDS]: Remove conditional code.
22336         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22337         <kernel-features.h>.
22338         [__ASSUME_32BITUIDS]: Make code unconditional.
22339         [!__ASSUME_32BITUIDS]: Remove conditional code.
22340         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22341         <kernel-features.h>.
22342         [__ASSUME_32BITUIDS]: Make code unconditional.
22343         [!__ASSUME_32BITUIDS]: Remove conditional code.
22344         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22345         <kernel-features.h>.
22346         [__ASSUME_32BITUIDS]: Make code unconditional.
22347         [!__ASSUME_32BITUIDS]: Remove conditional code.
22348         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22349         <kernel-features.h>.
22350         [__ASSUME_32BITUIDS]: Make code unconditional.
22351         [!__ASSUME_32BITUIDS]: Remove conditional code.
22352         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22353         <kernel-features.h>.
22354         [__ASSUME_32BITUIDS]: Make code unconditional.
22355         [!__ASSUME_32BITUIDS]: Remove conditional code.
22356         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22357         <kernel-features.h>.
22358         [__ASSUME_32BITUIDS]: Make code unconditional.
22359         [!__ASSUME_32BITUIDS]: Remove conditional code.
22360         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22361         <kernel-features.h>.
22362         [__NR_setresgid] (__setresgid): Do not declare.
22363         [__ASSUME_32BITUIDS]: Make code unconditional.
22364         [!__ASSUME_32BITUIDS]: Remove conditional code.
22365         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22366         <kernel-features.h>.
22367         [__NR_setresuid] (__setresuid): Do not declare.
22368         [__ASSUME_32BITUIDS]: Make code unconditional.
22369         [!__ASSUME_32BITUIDS]: Remove conditional code.
22370         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22371         <kernel-features.h>.
22372         [__ASSUME_32BITUIDS]: Make code unconditional.
22373         [!__ASSUME_32BITUIDS]: Remove conditional code.
22374         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22375         <kernel-features.h>.
22376         [__ASSUME_32BITUIDS]: Make code unconditional.
22377         [!__ASSUME_32BITUIDS]: Remove conditional code.
22378         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22379         <kernel-features.h>.
22380         [__ASSUME_32BITUIDS]: Make code unconditional.
22381         [!__ASSUME_32BITUIDS]: Remove conditional code.
22382         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22383         <kernel-features.h>.
22384         [__ASSUME_32BITUIDS]: Make code unconditional.
22385         [!__ASSUME_32BITUIDS]: Remove conditional code.
22386         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22387         <kernel-features.h>.
22388         [__ASSUME_32BITUIDS]: Make code unconditional.
22389         [!__ASSUME_32BITUIDS]: Remove conditional code.
22390         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22391         <kernel-features.h>.
22392         [__ASSUME_32BITUIDS]: Make code unconditional.
22393         [!__ASSUME_32BITUIDS]: Remove conditional code.
22394         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22395         <kernel-features.h>.
22396         [__ASSUME_32BITUIDS]: Make code unconditional.
22397         [!__ASSUME_32BITUIDS]: Remove conditional code.
22398         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22399         <kernel-features.h>.
22400         [__ASSUME_32BITUIDS]: Make code unconditional.
22401         [!__ASSUME_32BITUIDS]: Remove conditional code.
22402         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22403         <kernel-features.h>.
22404         [__ASSUME_32BITUIDS]: Make code unconditional.
22405         [!__ASSUME_32BITUIDS]: Remove conditional code.
22406         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22407         <kernel-features.h>.
22408         [__ASSUME_32BITUIDS]: Make code unconditional.
22409         [!__ASSUME_32BITUIDS]: Remove conditional code.
22410         * sysdeps/unix/sysv/linux/kernel-features.h
22411         (__ASSUME_SETRESUID_SYSCALL): Remove.
22412         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22413         (__ASSUME_32BITUIDS): Likewise.
22414         (__ASSUME_LDT_WORKS): Likewise.
22415         (__ASSUME_O_DIRECTORY): Likewise.
22416         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22417         architecture but not kernel version.
22418         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22419         (__ASSUME_MMAP2_SYSCALL): Likewise.
22420         (__ASSUME_STAT64_SYSCALL): Likewise.
22421         (__ASSUME_IPC64): Likewise.
22422         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22423         <kernel-features.h>.
22424         [__ASSUME_32BITUIDS]: Make code unconditional.
22425         [!__ASSUME_32BITUIDS]: Remove conditional code.
22426         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22427         <kernel-features.h>.
22428         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22429         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22430         132096]: Remove conditional code.
22431         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22432         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22433         <kernel-features.h>.
22434         [__ASSUME_32BITUIDS]: Make code unconditional.
22435         [!__ASSUME_32BITUIDS]: Remove conditional code.
22436         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22437         <kernel-features.h>.
22438         [__ASSUME_32BITUIDS]: Make code unconditional.
22439         [!__ASSUME_32BITUIDS]: Remove conditional code.
22440         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22441         <kernel-features.h>.
22442         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22443         unconditional.
22444         (__setresgid): Do not declare.
22445         [__ASSUME_32BITUIDS]: Make code unconditional.
22446         [!__ASSUME_32BITUIDS]: Remove conditional code.
22447         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22448         <kernel-features.h>.
22449         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22450         unconditional.
22451         (__setresuid): Do not declare.
22452         [__ASSUME_32BITUIDS]: Make code unconditional.
22453         [!__ASSUME_32BITUIDS]: Remove conditional code.
22454         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22455         <kernel-features.h>.
22456         [__ASSUME_32BITUIDS]: Make code unconditional.
22457         [!__ASSUME_32BITUIDS]: Remove conditional code.
22458         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22459         <kernel-features.h>.
22460         [__ASSUME_32BITUIDS]: Make code unconditional.
22461         [!__ASSUME_32BITUIDS]: Remove conditional code.
22463 2012-05-25  Richard Henderson  <rth@twiddle.net>
22465         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22466         dl_hwcap to ifunc resolver.
22467         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22468         elf_ifunc_invoke.
22469         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22470         dl_hwcap to ifunc resolver.
22471         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22473 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22475         [BZ #14153]
22476         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22477         for |x| <= 2**-26, not 2**-57.
22478         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22479         exception.
22481 2012-05-24  Jeff Law  <law@redhat.com>
22483         * stdio-common/Makefile (tests): Add bug25.
22484         * stdio-common/bug25.c: New test.
22486 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22488         [BZ #13576]
22489         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22490         multiple of MALLOC_ALIGNMENT in size.
22491         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22493 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22495         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22496         Require >= 256.
22497         (FILENAME_MAX): Use macro-int-constant.
22498         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22499         (_IOFBF): Use macro-int-constant.
22500         (_IOLBF): Likewise.
22501         (_IONBF): Likewise.
22502         (SEEK_CUR): Likewise.
22503         (SEEK_END): Likewise.
22504         (SEEK_SET): Likewise.
22505         (TMP_MAX): Likewise.
22506         (EOF): Use macro-int-constant.  Require < 0.
22507         (NULL): Use macro-constant.  Require == 0.
22508         (stdin): Require type to be FILE *.
22509         (stdout): Likewise.
22510         (stderr): Likewise.
22511         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22512         macro-int-constant.
22513         (EXIT_SUCCESS): Likewise.
22514         (NULL): Use macro-constant.  Require == 0.
22515         (RAND_MAX): Use macro-int-constant.
22516         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22517         [C99-based standards] (strtof): Require function.
22518         [C99-based standards] (strtold): Likewise.
22519         [C99-based standards] (strtoll): Likewise.
22520         [C99-based standards] (strtoull): Likewise.
22521         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22522         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22523         [ISO || ISO99 || ISO11] (math.h): Likewise.
22524         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22525         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22526         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22528 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22530         [BZ #14132]
22531         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22532         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22533         * intl/dgettext.c (DCGETTEXT): Likewise.
22534         * intl/gettext.c (DCGETTEXT): Likewise.
22535         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22536         * posix/regex_internal.h (gettext): Likewise.
22537         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22538         Remove declaration.
22539         * include/argz.h (__argz_count_internal)
22540         (__argz_stringify_internal): Remove declaration.
22541         (__argz_count, __argz_stringify): Declare hidden proto.
22542         * intl/dcgettext.c: Remove use of INTDEF.
22543         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22544         * string/argz-stringify.c: Likewise.
22545         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22546         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22547         Declare hidden proto.
22548         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22549         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22550         Declare hidden proto.
22551         * include/stdio.h (__asprintf_internal): Don't declare.
22552         (__asprintf): Don't define as macro.  Declare hidden proto.
22553         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22554         (__fsetlocking): Declare hidden proto.
22555         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22556         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22557         hidden proto.
22558         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22559         (_IO_setlinebuf): Remove use of INTUSE.
22560         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22561         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22562         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22563         Remove declaration.
22564         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22565         (_IO_do_flush): Remove use of INTUSE.
22566         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22567         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22568         (_IO_adjust_column, _IO_least_wmarker)
22569         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22570         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22571         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22572         (_IO_default_doallocate, _IO_wdefault_doallocate)
22573         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22574         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22575         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22576         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22577         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22578         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22579         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22580         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22581         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22582         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22583         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22584         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22585         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22586         proto.
22587         (_IO_flush_all_internal, _IO_adjust_column_internal)
22588         (_IO_default_uflow_internal, _IO_default_finish_internal)
22589         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22590         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22591         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22592         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22593         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22594         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22595         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22596         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22597         (_IO_file_close_internal, _IO_file_close_it_internal)
22598         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22599         (_IO_file_init_internal, _IO_file_attach_internal)
22600         (_IO_file_fopen_internal, _IO_file_read_internal)
22601         (_IO_file_sync_internal, _IO_file_seek_internal)
22602         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22603         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22604         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22605         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22606         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22607         (_IO_list_all_internal, _IO_link_in_internal)
22608         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22609         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22610         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22611         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22612         (_IO_do_write_internal, _IO_padn_internal)
22613         (_IO_getline_info_internal, _IO_getline_internal)
22614         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22615         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22616         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22617         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22618         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22619         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22620         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22621         with libc_hidden_ver, remove use of INTUSE.
22622         * libio/genops.c: Likewise.
22623         * libio/freopen.c: Likewise.
22624         * libio/freopen64.c: Likewise.
22625         * libio/iofclose.c: Likewise.
22626         * libio/iofdopen.c: Likewise.
22627         * libio/iofflush.c: Likewise.
22628         * libio/iofflush_u.c: Likewise.
22629         * libio/iofgets.c: Likewise.
22630         * libio/iofgets_u.c: Likewise.
22631         * libio/iofopen.c: Likewise.
22632         * libio/iofopncook.c: Likewise.
22633         * libio/iofread.c: Likewise.
22634         * libio/iofread_u.c: Likewise.
22635         * libio/ioftell.c: Likewise.
22636         * libio/iofwrite.c: Likewise.
22637         * libio/iogetline.c: Likewise.
22638         * libio/iogets.c: Likewise.
22639         * libio/iogetwline.c: Likewise.
22640         * libio/iopadn.c: Likewise.
22641         * libio/iopopen.c: Likewise.
22642         * libio/ioseekoff.c: Likewise.
22643         * libio/ioseekpos.c: Likewise.
22644         * libio/iosetbuffer.c: Likewise.
22645         * libio/iosetvbuf.c: Likewise.
22646         * libio/ioungetc.c: Likewise.
22647         * libio/ioungetwc.c: Likewise.
22648         * libio/iovdprintf.c: Likewise.
22649         * libio/iovsprintf.c: Likewise.
22650         * libio/iovsscanf.c: Likewise.
22651         * libio/memstream.c: Likewise.
22652         * libio/obprintf.c: Likewise.
22653         * libio/oldfileops.c: Likewise.
22654         * libio/oldiofclose.c: Likewise.
22655         * libio/oldiofdopen.c: Likewise.
22656         * libio/oldiofopen.c: Likewise.
22657         * libio/oldiopopen.c: Likewise.
22658         * libio/oldstdfiles.c: Likewise.
22659         * libio/putc.c: Likewise.
22660         * libio/setbuf.c: Likewise.
22661         * libio/setlinebuf.c: Likewise.
22662         * libio/stdfiles.c: Likewise.
22663         * libio/strops.c: Likewise.
22664         * libio/vasprintf.c: Likewise.
22665         * libio/vscanf.c: Likewise.
22666         * libio/vsnprintf.c: Likewise.
22667         * libio/vswprintf.c: Likewise.
22668         * libio/wfiledoalloc.c: Likewise.
22669         * libio/wfileops.c: Likewise.
22670         * libio/wgenops.c: Likewise.
22671         * libio/wmemstream.c: Likewise.
22672         * libio/wstrops.c: Likewise.
22673         * libio/__fpurge.c: Likewise.
22674         * libio/__fsetlocking.c: Likewise.
22675         * assert/assert.c: Likewise.
22676         * debug/fgets_chk.c: Likewise.
22677         * debug/fgets_u_chk.c: Likewise.
22678         * debug/fread_chk.c: Likewise.
22679         * debug/fread_u_chk.c: Likewise.
22680         * debug/gets_chk.c: Likewise.
22681         * debug/obprintf_chk.c: Likewise.
22682         * debug/vasprintf_chk.c: Likewise.
22683         * debug/vdprintf_chk.c: Likewise.
22684         * debug/vsnprintf_chk.c: Likewise.
22685         * debug/vsprintf_chk.c: Likewise.
22686         * malloc/mtrace.c: Likewise.
22687         * misc/error.c: Likewise.
22688         * misc/syslog.c: Likewise.
22689         * stdio-common/asprintf.c: Likewise.
22690         * stdio-common/fxprintf.c: Likewise.
22691         * stdio-common/getw.c: Likewise.
22692         * stdio-common/isoc99_fscanf.c: Likewise.
22693         * stdio-common/isoc99_scanf.c: Likewise.
22694         * stdio-common/isoc99_vfscanf.c: Likewise.
22695         * stdio-common/isoc99_vscanf.c: Likewise.
22696         * stdio-common/isoc99_vsscanf.c: Likewise.
22697         * stdio-common/printf-prs.c: Likewise.
22698         * stdio-common/printf_fp.c: Likewise.
22699         * stdio-common/printf_fphex.c: Likewise.
22700         * stdio-common/printf_size.c: Likewise.
22701         * stdio-common/putw.c: Likewise.
22702         * stdio-common/scanf.c: Likewise.
22703         * stdio-common/sprintf.c: Likewise.
22704         * stdio-common/tmpfile.c: Likewise.
22705         * stdio-common/vfprintf.c: Likewise.
22706         * stdio-common/vfscanf.c: Likewise.
22707         * stdlib/strfmon_l.c: Likewise.
22708         * sunrpc/openchild.c: Likewise.
22709         * sunrpc/xdr_stdio.c: Likewise.
22710         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22711         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22713 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22715         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22717         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22718         in the third column, to generate for the shared library an IFUNC
22719         that uses _dl_vdso_vsym.
22720         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22721         * Makeconfig (object-suffixes-noshared): New variable.
22723         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22724         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22725         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22726         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22728         [BZ #14132]
22729         * include/sys/time.h (__gettimeofday): Remove macro.
22730         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22731         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22732         Remove INTDEF.
22733         (__gettimeofday): Add libc_hidden_def.
22734         (gettimeofday): Add libc_hidden_weak.
22735         * sysdeps/mach/gettimeofday.c: Likewise.
22736         * sysdeps/posix/gettimeofday.c: Likewise.
22737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22738         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22739         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22740         (__gettimeofday_internal): Remove strong_alias.
22741         (__gettimeofday): Add libc_hidden_def.
22742         (gettimeofday): Add libc_hidden_weak.
22743         * sysdeps/unix/syscalls.list (gettimeofday):
22744         Remove __gettimeofday_internal alias.
22746 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22747             H.J. Lu  <hongjiu.lu@intel.com>
22749         [BZ #12495]
22750         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22751         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22752         (largebin_index_32_big): New.
22753         (largebin_index): Use it for 16-byte alignment.
22754         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22755         correction with front_misalign.
22757 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22761         Likewise.
22762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22763         Likewise.
22764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22765         Likewise.
22766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22767         Likewise.
22768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22769         Likewise.
22770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22771         Likewise.
22772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22773         Likewise.
22774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22775         Likewise.
22776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22777         Likewise.
22778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22779         Likewise.
22780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22781         Likewise.
22782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22783         Likewise.
22785         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22786         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22788 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22790         [BZ #10846]
22791         [BZ #14036]
22792         * math/libm-test.inc (exp_test): Add test from bug 14036.
22793         (pow_test): Add test from bug 10846.
22795         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22796         and other flags.
22797         (special_function): Do not include flags in test name.
22798         (parse_args): Likewise.
22799         * sysdeps/i386/fpu/libm-test-ulps: Update.
22800         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22801         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22802         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22805         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22806         exceptions.
22807         * math/libm-test.inc ("Philosophy"): Update comment about
22808         exception testing.
22809         (UNDERFLOW_EXCEPTION): New macro.
22810         (UNDERFLOW_EXCEPTION_OK): Likewise.
22811         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22812         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22813         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22814         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22815         (INVALID_EXCEPTION_OK): Update value.
22816         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22817         (OVERFLOW_EXCEPTION_OK): Likewise.
22818         (IGNORE_ZERO_INF_SIGN): Likewise.
22819         (test_exceptions): Handle underflow exceptions.
22820         (acos_test): Update for underflow exception expectations.
22821         (cexp_test): Likewise.
22822         (clog_test): Likewise.
22823         (clog10_test): Likewise.
22824         (csqrt_test): Likewise.
22825         (ctan_test): Likewise.
22826         (ctanh_test): Likewise.
22827         (exp_test): Likewise.
22828         (exp10_test): Likewise.
22829         (exp2_test): Likewise.
22830         (expm1_test): Likewise.
22831         (fma_test): Likewise.
22832         (j0_test): Likewise.
22833         (jn_test): Likewise.
22834         (nexttoward_test): Likewise.
22835         (pow_test): Likewise.
22836         (scalbn_test): Likewise.
22837         (scalbln_test): Likewise.
22838         (tan_test): Likewise.
22839         (y1_test): Likewise.
22840         * sysdeps/i386/fpu/libm-test-ulps: Update.
22841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843 2012-05-23  David S. Miller  <davem@davemloft.net>
22845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22846         (__libc_sigaction): Remove unused local variables.
22848 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22850         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22852 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22854         mktime: avoid signed integer overflow
22855         * time/mktime.c (__mktime_internal): Do not mishandle the case
22856         where diff == INT_MIN.
22858         mktime: simplify computation of average
22859         * time/mktime.c (ranged_convert): Use new time_t_avg function
22860         instead of rolling our own (probably-slower) code.
22862         mktime: do not assume signed right shift propagates sign bit
22863         * time/mktime.c (isdst_differ): New static function.
22864         (__mktime_internal): No need to normalize tm_isdst now.
22865         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22866         tm_isdst values.
22868         mktime: merge another wrapv change from gnulib
22869         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22870         from some compilers.
22872         mktime: remove incorrect attempt at unusual arithmetics
22873         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22874         The code didn't really work on such machines anyway.
22875         (TYPE_MINIMUM): Assume two's complement.
22876         (twos_complement_arithmetic): Verify that long_int and time_t
22877         are two's complement (or unsigned, in the latter case).
22879         mktime: check signed shifts on long_int and time_t, too
22880         * time/mktime.c (SHR): Check that shifts work as desired
22881         on the types long_int and time_t too, as SHR is used on
22882         such types.
22884         mktime: do not assume 'long' is wide enough
22885         * time/mktime.c (verify): Move decl up.
22886         (long_int): New type.
22887         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22888         to remove assumption in the code that 'long' is wide enough to
22889         store year values.  This assumption is not true on x32 and on
22890         some non-glibc platforms.
22892         mktime: merge wrapv change from gnulib
22893         * time/mktime.c (WRAPV): New macro.
22894         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22895         (guess_time_tm, __mktime_internal): Do not assume that signed
22896         integer overflow wraps around; modern compilers generate code
22897         where this assumption is no longer valid.
22899 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22901         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22902         Replace "jmp L(pseudo_end)" with "ret".
22903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22904         Likewise.
22906 2012-05-23  Andreas Jaeger  <aj@suse.de>
22908         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22909         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22911 2012-05-23  Andreas Jaeger  <aj@suse.de>
22912             Maximilian Attems  <max@stro.at>
22914         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22915         New macros.
22917 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22919         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22920         code so that pseudo_end is just ret and the stack pointer is
22921         correct also for static library in error case.
22923 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22925         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22926         move to syscalls.list.
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22932         * manual/install.texi (Running make install): Do not mention Linux
22933         kernel version for which pt_chown is not needed.
22934         (Linux): Do not mention problems with nscd with 2.0 kernels.
22935         * INSTALL: Regenerated.
22937 2012-05-23  Andreas Jaeger  <aj@suse.de>
22939         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22940         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22941         macro.
22942         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22943         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22944         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22945         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22946         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22947         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22948         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22949         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22952         * sysdeps/unix/sysv/linux/bits/in.h
22953         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22955 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22957         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22958         (PREPARE_VERSION): Just use assert instead, it will be elided
22959         under [NDEBUG] anyway.
22961 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22963         * sysdeps/unix/sysv/linux/Makefile: Include
22964         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22965         (sysdep_routines): Remove sysctl.
22966         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22967         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22968         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22969         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22970         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22972 2012-05-22  Andreas Jaeger  <aj@suse.de>
22974         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22975         that pseudo_end is just ret and the stack pointer is correct also
22976         for static library in error case.
22978 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22980         [BZ #14122]
22981         * nss/nsswitch.c (defconfig_entries): New variable.
22982         (__nss_database_lookup): Don't leak defconfig entries.
22983         (nss_parse_service_list): Don't leak on error paths.
22984         (free_database_entries): New function.
22985         (free_defconfig): New function.
22986         (free_mem): Move common code to free_database_entries.
22988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22990         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22991         Add arch_prctl.
22992         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22994         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22995         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22997         New macro.
22998         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22999         (INTERNAL_SYSCALL_TYPES): Likewise.
23000         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23001         (LOAD_REGS_TYPES_[1-6]): Likewise.
23002         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23003         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23005 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23007         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23008         copysignl for GLIBC_2_0.
23009         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23010         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23011         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23012         logbl for GLIBC_2_0.
23013         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23014         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23016 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23018         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23019         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23021         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23022         Use "neg %eax".
23024         * time/mktime.c: Update copyright years.
23026 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23028         mktime: merge comment-quoting-style change from gnulib
23029         * time/mktime.c: Quote 'like this' in comments.
23030         The GNU coding standards suggest that we no longer quote `like this',
23031         as "`" and "'" are typically rendered asymmetrically nowadays.
23032         The typical gnulib style is to quote 'like this' when quoting
23033         code, and "like this" when quoting English.
23035         * time/mktime.c (compile-command): Add "-I.".
23037         mktime: merge mktime-internal.h change from gnulib
23038         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23040         mktime: merge time_r change from gnulib
23041         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23043         mktime: merge DEBUG change from gnulib
23044         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23045         case system <time.h> has a #define.
23047         mktime: merge <sys/types.h> change from gnulib
23048         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23049         since <time.t> is now guaranteed to define time_t.
23051         mktime: merge HAVE_CONFIG_H change from gnulib
23052         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23054 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23057         Use "neg %eax".
23059         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23060         __rlim_t cast.
23061         (struct rusage): Use anonymous union to pad each field to
23062         __syscall_slong_t.
23064 2012-05-21  David S. Miller  <davem@davemloft.net>
23066         * Makefules (o-iterator): Remove .s cases.
23067         (compile-command.s): Delete.
23068         (COMPILE.s): Delete.
23069         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23071 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23073         * configure.in (libc_cv_predef_stack_protector): Only consider
23074         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23075         * configure: Regenerated.
23077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23080         New macro.  Use R*LP on int and pointer.
23081         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23082         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23083         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23084         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23086         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23087         [__WORDSIZE_TIME64_COMPAT32] instead of
23088         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23089         (struct utmp): Likewise.
23090         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23091         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23092         Renamed to ...
23093         (__WORDSIZE_TIME64_COMPAT32): This.
23094         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23095         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23096         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23097         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23098         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23099         (__WORDSIZE_TIME64_COMPAT32): New macro.
23101 2012-05-21  Andreas Jaeger  <aj@suse.de>
23103         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23104         only if [SHARED]. Add prototype for __wcschr_ia32.
23106 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23108         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23109         of %rbp unmolested in the jmp_buf while mangling the low bits.
23110         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23111         unmolested high bits of %rbp while demangling the low bits.
23112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23114 2012-05-21  Andreas Jaeger  <aj@suse.de>
23116         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23117         * sunrpc/svc_simple.c: Use it for registerrpc.
23118         * sunrpc/xcrypt.c: Use it for passwd2des.
23120         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23122 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23124         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23125         Don't define if [__SYSCALL_WORDSIZE != 32].
23126         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23127         New macro.
23129 2012-05-21  Bruno Haible  <bruno@clisp.org>
23130             Andreas Jaeger  <aj@suse.de>
23132         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23133         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23134         inptr and inend for must_buffer_ch.
23135         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23136         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23137         * stdio-common/Makefile (tests): Remove bug15.
23138         (bug15-ENV): Remove macro.
23139         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23140         anymore.
23142 2012-05-19  Andreas Jaeger  <aj@suse.de>
23143             Roland McGrath  <roland@hack.frob.com>
23145         * manual/contrib.texi: Completely rewritten. It contains now an
23146         alphabetical list of contributors and their contributions.
23148 2012-05-21  Richard Henderson  <rth@twiddle.net>
23150         * misc/getauxval.c (__getauxval): Use unsigned long int.
23151         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23152         (getauxval): Use unsigned long int.
23154 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23158 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23160         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23161         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23162         __alignof__ (long double).
23164 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23168 2012-05-20  Richard Henderson  <rth@twiddle.net>
23170         * misc/getauxval.c: New file.
23171         * misc/sys/auxv.h: New file.
23172         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23173         (routines): Add getauxval.
23174         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23175         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23176         * elf/dl-sysdep.c (_dl_auxv): Remove.
23177         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23178         * elf/dl-support.c (_dl_auxv): New variable.
23179         (_dl_aux_init): Initialize it.
23180         * manual/startup.texi (Auxiliary Vector): New node.
23181         * sysdeps/generic/bits/hwcap.h: New file.
23182         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23183         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23184         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23185         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23186         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23187         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23189         Update.
23190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23199 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23203 2012-05-19  David S. Miller  <davem@davemloft.net>
23205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23207 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #14123]
23210         * math/s_ccosh.c: Include <float.h>
23211         (__ccosh): Avoid internal overflow calculating sinh and cosh
23212         values before multiplying by sin and cos values.
23213         * math/s_ccoshf.c: Likewise.
23214         * math/s_ccoshl.c: Likewise.
23215         * math/s_csin.c: Likewise.
23216         * math/s_csinf.c: Likewise.
23217         * math/s_csinl.c: Likewise.
23218         * math/s_csinh.c: Likewise.
23219         * math/s_csinhf.c: Likewise.
23220         * math/s_csinhl.c: Likewise.
23221         * math/libm-test.inc (ccos_test): Add more tests.
23222         (ccosh_test): Likewise.
23223         (csin_test): Likewise.
23224         (csinh_test): Likewise.
23225         * sysdeps/i386/fpu/libm-test-ulps: Update.
23226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23228 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23230         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23231         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23233         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23235 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23237         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23238         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23239         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23240         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23241         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23242         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23243         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23244         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23245         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23246         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23247         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23248         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23249         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23250         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23251         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23252         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23253         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23254         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23255         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23256         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23257         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23258         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23259         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23260         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23261         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23262         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23263         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23264         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23265         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23266         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23267         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23269 2012-05-18  Andreas Jaeger  <aj@suse.de>
23271         * csu/.gitignore: Delete.
23273 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23275         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23276         (timex): Use __syscall_slong_t.
23278 2012-05-18  Andreas Jaeger  <aj@suse.de>
23279             Carlos O'Donell  <carlos_odonell@mentor.com>
23281         * manual/install.texi (Configuring and compiling): Update
23282         description about files modified in the source directory.
23283         * INSTALL: Regenerated.
23285 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23287         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23288         value.  Use "or" to set return value to -1.
23289         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23290         negate return value.
23292 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23294         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23295         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23296         failure if the compiler has Graphite support disabled.
23297         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23298         Likewise.
23299         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23300         CFLAGS-memmove.c): Likewise.
23301         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23302         Likewise.
23304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23306         * sysdeps/x86_64/x32/_itoa.h: New file.
23308         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23309         getdents system call only if kernel and user dirents have the
23310         same d_ino and d_off.
23312         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23313         LLONG_MAX != LONG_MAX.
23314         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23315         (_fitoa_word): Likewise.
23317         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23318         years.
23319         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23320         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23321         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23323         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23324         include <bits/wordsize.h>.  Check __x86_64__ instead of
23325         __WORDSIZE.
23326         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23327         if __x86_64__ is defined.  Use anonymous union on fpstate.
23329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23330         anonymous union.
23332 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23334         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23335         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23336         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23337         Refer to _rtld_local_ro instead of _rtld_global_ro.
23338         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23339         Likewise.
23340         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23341         Likewise.
23342         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23343         Likewise.
23344         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23345         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23346         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23348         * sysdeps/powerpc/powerpc32/dl-machine.c
23349         (__elf_machine_runtime_setup) [PROF]: Don't reference
23350         _dl_prof_resolve.
23352 2012-05-18  Andreas Jaeger  <aj@suse.de>
23354         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23355         function only available for GCCs before 3.4 since GCC 3.4
23356         introduced a builtin.
23357         (lrint): Likewise.
23358         (llrintf): Likewise.
23359         (llrint): Likewise.
23360         (fmaxf): Likewise.
23361         (fmax): Likewise.
23362         (fminf): Likewise.
23363         (fmin): Likewise.
23364         (rint): Likewise.
23365         (rintf): Likewise.
23366         (nearbyint): Likewise.
23367         (nearbyintf): Likewise.
23368         (ceil): Likewise.
23369         (ceilf): Likewise.
23370         (floor): Likewise.
23371         (floorf): Likewise.
23373 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23375         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23376         on both fields and cast pointer to __syscall_ulong_t.
23378         * bits/types.h (__fsword_t): New type.
23379         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23380         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23382         (__FSWORD_T_TYPE): Likewise.
23383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23384         (__FSWORD_T_TYPE): Likewise.
23385         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23386         (__FSWORD_T_TYPE): Likewise.
23387         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23388         (__FSWORD_T_TYPE): Likewise.
23389         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23390         __SWORD_TYPE with __fsword_t.
23391         (statfs64): Likewise.
23393 2012-05-17  David S. Miller  <davem@davemloft.net>
23395         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23397 2012-05-17  Andreas Jaeger  <aj@suse.de>
23399         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23400         warning.
23402 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23404         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23406 2012-05-17  Andreas Jaeger  <aj@suse.de>
23408         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23409         when it is used.
23411 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23413         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23415 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23417         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23418         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23420 2012-05-17  Andreas Jaeger  <aj@suse.de>
23421             Carlos O'Donell  <carlos_odonell@mentor.com>
23423         [BZ #14059]
23424         * sysdeps/x86_64/multiarch/init-arch.h
23425         (bit_YMM_Usable): Rename to...
23426         (bit_AVX_Usable): ... this.
23427         (bit_FMA4_Usable): New macro.
23428         (bit_XMM_state): New macro.
23429         (bit_YMM_state): New macro.
23430         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23431         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23432         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23433         (CPUID_OSXSAVE): New macro.
23434         (CPUID_AVX): New macro.
23435         (CPUID_FMA4): New macro.
23436         (index_YMM_Usable): Rename to...
23437         (index_AVX_Usable): ... this.
23438         (HAS_AVX): Use HAS_ARCH_FEATURE.
23439         (HAS_FMA4): Likewise.
23440         (HAS_YMM_USABLE): Remove.
23441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23442         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23443         are present.
23444         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23445         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23446         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23447         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23448         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23450 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23452         * math/libm-test.c: Support platforms without multiple rounding modes.
23453         * math/bug-nextafter.c: Support platforms without FP exceptions.
23454         * math/bug-nexttoward.c: Likewise.
23455         * math/test-fenv.c: Likewise.
23456         * math/test-misc.c: Likewise.
23457         * stdlib/bug-getcontext.c: Likewise.
23459 2012-05-17  Andreas Jaeger  <aj@suse.de>
23461         * manual/examples/search.c (critter_cmp): Change signature to
23462         avoid warnings.
23463         * manual/string.texi (Collation Functions): Likewise.
23465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23467         * bits/types.h: Fold copyright years.
23468         * bits/typesizes.h: Likewise.
23469         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23471         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23473         * time/time.h: Likewise.
23475 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23477         [BZ #208]
23478         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23479         in instead of returning them.  Return void.
23480         (__libc_mallinfo): Accumulate over all arenas.
23481         (__malloc_stats): Adjust for change in int_mallinfo interface.
23483 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23485         [BZ #10375]
23486         * configure.in (NM): Add AC_CHECK_TOOL for it.
23487         (libc_extra_cflags): New substituted variable.
23488         Check for -fstack-protector being used implicitly.
23489         * configure: Regenerated.
23490         * config.make.in (config-extra-cflags): New variable,
23491         gets @libc_extra_cflags@.
23492         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23494         [BZ #10375]
23495         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23496         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23497         * configure: Regenerated.
23498         * config.make.in (CPPUNDEFS): New substituted variable.
23499         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23500         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23501         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23505         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23506         (mq_attr): Use __syscall_slong_t.
23508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23510         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23511         Check __x86_64__ instead of __WORDSIZE.
23512         (_STAT_VER_LINUX): Likewise.
23513         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23514         __syscall_ulong_t and __syscall_slong_t.
23515         (stat64): Likewise.
23517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23519         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23521 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23523         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23525 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23527         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23528         __syscall_ulong_t.
23530         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23531         include <bits/wordsize.h>.  Check __x86_64__ instead of
23532         __WORDSIZE.
23533         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23534         defined.
23535         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23537         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23538         include <bits/wordsize.h>.  Check __x86_64__ instead of
23539         __WORDSIZE.
23540         (user_regs_struct): Use "__extension__ unsigned long long"
23541         instead of "unsigned long" if __x86_64__ is defined.
23542         (user): Likewise.  Pad after pointer field if __ILP32__ is
23543         defined.
23545 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23547         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23548         versions 5 to 9.
23549         * configure: Regenerated.
23550         * manual/install.texi (texinfo): Increase version requirement to
23551         4.5 or later.
23552         * INSTALL: Regenerated.
23554         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23558         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23560         * sysdeps/x86_64/x32/ffs.c: New file.
23562         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23563         __syscall_ulong_t.
23564         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23565         defined.  Use __syscall_ulong_t.
23566         (shminfo): Use __syscall_ulong_t.
23567         (shm_info): Likewise.
23569         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23570         __syscall_ulong_t.
23572         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23573         <bits/wordsize.h>.
23574         (msgqnum_t): Use __syscall_ulong_t.
23575         (msglen_t): Likewise.
23576         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23577         __syscall_ulong_t.
23579         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23580         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23582         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23584         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23585         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23587         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23588         __syscall_slong_t.
23590         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23591         include <bits/wordsize.h>.  Check __x86_64__ instead of
23592         __WORDSIZE.
23594         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23595         "unsigned long long int" if __x86_64__ is defined.
23596         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23598         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23599         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23600         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23602         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23603         <stdint.h>.
23604         (GET_PC): Cast to uintptr_t first.
23605         (GET_FRAME): Likewise.
23606         (GET_STACK): Likewise.
23608         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23609         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23610         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23611         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23612         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23613         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23614         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23615         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23616         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23617         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23618         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23620         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23621         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23622         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23625         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23628         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23630         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23631         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23632         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23635         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23636         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23638 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23640         * Makerules (+depfiles): Also collect depfiles from .oS in
23641         $(extra-objs).
23642         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23643         .oS, $(libnldbl-routines)).
23645         * Makerules (native-compile-mkdep-flags): Define.
23646         * sunrpc/Makefile (extra-objs): Add $(addprefix
23647         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23648         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23649         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23650         calling $(make-target-directory).
23652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23654         * bits/types.h (__snseconds_t): Removed.
23655         * time/time.h (struct timespec): Replace __snseconds_t with
23656         __syscall_slong_t.
23657         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23658         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23659         Likewise.
23660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23661         (__SNSECONDS_T_TYPE): Likewise.
23662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23663         (__SNSECONDS_T_TYPE): Likewise.
23664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23665         (__SNSECONDS_T_TYPE): Likewise.
23667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23669         * sysdeps/mach/hurd/bits/typesizes.h
23670         (__SYSCALL_SLONG_TYPE): New macro.
23671         (__SYSCALL_ULONG_TYPE): Likewise.
23673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23675         * bits/types.h (__syscall_slong_t): New type.
23676         (__syscall_ulong_t): Likewise.
23678         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23679         (__SYSCALL_ULONG_TYPE): Likewise.
23680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23681         (__SYSCALL_SLONG_TYPE): Likewise.
23682         (__SYSCALL_ULONG_TYPE): Likewise.
23683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23684         (__SYSCALL_SLONG_TYPE): Likewise.
23685         (__SYSCALL_ULONG_TYPE): Likewise.
23686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23687         (__SYSCALL_SLONG_TYPE): Likewise.
23688         (__SYSCALL_ULONG_TYPE): Likewise.
23690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23692         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23693         Add sigaltstack-offsets.sym.
23694         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23695         <sigaltstack-offsets.h>.
23696         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23697         longjmp_msg pointer.
23698         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23699         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23700         signal stack.
23701         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23703 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23705         * elf/stackguard-macros.h: Remove file.
23706         * sysdeps/generic/stackguard-macros.h: New file.
23707         * sysdeps/i386/stackguard-macros.h: Likewise.
23708         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23709         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23710         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23711         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23712         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23713         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23714         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23715         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23716         <elf/stackguard-macros.h>.
23718         [BZ #14109]
23719         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23720         __aligned__ in attribute.
23721         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23722         (gregset_t): Likewise.
23724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23726         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23727         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23728         * sysdeps/x86_64/x32/Implies-after: New file.
23730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23732         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23733         and access return value for _dl_profile_fixup.  Use R10_LP to
23734         load frame size.
23736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23738         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23742         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23743         * sysdeps/x86_64/x32/sysdep.h: New file.
23745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23747         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23748         * sysdeps/x86_64/setjmp.S: Likewise.
23750 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23753         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23754         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23755         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23756         remove unused global constant.
23758 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23760         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23761         include of <not-cancel.h>.
23763 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23765         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23767 2012-05-15  Jeff Law  <law@redhat.com>
23768             Andreas Jaeger  <aj@suse.de>
23770         [BZ #13594]
23771         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23772         out from...
23773         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23774         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23775         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23776         code changing __hst_map_handle.map.
23778 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23780         * configure.in (sysnames): Look for Implies-before and Implies-after
23781         files.
23782         * configure: Regenerated.
23784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23786         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23787         8-byte data alignment with LP_SIZE alignment.
23789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23791         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23792         into R10_LP.
23794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23796         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23800         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23801         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23802         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23803         Likewise.
23804         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23808         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23809         (stackinfo_sub_sp): Likewise.
23811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23813         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23814         RAX_LP.
23816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23819         into R*_LP.
23821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23824         sizes into R*_LP.
23826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23828         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23832         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23833         into R11_LP and load __x86_64_shared_cache_size_half into
23834         R8_LP.
23836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23838         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23839         R8_LP.
23841 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23844         logb for POWER7.
23845         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23846         logbf for POWER7.
23847         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23848         logbl for POWER7.
23849         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23850         powerpc32/power7/fpu/s_logb.c via #include.
23851         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23852         powerpc32/power7/fpu/s_logbf.c via #include.
23853         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23854         powerpc32/power7/fpu/s_logbl.c via #include.
23856 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23858         * README.libm: Remove file.
23860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23862         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23863         count for x32.  Use R*_LP and omit operand-size suffix.
23865 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23867         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23868         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23869         * sysdeps/x86_64/x32/shlib-versions: New file.
23871 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23873         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23874         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23875         Use _dl_fatal_printf instead.
23877 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23879         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23880         set if not set by the user.  Do not allow for being unset.
23881         * sysdeps/unix/sysv/linux/configure: Regenerated.
23883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23885         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23886         the `q' suffix from lea and replace .quad with ASM_ADDR.
23888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23891         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23892         instead of $17.
23893         (PTR_DEMANGLE): Likewise.
23895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23897         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23898         (LP_OP): Likewise.
23899         (ASM_ADDR): Likewise.
23900         (RAX_LP): Likewise.
23901         (RBP_LP): Likewise.
23902         (RBX_LP): Likewise.
23903         (RCX_LP): Likewise.
23904         (RDI_LP): Likewise.
23905         (RSI_LP): Likewise.
23906         (RSP_LP): Likewise.
23907         (R8_LP): Likewise.
23908         (R9_LP): Likewise.
23909         (R10_LP): Likewise.
23910         (R10_LP): Likewise.
23911         (R11_LP): Likewise.
23912         (R12_LP): Likewise.
23913         (R13_LP): Likewise.
23914         (R14_LP): Likewise.
23915         (R15_LP): Likewise.
23917 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23919         * sysdeps/x86_64/x32/dl-machine.h: New file.
23921 2012-05-14  Andreas Jaeger  <aj@suse.de>
23923         * manual/Makefile (subdir): Remove export of subdir.
23924         (all): Remove target.
23925         (.PHONY): Remove all from list.
23926         (mkinstalldirs): Remove.
23927         (.PHONY): Remove installdirs from list.
23928         ($(inst_infodir)/libc.info): Use make-target-directory.
23929         (installdirs): Remove.
23930         (subdir_%): Remove.
23931         (glibc-targets): Remove.
23932         (lib): Remove.
23933         (stubs): Remove.
23934         ($(objpfx)stubs ../po/manual.pot): Remove.
23935         ($(objpfx)stamp%): Remove.
23936         (make-target-directory): Remove.
23937         (subdir_install): Remove.
23938         (routines): Remove.
23939         (aux): Remove.
23940         (sources): Remove.
23941         (objects): Remove.
23942         (headers): Remove.
23944         [BZ #13750]
23945         * manual/.gitignore: Remove, it's not needed anymore.
23946         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23947         all files in it.
23948         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23949         directory.
23950         (texis): Renamed to $(objpfx)texis.
23951         (texis-path): New, contains path to generated files.
23952         (chapters.%): Use texis-path for complete path, add extra argument
23953         libc-texinfo.sh.
23954         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23955         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23956         (summary,texi, stamp-summary): Use complete path of
23957         files. Generate files in build dir.
23958         (dir-add.texi): Build in build dir.
23959         (libm-err.texi,stamp-libm-err): Likewise.
23960         (version.texi, stamp-version): Likewise.
23961         (.%c.texi): Likewise.
23962         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23963         (mostlyclean): Remove target.
23964         (realclean): Remove target.
23965         (generated): Add new variable with contents from mostlyclean and
23966         realclean, remove entries duplicated in common-mostlyclean, add
23967         stamp-libm-err and stamp-version.
23968         (generated-dirs): Add libc directory.
23969         ($(inst_infodir)/libc.info): Install files from build dir.
23971         * manual/install.texi (Configuring and compiling): Adjust since
23972         the info files are not part of the tar ball anymore.
23974 2012-05-14  Andreas Jaeger  <aj@suse.de>
23976         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23977         variable.
23979 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23981         [BZ #13717]
23982         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23983         to 2.2.0 where earlier.
23984         * sysdeps/unix/sysv/linux/configure: Regenerated.
23985         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23986         Remove conditional code.
23987         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23988         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23989         Remove conditional code.
23990         [!__NR_lchown]: Likewise.
23991         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23992         [__NR_lchown]: Likewise.
23993         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23994         comment referencing __ASSUME_LCHOWN_SYSCALL.
23995         * sysdeps/unix/sysv/linux/i386/sigaction.c
23996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23998         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23999         Remove conditional code.
24000         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24001         (__protocol_available): Remove #if 0 code.
24002         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24003         conditional code.
24004         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24005         * sysdeps/unix/sysv/linux/kernel-features.h
24006         (__ASSUME_GETCWD_SYSCALL): Don't define.
24007         (__ASSUME_REALTIME_SIGNALS): Likewise.
24008         (__ASSUME_PREAD_SYSCALL): Likewise.
24009         (__ASSUME_PWRITE_SYSCALL): Likewise.
24010         (__ASSUME_POLL_SYSCALL): Likewise.
24011         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24012         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24013         non-SPARC.
24014         (__ASSUME_SIOCGIFNAME): Don't define.
24015         (__ASSUME_MSG_NOSIGNAL): Likewise.
24016         (__ASSUME_SENDFILE): Define unconditionally.
24017         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24018         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24019         conditional code.
24020         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24021         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24022         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24023         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24024         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24025         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24026         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24028         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24034         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24040         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24051         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24052         Remove conditional code.
24053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24054         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24055         Remove conditional code.
24056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24057         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24058         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24059         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24060         Remove conditional code.
24061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24062         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24063         Remove conditional code.
24064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24065         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24066         Remove conditional code.
24067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24068         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24069         Remove conditional code.
24070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24071         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24072         Remove conditional code.
24073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24074         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24077         * sysdeps/unix/sysv/linux/sigaction.c
24078         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24079         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24080         * sysdeps/unix/sysv/linux/sigpending.c
24081         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24082         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24083         * sysdeps/unix/sysv/linux/sigprocmask.c
24084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24086         * sysdeps/unix/sysv/linux/sigsuspend.c
24087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24089         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24090         (__libc_missing_rt_sigs): Remove.
24091         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24092         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24093         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24094         Remove conditional code.
24095         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24096         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24097         return 1.
24098         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24099         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24100         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24101         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24103 2012-05-14  Andreas Jaeger  <aj@suse.de>
24105         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24106         it's not used in glibc.
24107         (__coshm1): Likewise.
24108         (__acosh1p): Likewise.
24109         (__sgn): Likewise.
24111         * manual/string.texi (Copying and Concatenation): Add missing
24112         variable in concat example.
24113         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24115 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24117         [BZ #14103]
24118         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24119         __builtin_clzl with __builtin_clzll.
24121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24123         [BZ #14104]
24124         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24125         libc_freeres_ptr.
24127 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24129         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24130         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24131         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24132         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24134 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24136         * NEWS: Update ia64 info.
24138 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24140         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24141         used as bcopy.
24143 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24145         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24146         * sysdeps/unix/syscalls.list (dup3): Likewise.
24147         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24148         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24150 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24152         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24153         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24155 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24157         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24158         thread pointer.
24159         (TLS_IE): Use mov/add instead of movq/addq to load thread
24160         pointer.
24161         (TLS_GD_PREFIX): New.
24162         (TLS_GD): Use it.
24164 2012-05-11  David S. Miller  <davem@davemloft.net>
24166         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24167         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24168         (_FPU_SETCW): Likewise.
24170 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24172         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24173         is 32-byte aligned.
24175 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24177         [BZ #11837]
24178         * iconvdata/gb18030.c: Update tables.
24179         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24180         characters specially.
24181         (BODY for TO_LOOP): Add encoding of missing ranges.
24183 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24185         [BZ #13673]
24186         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24187         * sysdeps/mach/hurd/dup3.c: Likewise.
24188         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24189         * sysdeps/powerpc/memmove.c:: Likewise.
24191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24194         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24198         * elf/elf.h (R_X86_64_RELATIVE64): New.
24199         (R_X86_64_NUM): Updated.
24200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24201         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24202         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24203         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24204         tst-quad1pie tst-quad2pie
24205         (modules-names): Add tst-quadmod1 tst-quadmod2.
24206         ($(objpfx)tst-quad1): New dependency.
24207         ($(objpfx)tst-quad2): Likewise.
24208         ($(objpfx)tst-quad1pie): Likewise.
24209         ($(objpfx)tst-quad2pie): Likewise.
24210         * sysdeps/x86_64/tst-quad1.c: New file.
24211         * sysdeps/x86_64/tst-quad1pie.c: New file.
24212         * sysdeps/x86_64/tst-quad2.c: Likewise.
24213         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24214         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24215         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24216         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24217         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24221         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24222         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24223         * streams/stropts.h (t_scalar_t): Define type.
24225         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24226         (_PATH_PRESERVE): Set to "/var/lib".
24227         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24229         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24230         instead of int.
24232         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24233         if __dir_mkfile succeeded.
24235         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24236         checking for _hurd_dtablesize.  Unlock it right after having
24237         finished _hurd_dtable allocation.
24239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24241         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24242         * sysdeps/mach/hurd/configure: Regenerated.
24243         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24244         special-casing to...
24245         * sysdeps/gnu/configure.in: ... this new file.
24246         * sysdeps/unix/sysv/linux/configure: Regenerated.
24247         * sysdeps/gnu/configure: New generated file.
24249         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24250         for Linux: use nsec instead of usec, as well as:
24251         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24252         members of type struct timespec.
24253         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24254         New macros.
24255         (struct stat64): Likewise.
24256         (_STATBUF_ST_NSEC): New macro.
24257         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24259         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24260         __strtoul_internal rather than strtoul.
24262 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24264         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24265         and reject them.
24267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24269         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24270         which preserves existing values.
24271         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24273 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24275         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24276         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24277         greater than FD_SETSIZE.
24279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24281         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24282         allocated, call __vm_protect to finish enabling the existing space, and
24283         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24284         allocate the remainder.
24286 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24288         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24289         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24293         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24294         sysdeps/mach/hurd/readlink.c.
24296         * posix/tst-sysconf.c (posix_options): Only use
24297         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24298         _POSIX_SYNCHRONIZED_IO when they are defined
24299         * sysdeps/mach/hurd/bits/posix_opt.h:
24300         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24301         (_XOPEN_REALTIME): Undefine macro.
24302         (_XOPEN_REALTIME_THREADS): Undefine macro.
24303         (_XOPEN_SHM): Undefine macro.
24304         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24305         macro to -1.
24306         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24307         macro to -1.
24308         (_POSIX_ASYNC_IO): Undefine macro.
24309         (_POSIX_PRIORITIZED_IO): Undefine macro.
24310         (_POSIX_SPIN_LOCKS): Define macro to -1.
24312         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24313         SA_NODEFER, SA_RESETHAND.
24314         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24315         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24316         F_DUPFD_CLOEXEC.
24318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24320         * elf/Makefile (pldd-modules): Define unconditionally.
24322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24324         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24328         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24329         Return ENOENT when name is empty.
24330         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24334         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24336         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24340         Fix mlock in all cases except non-readable pages.
24341         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24342         instead of VM_PROT_ALL as parameter to __vm_wire function.
24344         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24345         (__mkdir): When path is `/', just fail with EEXIST.
24346         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24350         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24351         <sys/uio.h> (for writev).
24352         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24353         and <sys/param.h> (for MIN).
24355 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24357         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24358         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24359         if interrupted.
24361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24363         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24364         Depend on against $(link-rpcuserlibs).
24366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24368         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24369         (__libc_stack_end): Do not use attribute_relro.
24370         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24371         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24372         to libthread-provided value.
24373         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24374         attribute_relro.
24376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24378         [BZ #3748]
24379         * bits/libc-lock.h (__libc_once_get): New macro.
24380         * sysdeps/mach/bits/libc-lock.h: Likewise.
24381         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24382         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24383         instead of using implementation details.
24385         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24386         * libio/freopen.c: Likewise.
24387         * libio/freopen64.c: Likewise.
24388         * misc/syslog.c: Likewise.
24389         * nscd/connections.c: Likewise.
24390         * nscd/netgroupcache.c: Likewise.
24391         * sysdeps/posix/getcwd.c: Likewise.
24393 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24395         * math/w_ilogbf.c: Add #include <limits.h>.
24397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24399         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24400         path instead of returning without unlocking.
24402         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24403         immediate-write ioctls.
24404         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24408         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24409         __builtin_frame_address instead of making assumptions about the
24410         location of the return address relative to DATA.  Force early load of
24411         the return address.
24412         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24413         __builtin_frame_address.
24415         dup3 for GNU Hurd.
24416         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24417         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24418         implement dup3 and do some further code clean-ups.
24419         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24420         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24424         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24426         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24427         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24428         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24429         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24430         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24431         d->port.lock.
24433         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24434         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24435         when handler == SIG_ERR, not when handler != SIG_ERR.
24437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24439         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24440         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24441         definitions.
24443         accept4 for GNU Hurd.
24444         * include/sys/socket.h (__libc_accept4): New prototype.
24445         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24446         to implement __libc_accept4.
24447         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24448         __libc_accept4.
24449         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24451         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24452         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24453         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24454         signal-defines.sym.
24456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24458         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24462         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24463         assertion on O_CLOEXEC flag.
24464         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24465         * hurd/intern-fd.c: Likewise.
24466         * hurd/port2fd.c: Likewise.
24468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24470         [BZ #3906]
24471         * bits/in.h (IPV6_PKTINFO): Define new macro.
24472         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24474 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24476         [BZ #13954]
24477         [BZ #13955]
24478         [BZ #13956]
24479         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24481         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24482         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24484         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24485         * math/libm-test.inc (logb_test) : Additional logb tests.
24487 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24488             Andreas Jaeger  <aj@suse.de>
24490         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24491         * configure: Regenerated.
24492         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24493         * config.make.in (link-obsolete-rpc): New substituted variable.
24494         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24495         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24496         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24497         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24498         so that libc.a contains the symbols.
24499         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24500         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24501         * sunrpc/auth_none.c: Likewise.
24502         * sunrpc/auth_unix.c: Likewise.
24503         * sunrpc/authdes_prot.c: Likewise.
24504         * sunrpc/authuxprot.c: Likewise.
24505         * sunrpc/clnt_gen.c: Likewise.
24506         * sunrpc/clnt_perr.c: Likewise.
24507         * sunrpc/clnt_raw.c: Likewise.
24508         * sunrpc/clnt_simp.c: Likewise.
24509         * sunrpc/clnt_tcp.c: Likewise.
24510         * sunrpc/clnt_udp.c: Likewise.
24511         * sunrpc/clnt_unix.c: Likewise.
24512         * sunrpc/des_crypt.c: Likewise.
24513         * sunrpc/des_soft.c: Likewise.
24514         * sunrpc/get_myaddr.c: Likewise.
24515         * sunrpc/key_call.c: Likewise.
24516         * sunrpc/key_prot.c: Likewise.
24517         * sunrpc/netname.c: Likewise.
24518         * sunrpc/pm_getmaps.c: Likewise.
24519         * sunrpc/pm_getport.c: Likewise.
24520         * sunrpc/pmap_clnt.c: Likewise.
24521         * sunrpc/pmap_prot.c: Likewise.
24522         * sunrpc/pmap_prot2.c: Likewise.
24523         * sunrpc/pmap_rmt.c: Likewise.
24524         * sunrpc/publickey.c: Likewise.
24525         * sunrpc/rpc_cmsg.c: Likewise.
24526         * sunrpc/rpc_common.c: Likewise.
24527         * sunrpc/rpc_dtable.c: Likewise.
24528         * sunrpc/rpc_prot.c: Likewise.
24529         * sunrpc/rpc_thread.c: Likewise.
24530         * sunrpc/rtime.c: Likewise.
24531         * sunrpc/svc.c: Likewise.
24532         * sunrpc/svc_auth.c: Likewise.
24533         * sunrpc/svc_raw.c: Likewise.
24534         * sunrpc/svc_run.c: Likewise.
24535         * sunrpc/svc_tcp.c: Likewise.
24536         * sunrpc/svc_udp.c: Likewise.
24537         * sunrpc/svc_unix.c: Likewise.
24538         * sunrpc/svcauth_des.c: Likewise.
24539         * sunrpc/xcrypt.c: Likewise.
24540         * sunrpc/xdr.c: Likewise.
24541         * sunrpc/xdr_array.c: Likewise.
24542         * sunrpc/xdr_float.c: Likewise.
24543         * sunrpc/xdr_intXX_t.c: Likewise.
24544         * sunrpc/xdr_mem.c: Likewise.
24545         * sunrpc/xdr_rec.c: Likewise.
24546         * sunrpc/xdr_ref.c: Likewise.
24547         * sunrpc/xdr_sizeof.c: Likewise.
24548         * sunrpc/xdr_stdio.c: Likewise.
24550 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24552         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24553         change.  Update copyright years.
24555 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24557         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24559 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24560             Joseph Myers  <joseph@codesourcery.com>
24561             Paul Pluzhnikov  <ppluzhnikov@google.com>
24563         [BZ #14012]
24564         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24565         requiring rpcgen.
24566         [cross-compiling] (extra-libs): Likewise.
24567         [cross-compiling] (extra-libs-others): Likewise.
24568         [cross-compiling] (librpcsvc-routines): Likewise.
24569         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24570         [cross-compiling] (omit-deps): Likewise.
24571         (sunrpc-CPPFLAGS): New variable.
24572         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24573         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24574         (cross-rpcgen-objs): New variable.
24575         (extra-objs): Append $(cross-rpcgen-objs).
24576         ($(cross-rpcgen-objs)): New rule.
24577         ($(objpfx)cross-rpcgen): Likewise.
24578         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24579         comment.
24580         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24581         ($(objpfx)x%.stmp): Likewise.
24582         * sunrpc/proto.h [IS_IN_build] (_): Define.
24583         [IS_IN_build] (_libc_intl_domainname): Likewise.
24585 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24588         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24589         and R_X86_64_TPOFF64.
24591 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24593         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24594         sysdeps/unix/sysv/syscalls.list.
24595         (stime): Likewise.
24596         (utime): Likewise.
24597         * sysdeps/unix/sysv/syscalls.list: Remove file.
24599 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24601         [BZ #3440]
24602         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24603         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24604         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24605         (__LC_IDENTIFICATION): Make these macros useful in #if
24606         expressions, as required by C99.
24608 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24610         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24611         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24612         after this.
24614 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24616         * stdlib/longlong.h: Updated from GCC.
24618 2012-05-09  Andreas Jaeger  <aj@suse.de>
24620         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24621         default is first entry.
24622         (run_mode): Set type.
24623         (main): Remove informal message about syslog.
24624         (options): Fix typo.
24626         [BZ #14053]
24627         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24628         to asm.
24629         (lrint): Likewise.
24630         (llrintf): Likewise.
24631         (llrint): Likewise.
24632         (rint): Likewise.
24633         (rintf): Likewise.
24634         (nearbyint): Likewise.
24635         (nearbyintf): Likewise.
24637 2012-05-09  Andreas Jaeger  <aj@suse.de>
24638             Pedro Alves  <palves@redhat.com>
24640         * nscd/nscd.c (run_mode): Use enum.
24641         (main): Cleanup coding style issue.
24643 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24644             Andreas Jaeger  <aj@suse.de>
24646         * nscd/nscd.c (go_background): Replaced with...
24647         (run_mode): ... this.
24648         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24649         (options): Add -F --foreground.
24650         (main): Implement it.
24651         (parse_opt): Parse it.
24653 2012-05-09  Andreas Jaeger  <aj@suse.de>
24655         [BZ #14083]
24656         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24657         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24658         -Wconversion warning.
24659         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24660         Likewise.
24662 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24664         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24665         == 0.
24666         (LC_ALL): Use macro-int-constant.
24667         (LC_COLLATE): Likewise.
24668         (LC_CTYPE): Likewise.
24669         (LC_MESSAGES): Likewise.
24670         (LC_MONETARY): Likewise.
24671         (LC_NUMERIC): Likewise.
24672         (LC_TIME): Likewise.
24673         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24674         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24675         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24676         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24677         Specify type.
24678         [C99-based standards] (float_t): Expect type.
24679         [C99-based standards] (double_t): Expect type.
24680         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24681         type.
24682         [C99-based standards] (HUGE_VALL): Likewise.
24683         [C99-based standards] (INFINITY): Likewise.
24684         [C99-based standards] (NAN): Likewise.
24685         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24686         [C99-based standards] (FP_NAN): Likewise.
24687         [C99-based standards] (FP_NORMAL): Likewise.
24688         [C99-based standards] (FP_SUBNORMAL): Likewise.
24689         [C99-based standards] (FP_ZERO): Likewise.
24690         [C99-based standards] (FP_FAST_FMA): Use
24691         optional-macro-int-constant.  Specify type.  Require == 1.
24692         [C99-based standards] (FP_FAST_FMAF): Likewise.
24693         [C99-based standards] (FP_FAST_FMAL): Likewise.
24694         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24695         [C99-based standards] (FP_ILOGBNAN): Likewise.
24696         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24697         Specify type.
24698         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24699         [C99-based standards] (math_errhandling): Specify type.
24700         [ISO99 || ISO11] (signgam): Do not allow.
24701         [non-C99-based standards] (copysignf): Do not allow.
24702         [non-C99-based standards] (exp2f): Likewise.
24703         [non-C99-based standards] (log2f): Likewise.
24704         [non-C99-based standards] (modff): Allow.
24705         [non-C99-based standards] (erff): Do not allow.
24706         [non-C99-based standards] (erfcf): Likewise.
24707         [non-C99-based standards] (gammaf): Likewise.
24708         [non-C99-based standards] (hypotf): Likewise.
24709         [non-C99-based standards] (j0f): Likewise.
24710         [non-C99-based standards] (j1f): Likewise.
24711         [non-C99-based standards] (jnf): Likewise.
24712         [non-C99-based standards] (lgammaf): Likewise.
24713         [non-C99-based standards] (tgammaf): Likewise.
24714         [non-C99-based standards] (y0f): Likewise.
24715         [non-C99-based standards] (y1f): Likewise.
24716         [non-C99-based standards] (ynf): Likewise.
24717         [non-C99-based standards] (isnanf): Likewise.
24718         [non-C99-based standards] (acoshf): Likewise.
24719         [non-C99-based standards] (asinhf): Likewise.
24720         [non-C99-based standards] (atanhf): Likewise.
24721         [non-C99-based standards] (cbrtf): Likewise.
24722         [non-C99-based standards] (expm1f): Likewise.
24723         [non-C99-based standards] (ilogbf): Likewise.
24724         [non-C99-based standards] (log1pf): Likewise.
24725         [non-C99-based standards] (logbf): Likewise.
24726         [non-C99-based standards] (nextafterf): Likewise.
24727         [non-C99-based standards] (remainderf): Likewise.
24728         [non-C99-based standards] (rintf): Likewise.
24729         [non-C99-based standards] (scalbf): Likewise.
24730         [non-C99-based standards] (copysignl): Likewise.
24731         [non-C99-based standards] (exp2l): Likewise.
24732         [non-C99-based standards] (log2l): Likewise.
24733         [non-C99-based standards] (modfl): Allow.
24734         [non-C99-based standards] (erfl): Do not allow.
24735         [non-C99-based standards] (erfcl): Likewise.
24736         [non-C99-based standards] (gammal): Likewise.
24737         [non-C99-based standards] (hypotl): Likewise.
24738         [non-C99-based standards] (j0l): Likewise.
24739         [non-C99-based standards] (j1l): Likewise.
24740         [non-C99-based standards] (jnl): Likewise.
24741         [non-C99-based standards] (lgammal): Likewise.
24742         [non-C99-based standards] (tgammal): Likewise.
24743         [non-C99-based standards] (y0l): Likewise.
24744         [non-C99-based standards] (y1l): Likewise.
24745         [non-C99-based standards] (ynl): Likewise.
24746         [non-C99-based standards] (isnanl): Likewise.
24747         [non-C99-based standards] (acoshl): Likewise.
24748         [non-C99-based standards] (asinhl): Likewise.
24749         [non-C99-based standards] (atanhl): Likewise.
24750         [non-C99-based standards] (cbrtl): Likewise.
24751         [non-C99-based standards] (expm1l): Likewise.
24752         [non-C99-based standards] (ilogbl): Likewise.
24753         [non-C99-based standards] (log1pl): Likewise.
24754         [non-C99-based standards] (logbl): Likewise.
24755         [non-C99-based standards] (nextafterl): Likewise.
24756         [non-C99-based standards] (remainderl): Likewise.
24757         [non-C99-based standards] (rintl): Likewise.
24758         [non-C99-based standards] (scalbl): Likewise.
24759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24760         [non-C99-based standards] (FP_*): Do not allow.
24761         [C99-based standards] (FP_*): Change to
24762         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24763         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24764         allow.
24765         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24766         (SIG_ERR): Likewise.
24767         [X/Open-based standards] (SIG_HOLD): Likewise.
24768         (SIG_IGN): Likewise.
24769         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24770         positive value.
24771         (SIGFPE): Likewise.
24772         (SIGILL): Likewise.
24773         (SIGINT): Likewise.
24774         (SIGSEGV): Likewise.
24775         (SIGTER): Likewise.
24776         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24794         [X/Open-based standards] (SIGTRAP): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24799         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24800         allow.
24802 2012-05-08  Ian Wienand  <ianw@vmware.com>
24804         [BZ #14080]
24805         * time/tzset.c (__tzset_parse_tz): Update default rules for
24806         daylight time changes in the Energy Policy Act of 2005.
24808 2012-05-09  Andreas Jaeger  <aj@suse.de>
24810         [BZ #13983]
24811         * elf/ldconfig.c (parse_conf): Change string to make clear that
24812         ldconfig only issued a warning if ld.so.conf does not exist.
24814 2012-05-08  David S. Miller  <davem@davemloft.net>
24816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24817         movxtod instead of popping the value on the stack.
24819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24821 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24823         * config.h.in: Add HAVE_ARM_PCS_VFP.
24825 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24827         [BZ #13979]
24828         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24829         checking but the checks are disabled for any reason.
24831 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24833         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24834         and ELF64_R_TYPE with ELFW(R_TYPE).
24836 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24838         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24839         (ulimit): Likewise.
24841         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24842         (settimeofday): Likewise.
24844 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24846         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24847         a struct th_u2 inside the union, and move tu_block/tu_code into
24848         a new th_u3 union of tu_block/tu_code inside of that.  Move
24849         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24850         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24851         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24852         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24853         (th_stuff): Change to th_u1.tu_stuff.
24854         (th_data): Define.
24855         (th_msg): Change to th_u1.th_u2.tu_data.
24857 2012-05-07  David S. Miller  <davem@davemloft.net>
24859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24861         [BZ #14074]
24862         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24863         (SETUP_PIC_REG): Use it.
24864         (SETUP_PIC_REG_LEAF): Use it.
24866 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24868         [BZ #13885]
24869         [BZ #13923]
24870         * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24876         e_expl.S.
24877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24878         USE_AS_EXPM1L.
24879         (EXPL_FINITE): Likewise.
24880         (FLDLOG): Likewise.
24881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24882         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24883         e_expl.S.
24884         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24885         test of -max_value argument for long double.
24886         * sysdeps/i386/fpu/libm-test-ulps: Update.
24887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24889 2012-05-06  David S. Miller  <davem@davemloft.net>
24891         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24892         quad soft-float symbols whose references which are compiler
24893         generated.
24894         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24896 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24898         [BZ #13884]
24899         [BZ #13914]
24900         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24901         USE_AS_EXP10L.
24902         (EXPL_FINITE): Likewise.
24903         (FLDLOG): Likewise.
24904         (c0): Likewise.
24905         (c1): Likewise.
24906         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24907         Adjust comments for base varying.
24908         (__expl_finite): Change alias to EXPL_FINITE.
24909         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24910         e_expl.S.
24911         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24912         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24913         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24914         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24915         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24916         USE_AS_EXP10L.
24917         (EXPL_FINITE): Likewise.
24918         (FLDLOG): Likewise.
24919         (c0): Likewise.
24920         (c1): Likewise.
24921         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24922         Adjust comments for base varying.
24923         (__expl_finite): Change alias to EXPL_FINITE.
24924         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24925         tests for bugs.
24926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24928         [BZ #14064]
24929         * math/libm-test.inc (check_float_internal): Correct ulp
24930         calculation for subnormal expected results.
24932 2012-05-06  Andreas Jaeger  <aj@suse.de>
24934         * Makeconfig (+math-flags): New, set to -frounding-math.
24935         (+cflags): Add +math-flags so that all of glibc gets compiled with
24936         it.
24938         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24940 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24942         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24943         Disable one test.
24945         [BZ #13787]
24946         [BZ #13922]
24947         [BZ #14036]
24948         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24949         (__ieee754_expl): Allow for and saturate large arguments.
24950         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24951         (u_threshold): Likewise.
24952         (__exp): Call __ieee754_exp before checking for overflow and
24953         underflow.
24954         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24955         (u_threshold): Likewise.
24956         (__expf): Call __ieee754_expf before checking for overflow and
24957         underflow.
24958         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24959         (u_threshold): Likewise.
24960         (__expl): Call __ieee754_expl before checking for overflow and
24961         underflow.
24962         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24963         (__ieee754_expl): Allow for and saturate large arguments.
24964         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24965         missing overflow exception on overflow.
24966         (expm1_test): Do not allow missing overflow exception on overflow.
24968         * sysdeps/i386/fpu/e_expl.c: Move to ...
24969         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24970         rather than using inline asm.
24971         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24972         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24973         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24975         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24976         (nice): Likewise.
24977         (poll): Likewise.
24978         (signal): Likewise.
24979         (time): Likewise.
24980         (times): Likewise.
24982 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24984         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24985         sysdeps/unix/common/syscalls.list.
24986         (fchmod): Likewise.
24987         (fchown): Likewise.
24988         (ftruncate): Likewise.
24989         (getrusage): Likewise.
24990         (gettimeofday): Likewise.
24991         (setpgid): Likewise.
24992         (setregid): Likewise.
24993         (setreuid): Likewise.
24994         (sigaction): Likewise.
24995         (truncate): Likewise.
24996         (vhangup): Likewise.
24997         * sysdeps/unix/common/syscalls.list: Remove file.
24998         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24999         * sysdeps/unix/sysv/linux/Implies: Likewise.
25001 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25003         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25005         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25006         Moved to ...
25007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25008         Here.
25009         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25010         to ...
25011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25012         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25013         to ...
25014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25015         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25016         to ...
25017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25018         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25019         to ...
25020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25021         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25022         to ...
25023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25024         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25025         to ...
25026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25027         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25028         to ...
25029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25030         Here.
25031         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25032         to ...
25033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25034         Here.
25035         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25036         to ...
25037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25038         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25039         Moved to ...
25040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25041         Here.
25042         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25043         to ...
25044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25046 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25048         * sysdeps/unix/common/bits/dirent.h: Remove file.
25049         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25051         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25052         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25053         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25054         * sysdeps/unix/bsd/isatty.c: Likewise.
25055         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25056         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25057         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25059 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25061         [BZ #13563]
25062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25063         long double comparison inaccuracies.
25064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25067 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25069         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25074         [BZ #14049]
25075         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25076         nonzero digits before rounding a hex value.
25077         * stdlib/tst-strtod.c (tests): Add another test.
25079 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25081         * sysdeps/s390/fpu/libm-test-ulps: Update.
25083 2012-05-03  Andreas Jaeger  <aj@suse.de>
25085         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25086         does not get optimized out.
25087         (malloc_opt_barrier): New.
25089 2012-05-03  Andreas Jaeger  <aj@suse.de>
25090             Roland McGrath  <roland@hack.frob.com>
25092         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25093         intermediate file deletion.
25094         (generated): Add .symlist files.
25096 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25098         [BZ #13775]
25099         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25100         Redirect under this condition.
25101         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25102         [__USE_GNU] (__dprintf_chk): Not under this condition.
25103         [__USE_GNU] (__vdprintf_chk): Likewise.
25104         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25105         under this condition.
25106         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25107         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25108         [__USE_XOPEN2K8] (vdprintf): Likewise.
25109         [__USE_GNU] (__dprintf_chk): Not under this condition.
25110         [__USE_GNU] (__vdprintf_chk): Likewise.
25111         [__USE_GNU] (dprintf): Likewise.
25112         [__USE_GNU] (vdprintf): Likewise.
25114 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25116         * elf/Makefile (common-generated): Set this instead of generated for
25117         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25118         $(all-built-dso)-derived lists.
25120 2012-05-03  Andreas Jaeger  <aj@suse.de>
25122         * sysdeps/i386/fpu/libm-test-ulps: Update.
25124         * FAQ: Removed.
25125         * FAQ.in: Likewise.
25126         * scripts/gen-FAQ.pl: Likewise.
25127         * manual/install.texi (Installation): Point to online location of
25128         FAQ.
25129         * Makefile (files-for-dist): Remove FAQ.
25130         (FAQ): Remove.
25132 2012-05-02  Allan McRae  <allan@archlinux.org>
25134         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25135         (LDFLAGS-reldepmod5.so): Likewise.
25136         (LDFLAGS-reldep6mod1.so): Likewise.
25137         (LDFLAGS-reldep6mod4.so): Likewise.
25138         (LDFLAGS-reldep8mod3.so): Likewise.
25139         (LDFLAGS-unload4mod1.so): Likewise.
25140         (LDFLAGS-unload4mod2.so): Likewise.
25141         (LDFLAGS-tst-initorder): Likewise.
25142         (LDFLAGS-tst-initordera2.so): Likewise.
25143         (LDFLAGS-tst-initordera3.so): Likewise.
25144         (LDFLAGS-tst-initordera4.so): Likewise.
25145         (LDFLAGS-tst-initorderb2.so): Likewise.
25146         (LDFLAGS-noload): Likewise.
25147         (LDFLAGS-next): Likewise.
25148         (LDFLAGS-order2mod1.so): Likewise.
25149         (LDFLAGS-order2mod2.so): Likewise.
25150         (LDFLAGS-tst-initorder2): Likewise.
25151         (LDFLAGS-tst-initorder2a.so): Likewise.
25152         (LDFLAGS-tst-initorder2b.so): Likewise.
25153         (LDFLAGS-tst-initorder2c.so): Likewise.
25154         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25156 2012-05-02  David S. Miller  <davem@davemloft.net>
25158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25160 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25162         [BZ #14055]
25163         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25165 2012-05-02  Andreas Jaeger  <aj@suse.de>
25167         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25168         since we manipulate rounding mode.
25169         (CPPFLAGS-test-idouble.c): Likewise.
25170         (CPPFLAGS-test-ifloat.c): Likewise.
25171         (CFLAGS-test-ldouble.c): Likewise.
25172         (CFLAGS-test-double.c): Likewise.
25173         (CFLAGS-test-float.c): Likewise.
25174         (CFLAGS-test-misc.c): Likewise.
25175         (CFLAGS-test-test-fenv.c): Likewise.
25177 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25179         [BZ #2550]
25180         [BZ #2570]
25181         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25182         comparisons to determine direction to adjust input.
25184 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25186         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25187         output to the target.
25189         * scripts/localplt.awk: New file.
25190         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25191         (check-localplt-CFLAGS): Variable removed.
25192         ($(all-built-dso:=.jmprel)): New static pattern rule.
25193         (generated): Add those targets.
25194         (localplt-built-dso): New variable.
25195         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25197         * elf/check-localplt.c: File removed.
25199         * scripts/check-execstack.awk: New file.
25200         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25201         (check-execstack-CFLAGS): Variable removed.
25202         ($(objpfx)check-execstack.h): Target removed.
25203         ($(objpfx)execstack-default): New target.
25204         (generated): Add that instead of check-execstack.h.
25205         ($(all-built-dso:=.phdr)): New static pattern rule.
25206         (generated): Add those targets.
25207         * elf/check-execstack.c: File removed.
25209         * scripts/check-textrel.awk: New file.
25210         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25211         (check-textrel-CFLAGS): Variable removed.
25212         (all-built-dso): Use := to define.o
25213         ($(all-built-dso:=.dyn)): New static pattern rule.
25214         (generated): Add those targets.
25215         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25216         * config.make.in (READELF): New substituted variable.
25217         * elf/check-textrel.c: File removed.
25219 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25221         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25222         allow.
25223         * conform/data/ctype.h-data [C99-based standards] (isblank):
25224         Expect function.
25225         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25226         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25228         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25229         Specify type.  Require positive value.
25230         (EILSEQ): Likewise.
25231         (ERANGE): Likewise.
25232         [ISO || POSIX] (EILSEQ): Do not expect.
25233         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25234         Specify type.  Require positive value.
25235         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25236         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25237         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25238         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25239         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25240         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25241         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25242         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25243         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25244         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25245         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25246         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25247         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25248         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25249         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25250         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25251         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25252         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25253         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25254         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25255         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25256         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25257         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25258         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25259         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25260         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25261         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25262         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25263         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25264         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25265         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25266         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25267         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25268         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25269         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25270         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25271         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25272         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25273         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25274         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25275         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25276         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25277         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25278         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25279         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25309         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25310         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25311         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25312         Require >= 2.
25313         (FLT_ROUNDS): Expect as macro, not constant.
25314         (FLT_MANT_DIG): Use macro-int-constant.
25315         (DBL_MANT_DIG): Likewise.
25316         (LDBL_MANT_DIG): Likewise.
25317         (FLT_DIG): Likewise.
25318         (DBL_DIG): Likewise.
25319         (LDBL_DIG): Likewise.
25320         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25321         (DBL_MIN_EXP): Likewise.
25322         (LDBL_MIN_EXP): Likewise.
25323         (FLT_MAX_EXP): Use macro-int-constant.
25324         (DBL_MAX_EXP): Likewise.
25325         (LDBL_MAX_EXP): Likewise.
25326         (FLT_MAX_10_EXP): Likewise.
25327         (DBL_MAX_10_EXP): Likewise.
25328         (LDBL_MAX_10_EXP): Likewise.
25329         (FLT_MAX): Use macro-constant.
25330         (DBL_MAX): Likewise.
25331         (LDBL_MAX): Likewise.
25332         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25333         (DBL_EPSILON): Likewise.
25334         (LDBL_EPSILON): Likewise.
25335         (FLT_MIN): Likewise.
25336         (DBL_MIN): Likewise.
25337         (LDBL_MIN): Likewise.
25338         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25339         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25340         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25341         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25342         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25343         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25344         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25345         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25346         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25347         [ISO11] (FLT_TRUE_MIN): Likewise.
25348         [ISO11] (LDBL_TRUE_MIN): Likewise.
25349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25350         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25351         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25352         (SCHAR_MAX): Likewise.
25353         (UCHAR_MAX): Likewise.
25354         (CHAR_MIN): Likewise.
25355         (CHAR_MAX): Likewise.
25356         (MB_LEN_MAX): Use macro-int-constant.
25357         (SHRT_MIN): Use macro-int-constant.  Specify type.
25358         (SHRT_MAX): Likewise.
25359         (USHRT_MAX): Likewise.
25360         (INT_MAX): Likewise.
25361         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25362         bound negative.
25363         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25364         bound with "U".
25365         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25366         bound with "L".
25367         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25368         bound negative.  Suffix upper bound with "L".
25369         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25370         bound with "UL".
25371         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25372         Specify type.
25373         [C99-based standards] (LLONG_MAX): Likewise.
25374         [C99-based standards] (ULLONG_MAX): Likewise.
25375         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25376         == 0.
25377         [ISO11] (max_align_t): Require type.
25378         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25380         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25381         from $CFLAGS, without defining away __attribute__ calls.
25382         (checknamespace): Use $CFLAGS_namespace.
25384         * conform/conformtest.pl (@keywords): Only include C99 keywords
25385         for standards based on C99 or C11.
25387         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25388         Disable tests.
25389         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25390         UNIX98]: Likewise.
25392         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25393         usability of symbols in #if.
25395         * conform/conformtest.pl: If macro or constant types start
25396         "promoted:", expect the symbol to be of the following type
25397         promoted by the integer promotions.
25399         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25400         in one place.  Also handle "macro-constant".
25402         * conform/conformtest.pl: Only accept expected macro values with
25403         "==".  Parse all "macro" lines in one place.
25404         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25406         * conform/conformtest.pl: Handle braced types on "constant" lines
25407         instead of handling "typed-constant".
25408         * conform/data/signal.h-data: Use "constant" instead of
25409         "typed-constant".
25411         * conform/conformtest.pl: Handle "optional-" at start of lines in
25412         one place rather than duplicating several cases.  Handle each
25413         format of "macro" line with initial "optional-".
25415         * conform/conformtest.pl: Only accept expected constant or
25416         optional-constant values with "==".  Parse all "constant" lines in
25417         one place.  Parse all "optional-constant" lines in one place.
25418         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25419         * conform/data/fmtmsg.h-data: Likewise.
25420         * conform/data/netinet/in.h-data: Likewise.
25421         * conform/data/tar.h-data: Likewise.
25422         * conform/data/limits.h-data: Use "==" form on "constant" and
25423         "optional-constant" lines.
25425         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25426         Use -std=c99 for XOPEN2K.
25427         (@knownproblems): Remove.
25428         (newtoken): Don't check %isknown.
25430         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25431         Do not expect macro.
25432         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25433         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25434         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25435         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25436         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25437         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25438         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25439         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25440         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25441         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25442         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25443         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25444         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25445         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25446         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25447         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25448         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25449         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25450         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25451         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25452         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25453         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25454         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25455         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25456         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25457         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25458         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25459         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25460         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25461         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25462         [XPG3] (acosh): Likewise.
25463         [XPG3] (asinh): Likewise.
25464         [XPG3] (atanh): Likewise.
25465         [XPG3] (cbrt): Likewise.
25466         [XPG3] (expm1): Likewise.
25467         [XPG3] (ilogb): Likewise.
25468         [XPG3] (log1p): Likewise.
25469         [XPG3] (logb): Likewise.
25470         [XPG3] (nextafter): Likewise.
25471         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25472         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25473         [XPG3] (remainder): Likewise.
25474         [XPG3] (rint): Likewise.
25475         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25476         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25477         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25478         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25479         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25480         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25481         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25482         [UNIX98 || XOPEN2K] (scalb): Expect.
25483         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25484         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25485         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25487         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25488         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25489         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25490         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25491         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25492         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25493         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25494         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25495         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25505         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25506         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25507         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25508         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25509         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25510         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25511         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25512         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25525         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25526         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25527         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25621         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25622         _XOPEN_SOURCE_EXTENDED for XPG4.
25624         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25626         * Makeconfig (localtime): Remove variable.
25627         (inst_localtime-file): Likewise.
25629 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25632         Update.
25633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25634         Update.
25635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25636         Update.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25638         Update.
25639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25640         Update.
25641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25642         Update.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25644         Update.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25646         Update.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25648         Update.
25650 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25652         [BZ #2550]
25653         [BZ #2570]
25654         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25655         comparisons to determine direction to adjust input.
25656         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25657         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25659         Likewise.
25660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25661         Likewise.
25662         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25663         Likewise.
25664         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25665         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25666         Likewise.
25667         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25668         Likewise.
25669         * math/libm-test.inc (nexttoward_test): Add more tests.
25671 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25673         [BZ #14040]
25674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25675         in version GLIBC_2.1, not GLIBC_2.0.
25676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25677         Likewise.
25679 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25681         [BZ #13942]
25682         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25683         (1 - x) * (1 + x).
25684         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25685         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25686         * math/libm-test.inc (acos_test): Add more tests.
25687         (asin_test): Likewise.
25688         * sysdeps/i386/fpu/libm-test-ulps: Update.
25689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25691         [BZ #14034]
25692         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25693         of square root.
25694         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25695         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25696         * math/libm-test.inc (acos_test_tonearest): New function.
25697         (acos_test_towardzero): Likewise.
25698         (acos_test_downward): Likewise.
25699         (acos_test_upward): Likewise.
25700         (asin_test_tonearest): Likewise.
25701         (asin_test_towardzero): Likewise.
25702         (asin_test_downward): Likewise.
25703         (asin_test_upward): Likewise.
25704         (main): Call the new functions.
25705         * sysdeps/i386/fpu/libm-test-ulps: Update.
25706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25708         [BZ #13884]
25709         [BZ #13924]
25710         * math/e_exp10.c: Include <float.h>.
25711         (__ieee754_exp10): Handle underflow here rather than multiplying
25712         large negative argument by M_LN10.
25713         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25714         of __ieee754_expf.
25715         * math/e_exp10l.c: Include <float.h>.
25716         (__ieee754_exp10l): Handle underflow here rather than multiplying
25717         large negative argument by M_LN10l.
25718         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25719         spurious overflow exception on underflow.
25721 2012-04-29  Marek Polacek  <polacek@redhat.com>
25723         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25724         (__fortify_function): New macro.
25725         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25726         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25727         __extern_always_inline.
25728         * libio/bits/stdio2.h: Likewise.
25729         * libio/bits/stdio.h: Likewise.
25730         * string/string.h: Likewise.
25731         * string/bits/string3.h: Likewise.
25732         * include/stdio.h: Likewise.
25733         * stdlib/bits/stdlib.h: Likewise.
25734         * stdlib/stdlib.h: Likewise.
25735         * rt/bits/mqueue2.h: Likewise.
25736         * rt/mqueue.h: Likewise.
25737         * posix/bits/unistd.h: Likewise.
25738         * posix/unistd.h: Likewise.
25739         * io/bits/poll2.h: Likewise.
25740         * io/bits/fcntl2.h: Likewise.
25741         * io/fcntl.h: Likewise.
25742         * io/sys/poll.h: Likewise.
25743         * misc/bits/syslog.h: Likewise.
25744         * misc/bits/syslog-ldbl.h: Likewise.
25745         * misc/sys/syslog.h: Likewise.
25746         * socket/bits/socket2.h: Likewise.
25747         * socket/sys/socket.h: Likewise.
25748         * debug/tst-chk1.c: Likewise.
25749         * wcsmbs/bits/wchar2.h: Likewise.
25750         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25751         * wcsmbs/wchar.h: Likewise.
25753 2012-04-29  Andreas Jaeger  <aj@suse.de>
25755         * Makerules (tests): Remove enable-check-abi protection.
25756         (check-abi-warn): Remove.
25757         (check-abi-%): Remove check-abi-warn usage.
25759         * configure.in: Remove check-abi configure option.
25760         * configure: Regenerated.
25761         * config.make.in (enable-check-abi): Remove.
25763 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25765         [BZ #14033]
25766         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25767         double functions to double *_finite functions.
25769         [BZ #13941]
25770         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25771         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25772         LDBL_MIN_EXP.
25773         * stdio-common/Makefile (tests): Add tst-sprintf3.
25774         * stdio-common/tst-sprintf3.c: New file.
25776         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25777         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25779 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25781         * conform/conformtest.pl: Remove duplicate typed-constant
25782         handling.
25784 2012-04-28  David S. Miller  <davem@davemloft.net>
25786         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25787         (check-abi-%): Remove AWK script prerequisite and explicit
25788         abilist directory.
25789         (check-abi): Rewrite to just diff the symlist with the abilist.
25790         (config-tls, config-abi-config): Delete, no longer used.
25791         (update-abi-%): Remove AWK script and explicit abilist directory.
25792         (update-abi): Rewrite to simply compare and conditionally copy the
25793         symlist and the sysdep abilist file.  Remove update-abi-config
25794         checks.
25795         * abilist/ld.abilist: Remove.
25796         * abilist/libBrokenLocale.abilist: Remove.
25797         * abilist/libanl.abilist: Remove.
25798         * abilist/libcrypt.abilist: Remove.
25799         * abilist/libdl.abilist: Remove.
25800         * abilist/librt.abilist: Remove.
25801         * abilist/libthread_db.abilist: Remove.
25802         * abilist/libutil.abilist: Remove.
25803         * scripts/extract-abilist.awk: Remove.
25804         * scripts/merge-abilist.awk: Remove.
25805         * sysdeps/generic/libcidn.abilist: New file.
25806         * sysdeps/generic/libnss_compat.abilist: New file.
25807         * sysdeps/generic/libnss_db.abilist: New file.
25808         * sysdeps/generic/libnss_dns.abilist: New file.
25809         * sysdeps/generic/libnss_files.abilist: New file.
25810         * sysdeps/generic/libnss_hesiod.abilist: New file.
25811         * sysdeps/generic/libnss_nis.abilist: New file.
25812         * sysdeps/generic/libnss_nisplus.abilist: New file.
25813         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25814         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25815         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25816         file.
25817         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25818         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25819         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25820         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25821         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25822         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25823         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25824         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25825         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25826         file.
25827         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25828         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25829         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25830         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25831         file.
25832         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25833         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25834         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25835         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25836         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25837         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25838         file.
25839         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25840         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25841         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25842         file.
25843         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25845         New file.
25846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25847         New file.
25848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25849         New file.
25850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25851         New file.
25852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25853         New file.
25854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25855         New file.
25856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25857         New file.
25858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25859         New file.
25860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25861         New file.
25862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25863         New file.
25864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25865         New file.
25866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25867         New file.
25868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25869         New file.
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25871         file.
25872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25873         New file.
25874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25875         New file.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25877         file.
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25879         New file.
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25881         New file.
25882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25883         file.
25884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25885         New file.
25886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25887         New file.
25888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25889         New file.
25890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25891         New file.
25892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25893         New file.
25894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25895         New file.
25896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25898         file.
25899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25900         New file.
25901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25902         file.
25903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25904         file.
25905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25906         file.
25907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25908         file.
25909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25910         file.
25911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25912         New file.
25913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25914         file.
25915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25916         file.
25917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25918         New file.
25919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25920         file.
25921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25923         file.
25924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25925         New file.
25926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25927         file.
25928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25929         file.
25930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25931         file.
25932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25933         file.
25934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25935         file.
25936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25937         New file.
25938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25939         file.
25940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25941         file.
25942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25943         New file.
25944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25945         file.
25946         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25947         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25948         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25949         file.
25950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25951         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25952         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25953         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25954         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25955         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25956         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25957         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25958         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25959         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25962         file.
25963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25964         New file.
25965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25966         file.
25967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25968         file.
25969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25970         file.
25971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25972         file.
25973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25974         file.
25975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25976         New file.
25977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25978         New file.
25979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25980         file.
25981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25982         New file.
25983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25984         file.
25985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25987         file.
25988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25989         New file.
25990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25991         file.
25992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25993         file.
25994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25995         file.
25996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25997         file.
25998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25999         file.
26000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26001         New file.
26002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26003         New file.
26004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26005         file.
26006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26007         New file.
26008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26009         file.
26011 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26013         * conform/conformtest.pl: Fix typo in handling typed-constant from
26014         allow-header.
26016 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26018         * README: Cut down references to pre-2.6 Linux kernels and
26019         Linuxthreads.  Update lists of configurations in libc and ports
26020         and sort alphabetically.  Say "or newer" with Linux kernel version
26021         requirements.
26023         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26025 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26027         [BZ #887]
26028         * math/libm-test.inc (logb_test_downward): New test to expose
26029         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26030         rounding mode.
26032 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26034         [BZ #14027]
26035         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26036         to be done.
26037         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26038         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26040 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26042         * sysdeps/unix/i386/brk.S: Remove file.
26043         * sysdeps/unix/i386/dl-brk.S: Likewise.
26044         * sysdeps/unix/i386/pipe.S: Likewise.
26045         * sysdeps/unix/i386/sigreturn.S: Likewise.
26046         * sysdeps/unix/i386/syscall.S: Likewise.
26047         * sysdeps/unix/i386/vfork.S: Likewise.
26048         * sysdeps/unix/i386/wait.S: Likewise.
26050         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26051         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26053         * configure.in (arm*-none*): Do not allow without
26054         --enable-hacker-mode.
26055         (netbsd*): Remove case setting base_os.
26056         (386bsd*): Likewise.
26057         (freebsd*): Likewise.
26058         (bsdi*): Likewise.
26059         (osf*): Likewise.
26060         (sunos*): Likewise.
26061         (ultrix*): Likewise.
26062         (newsos*): Likewise.
26063         (dynix*): Likewise.
26064         (*bsd*): Likewise.
26065         (sysv*): Likewise.
26066         (isc*): Likewise.
26067         (esix*): Likewise.
26068         (sco*): Likewise.
26069         (minix*): Likewise.
26070         (irix4*): Likewise.
26071         (irix6*): Likewise.
26072         (solaris[2-9]*): Likewise.
26073         (none): Likewise.
26074         * configure: Regenerated.
26076 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26078         [BZ #11521]
26079         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26080         overflow or cancellation in calculating denominator.
26081         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26083         down expression to avoid unexpected rounding in newer GCCs.
26084         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26086 2012-04-26  David S. Miller  <davem@davemloft.net>
26088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26089         long-double compat symbols.
26090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26104 2012-04-25  David S. Miller  <davem@davemloft.net>
26106         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26107         HWCAP_* values only after the memory barriers have been defined.
26108         (atomic_full_barrier): Define.
26109         (atomic_read_barrier): Define.
26110         (atomic_write_barrier): Define.
26112 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26114         * shlib-versions: Add libgcc_s version information.
26115         * sysdeps/generic/libgcc_s.h: Remove.
26116         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26117         libgcc_s.h.
26118         * sysdeps/gnu/unwind-resume.c: Likewise.
26119         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26121 2012-04-25  David S. Miller  <davem@davemloft.net>
26123         * sysdeps/unix/sparc/brk.S: Delete.
26124         * sysdeps/unix/sparc/dl-brk.S: Delete.
26125         * sysdeps/unix/sparc/pipe.S: Delete.
26126         * sysdeps/unix/sparc/sysdep.S: Delete.
26127         * sysdeps/unix/sparc/sysdep.h: Delete.
26128         * sysdeps/unix/sparc/vfork.S: Delete.
26129         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26130         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26131         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26132         ret_ERRVAL, r0, r1, MOVE): Define.
26133         (JUMPTARGET): Remove.
26134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26135         sysdeps/unix/sparc/sysdep.h
26136         (ENTRY, END): Remove.
26137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26139 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26141         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26142         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26143         -DIS_IN_build.
26145         * timezone/README: Update upstream location and email address for
26146         tzcode and tzdata.
26147         * timezone/zdump.c: Update from tzcode 2012b.
26148         * timezone/zic.c: Likewise.
26150         * configure.in (libc_cv_as_needed): Remove test.
26151         * configure: Regenerated.
26152         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26153         conditional definition.
26154         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26155         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26156         * config.make.in (have-as-needed): Remove variable.
26158 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26159             Paul Pluzhnikov  <ppluzhnikov@google.com>
26161         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26162         strings correctly.
26164 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26166         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26167         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26168         * sysdeps/sh/strlen.S: Likewise.
26170 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26172         * sysdeps/unix/fork.S: Remove file.
26173         * sysdeps/unix/i386/fork.S: Likewise.
26174         * sysdeps/unix/sparc/fork.S: Likewise.
26176         * sysdeps/unix/system.c: Remove file.
26177         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26179         * sysdeps/unix/getegid.S: Remove file.
26180         * sysdeps/unix/geteuid.S: Likewise.
26182 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26184         * scripts/check-localplt.awk: New file.
26185         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26186         of diff.
26187         * scripts/data/localplt-generic.data: Add a comment.
26189         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26190         NODE when __dir_mkfile failed.
26191         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26192         Reported by Ludovic Courtès <ludo@gnu.org>.
26194 2012-04-24  Andreas Jaeger  <aj@suse.de>
26196         * Makerules (common-clean): Also remove gen-as-const-headers
26197         files.
26199 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26201         * Makerules (native-compile): Do not change working directory for
26202         build.  Use $(OUTPUT_OPTION) in command.
26203         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26205 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26207         [BZ #13886]
26208         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26209         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26210         * math/libm-test.inc (floor_test): Add more tests.
26211         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26213 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26215         * sysdeps/unix/getdents.c: Remove file.
26216         * sysdeps/unix/sysv/getdents.c: Likewise.
26217         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26219         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26220         sysdeps/unix/mman/syscalls.list.
26221         (mmap): Likewise.
26222         (mprotect): Likewise.
26223         (msync): Likewise.
26224         (munmap): Likewise.
26225         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26226         * sysdeps/unix/mman/syscalls.list: Remove.
26227         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26229         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26230         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26231         * configure: Regenerated.
26232         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26233         $(libgcc_s_suffix).
26234         * config.make.in (libgcc_s_suffix): Remove variable.
26236 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26238         * sysdeps/unix/sysv/gethostname.c: Move to ...
26239         * sysdeps/posix/gethostname.c: ... here.
26241         * sysdeps/unix/execve.S: Remove file.
26243         * sysdeps/unix/_exit.S: Remove file.
26245 2012-04-23  Andreas Jaeger  <aj@suse.de>
26247         [BZ #13739]
26248         * manual/Makefile: Remove make dist support, there's no
26249         need for a stand-alone documentation tar ball.
26250         (TEXI2DVI): Define always, it's not in Makeconfig.
26251         (dist): Removed.
26252         (tar-it): Removed.
26253         (edition): Removed.
26254         (glibc-doc-$(edition).tar): Removed
26255         (%.Z): Removed.
26256         (%.gz): Removed.
26257         (%.uu): Removed.
26258         (ETAGS): Remove, it's in Makeconfig.
26259         (move-if-change): Remove, it's in Makeconfig.
26261 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26263         [BZ #13970]
26264         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26265         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26266         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26267         (strtod_l, strtof_l, strtold_l): Remove __wur.
26268         It is not necessarily an error to ignore strtol's return value.
26269         One can reliably look at the stored endptr to decide whether
26270         the number had valid syntax.
26272 2012-04-21  Andreas Jaeger  <aj@suse.de>
26274         [BZ #13739]
26275         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26277 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26279         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26280         * sysdeps/unix/sysv/Versions: Remove file.
26282 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26284         [BZ #13927]
26285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26287 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26289         [BZ #7064]
26290         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26291         version from __vm86.
26293 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26295         * sysdeps/unix/common/lxstat.c: Remove file.
26296         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26298         * sysdeps/unix/sysv/Makefile: Remove file.
26300         * sysdeps/unix/sysv/direct.h: Remove file.
26302         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26303         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26304         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26305         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26306         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26307         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26308         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26310         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26312         * sysdeps/unix/xmknod.c: Remove file.
26313         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26315         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26317         * sysdeps/unix/sysv/i386/time.S: Remove file.
26319         * sysdeps/unix/fxstat.c: Remove file.
26320         * sysdeps/unix/xstat.c: Likewise.
26321         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26323         * sysdeps/unix/sysv/sigaction.c: Remove file.
26325         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26326         (sysdep_headers): Remove variable.
26327         [termio.h not in sysdep_headers] (generated): Likewise.
26328         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26329         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26330         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26331         * sysdeps/unix/sysv/tcflow.c: Likewise.
26332         * sysdeps/unix/sysv/tcflush.c: Likewise.
26333         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26334         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26335         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26336         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26337         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26339         * sysdeps/unix/siglist.c: Remove file.
26341         * sysdeps/unix/getppid.S: Remove file.
26343         * sysdeps/unix/mkdir.c: Remove file.
26344         * sysdeps/unix/rmdir.c: Likewise.
26346 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26348         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26349         ERR_MAX value.
26350         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26351         errlist-compat value.
26353 2012-04-18  David S. Miller  <davem@davemloft.net>
26355         * sysdeps/generic/memcopy.h (reg_char): Delete.
26356         * debug/strcat_chk.c: Use char, not reg_char.
26357         * debug/strcpy_chk.c: Likewise.
26358         * debug/strncat_chk.c: Likewise.
26359         * debug/strncpy_chk.c: Likewise.
26360         * string/memchr.c: Likewise.
26361         * string/memrchr.c: Likewise.
26362         * string/rawmemchr.c: Likewise.
26363         * string/strcat.c: Likewise.
26364         * string/strchr.c: Likewise.
26365         * string/strchrnul.c: Likewise.
26366         * string/strcmp.c: Likewise.
26367         * string/strcpy.c: Likewise.
26368         * string/strncat.c: Likewise.
26369         * string/strncmp.c: Likewise.
26370         * string/strncpy.c: Likewise.
26372 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26374         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26375         __builtin_memcopy is called when src and dest ranges are known to not
26376         overlap.
26378 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26380         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26381         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26382         fwd_align_merge macro call.
26383         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26384         bwd_align_merge macro call.
26385         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26387 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26389         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26390         bwd_align_merge macros.
26391         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26392         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26393         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26395 2012-04-18  David S. Miller  <davem@davemloft.net>
26397         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26399 2012-04-18  Andreas Jaeger  <aj@suse.de>
26401         [BZ# 6794]
26402         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26403         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26404         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26406         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26407         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26408         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26410         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26411         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26412         Adjust for changed ldbl-128 files.
26414         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26415         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26416         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26418 2012-04-17  David S. Miller  <davem@davemloft.net>
26420         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26422 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26424         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26425         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26426         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26427         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26428         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26429         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26431 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26433         [BZ #6794]
26434         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26435         * math/libm-test.inc: Add ilogb errno and exception tests.
26436         * math/w_ilogb.c: New file: ilogb wrapper.
26437         * math/w_ilogbf.c: New file: ilogbf wrapper.
26438         * math/w_ilogbl.c: New file: ilogbl wrapper.
26439         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26440         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26441         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26442         exception being thrown with 0.0 as argument.
26443         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26444         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26445         exception being thrown with 0.0 as argument.
26446         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26447         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26448         exception being thrown with 0.0 as argument.
26449         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26450         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26451         exception being thrown with 0.0 as argument.
26452         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26453         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26454         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26455         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26456         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26457         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26458         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26459         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26460         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26462 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26464         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26465         with altivec.
26467 2012-04-16  Marek Polacek  <polacek@redhat.com>
26469         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26471 2012-04-16  Marek Polacek  <polacek@redhat.com>
26473         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26474         operands of fdivp instruction.
26476 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26478         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26479         * elf/tst-auditmod3b.c: Likewise.
26480         * elf/tst-auditmod4b.c: Likewise.
26481         * elf/tst-auditmod5b.c: Likewise.
26482         * elf/tst-auditmod6b.c: Likewise.
26483         * elf/tst-auditmod6c.c: Likewise.
26484         * elf/tst-auditmod7b.c: Likewise.
26485         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26486         * sysdeps/x86_64/preconfigure.in: Likewise.
26487         * sysdeps/x86_64/preconfigure: Regenerated.
26489 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26491         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26492         __ILP32__.
26494 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26497         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26499 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26501         [BZ #13973]
26502         * locale/iso-639.def: Fix gl language name. Spotted by
26503         Yaron Shahrabani.
26505 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26507         [BZ #2074]
26508         * libio/libio.h (__io_write_fn): Update comment.
26510 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26512         [BZ #2074]
26513         * stdio.texi (Hook Functions): The user provided writer function
26514         is not allowed to return -1.
26516 2012-04-11  David S. Miller  <davem@davemloft.net>
26518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26520 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26522         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26523         Add a leading slash to rtkaio.
26525 2012-04-11  Jim Meyering  <meyering@redhat.com>
26527         [BZ #11959]
26528         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26529         It is not necessarily an error to ignore fwrite's return
26530         value.  One can reliably use ferror to test for errors after
26531         the fact.
26533 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26535         * bits/types.h (__snseconds_t): New type.
26536         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26538         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26539         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26540         (__SNSECONDS_T_TYPE): Likewise.
26541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26542         (__SNSECONDS_T_TYPE): Likewise.
26543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26544         (__SNSECONDS_T_TYPE): Likewise.
26546 2012-04-10  Andreas Jaeger  <aj@suse.de>
26548         [BZ #2636]
26549         * manual/time.texi (Processor Time): Return type of times is
26550         elapsed real time since an arbitrary point in the past.
26551         (CPU Time): Move CLK_TCK from here...
26552         (Processor Time): ...to here.  Correct description.
26553         * manual/conf.texi (Constants for Sysconf): Correct description of
26554         _SC_CLK_TCK.
26556 2012-04-10  David S. Miller  <davem@davemloft.net>
26558         [BZ #13967]
26559         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26560         where the is a gap between DT_REL(A) and DT_JMPREL.
26562 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26564         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26565         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26566         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26568 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26570         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26571         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26572         (dl_main): Handle --inhibit-cache.
26573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26574         _dl_inhibit_cache.
26575         * elf/dl-load.c (_dl_map_object): Use it.
26576         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26578 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #13872]
26581         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26582         (__ieee754_powl): Saturate large exponents rather than testing for
26583         overflow of y*log2(x).
26584         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26585         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26586         exceptions.
26588         [BZ #11521]
26589         * math/s_ctan.c: Include <float.h>.
26590         (__ctan): Avoid internal overflow or cancellation in calculating
26591         denominator.
26592         * math/s_ctanf.c: Likewise.
26593         * math/s_ctanl.c: Likewise.
26594         * math/s_ctanh.c: Likewise.
26595         * math/s_ctanhf.c: Likewise.
26596         * math/s_ctanhl.c: Likewise.
26597         * math/libm-test.inc (ctan_test): Add more tests.
26598         (ctanh_test): Likewise.
26599         * sysdeps/i386/fpu/libm-test-ulps: Update.
26600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26602 2012-04-09  Andreas Jaeger  <aj@suse.de>
26604         [BZ #6894]
26605         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26606         is an optional BSD extension.
26608         [BZ #10254]
26609         * manual/stdio.texi (Opening Streams): Document additional fopen
26610         parameters.
26612 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26614         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26615         %eax without telling the compiler.
26617 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26619         [BZ # 13963]
26620         * manual/install.texi: Use sourceware.org.
26622 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26624         [BZ #13873]
26625         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26626         (__ieee754_pow): Generate overflow and underflow using huge*huge
26627         and tiny*tiny rather than just returning constant infinity or zero
26628         for large exponents.
26629         * math/libm-test.inc (pow_test): Require overflow exceptions for
26630         applicable cases of large exponents.
26632         [BZ #706]
26633         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26634         (__ieee754_pow): Use iterative multiplication algorithm only for
26635         integer exponents with absolute value below 1024.  Check for odd
26636         integer exponents when using algorithm for real exponents.
26637         * math/libm-test.inc (pow_test): Add more tests.
26638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26640 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26642         [BZ #13705]
26643         * math/libm-test.inc (exp_test): Do not allow overflow exception
26644         on underflow test.
26646 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26648         [BZ #13705]
26649         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26650         instead of __kernel_standard_f.
26652 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26654         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26655         * sysdeps/x86_64/memset_chk.S: Likewise.
26657 2012-04-08  Andreas Jaeger  <aj@suse.de>
26659         [BZ #10153]
26660         * manual/startup.texi (Environment Access): Describe return value
26661         for putenv and setenv.
26663         [BZ #6895]
26664         * manual/filesys.texi (Directory Entries): Add description for
26665         DT_LNK.
26667         [BZ #6890]
26668         * manual/filesys.texi (Directory Entries): Clarify that it's file
26669         system not operating system in the description of DT_UNKNOWN.
26671         [BZ #6578]
26672         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26674 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26676         [BZ #6649]
26677         * manual/llio.texi (Opening and Closing Files): Add cross
26678         reference to explain mode argument.
26680 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26682         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26683         * sysdeps/x86_64/memset_chk.S: Likewise.
26685 2012-04-07  David S. Miller  <davem@davemloft.net>
26687         * elf/elf.h (R_SPARC_WDISP10): Define.
26688         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26689         R_SPARC_SIZE32.
26690         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26691         R_SPARC_SIZE64 and R_SPARC_H34.
26693 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26695         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26696         conditions and remove no longer applicable assertion.
26698 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26700         * bits/byteswap.h: Include <features.h>.
26701         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26702         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26704 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26706         * bits/byteswap.h (__bswap_16): Removed.
26707         Include <bits/byteswap-16.h> to get __bswap_16.
26708         * sysdeps/i386/bits/byteswap.h: Likewise.
26709         * sysdeps/s390/bits/byteswap.h: Likewise.
26710         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26711         * bits/byteswap-16.h: New file.
26712         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26713         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26714         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26715         * string/Makefile (headers): Add bits/byteswap-16.h.
26717 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26719         [BZ #13895]
26720         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26721         extra indirection.
26722         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26723         * nss/tst-nss-static.c: New.
26725 2012-04-06  Robert Millan  <rmh@gnu.org>
26727         [BZ #6486]
26728         * manual/llio.texi (File Position Primitive): lseek
26729         refers to WHENCE when it really means OFFSET.
26731 2012-04-06  Andreas Jaeger  <aj@suse.de>
26733         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26734         strncmp declarations.
26736         * abilist/libc.abilist: Add __poll and __ppoll.
26738 2012-04-05  David S. Miller  <davem@davemloft.net>
26740         * scripts/check-local-headers.sh: Accept a host triplet in the
26741         path matched by the exclude regexp.
26743         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26744         definition.
26745         * sysdeps/powerpc/powerpc32/dl-machine.h
26746         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26747         * sysdeps/s390/s390-32/dl-machine.h
26748         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26749         * sysdeps/sparc/sparc32/dl-machine.h
26750         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26751         * sysdeps/sparc/sparc64/dl-machine.h
26752         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26754         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26755         lazy binding.
26756         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26757         undefined symbol errors.
26759         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26760         DT_NEEDED entries.
26762 2012-04-05  Michael Matz  <matz@suse.de>
26764         [BZ #13592]
26765         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26767 2012-04-05  Andreas Jaeger  <aj@suse.de>
26769         [BZ #13908]
26770         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26771         comment.
26773 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26775         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26776         which ROUND is no valid rounding mode.
26778 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26780         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26781         read again.
26782         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26784 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26786         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26787         an exception using FPU order intentionally.
26789 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26791         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26792         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26793         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26794         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26796 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26798         [BZ #12340]
26799         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26800         EINVAL when BUFLEN is too smal.
26802 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26804         [BZ #13553]
26805         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26806         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26808 2012-04-03  Andreas Jaeger  <aj@suse.de>
26810         [BZ #13938]
26811         * manual/setjmp.texi (System V contexts): Fix sentence.
26813         [BZ #13926]
26814         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26815         New macro for this case.
26816         [!__GNUC__] (__bswap_64): New inline function for this case.
26817         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26818         * bits/byteswap.h: Likewise.
26819         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26820         ull, guard with __GLIBC_HAVE_LONG_LONG.
26822         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26823         __GLIBC_HAVE_LONG_LONG.
26825         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26826         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26828 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26830         [BZ #13691]
26831         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26832         inptr and inend, rather than using last_ch.
26834 2012-04-02  David S. Miller  <davem@davemloft.net>
26836         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26837         * stdio-common/printf-parse.h (read_int): Change return type to
26838         'int', return -1 on INT_MAX overflow.
26839         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26840         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26841         overflows INT_MAX.  Check for overflow of in-format-string precision
26842         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26843         SIZE_MAX not INT_MAX for integer overflow test.
26844         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26845         skip the construct in the format string but do not record anything.
26846         * stdio-common/bug22.c: Adjust to test both width/prevision
26847         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26848         explicitly for proper errno values.
26850 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26852         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26853         CHAR_MAX.
26854         * string/test-strcmp.c [! WIDE]: Likewise.
26855         * time/tst-mktime2.c: Likewise for INT_MAX.
26856         * string/test-string.h: #include <sys/param.h> for MIN.
26858         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26859         * sysdeps/i386/init-first.c (init): Likewise.
26860         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26861         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26862         * sysdeps/sh/init-first.c (init): Likewise.
26864 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26866         * po/ru.po: Update from translation team.
26867         * po/vi.po: Likewise.
26869 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26871         * resolv/nss_dns/dns-host.c: Merge copyright years.
26873 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26875         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26876         Optimize memcpy with prefetch if
26877         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26878         src, dst pointers have unequal 16 byte alignments.
26880 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26882         [BZ #13928]
26883         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26884         from a CNAME entry and return the minimum ttl for the query.
26885         (gaih_getanswer_slice): Likewise.
26887 2012-03-30  Jeff Law  <law@redhat.com>
26889         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26890         due to long keys.
26891         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26892         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26894         * resolv/nss_dns/dns-host.c: Update copyright year.
26896 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26898         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26899         requests to save a system call.  Fix check that all bytes are sent.
26901         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26902         comments for sendmmsg.
26904 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26906         [BZ #13691]
26907         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26908         with only 1 character between 0x0041 and 0x01b0.
26909         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26910         * wcsmbs/tst-mbsnrtowcs.c: New file.
26912 2012-03-29  David S. Miller  <davem@davemloft.net>
26914         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26915         small copies by hand.
26917 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26919         [BZ #13761]
26920         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26921         _nss_compat_initgroups_dyn): Fall back to malloc/free
26922         for large group memberships.
26924 2012-03-28  David S. Miller  <davem@davemloft.net>
26926         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26927         that branches into memcpy.
26928         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26931         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26932         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26933         bits.
26934         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26935         implementation too.
26936         * sysdeps/sparc/mempcpy.S: New file.
26938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26939         the IFUNC routine in the libc case.
26940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26942         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26943         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26944         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26945         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26946         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26947         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26948         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26949         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26951         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26952         loop to 256 bytes instead of 64 bytes and fix test signedness.
26954         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26955         * sysdeps/sparc/sparc32/Makefile: rather than here...
26956         * sysdeps/sparc/sparc64/Makefile: and here.
26958 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26960         * malloc/mallocbug.c: Avoid warnings about unused variables.
26962 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26964         [BZ #13760]
26965         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26966         in the right place. Discard and retry query if response is
26967         larger than input buffer size.
26969 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26971         [BZ #369]
26972         [BZ #2678]
26973         [BZ #3866]
26974         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26975         x for large integer exponent.
26976         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26977         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26978         sign of result as needed afterwards.
26979         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26980         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26981         result for underflowing pow the same as for overflow.
26982         (__kernel_standard_l): Handle powl overflow and underflow here
26983         rather than calling __kernel_standard.
26984         * math/libm-test.inc (pow_test): Add more tests.
26986         [BZ #3868]
26987         [BZ #13879]
26988         [BZ #13910]
26989         [BZ #13911]
26990         [BZ #13912]
26991         [BZ #13913]
26992         [BZ #13915]
26993         [BZ #13916]
26994         [BZ #13917]
26995         [BZ #13918]
26996         [BZ #13919]
26997         [BZ #13920]
26998         [BZ #13921]
26999         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27000         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27001         (__kernel_standard_l): New function.
27002         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27003         __kernel_standard.
27004         * math/w_acosl.c (__acosl): Likewise.
27005         * math/w_asinl.c (__asinl): Likewise.
27006         * math/w_atan2l.c (__atan2l): Likewise.
27007         * math/w_atanhl.c (__atanhl): Likewise.
27008         * math/w_coshl.c (__coshl): Likewise.
27009         * math/w_exp10l.c (__exp10l): Likewise.
27010         * math/w_exp2l.c (__exp2l): Likewise.
27011         * math/w_fmodl.c (__fmodl): Likewise.
27012         * math/w_hypotl.c (__hypotl): Likewise.
27013         * math/w_j0l.c (__j0l, __y0l): Likewise.
27014         * math/w_j1l.c (__j1l, __y1l): Likewise.
27015         * math/w_jnl.c (__jnl, __ynl): Likewise.
27016         * math/w_lgammal.c (__lgammal): Likewise.
27017         * math/w_log10l.c (__log10l): Likewise.
27018         * math/w_log2l.c (__log2l): Likewise.
27019         * math/w_logl.c (__logl): Likewise.
27020         * math/w_powl.c (__powl): Likewise.
27021         * math/w_remainderl.c (__remainderl): Likewise.
27022         * math/w_scalbl.c (sysv_scalbl): Likewise.
27023         * math/w_sinhl.c (__sinhl): Likewise.
27024         * math/w_sqrtl.c (__sqrtl): Likewise.
27025         * math/w_tgammal.c (__tgammal): Likewise.
27026         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27027         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27028         * math/libm-test.inc (acos_test): Add more tests.
27029         (acosh_test): Likewise.
27030         (asin_test): Likewise.
27031         (atanh_test): Likewise.
27032         (exp_test): Likewise.
27033         (exp10_test): Likewise.
27034         (exp2_test): Likewise.
27035         (expm1_test): Likewise.
27036         (lgamma_test): Likewise.
27037         (log_test): Likewise.
27038         (log10_test): Likewise.
27039         (log1p_test): Likewise.
27040         (log2_test): Likewise.
27041         (pow_test): Do not allow some spurious overflow exceptions.
27042         (sqrt_test): Add more tests.
27043         (tgamma_test): Likewise.
27044         (y0_test): Likewise.
27045         (y1_test): Likewise.
27046         (yn_test): Likewise.
27048 2012-03-27  Anton Blanchard  <anton@samba.org>
27050         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27051         MAP_HUGETLB.
27052         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27053         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27054         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27056 2012-03-27  David S. Miller  <davem@davemloft.net>
27058         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27060         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27061         have-as-vis3 check.
27063 2012-03-27  Andreas Jaeger  <aj@suse.de>
27065         * sysdeps/x86_64/elf/configure.in: Moved to ...
27066         * sysdeps/x86_64/configure.in: ... here.
27067         * sysdeps/x86_64/elf/start.S: Moved to ...
27068         * sysdeps/x86_64/start.S: ... here.
27069         * sysdeps/x86_64/elf/configure: Delete.
27071         * sysdeps/x86_64/configure.in: Merge contents from
27072         sysdeps/i386/configure.in (without i686 check).
27074         * sysdeps/i386/elf/Versions: Merge into ...
27075         * sysdeps/i386/Versions: ... this.
27076         * sysdeps/i386/elf/Versions: Delete file.
27077         * sysdeps/i386/elf/start.S: Moved to ...
27078         * sysdeps/i386/start.S: ...here.
27079         * sysdeps/i386/elf/configure.in: Merge into...
27080         * sysdeps/i386/configure.in: ...here.
27081         * sysdeps/i386/elf/configure.in: Delete file.
27082         * sysdeps/i386/elf/configure: Delete file.
27084         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27085         * debug/backtracesyms.c: ... here.
27086         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27087         * debug/backtracesymsfd.c: ... here.
27088         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27089         * sysdeps/generic/ifunc-sel.h: ... here.
27091         * sysdeps/unix/i386/start.c: Delete file.
27092         * sysdeps/unix/sparc/start.c: Delete file.
27093         * sysdeps/unix/start.c: Delete file.
27095         * sysdeps/sh/elf/configure.in: Moved to ...
27096         * sysdeps/sh/configure.in: ... here.
27097         * sysdeps/sh/elf/start.S: Moved to ...
27098         * sysdeps/sh/start.S: ... here.
27099         * sysdeps/sh/elf/configure: Delete file.
27101         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27102         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27103         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27104         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27105         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27106         * sysdeps/powerpc/powerpc64/start.S: here.
27107         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27108         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27109         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27110         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27111         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27113         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27114         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27115         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27116         * sysdeps/powerpc/powerpc32/start.S: ... here.
27117         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27118         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27119         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27121         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27122         * sysdeps/powerpc/ifunc-sel.h: ... here.
27123         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27124         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27126         * sysdeps/sparc/elf/configure.in: Moved to ...
27127         * sysdeps/sparc/configure.in: ... here.
27128         * sysdeps/sparc/elf/configure: Delete file.
27129         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27130         * sysdeps/sparc/sparc32/start.S: ... here.
27131         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27132         * sysdeps/sparc/sparc64/start.S: ... here.
27133         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27134         * sysdeps/sparc/sparc32/Makefile: ... this.
27135         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27136         * sysdeps/sparc/sparc64/Makefile: ... this.
27138         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27139         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27140         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27141         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27142         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27143         * sysdeps/s390/s390-32/setjmp.S: ... here.
27144         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27145         * sysdeps/s390/s390-32/configure.in: ... here.
27146         * sysdeps/s390/s390-32/elf/configure: Delete file.
27147         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27148         * sysdeps/s390/s390-32/start.S: ... here.
27150         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27151         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27152         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27153         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27154         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27155         * sysdeps/s390/s390-64/setjmp.S: ... here.
27156         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27157         * sysdeps/s390/s390-64/configure.in: ... here
27158         * sysdeps/s390/s390-64/elf/configure: Delete file.
27159         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27160         * sysdeps/s390/s390-64/start.S: ... here.
27161         * sysdeps/s390/s390-64/elf/configure: Delete.
27163         * configure.in: Remove support for elf directories in sysdeps.
27165         * configure: Regenerated.
27166         * sysdeps/i386/configure: Regenerated.
27167         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27168         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27169         * sysdeps/s390/s390-32/configure: Regenerated.
27170         * sysdeps/s390/s390-64/configure: Regenerated.
27171         * sysdeps/sh/configure: Regenerated.
27172         * sysdeps/sparc/configure: Regenerated.
27173         * sysdeps/x86_64/configure: Regenerated.
27175 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27179         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27180         denormal result into account.
27182 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27184         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27185         Reported by Allan McRae <allan@archlinux.org>.
27187 2012-03-23  Jeff Law  <law@redhat.com>
27189         * nss/getnssent.c (__nss_getent): Fix typo.
27191 2012-03-23  David S. Miller  <davem@davemloft.net>
27193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27195 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27197         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27198         to pad to uint64_t for each field.
27199         (dl_tls_index): Replace unsigned long with uint64_t.
27201 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27202         Paul Pluzhnikov  <ppluzhnikov@google.com>
27204         [BZ #6528]
27205         * grp/Makefile (otherlibs): Don't set it.
27206         * inet/Makefile (otherlibs): Likewise.
27207         * login/Makefile (otherlibs): Likewise.
27208         * nscd/Makefile (otherlibs): Likewise.
27209         * posix/Makefile (otherlibs): Likewise.
27210         * pwd/Makefile (otherlibs): Likewise.
27211         * rt/Makefile (otherlibs): Likewise.
27212         * sunrpc/Makefile (otherlibs): Likewise.
27213         * nss/Makefile (otherlibs): Likewise.
27214         Add libnss_files to routines and static-only-routines.
27215         ($(objpfx)getent): Remove rule.
27216         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27217         static-only-routines.
27219 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27221         [BZ #13892]
27222         * math/s_cexp.c: Include <float.h>.
27223         (__cexp): Handle exp result overflowing not necessarily
27224         overflowing both real and imaginary parts of result.
27225         * math/s_cexpf.c: Likewise.
27226         * math/s_cexpl.c: Likewise.
27227         * math/libm-test.inc (cexp_test): Add more tests.
27228         * sysdeps/i386/fpu/libm-test-ulps: Update.
27229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27231 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27233         * include/link.h (ELFW): New macro.
27234         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27235         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27237 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27239         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27240         with uint64_t.
27242 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27244         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27245         declaration.
27246         (struct La_x32_retval): Likewise.
27248 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27250         * sysdeps/x86_64/preconfigure.in: New file.
27251         * sysdeps/x86_64/preconfigure: New generated file.
27253 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27255         [BZ #13824]
27256         * math/e_exp2l.c: Include <float.h>.
27257         (__ieee754_exp2l): Handle overflow and underflow cases
27258         separately.  Only pass fractional part of argument to
27259         __ieee754_expl.
27260         * math/libm-test.inc (exp2_test): Add more tests.
27262         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27263         negating x to take absolute value.
27264         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27265         Likewise.
27266         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27267         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27268         Likewise.
27269         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27270         computing low part if x was negated.
27271         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27273 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27275         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27276         la_x32_gnu_pltexit.
27277         (pltexit): Cast int_retval to ptrdiff_t.
27278         * elf/tst-auditmod3b.c: Likewise.
27279         * elf/tst-auditmod4b.c: Likewise.
27280         * elf/tst-auditmod5b.c: Likewise.
27281         * elf/tst-auditmod6b.c: Likewise.
27282         * elf/tst-auditmod6c.c: Likewise.
27283         * elf/tst-auditmod7b.c: Likewise.
27285         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27286         and x32_gnu_pltexit.
27288         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27289         __ELF_NATIVE_CLASS.
27290         (La_x32_regs): New macro.
27291         (La_x32_retval): Likewise.
27292         (la_x32_gnu_pltenter): New function prototype.
27293         (la_x32_gnu_pltexit): Likewise.
27295 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27298         exponent.
27300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27302         * configure.in (libc_cv_cc_nofma): Check for option to disable
27303         generation of FMA instructions.
27304         * configure: Regenerate.
27305         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27306         * sysdeps/ieee754/dbl-64/Makefile: New file.
27307         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27308         Remove brandred-fma4.
27309         (CFLAGS-brandred-fma4.c): Remove.
27310         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27312         define.
27313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27314         define.
27316 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27318         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27319         LLONG_MAX != LONG_MAX.
27320         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27321         (_fitoa_word): Likewise.
27322         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27323         LLONG_MAX != LONG_MAX.
27324         * stdio-common/_itowa.h: Include <_itoa.h>.
27325         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27326         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27327         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27328         only if not defined.
27329         (_ITOA_WORD_TYPE): Likewise.
27330         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27331         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27333 2012-03-21  David S. Miller  <davem@davemloft.net>
27335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27337 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27339         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27340         of x86_64 when setting libc_cv_slibdir, libdir and
27341         libc_cv_localedir.
27342         * sysdeps/unix/sysv/linux/configure: Regenerated.
27344 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27346         * manual/lang.texi (Old Varargs): Remove section.
27347         (How Variadic): Update menu.
27348         (va_start): Do not mention varargs.h.
27350 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27351             Joseph Myers  <joseph@codesourcery.com>
27353         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27354         link test.
27355         * configure: Regenerated.
27357 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27359         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27360         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27361         conformtest.pl
27363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27365         * NOTES: Remove.
27366         * Makefile (files-for-dist): Remove NOTES.
27367         (NOTES): Remove rule.
27368         * README: Don't refer to NOTES.
27369         * manual/creature.texi: Don't include macros.texi.
27370         * manual/intro.texi (creature.texi): Remove comment referring to
27371         NOTES.
27373         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27374         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27375         * configure: Regenerated.
27376         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27377         LIBC_TRY_CC_OPTION.
27378         (libc_cv_as_i686): Likewise.
27379         (libc_cv_cc_avx): Likewise.
27380         (libc_cv_cc_sse2avx): Likewise.
27381         (libc_cv_cc_fma4): Likewise.
27382         (libc_cv_cc_novzeroupper): Likewise.
27383         * sysdeps/i386/configure: Regenerated.
27385         [BZ #13883]
27386         * sysdeps/i386/fpu/s_cexp.S: Remove.
27387         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27388         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27389         * math/libm-test.inc (cexp_test): Add more tests.
27390         * sysdeps/i386/fpu/libm-test-ulps: Update.
27391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27393 2012-03-21  Allan McRae  <allan@archlinux.org>
27395         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27397 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27399         [BZ #13871]
27400         * math/w_exp2.c: Do not include <float.h>.
27401         (o_threshold, u_threshold): Remove.
27402         (__exp2): Calculate result before checking finiteness and calling
27403         __kernel_standard.
27404         * math/w_exp2f.c: Likewise.
27405         * math/w_exp2l.c: Likewise.
27406         * math/libm-test.inc (exp2_test): Require overflow exception for
27407         1e6 input.
27409         [BZ #3866]
27410         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27411         range of signed 64-bit integers before using fistpll.  Remove
27412         checks for whether integers fit in mantissa bits.
27413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27414         the range of signed 32-bit integers before using fistpl.  Remove
27415         checks for whether integers fit in mantissa bits.
27416         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27417         (__ieee754_powl): Test for y outside the range of signed 64-bit
27418         integers before using fistpll.  Reduce 64-bit values to 63-bit
27419         ones as needed.
27420         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27421         divide-by-zero is raised for zero to large negative powers.
27422         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27423         (__ieee754_powl): Test for y outside the range of signed 64-bit
27424         integers before using fistpll.  Reduce 64-bit values to 63-bit
27425         ones as needed.
27426         * math/libm-test.inc (pow_test): Add more tests.
27428 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27430         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27431         <stdio-common/_itoa.h>.
27432         * debug/segfault.c: Likewise.
27433         * elf/dl-cache.c: Likewise.
27434         * elf/dl-minimal.c: Likewise.
27435         * elf/dl-misc.c: Likewise.
27436         * elf/dl-sysdep.c: Likewise.
27437         * elf/dl-version.c: Likewise.
27438         * elf/rtld.c: Likewise.
27439         * hurd/hurdsock.c: Likewise.
27440         * hurd/lookup-retry.c: Likewise.
27441         * malloc/malloc.c: Likewise.
27442         * malloc/mtrace.c: Likewise.
27443         * nscd/nscd_getgr_r.c: Likewise.
27444         * nscd/nscd_getpw_r.c: Likewise.
27445         * nscd/nscd_getserv_r.c: Likewise.
27446         * posix/getopt_init.c: Likewise.
27447         * posix/wordexp.c: Likewise.
27448         * stdio-common/_itoa.c: Likewise.
27449         * stdio-common/printf_fphex.c: Likewise.
27450         * stdio-common/vfprintf.c: Likewise.
27451         * string/_strerror.c: Likewise.
27452         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27453         * sysdeps/i386/i686/hp-timing.h: Likewise.
27454         * sysdeps/mach/_strerror.c: Likewise.
27455         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27456         * sysdeps/mach/hurd/sethostid.c: Likewise.
27457         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27458         * sysdeps/mach/xpg-strerror.c: Likewise.
27459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27461         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27462         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27463         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27464         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27465         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27466         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27467         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27468         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27469         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27470         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27471         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27472         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27473         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27474         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27475         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27476         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27477         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27478         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27479         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27481         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27483         * stdio-common/_itoa.h: Moved to ...
27484         * sysdeps/generic/_itoa.h: Here.
27486         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27488         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27489         instead of "_itoa.h" and "_itowa.h".
27490         * stdio-common/vfprintf.: Likewise.
27492 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27494         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27495         <bits/wordsize.h>.
27496         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27497         (__signbit): Likwise.
27498         (llrintf): Likwise.
27499         (llrint): Likwise.
27501 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27503         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27504         __WORDSIZE != 64.
27506 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27508         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27509         OVERFLOW_EXCEPTION_OK.
27510         * math/libm-test.inc ("Philosophy"): Update comment about
27511         exception testing.
27512         (OVERFLOW_EXCEPTION): Define.
27513         (OVERFLOW_EXCEPTION_OK): Likewise.
27514         (INVALID_EXCEPTION_OK): Renumber.
27515         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27516         (IGNORE_ZERO_INF_SIGN): Likewise.
27517         (test_exceptions): Handle FE_OVERFLOW.
27518         (exp10_test): Expect overflow exceptions.
27519         (exp2_test): Likewise.
27520         (expm1_test): Likewise.
27521         (nextafter_test): Likewise.
27522         (pow_test): Likewise.
27523         (scalbn_test): Likewise.
27524         (scalbln_test): Likewise.
27526 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27528         * sysdeps/x86_64/bits/atomic.h
27529         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27530         64bit integer.
27531         (atomic_exchange_acq): Likewise.
27532         (__arch_exchange_and_add_body): Likewise.
27533         (__arch_add_body): Likewise.
27534         (atomic_add_negative): Likewise.
27535         (atomic_add_zero): Likewise.
27537 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27539         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27540         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27542 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27544         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27545         Check __x86_64__ instead of __WORDSIZE.
27547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27549         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27551 2012-03-19  David S. Miller  <davem@davemloft.net>
27553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27555         * sysdeps/sparc/fpu/fenv_private.h: New file.
27556         * sysdeps/sparc/fpu/math_private.h: Use it.
27557         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27558         Remove.
27559         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27560         (libc_feholdexcept_setroundl): Remove.
27561         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27562         Remove.
27563         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27564         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27566 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27568         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27569         int64_t instead of long int.
27570         (INSERT_WORDS64): Likwise.
27572 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27574         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27575         _Unwind_GetCFA return to _Unwind_Ptr first.
27577 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27579         [BZ #13629]
27580         * math/s_clog.c: Include <float.h>.
27581         (__clog): Scale large or subnormal inputs.
27582         * math/s_clogf.c: Likewise.
27583         * math/s_clogl.c: Likewise.
27584         * math/s_clog10.c: Include <float.h>.
27585         (M_LOG10_2): Define.
27586         (__clog10): Scale large or subnormal inputs.
27587         * math/s_clog10f.c: Likewise.
27588         * math/s_clog10l.c: Likewise.
27589         * math/libm-test.inc (clog_test): Add more tests.
27590         (clog10_test): Likewise.
27591         * sysdeps/i386/fpu/libm-test-ulps: Update.
27592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27594         [BZ #11451]
27595         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27596         x and y.
27597         * math/libm-test.inc (atan2_test): Add another test.
27599         * Makerules (common-objdir-compile): Remove.
27600         * sysdeps/unix/Makefile (config-generated): Do not add
27601         $(unix-generated) to variable.
27602         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27603         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27604         Remove rule.
27605         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27606         Likewise.
27607         [generic bits/local_lim.h] (before-compile): Do not append to
27608         variable.
27609         [generic bits/local_lim.h] (common-generated): Likewise.
27610         [generic sys/param.h] (before-compile): Do not append to variable.
27611         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27612         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27613         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27614         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27615         include.
27616         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27617         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27618         [generic sys/param.h] ($(addprefix
27619         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27620         [generic sys/param.h] (common-generated): Do not append to
27621         variable.
27622         [generic sys/param.h] (sysdep_headers): Likewise.
27623         [generic bits/errno.h] (before-compile): Do not append to
27624         variable.
27625         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27626         rule.
27627         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27628         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27629         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27630         [generic bits/errno.h] (common-generated): Do not append to
27631         variable.
27632         [generic bits/ioctls.h] (before-compile): Do not append to
27633         variable.
27634         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27635         rule.
27636         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27637         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27638         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27639         rule.
27640         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27641         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27642         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27643         [generic bits/ioctls.h] (common-generated): Do not append to
27644         variable.
27645         [generic sys/syscall.h] (syscall.h): Remove variable.
27646         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27647         rule.
27648         [generic sys/syscall.h] (before-compile): Do not append to
27649         variable.
27650         [generic sys/syscall.h] (common-generated): Likewise.
27651         * sysdeps/unix/errnos-tmpl.c: Remove file.
27652         * sysdeps/unix/errnos.awk: Likewise.
27653         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27654         * sysdeps/unix/ioctls.awk: Likewise.
27655         * sysdeps/unix/mk-local_lim.c: Likewise.
27656         * sysdeps/unix/snarf-ioctls: Likewise.
27658 2012-03-19  Richard Henderson  <rth@twiddle.net>
27660         * sysdeps/i386/fpu/fenv_private.h: New file.
27661         * sysdeps/i386/fpu/math_private.h: Use it.
27662         (math_opt_barrier, math_force_eval): Remove.
27663         (libc_feholdexcept_setround_53bit): Remove.
27664         (libc_feupdateenv_53bit): Remove.
27665         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27666         (math_opt_barrier, math_force_eval): Remove.
27667         (libc_feholdexcept): Remove.
27668         (libc_feholdexcept_setround): Remove.
27669         (libc_fetestexcept, libc_fesetenv): Remove.
27670         (libc_feupdateenv_test): Remove.
27671         (libc_feupdateenv, libc_feholdsetround): Remove.
27672         (libc_feresetround): Remove.
27674         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27675         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27677         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27678         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27679         (libc_feupdateenv_testl): New.
27680         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27681         (libc_feupdateenv_testf): New.
27682         (libc_feupdateenv): Use libc_feupdateenv_test.
27683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27686         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27687         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27688         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27689         (libc_feresetround_noex): New.
27690         (libc_feresetround_noexf): New.
27691         (libc_feresetround_noexl): New.
27692         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27693         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27694         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27695         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27696         SET_RESTORE_ROUND.
27697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27698         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27699         (__cos): Likewise.
27700         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27701         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27702         SET_RESTORE_ROUND_NOEX.
27703         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27704         SET_RESTORE_ROUND_NOEXF.
27705         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27706         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27707         (libc_feholdsetroundf): New.
27708         (libc_feresetround, libc_feresetroundf): New.
27710         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27711         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27712         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27714         * sysdeps/generic/math_private.h: Include <fenv.h>.
27715         (default_libc_feholdexcept): New.
27716         (default_libc_feholdexcept_setround): New.
27717         (default_libc_fesetenv, default_libc_feupdateenv): New.
27718         (libc_feholdexcept): Only define if undefined.
27719         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27720         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27721         (libc_feholdexcept_setroundl): Likewise.
27722         (libc_feholdexcept_setround_53bit): Likewise.
27723         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27724         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27725         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27726         (libc_feupdateenv_53bit): Likewise.
27727         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27728         (libc_feholdexcept): Convert from macro to inline function.
27729         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27730         (libc_fesetenv, libc_feupdateenv): Likewise.
27732         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27733         not previously defined.
27734         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27735         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27736         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27737         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27738         * sysdeps/ieee754/flt-32/math_private.h: New file.
27739         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27740         math_private.h below SET_FLOAT_WORD.
27741         (__isnan, __isinf_ns, __finite): Remove.
27742         (__isnanf, __isinf_nsf, __finitef): Remove.
27744 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27748 2012-03-17  David S. Miller  <davem@davemloft.net>
27750         [BZ #6471]
27751         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27752         for 2.16.
27754 2012-03-16  David S. Miller  <davem@davemloft.net>
27756         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27757         warnings.
27759         [BZ #6471]
27760         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27761         properly.
27762         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27763         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27764         sysdep_routines when subdir is sysvipc.
27765         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27766         __getshmlba helper.
27768         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27772         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27773         [__LP64__].
27775 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27777         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27778         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27779         (__lround): Renamed to ...
27780         (__llround): This.  Replace long int with long long int.
27781         Define lround functions as aliases of llround functions.
27782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27786         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27787         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27788         adresses to uintptr_t.  Replace "long int" and "unsigned long
27789         int" with "greg_t" on va_arg.
27791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27793         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27794         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27796         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27797         Move e_machine check before EI_CLASS check.  Handle x32
27798         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27799         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27800         SKIP_EM_IA_64 and include
27801         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27803         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27804         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27805         (add_system_dir): New macro.
27807         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27808         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27810 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #2551]
27813         [BZ #2552]
27814         [BZ #2553]
27815         [BZ #2554]
27816         [BZ #2562]
27817         [BZ #2563]
27818         [BZ #2565]
27819         [BZ #2566]
27820         [BZ #2576]
27821         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27822         (y0): Likewise.
27823         * math/w_j0f.c (j0f): Likewise.
27824         (y0f): Likewise.
27825         * math/w_j0l.c (__j0l): Likewise.
27826         (__y0l): Likewise.
27827         * math/w_j1.c (j1): Likewise.
27828         (y1): Likewise.
27829         * math/w_j1f.c (j1f): Likewise.
27830         (y1f): Likewise.
27831         * math/w_j1l.c (__j1l): Likewise.
27832         (__y1l): Likewise.
27833         * math/w_jn.c (jn): Likewise.
27834         (yn): Likewise.
27835         * math/w_jnf.c (jnf): Likewise.
27836         (ynf): Likewise.
27837         * math/w_jnl.c (__jnl): Likewise.
27838         (__ynl): Likewise.
27839         * math/libm-test.inc (j0_test): Add more tests.
27840         (j1_test): Likewise.
27841         (jn_test): Likewise.  Add trailing semicolon to existing test.
27842         (y0_test): Likewise.
27843         (y1_test): Likewise.
27844         * sysdeps/i386/fpu/libm-test-ulps: Update.
27845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847         [BZ #13851]
27848         [BZ #13854]
27849         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27850         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27851         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27853         (__tanl): Set errno for infinite argument.
27854         * sysdeps/i386/fpu/mptan.c: Remove.
27855         * sysdeps/i386/fpu/s_tan.S: Likewise.
27856         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27857         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27858         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27859         * math/libm-test.inc (tan_test): Add more tests and enable more
27860         tests for double and long double.
27861         * sysdeps/i386/fpu/libm-test-ulps: Update.
27862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27864 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27866         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27867         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27869 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27871         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27872         * configure.in: Use it for both main tree and add-ons.
27873         * configure: Regenerated.
27875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27877         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27879 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27881         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27882         in comment.
27884         [BZ #13851]
27885         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27886         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27887         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27888         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27889         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27890         infinite argument.
27891         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27893         != 0 for prec == 2.
27894         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27895         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27896         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27897         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27898         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27899         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27900         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27901         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27902         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27903         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27904         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27905         * math/libm-test.inc (cos_test): Add more tests and enable more
27906         tests for long double.
27907         (sin_test): Likewise.
27908         (sincos_test): Likewise.
27909         * sysdeps/i386/fpu/libm-test-ulps: Update.
27910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27912 2012-03-16  David S. Miller  <davem@davemloft.net>
27914         * sysdeps/sparc/fpu/math_private.h: New file.
27916 2012-03-15  David S. Miller  <davem@davemloft.net>
27918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27919         file.
27920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27922         file.
27923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27928         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27929         sysdep routines.
27930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27932         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27933         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27935         * sysdeps/sparc/sparc-ifunc.h: New file.
27936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27937         sparc-ifunc.h
27938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27940         Likewise.
27941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27942         Likewise.
27943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27947         Likewise.
27948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27953         Likewise.
27954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27955         Likewise.
27956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27963         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27974         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27975         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27976         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27977         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27978         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27979         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27981 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27983         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27984         scaling.
27985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27987 2012-03-15  Andreas Jaeger  <aj@suse.de>
27989         [BZ #13852]
27990         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27991         ieee754/flt-32 implementation for sin, cos and sincos.
27992         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27993         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27994         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27995         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27996         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27997         ieee754/flt-32 implementation for tan.
27999         * math/libm-test.inc (cos_test): Enable some large input tests for
28000         float as well
28001         (sin_test): Likewise.
28002         (sincos_test): Likewise.
28003         (tan_test): Add tests for large input.
28005         * sysdeps/i386/fpu/libm-test-ulps: Update.
28007 2012-03-15  Andreas Jaeger  <aj@suse.de>
28009         [BZ #13658]
28010         * math/libm-test.inc (cos_test): Add more test cases.
28011         (sin_test): Likewise.
28012         (sincos_test): Likewise.
28014 2012-03-15  Andreas Jaeger  <aj@suse.de>
28016         [BZ #13837]
28017         * math/libm-test.inc (cos_test): Add a test case for large input
28018         value.
28019         (sin_test): Likewise.
28020         (sincos_test): Likewise.
28022 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28023         Joseph Myers  <joseph@codesourcery.com>
28025         [BZ #13658]
28026         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28027         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28028         * sysdeps/i386/fpu/branred.c: Likewise.
28029         * sysdeps/i386/fpu/dosincos.c: Likewise.
28030         * sysdeps/i386/fpu/mpa.c: Likewise.
28031         * sysdeps/i386/fpu/s_cos.S: Likewise.
28032         * sysdeps/i386/fpu/s_sin.S: Likewise.
28033         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28034         * sysdeps/i386/fpu/sincos32.c: Likewise.
28036         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28037         Define.
28038         (libc_feupdateenv_53bit): Define.
28039         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28040         Define.
28041         (libc_feupdateenv_53bit): Define.
28043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28044         53 bit (without extend i386 double precision).
28046         * math/libm-test.inc (sincos_test): Add tests for large input.
28047         (sin): Likewise.
28048         (cos): Likewise.
28050         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28052 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28056 2012-03-15  David S. Miller  <davem@davemloft.net>
28058         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28059         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28060         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28061         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28074         file.
28075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28077         file.
28078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28080         file.
28081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28083         file.
28084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28085         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28086         fmin/fmax sysdep routines.
28087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28089 2012-03-14  David S. Miller  <davem@davemloft.net>
28091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28095         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28097         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28098         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28111         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28112         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28113         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28115         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28120         routines.
28121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28122         file.
28123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28125         file.
28126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28128         file.
28129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28131         file.
28132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28134         file.
28135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28137         file.
28138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28139         file.
28140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28141         file.
28142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28143         file.
28144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28145         New file.
28146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28147         file.
28148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28149         file.
28150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28152         file.
28153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28155         file.
28156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28158         file.
28159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28161         VIS3 routines.
28163         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28164         New file.
28166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28168         * sysdeps/sparc/configure.in: New file.
28169         * sysdeps/sparc/configure: Generate.
28170         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28171         * configure: Regenerate.
28172         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28173         * config.make.in (have-as-vis3): New.
28174         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28175         available use -Av9d instead of -Av9a.
28176         * sysdeps/sparc/sparc64/Makefile: Likewise.
28177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28179         New file.
28180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28181         file.
28182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28183         New file.
28184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28185         file.
28186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28187         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28188         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28189         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28190         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28192         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28193         fzeros/fnegs to load 0x80000000 into a float register instead of
28194         using the stack.
28195         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28197 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28200         bits/syscall.h.
28201         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28202         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28203         ($(inst_includedir)/bits/syscall.h): Remove rule.
28204         ($(objpfx)bits/syscall.d): Include instead of
28205         $(objpfx)syscall-list.d.
28206         (generated): Change syscall-list.h and syscall-list.d to
28207         bits/syscall.h and bits/syscall.d.
28209 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28211         [BZ #13846]
28212         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28214 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28216         [BZ #13841]
28217         * math/s_csqrt.c: Include <float.h>.
28218         (__csqrt): Scale large or subnormal inputs.
28219         * math/s_csqrtf.c: Likewise.
28220         * math/s_csqrtl.c: Likewise.
28221         * math/libm-test.inc (csqrt_test): Add more tests.
28222         * sysdeps/i386/fpu/libm-test-ulps: Update.
28223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28225         [BZ #13840]
28226         * math/libm-test.inc (hypot_test): Add more tests.
28228 2012-03-13  David S. Miller  <davem@davemloft.net>
28230         [BZ #13840]
28231         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28232         double-precision for the calculation instead of scaling.
28234 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28236         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28237         manipulate bits before adding and subtracting TWO52[sx].
28238         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28240         Likewise.
28241         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28243 2012-03-13  David S. Miller  <davem@davemloft.net>
28245         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28246         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28248         rtld-global-offsets.h
28249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28251         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28252         large parameters.
28254         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28256         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28257         'err' in the ifdef scope in which it is actually used.
28259         * nss/nss_db/db-init.c: Include string.h
28261 2012-03-12  David S. Miller  <davem@davemloft.net>
28263         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28264         masking out of the most significant byte of random value used.
28265         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28266         Fix coding style in previous change.
28268         * sysdeps/unix/sysv/linux/kernel-features.h
28269         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28270         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28271         expression.
28272         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28273         later.
28275 2012-03-11  David S. Miller  <davem@davemloft.net>
28277         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28278         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28279         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28280         for 'resultvar' otherwise things get truncated on 64-bit.
28282         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28283         Fix masking out of the most significant byte of random value used.
28285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28287 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28291 2012-03-09  David S. Miller  <davem@davemloft.net>
28293         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28294         variables with appropriate CPP guards.
28295         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28296         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28297         on resulting framesize and the management of the outregs buffer for pltexit.
28298         Preserve floating point return values across _dl_call_pltexit call.
28299         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28300         framesize and the management of the outregs buffer for pltexit.
28301         Preserve floating point return values across _dl_call_pltexit
28302         call.
28303         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28304         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28305         (print_exit): Fix format string for return register value.
28307 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28309         * sunrpc/Makefile (others): Add rpcgen.
28310         ($(objpfx)rpcgen): Remove special build rule and dependency on
28311         libc.
28312         * sunrpc/rpcgen.c: New file.
28314 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28316         [BZ #13673]
28317         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28318         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28319         * sysdeps/i386/crti.S: Likewise.
28320         * sysdeps/i386/crtn.S: Likewise.
28321         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28322         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28323         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28324         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28325         * sysdeps/sh/crti.S: Likewise.
28326         * sysdeps/sh/crtn.S: Likewise.
28327         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28329         [BZ #13673]
28330         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28331         with URL.
28332         * locale/programs/locfile-kw.gperf: Likewise.
28333         * locale/programs/charmap-kw.h: Regenerated.
28334         * locale/programs/locfile-kw.h: Likewise.
28336         [BZ #13673]
28337         * intl/plural.y: Replace FSF snail mail address with URL.
28338         * intl/plural.c: Regenerated.
28340 2012-03-09  Richard Henderson  <rth@twiddle.net>
28342         * include/math_private.h: Remove file.
28343         * math/math_private.h: Move file ...
28344         * sysdeps/generic/math_private.h: ... here.
28346         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28347         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28348         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28350         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28351         and <math_private.h>.
28352         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28353         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28354         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28355         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28356         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28357         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28358         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28360         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28361         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28363         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28364         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28365         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28366         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28367         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28370         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28371         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28374         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28377         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28378         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28379         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28380         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28381         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28382         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28383         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28384         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28385         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28440         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28441         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28442         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28443         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28444         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28445         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28446         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28447         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28448         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28449         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28450         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28452         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28453         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28454         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28455         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28456         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28457         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28458         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28459         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28460         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28461         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28462         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28463         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28464         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28465         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28466         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28467         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28468         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28469         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28470         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28471         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28472         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28473         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28474         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28475         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28476         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28477         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28478         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28479         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28480         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28481         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28482         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28483         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28484         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28485         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28487         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28488         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28491         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28493         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28494         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28495         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28496         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28497         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28498         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28499         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28500         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28501         * sysdeps/ieee754/k_standard.c: Likewise.
28502         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28503         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28504         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28505         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28506         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28507         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28508         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28509         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28514         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28515         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28516         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28517         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28518         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28519         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28520         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28521         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28522         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28523         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28524         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28525         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28526         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28527         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28532         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28535         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28536         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28537         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28538         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28539         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28540         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28541         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28542         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28543         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28544         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28545         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28621         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28622         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28624         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28629         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28662         * sysdeps/ieee754/s_lib_version.c: Likewise.
28663         * sysdeps/ieee754/s_matherr.c: Likewise.
28664         * sysdeps/ieee754/s_signgam.c: Likewise.
28665         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28666         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28667         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28668         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28669         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28670         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28671         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28672         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28673         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28674         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28675         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28676         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28677         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28678         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28679         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28680         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28681         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28682         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28683         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28687 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28689         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28690         * sunrpc/rpc_main.c: Likewise.
28691         * sunrpc/rpc_svcout.c: Likewise.
28693 2012-03-09  David S. Miller  <davem@davemloft.net>
28695         * include/math_private.h: New file.
28697 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28699         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28700         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28701         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28702         from <bits/socket_type.h>.
28703         (enum __socket_type): Don't define here.
28704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28706         bits/socket_type.h.
28708         [BZ #13566]
28709         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28710         checking __USE_GNU.
28712         * Makerules ($(inst_includedir)/%.h): New rule.
28713         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28714         (install-others): Remove variable setting.
28715         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28717 2012-03-08  Richard Henderson  <rth@twiddle.net>
28719         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28720         from macro to inline function; merge with the
28721         !__LIBC_INTERNAL_MATH_INLINES version.
28722         (__ieee754_sqrtf): Likewise.
28724         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28725         to inline function.
28726         (__rintf, __floor, __floorf): Likewise.
28728         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28729         macro to inline function.
28730         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28732         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28733         not <math/math_private.h>.
28735 2012-03-08  David S. Miller  <davem@davemloft.net>
28737         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28738         copyright year.
28739         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28741 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28743         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28744         normalization.
28745         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28746         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28748 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28750         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28751         be defined individually, they must be defined as a block.  Define
28752         S for printing a string instead of hidint the different by using a
28753         macro for adding the 'l'.
28754         * stdio-common/tst-fphex-wide.c: Adjust.
28756 2012-03-07  Marek Polacek  <polacek@redhat.com>
28758         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28760 2012-03-08  Marek Polacek  <polacek@redhat.com>
28762         [BZ #13806]
28763         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28764         * stdio-common/tst-fphex.c: Define a few macros to make the
28765         test reusable.  Use them.
28766         * stdio-common/tst-fphex-wide.c: New file.
28768 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28770         [BZ #6911]
28771         * manual/macros.texi (gnusystems): New macro.
28772         (nongnusystems): Likewise.
28773         (gnulinuxhurdsystems): Likewise.
28774         (gnuhurdsystems): Likewise..
28775         (gnulinuxsystems): Likewise.
28776         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28777         variants of the GNU system, not "GNU system".
28778         * manual/conf.texi: Likewise.
28779         * manual/errno.texi: Likewise.  Update example of errno macro
28780         expansion.
28781         * manual/filesys.texi: Likewise.
28782         (getumask): Document as specific to GNU/Hurd.
28783         * manual/install.texi: Likewise.  Reword some references to
28784         GNU/Linux.
28785         * manual/intro.texi: Likewise.
28786         * manual/io.texi: Likewise.
28787         (File Name Portability): Detail which constraints are inapplicable
28788         to all GNU systems and which are only inapplicable to GNU/Hurd.
28789         * manual/job.texi: Likewise.
28790         * manual/llio.texi: Likewise.
28791         (O_NOCTTY): Document as present on GNU/Linux.
28792         * manual/maint.texi: Likewise.
28793         * manual/memory.texi: Likewise.
28794         * manual/pattern.texi: Likewise.
28795         * manual/pipe.texi: Likewise.
28796         * manual/process.texi: Likewise.
28797         * manual/resource.texi: Likewise.
28798         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28799         child on GNU/Hurd.
28800         * manual/setjmp.texi: Likewise.
28801         * manual/signal.texi: Likewise.
28802         * manual/startup.texi: Likewise.
28803         * manual/stdio.texi: Likewise.
28804         * manual/terminal.texi: Likewise.
28805         (ONLCR): Document as POSIX.
28806         (OXTABS): Document availability on GNU/Linux as XTABS.
28807         (ONOEOT): Document availability separately from other bits.
28808         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28809         * manual/time.texi: Likewise.
28810         * manual/users.texi: Likewise.
28811         * INSTALL: Regenerated.
28812         * sysdeps/gnu/errlist.c: Regenerated.
28814         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28815         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28816         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28817         puts.
28818         * configure: Regenerated.
28820 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28822         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28823         default includes instead of AC_HEADER_CHECK.
28824         * sysdeps/i386/configure: Regenerated.
28826         [BZ #10716]
28827         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28828         * math/s_cacoshf.c (__cacoshf): Likewise.
28829         * math/s_cacoshl.c (__cacoshl): Likewise.
28830         * math/s_casinh.c (__casinh): Set signs of result from argument.
28831         * math/s_casinhf.c (__casinhf): Likewise.
28832         * math/s_casinhl.c (__casinhl): Likewise.
28833         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28834         (casinh_test): Add more tests.
28835         * sysdeps/i386/fpu/libm-test-ulps: Update.
28836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28838 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28840         * po/zh_TW.po: Update from translation team.
28842         * login/Makefile (distribute): Remove variable.
28843         * catgets/Makefile: Likewise.
28844         * mach/Makefile: Likewise.
28845         * malloc/Makefile: Likewise.
28846         * misc/Makefile: Likewise.
28847         * iconv/Makefile: Likewise.
28848         * nscd/Makefile: Likewise.
28849         * hurd/Makefile: Likewise.
28850         * manual/Makefile: Likewise.
28851         * locale/Makefile: Likewise.
28852         * intl/Makefile: Likewise.
28853         * conform/Makefile: Likewise.
28854         * nss/Makefile: Likewise.
28855         * time/Makefile: Likewise.
28856         * soft-fp/Makefile: Likewise.
28857         * dirent/Makefile: Likewise.
28858         * gmon/Makefile: Likewise.
28859         * po/Makefile: Likewise.
28860         * rt/Makefile: Likewise.
28861         * socket/Makefile: Likewise.
28862         * math/Makefile: Likewise.
28863         * signal/Makefile: Likewise.
28864         * debug/Makefile: Likewise.
28865         * elf/Makefile: Likewise.
28866         * timezone/Makefile: Likewise.
28867         * stdlib/Makefile: Likewise.
28868         * iconvdata/Makefile: Likewise.
28869         * sunrpc/Makefile: Likewise.
28870         * io/Makefile: Likewise.
28871         * argp/Makefile: Likewise.
28872         * inet/Makefile: Likewise.
28873         * hesiod/Makefile: Likewise.
28874         * grp/Makefile: Likewise.
28875         * csu/Makefile: Likewise.
28876         * wctype/Makefile: Likewise.
28877         * crypt/Makefile: Likewise.
28878         * libio/Makefile: Likewise.
28879         * string/Makefile: Likewise.
28880         * nis/Makefile: Likewise.
28881         * resolv/Makefile: Likewise.
28882         * stdio-common/Makefile: Likewise.
28883         * wcsmbs/Makefile: Likewise.
28884         * dlfcn/Makefile: Likewise.
28885         * posix/Makefile: Likewise.
28887         [BZ #6959]
28888         * timezone/Makefile: Don't install timezone files, just the programs
28889         and scripts.
28891 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28893         * nss/databases.def: Add missing gshadow entry.
28895         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28897 2012-03-06  Marek Polacek  <polacek@redhat.com>
28899         [BZ #13726]
28900         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28901         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28902         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28903         * stdio-common/tst-long-dbl-fphex.c: New file.
28905 2012-03-06  David S. Miller  <davem@davemloft.net>
28907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28908         (set_obp_int): New function.
28909         (get_obp_int): New function.
28910         (__get_clockfreq_via_dev_openprom): Likewise.
28911         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28912         Avoid unused variable warnings on 'val' and use builtin_expect.
28913         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28914         __builtin_expect.
28915         (INLINE_CLONE_SYSCALL): Likewise.
28917 2012-03-05  David S. Miller  <davem@davemloft.net>
28919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28921 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28926         only for |x| >= 40.
28927         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28929 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28932         Replace gettimeofday with __vdso_gettimeofday.
28934         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28935         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28936         __vdso_clock_gettime and __vdso_getcpu.
28938         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28939         time with __vdso_time.
28941 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28943         * manual/lang.texi (size_t): Note types to which size_t may be
28944         equivalent with the GNU C Library, but do not describe when
28945         differences between them are significant.
28947 2012-03-05  Andreas Jaeger  <aj@suse.de>
28949         * sysdeps/i386/fpu/libm-test-ulps: Update.
28951 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28953         [BZ #3976]
28954         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28955         (__ieee754_pow): Save and restore rounding mode and use
28956         round-to-nearest for main computations.
28957         * math/libm-test.inc (pow_test_tonearest): New function.
28958         (pow_test_towardzero): Likewise.
28959         (pow_test_downward): Likewise.
28960         (pow_test_upward): Likewise.
28961         (main): Call the new functions.
28962         * sysdeps/i386/fpu/libm-test-ulps: Update.
28963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28965         [BZ #3976]
28966         * math/libm-test.inc (cosh_test_tonearest): New function.
28967         (cosh_test_towardzero): Likewise.
28968         (cosh_test_downward): Likewise.
28969         (cosh_test_upward): Likewise.
28970         (sinh_test_tonearest): Likewise.
28971         (sinh_test_towardzero): Likewise.
28972         (sinh_test_downward): Likewise.
28973         (sinh_test_upward): Likewise.
28974         (main): Call the new functions.
28975         * sysdeps/i386/fpu/libm-test-ulps: Update.
28976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28978 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28981         default stack guard is set in last bytes.
28982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28984 2012-03-05  Kees Cook  <keescook@chromium.org>
28986         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28988         [BZ #13656]
28989         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28990         possibly allocate from heap instead of stack.
28991         * stdio-common/bug-vfprintf-nargs.c: New file.
28992         * stdio-common/Makefile (tests): Add nargs overflow test.
28994 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28998 2012-03-03  Marek Polacek  <polacek@redhat.com>
29000         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29001         * math/math_private.h: Likewise.
29002         * stdlib/tst-strtod.c: Likewise.
29003         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29004         * sysdeps/x86_64/bits/atomic.h: Likewise.
29006 2012-03-02  David S. Miller  <davem@davemloft.net>
29008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29012         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29013         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29014         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29015         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29017 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29019         [BZ #13792]
29020         * manual/examples/README: New file, says the example source files
29021         can be used under GPL>=2.
29022         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29023         line containing just "*/".
29024         * manual/examples/add.c: Add copyright header (GPL>=2).
29025         * manual/examples/argp-ex1.c: Likewise.
29026         * manual/examples/argp-ex2.c: Likewise.
29027         * manual/examples/argp-ex3.c: Likewise.
29028         * manual/examples/argp-ex4.c: Likewise.
29029         * manual/examples/atexit.c: Likewise.
29030         * manual/examples/db.c: Likewise.
29031         * manual/examples/dir.c: Likewise.
29032         * manual/examples/dir2.c: Likewise.
29033         * manual/examples/execinfo.c: Likewise.
29034         * manual/examples/filecli.c: Likewise.
29035         * manual/examples/filesrv.c: Likewise.
29036         * manual/examples/fmtmsgexpl.c: Likewise.
29037         * manual/examples/genpass.c: Likewise.
29038         * manual/examples/inetcli.c: Likewise.
29039         * manual/examples/inetsrv.c: Likewise.
29040         * manual/examples/isockad.c: Likewise.
29041         * manual/examples/longopt.c: Likewise.
29042         * manual/examples/memopen.c: Likewise.
29043         * manual/examples/memstrm.c: Likewise.
29044         * manual/examples/mkfsock.c: Likewise.
29045         * manual/examples/mkisock.c: Likewise.
29046         * manual/examples/mygetpass.c: Likewise.
29047         * manual/examples/pipe.c: Likewise.
29048         * manual/examples/popen.c: Likewise.
29049         * manual/examples/rprintf.c: Likewise.
29050         * manual/examples/search.c: Likewise.
29051         * manual/examples/select.c: Likewise.
29052         * manual/examples/setjmp.c: Likewise.
29053         * manual/examples/sigh1.c: Likewise.
29054         * manual/examples/sigusr.c: Likewise.
29055         * manual/examples/stpcpy.c: Likewise.
29056         * manual/examples/strdupa.c: Likewise.
29057         * manual/examples/strftim.c: Likewise.
29058         * manual/examples/strncat.c: Likewise.
29059         * manual/examples/subopt.c: Likewise.
29060         * manual/examples/swapcontext.c: Likewise.
29061         * manual/examples/termios.c: Likewise.
29062         * manual/examples/testopt.c: Likewise.
29063         * manual/examples/testpass.c: Likewise.
29064         * manual/examples/timeval_subtract.c: Likewise.
29066         [BZ #13792]
29067         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29068         function to ...
29069         * manual/timeval_subtract.c.texi: ... here, new file.
29071 2012-03-02  David S. Miller  <davem@davemloft.net>
29073         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29075 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #3976]
29078         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29079         (__sin): Save and restore rounding mode and use round-to-nearest
29080         for all computations.
29081         (__cos): Save and restore rounding mode and use round-to-nearest
29082         for all computations.
29083         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29084         <fenv.h>.
29085         (tan): Save and restore rounding mode and use round-to-nearest for
29086         all computations.
29087         * math/libm-test.inc (cos_test_tonearest): New function.
29088         (cos_test_towardzero): Likewise.
29089         (cos_test_downward): Likewise.
29090         (cos_test_upward): Likewise.
29091         (sin_test_tonearest): Likewise.
29092         (sin_test_towardzero): Likewise.
29093         (sin_test_downward): Likewise.
29094         (sin_test_upward): Likewise.
29095         (tan_test_tonearest): Likewise.
29096         (tan_test_towardzero): Likewise.
29097         (tan_test_downward): Likewise.
29098         (tan_test_upward): Likewise.
29099         (main): Call the new functions.
29100         * sysdeps/i386/fpu/libm-test-ulps: Update.
29101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29103         [BZ #10135]
29104         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29105         small n, then large n, before computing and testing k+n.
29106         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29107         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29108         Likewise.
29109         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29110         Likewise.
29111         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29112         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29114         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29115         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29116         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29118         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29119         * math/libm-test.inc (scalbn_test): Add more tests.
29120         (scalbln_test): Likewise.
29122         * manual/filesys.texi (mode_t): Describe constraints on size and
29123         signedness, not exact equivalence to a particular type.
29124         (ino_t): Likewise.
29125         (ino64_t): Likewise.
29126         (dev_t): Likewise.
29127         (nlink_t): Likewise.
29128         (blkcnt_t): Likewise.
29129         (blkcnt64_t): Likewise.
29130         * manual/llio.texi (off_t): Likewise.
29132         [BZ #3976]
29133         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29134         (__ieee754_exp): Save and restore rounding mode and use
29135         round-to-nearest for all computations.
29136         * math/libm-test.inc (exp_test_tonearest): New function.
29137         (exp_test_towardzero): Likewise.
29138         (exp_test_downward): Likewise.
29139         (exp_test_upward): Likewise.
29140         (main): Call the new functions.
29141         * sysdeps/i386/fpu/libm-test-ulps: Update.
29142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29144 2012-03-01  Chris Demetriou  <cgd@google.com>
29146         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29147         have predictable order.
29149 2012-03-01  David S. Miller  <davem@davemloft.net>
29151         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29153         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29154         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29155         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29156         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29158         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29159         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29160         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29162         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29163         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29164         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29165         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29166         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29170         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29171         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29174         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29175         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29176         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29177         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29178         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29179         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29180         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29181         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29182         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29183         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29184         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29187         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29188         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29190         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29191         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29192         * sysdeps/sparc/elf/configure: Regenerated.
29194 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29196         * configure.in (AS, LD): Require binutils 2.20 or later.
29197         * configure: Regenerated.
29198         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29199         as required minimum version.
29200         * INSTALL: Regenerated.
29202         [BZ #2541]
29203         [BZ #4108]
29204         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29205         before squaring exponent.
29206         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29207         bottom long double and 27 bits of top long double before squaring
29208         exponent.
29209         * math/libm-test.inc (erfc_test): Add more tests.
29210         * sysdeps/i386/fpu/libm-test-ulps: Update.
29211         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29214 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29216         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29217         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29218         containing bit-fields.
29219         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29220         * soft-fp/single.h (_FP_UNION_S): Likewise.
29221         * soft-fp/double.h (_FP_UNION_D): Likewise.
29223 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29225         [BZ #13786]
29226         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29227         not include ../strcmp.S.
29228         [USE_AS_STRNCASECMP_L]: Likewise.
29229         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29230         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29231         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29232         (__strncasecmp_l_ia32): Define as alias to
29233         __strncasecmp_l_nonascii.
29235         [BZ #5794]
29236         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29237         * sysdeps/i386/fpu/libm-test-ulps: Update.
29238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29240         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29243 2012-02-29  Jeff Law  <law@redhat.com>
29245         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29246         out of bounds read.
29248 2012-02-29  Marek Polacek  <polacek@redhat.com>
29250         [BZ #13706]
29251         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29252         * elf/Makefile: Add rules to run tst-unused-dep.out.
29254 2012-02-28  David S. Miller  <davem@davemloft.net>
29256         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29257         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29258         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29259         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29260         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29261         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29263 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29265         * math/libm-test.inc (llround_test): Move one test from
29266         lround_test.  Use TEST_f_L in moved test.
29267         (lround_test): Move misplaced test to llround_test.  Add testcase
29268         from bug 2561.
29270 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29272         * sysdeps/x86_64/fpu/e_expf.S: New file.
29273         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29275 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29277         [BZ #13637]
29278         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29279         of remain_len that may cause incomplete multi-byte character and
29280         false match.
29281         * posix/bug-regex33.c: New file.
29282         * posix/Makefile (tests): Add bug-regex33.
29284 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29286         * manual/macros.texi: New file.
29287         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29288         * manual/libc.texinfo: Include macros.texi.
29289         * manual/creatute.texi: Likewise.
29290         * manual/install.texi: Likewise.
29291         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29292         @glibcadj{} in references to the GNU C Library.
29293         * manual/charset.texi: Likewise.
29294         * manual/conf.texi: Likewise.
29295         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29296         when not using those macros.
29297         * manual/creature.texi: Likewise.
29298         * manual/crypt.texi: Likewise.
29299         * manual/errno.texi: Likewise.
29300         * manual/filesys.texi: Likewise.
29301         * manual/header.texi: Likewise.
29302         * manual/install.texi: Likewise.
29303         * manual/intro.texi: Likewise.
29304         * manual/io.texi: Likewise.
29305         * manual/job.texi: Likewise.
29306         * manual/lang.texi: Likewise.
29307         * manual/libc.texiinfo: Likewise.
29308         * manual/llio.texi: Likewise.
29309         * manual/locale.texi: Likewise.
29310         * manual/maint.texi: Likewise.
29311         * manual/math.texi: Likewise.
29312         * manual/memory.texi: Likewise.
29313         * manual/message.texi: Likewise.
29314         * manual/nss.texi: Likewise.
29315         * manual/pattern.texi: Likewise.
29316         * manual/process.texi: Likewise.
29317         * manual/resource.texi: Likewise.
29318         * manual/search.texi: Likewise.
29319         * manual/setjmp.texi: Likewise.
29320         * manual/signal.texi: Likewise.
29321         * manual/socket.texi: Likewise.
29322         * manual/startup.texi: Likewise.
29323         * manual/stdio.texi: Likewise.
29324         * manual/string.texi: Likewise.
29325         * manual/sysinfo.texi: Likewise.
29326         * manual/syslog.texi: Likewise.
29327         * manual/terminal.texi: Likewise.
29328         * manual/time.texi: Likewise.
29329         * manual/users.texi: Likewise.
29330         * INSTALL: Regenerated.
29331         * NOTES: Regenerated.
29332         * sysdeps/gnu/errlist.c: Regenerated.
29334 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29336         * include/dirent.h: Include <dirstream.h> before
29337         <dirent/dirent.h>.
29339 2012-02-28  David S. Miller  <davem@davemloft.net>
29341         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29342         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29343         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29344         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29346 2012-02-27  David S. Miller  <davem@davemloft.net>
29348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29350         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29351         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29354         frame pointer instead of stack pointer relative arg slot.
29355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29356         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29357         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29359 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29361         [BZ #3992]
29362         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29364 2012-02-27  David S. Miller  <davem@davemloft.net>
29366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29372         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29373         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29375 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29377         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29378         later.  Allow versions 5-9.
29379         * configure: Regenerated.
29380         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29381         required minimum version and 4.6 as recommended version.  Do not
29382         mention bugs in GCC 2.7 and 2.8.
29383         * INSTALL: Regenerated.
29385 2012-02-27  David S. Miller  <davem@davemloft.net>
29387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29391         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29392         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29393         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29394         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29396         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29397         manipulate bits before adding and subtracting TWO112[sx].
29398         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29400 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29402         [BZ #13775]
29403         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29404         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29405         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29406         being in POSIX, because they are in 1003.1-2008.
29408         * rt/tst-aio.c: Include <fcntl.h>.
29409         * rt/tst-aio7.c: Likewise.
29410         * rt/tst-aio64.c: Likewise.
29412         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29414 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29416         * manual/install.texi (--with-headers): Describe headers as
29417         interface headers, not private headers.
29418         (Specific advice for GNU/Linux systems): Describe use of headers
29419         from "make headers_install", not private headers from older
29420         kernels.
29421         * INSTALL: Regenerated.
29422         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29423         Change to 2.6.19.
29424         * sysdeps/unix/sysv/linux/configure: Regenerated.
29426         * manual/llio.texi (fclean): Remove documentation.
29428         * manual/Makefile (libc-texi-generated): New variable.  Include
29429         version.texi.
29430         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29431         $(libc-texi-generated), not duplicated list of files.
29432         (version.texi, stamp-version): New rules.
29433         (realclean): Remove $(libc-texi-generated), not individual files
29434         from that list.  Do not remove dir-add.texinfo.
29435         * manual/libc.texinfo: Comment out uses of edition numbers and
29436         references to printed manual.  Remove last-updated dates.
29437         (EDITION): Comment out.
29438         (ISBN): Likewise.
29439         (VERSION, UPDATED): Remove.
29440         (version.texi): Include.
29442 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29444         * sysdeps/posix/spawni.c: Include <signal.h>.
29445         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29446         * sysdeps/pthread/aio_fsync.c: Likewise.
29448 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29450         * conform/Makefile (tests): Run only when not cross-compiling and
29451         when fast-check is not defined.
29453         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29454         * conform/data/limits.h-data: Fixes for POSIX2008.
29455         * conform/run-conformtest.sh: Run all tests.
29456         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29457         headers.
29458         * include/bits/dlfcn.h: Likewise.
29459         * include/langinfo.h: Likewise.
29460         * include/monetary.h: Likewise.
29461         * include/sys/poll.h: Likewise.
29463         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29464         for __USE_GNU.
29465         * posix/spawn.h: Define __need_sigset_t.
29466         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29467         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29468         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29469         to get sigevent_t only.
29470         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29471         only for __USE_GNU.
29472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29473         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29474         process_vm_writev only for __USE_GNU.
29475         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29477         * conform/Makefile: For now ignore errors from run-conformtest.
29478         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29479         POSIX to avoid namespace pollution.  Don't prepend headers.
29480         * conform/data/aio.h-data: Fixes for POSIX testing.
29481         * conform/data/fcntl.h-data: Likewise.
29482         * conform/data/glob.h-data: Likewise.
29483         * conform/data/grp.h-data: Likewise.
29484         * conform/data/pthread.h-data: Likewise.
29485         * conform/data/pwd.h-data: Likewise.
29486         * conform/data/signal.h-data: Likewise.
29487         * conform/data/spawn.h-data: Likewise.
29488         * conform/data/stdio.h-data: Likewise.
29489         * conform/data/stdlib.h-data: Likewise.
29490         * conform/data/stropts.h-data: Likewise.
29491         * conform/data/sys/mman.h-data: Likewise.
29492         * conform/data/sys/stat.h-data: Likewise.
29493         * conform/data/sys/types.h-data: Likewise.
29494         * conform/data/sys/wait.h-data: Likewise.
29495         * conform/data/time.h-data: Likewise.
29496         * conform/data/unistd.h-data: Likewise.
29497         * conform/data/utime.h-data: Likewise.
29499         * io/sys/stat.h: fchmod was always in POSIX.
29500         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29501         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29502         * rt/aio.h: Define __need_timespec before including <time.h>.
29503         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29504         struct.  Add forward declaration of pthread_attr_t and use it in
29505         sigevent.
29506         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29508         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29509         always remove CLK_TCK definition.
29511 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29513         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29515 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29517         * conform/run-conformtest.sh: New file.
29518         * conform/Makefile: Run run-conformtest for tests.
29519         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29520         support.
29522         * conform/data/uchar.h-data: New file.
29523         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29524         * conform/data/arpa/inet.h-data: Likewise.
29525         * conform/data/assert.h-data: Likewise.
29526         * conform/data/complex.h-data: Likewise.
29527         * conform/data/cpio.h-data: Likewise.
29528         * conform/data/ctype.h-data: Likewise.
29529         * conform/data/dirent.h-data: Likewise.
29530         * conform/data/dlfcn.h-data: Likewise.
29531         * conform/data/errno.h-data: Likewise.
29532         * conform/data/fcntl.h-data: Likewise.
29533         * conform/data/float.h-data: Likewise.
29534         * conform/data/fmtmsg.h-data: Likewise.
29535         * conform/data/fnmatch.h-data: Likewise.
29536         * conform/data/ftw.h-data: Likewise.
29537         * conform/data/glob.h-data: Likewise.
29538         * conform/data/grp.h-data: Likewise.
29539         * conform/data/iconv.h-data: Likewise.
29540         * conform/data/inttypes.h-data: Likewise.
29541         * conform/data/langinfo.h-data: Likewise.
29542         * conform/data/libgen.h-data: Likewise.
29543         * conform/data/limits.h-data: Likewise.
29544         * conform/data/locale.h-data: Likewise.
29545         * conform/data/math.h-data: Likewise.
29546         * conform/data/monetary.h-data: Likewise.
29547         * conform/data/mqueue.h-data: Likewise.
29548         * conform/data/ndbm.h-data: Likewise.
29549         * conform/data/net/if.h-data: Likewise.
29550         * conform/data/netdb.h-data: Likewise.
29551         * conform/data/netinet/in.h-data: Likewise.
29552         * conform/data/nl_types.h-data: Likewise.
29553         * conform/data/poll.h-data: Likewise.
29554         * conform/data/pthread.h-data: Likewise.
29555         * conform/data/pwd.h-data: Likewise.
29556         * conform/data/regex.h-data: Likewise.
29557         * conform/data/sched.h-data: Likewise.
29558         * conform/data/search.h-data: Likewise.
29559         * conform/data/semaphore.h-data: Likewise.
29560         * conform/data/setjmp.h-data: Likewise.
29561         * conform/data/signal.h-data: Likewise.
29562         * conform/data/spawn.h-data: Likewise.
29563         * conform/data/stdarg.h-data: Likewise.
29564         * conform/data/stdio.h-data: Likewise.
29565         * conform/data/stdlib.h-data: Likewise.
29566         * conform/data/string.h-data: Likewise.
29567         * conform/data/strings.h-data: Likewise.
29568         * conform/data/stropts.h-data: Likewise.
29569         * conform/data/sys/ipc.h-data: Likewise.
29570         * conform/data/sys/mman.h-data: Likewise.
29571         * conform/data/sys/msg.h-data: Likewise.
29572         * conform/data/sys/resource.h-data: Likewise.
29573         * conform/data/sys/select.h-data: Likewise.
29574         * conform/data/sys/sem.h-data: Likewise.
29575         * conform/data/sys/shm.h-data: Likewise.
29576         * conform/data/sys/socket.h-data: Likewise.
29577         * conform/data/sys/stat.h-data: Likewise.
29578         * conform/data/sys/statvfs.h-data: Likewise.
29579         * conform/data/sys/time.h-data: Likewise.
29580         * conform/data/sys/timeb.h-data: Likewise.
29581         * conform/data/sys/times.h-data: Likewise.
29582         * conform/data/sys/types.h-data: Likewise.
29583         * conform/data/sys/uio.h-data: Likewise.
29584         * conform/data/sys/un.h-data: Likewise.
29585         * conform/data/sys/utsname.h-data: Likewise.
29586         * conform/data/sys/wait.h-data: Likewise.
29587         * conform/data/syslog.h-data: Likewise.
29588         * conform/data/tar.h-data: Likewise.
29589         * conform/data/termios.h-data: Likewise.
29590         * conform/data/utime.h-data: Likewise.
29591         * conform/data/utmpx.h-data: Likewise.
29592         * conform/data/varargs.h-data: Likewise.
29593         * conform/data/wchar.h-data: Likewise.
29594         * conform/data/wctype.h-data: Likewise.
29595         * conform/data/wordexp.h-data: Likewise.
29597         * include/stropts.h: New file.
29598         * include/uchar.h: New file.
29599         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29600         * include/assert.h: Likewise.
29601         * include/ctype.h: Likewise.
29602         * include/dirent.h: Likewise.
29603         * include/dlfcn.h: Likewise.
29604         * include/fcntl.h: Likewise.
29605         * include/fnmatch.h: Likewise.
29606         * include/glob.h: Likewise.
29607         * include/grp.h: Likewise.
29608         * include/libio.h: Likewise.
29609         * include/locale.h: Likewise.
29610         * include/math.h: Likewise.
29611         * include/net/if.h: Likewise.
29612         * include/netdb.h: Likewise.
29613         * include/netinet/in.h: Likewise.
29614         * include/pthread.h: Likewise.
29615         * include/pwd.h: Likewise.
29616         * include/regex.h: Likewise.
29617         * include/sched.h: Likewise.
29618         * include/search.h: Likewise.
29619         * include/setjmp.h: Likewise.
29620         * include/signal.h: Likewise.
29621         * include/stdio.h: Likewise.
29622         * include/stdlib.h: Likewise.
29623         * include/string.h: Likewise.
29624         * include/sys/cdefs.h: Likewise.
29625         * include/sys/mman.h: Likewise.
29626         * include/sys/msg.h: Likewise.
29627         * include/sys/resource.h: Likewise.
29628         * include/sys/select.h: Likewise.
29629         * include/sys/socket.h: Likewise.
29630         * include/sys/stat.h: Likewise.
29631         * include/sys/statvfs.h: Likewise.
29632         * include/sys/time.h: Likewise.
29633         * include/sys/times.h: Likewise.
29634         * include/sys/uio.h: Likewise.
29635         * include/sys/utsname.h: Likewise.
29636         * include/sys/wait.h: Likewise.
29637         * include/termios.h: Likewise.
29638         * include/time.h: Likewise.
29639         * include/ulimit.h: Likewise.
29640         * include/unistd.h: Likewise.
29641         * include/utime.h: Likewise.
29642         * include/wchar.h: Likewise.
29643         * include/wctype.h: Likewise.
29644         * include/wordexp.h: Likewise.
29646         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29648         * time/time.h: TIME_UTC must be a macro.
29649         Make timespec_get available for ISO C11 only as well.
29651 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29653         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29654         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29656 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29658         * configure.in: Use -o not -a in test for unsupported multi-arch.
29660 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29662         * manual/texinfo.tex: Update to version 2012-01-19.16.
29664 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29666         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29668 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29670         [BZ #13738]
29671         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29672         * manual/fdl-1.3.texi: New file.
29673         * manual/fdl-1.1.texi: File removed.
29675         [BZ #13738]
29676         * manual/libc.texinfo (FDL_VERSION): New @set.
29677         Use it for mention of FDL in cover text.
29678         (Documentation License): Use it in @include file name.
29680 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29681             Roland McGrath  <roland@hack.frob.com>
29683         [BZ #5461]
29684         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29685         not LONG_LONG_MAX and LONG_LONG_MIN.
29686         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29687         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29688         name.
29689         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29691 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29693         [BZ #2547]
29694         [BZ #11365]
29695         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29696         manipulate bits before adding and subtracting TWO23[sx].
29697         * math/libm-test.inc (nearbyint_test): Add more tests.
29699 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29701         [BZ #2548]
29702         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29703         bits before adding and subtracting TWO23[sx].
29704         * math/libm-test.inc (rint_test): Add more tests.
29705         (rint_test_tonearest): Likewise.
29706         (rint_test_towardzero): Likewise.
29707         (rint_test_downward): Likewise.
29708         (rint_test_upward: Likewise.
29710 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29712         [BZ #10110]
29713         * include/stdc-predef.h: New file.  Extracted from features.h.
29714         * include/features.h: Include stdc-predef.h.
29715         * Makefile (headers): Add stdc-predef.h.
29716         * CONFORMANCE (Compiler limitations): Update.
29718 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29720         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29722 2012-02-21  David S. Miller  <davem@davemloft.net>
29724         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29725         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29727 2012-02-20  David S. Miller  <davem@davemloft.net>
29729         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29730         using a normal save/restore sequence, rather than allocating a
29731         dummy stack frame just to store a frame pointer and restore.
29732         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29734 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29736         * manual/install.texi: Fix stray word in line-wrapped comment.
29738 2012-02-20  David S. Miller  <davem@davemloft.net>
29740         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29741         both binutils and gcc support GOTDATA.
29743         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29744         "rd %pc" in the PIC register setup sequences.
29746         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29747         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29748         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29749         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29750         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29752         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29755         (SYSCALL_ERROR_HANDLER): Likewise.
29756         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29757         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29759         (SYSCALL_ERROR_HANDLER): Likewise.
29761         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29762         (HAVE_GCC_GOTDATA): New.
29763         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29764         relocation support in both binutils and gcc.
29765         * sysdeps/sparc/elf/configure: Regenerate.
29767         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29768         * sysdeps/sparc/sparc32/elf/configure: Delete.
29769         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29770         * sysdeps/sparc/sparc64/elf/configure: Delete.
29771         * sysdeps/sparc/elf/configure.in: New file.
29772         * sysdeps/sparc/elf/configure: Generate.
29774         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29775         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29776         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29777         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29778         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29782         * manual/install.texi: Do not mention specific glibc version
29783         numbers.
29784         * manual/libc.texinfo (VERSION, UPDATED): Update.
29785         (@copying): Use @copyright{} and range of years.
29787 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29789         [BZ #13695]
29790         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29791         [crti.S not in sysdirs] (generated): Do not append.
29792         [crti.S not in sysdirs] (omit-deps): Likewise.
29793         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29794         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29795         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29796         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29797         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29798         Likewise.
29799         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29800         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29801         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29802         * csu/defs.awk: Remove file.
29803         * sysdeps/generic/initfini.c: Likewise.
29804         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29805         variable.
29806         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29807         Likewise.
29809 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29811         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29812         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29813         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29814         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29815         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29816         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29817         <bits/epoll.h>.
29818         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29819         (__EPOLL_PACKED): Define to empty if not defined by
29820         <bits/epoll.h>.
29821         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29823         bits/epoll.h.
29825 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29827         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29828         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29829         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29830         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29831         <bits/timerfd.h>.
29832         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29834         bits/timerfd.h.
29836 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29838         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29839         in C locale.
29840         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29842         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29847         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29848         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29850 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29852         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29853         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29854         defined.
29855         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29856         Likewise.
29857         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29858         entry for 2.16.
29860 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29862         * math/w_acos.c: Use non-signaling floating-point comparisons.
29863         * math/w_acosf.c: Likewise.
29864         * math/w_acosh.c: Likewise.
29865         * math/w_acoshf.c: Likewise.
29866         * math/w_acoshl.c: Likewise.
29867         * math/w_acosl.c: Likewise.
29868         * math/w_asin.c: Likewise.
29869         * math/w_asinf.c: Likewise.
29870         * math/w_asinl.c: Likewise.
29871         * math/w_atanh.c: Likewise.
29872         * math/w_atanhf.c: Likewise.
29873         * math/w_atanhl.c: Likewise.
29874         * math/w_exp2.c: Likewise.
29875         * math/w_exp2f.c: Likewise.
29876         * math/w_exp2l.c: Likewise.
29877         * math/w_j0.c: Likewise.
29878         * math/w_j0f.c: Likewise.
29879         * math/w_j0l.c: Likewise.
29880         * math/w_j1.c: Likewise.
29881         * math/w_j1f.c: Likewise.
29882         * math/w_j1l.c: Likewise.
29883         * math/w_jn.c: Likewise.
29884         * math/w_jnf.c: Likewise.
29885         * math/w_log.c: Likewise.
29886         * math/w_log10.c: Likewise.
29887         * math/w_log10f.c: Likewise.
29888         * math/w_log10l.c: Likewise.
29889         * math/w_log2.c: Likewise.
29890         * math/w_log2f.c: Likewise.
29891         * math/w_log2l.c: Likewise.
29892         * math/w_logf.c: Likewise.
29893         * math/w_logl.c: Likewise.
29894         * math/w_sqrt.c: Likewise.
29895         * math/w_sqrtf.c: Likewise.
29896         * math/w_sqrtl.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29899         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29900         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29901         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29903 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29905         [BZ #9739]
29906         * manual/string.texi (strnlen): Use correct parameter name in
29907         equivalent expression.
29909 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29911         [BZ #11174]
29912         * manual/users.texi (seteuid): Consistently use neweuid for
29913         argument name.
29915 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29917         [BZ #13704]
29918         * manual/nss.texi (Services in the NSS configuration): Correct
29919         list of services in example configuration file.
29921 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29923         [BZ #11322]
29924         * manual/arith.texi: Remove statements about negative zero
29925         behaving identically to zero.
29927 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29929         [BZ #5993]
29930         * manual/install.texi: Do not document upgrading from libc5.
29932 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29934         [BZ #4596]
29935         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29937 2012-02-18  David S. Miller  <davem@davemloft.net>
29939         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29940         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29941         %o7 across the call.
29942         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29943         instead.
29944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29945         SETUP_PIC_REG_LEAF.
29946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29947         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29948         * sysdeps/sparc/crtn.S: Likewise.
29950 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29952         * aout/Makefile: Remove.
29954 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29956         [BZ #13058]
29957         * manual/examples/argp-ex1.c (main): Format definition in GNU
29958         style.
29959         * manual/examples/argp-ex2.c (main): Likewise.
29960         * manual/examples/argp-ex3.c (main): Likewise.
29961         * manual/examples/argp-ex4.c (main): Likewise.
29962         * manual/examples/longopt.c (main): Use new-style prototype
29963         definition.
29964         * manual/examples/strncat.c (main): Specify return type and use
29965         (void) for arguments.
29966         * manual/examples/subopt.c (main): Use char **argv argument.
29968 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29970         [BZ #5077]
29971         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29972         rounding modes.
29974 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29976         [BZ #6907]
29977         * manual/string.texi (strchr): Change when strchrnul is
29978         recommended.
29980 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29982         [BZ #174]
29983         * manual/locale.texi (setlocale): Document LOCPATH.
29985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29987         [BZ #10210]
29988         * manual/process.texi (execle): Move @dots{} before last argument.
29990 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29992         [BZ #12047]
29993         * manual/charset.texi (Generic Charset Conversion): Fix typo
29994         (LC_TYPE -> LC_CTYPE).
29996 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29998         [BZ #5805]
29999         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30000         (scalbnf): Likewise.
30001         (scalbnl): Likewise.
30002         (scalbln): Likewise.
30003         (scalblnf): Likewise.
30004         (scalblnl): Likewise.
30005         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30006         (vwarnx): Likewise.
30007         (verr): Likewise.
30008         (verrx): Likewise.
30009         * manual/filesys.texi (telldir): Use braces around return type.
30010         * manual/llio.texi (mmap): Add space after comma.
30011         (mmap64): Likewise.
30012         * manual/math.texi (jn): Use @var{} on parameter names.
30013         (jnf): Likewise.
30014         (jnl): Likewise.
30015         (yn): Likewise.
30016         (ynf): Likewise.
30017         (ynl): Likewise.
30018         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30019         line.
30020         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30021         "...".
30022         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30023         (sched_get_priority_max): Likewise.
30024         * manual/signal.texi (sigvec): Add space after comma.
30025         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30026         names.
30027         (if_indextoname): Likewise.
30028         (if_freenameindex): Likewise.
30029         (sendto): Use ',' instead of '.' in prototype.
30030         * manual/startup.texi (syscall): Use @dots{} instead of literal
30031         "...".
30032         * manual/stdio.texi (__fpending): Separate initial words of
30033         paragraph from @deftypefun line.
30034         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30035         "...".
30036         (vsyslog): Use @var{} on parameter names.
30037         * manual/terminal.texi (stty): Use @var{} on parameter names.
30038         * manual/users.texi (getutmp): Use @var{} on parameter names.
30039         (getutmpx): Likewise.
30041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30043         [BZ #6884]
30044         * manual/stdio.texi (fopen): Fix typos in description of
30045         ",ccs=STRING".
30047 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30049         [BZ #4026]
30050         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30051         get clock_id definition.
30053 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30055         [BZ #4822]
30056         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30057         (madvise): Cast every argument to void on its own.
30059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30061         [BZ #9902]
30062         * manual/startup.texi (Exit Status): Fix typo.
30064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30066         [BZ #10140]
30067         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30068         * manual/examples/argp-ex2.c: Likewise.
30069         * manual/examples/argp-ex3.c: Likewise.
30071 2012-02-16  Richard Henderson  <rth@redhat.com>
30073         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30074         * sysdeps/s390/s390-32/initfini.c: Remove.
30075         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30076         * sysdeps/s390/s390-64/initfini.c: Remove.
30078 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30080         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30081         compiler output for sysdeps/generic/initfini.c.
30082         * sysdeps/sh/elf/initfini.c: Remove file.
30084 2012-02-16  David S. Miller  <davem@davemloft.net>
30086         [BZ #11494]
30087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30089         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30090         * sysdeps/sparc/crti.S: New file.
30091         * sysdeps/sparc/crtn.S: New file.
30092         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30093         * sysdeps/sparc/sparc64/Makefile: Likewise.
30095 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30097         [BZ #3335]
30098         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30100 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30102         [BZ #4822]
30103         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30105         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30106         (write, read, close): Likewise.
30107         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30109 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30111         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30112         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30113         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30114         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30115         <bits/signalfd.h>.
30116         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30118         bits/signalfd.h.
30120 2012-02-14  Marek Polacek  <polacek@redhat.com>
30122         * sysdeps/x86_64/crti.S: New file.
30123         * sysdeps/x86_64/crtn.S: New file.
30124         * sysdeps/x86_64/elf/initfini.c: Remove file.
30126 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30128         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30129         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30130         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30131         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30132         <bits/inotify.h>.
30133         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30135         bits/inotify.h.
30137 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30139         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30140         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30141         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30142         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30143         <bits/eventfd.h>.
30144         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30146         bits/eventfd.h.
30148 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30150         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30151         __feraiseexcept instead of feraiseexcept.
30153         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30154         nanosleep invocations.
30155         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30156         strings, and add error checking for a nanosleep invocations.
30158 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30160         Replace FSF snail mail address with URLs, as per GNU coding standards.
30161         Most of the snail mail addresses were wrong anyway, and omitting
30162         them makes the source code easier to maintain.  Almost all of the
30163         changes are to license notices and to locale LC_IDENTIFICATION
30164         addresses, except for this one:
30165         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30166         not its snail mail address.
30168 2012-02-09  Richard Henderson  <rth@twiddle.net>
30170         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30171         of kernel-features.h.
30173         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30175 2012-02-08  Marek Polacek  <polacek@redhat.com>
30177         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30178         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30179         * sysdeps/gnu/_G_config.h: Likewise.
30180         * sysdeps/generic/_G_config.h: Likewise.
30182 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30184         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30185         tests.
30186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30188         * sysdeps/powerpc/powerpc32/crti.S: New file.
30189         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30190         * sysdeps/powerpc/powerpc64/crti.S: New file.
30191         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30193         * Makeconfig (have-initfini): Don't set.
30194         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30195         * configure.in (nopic_initfini): Don't substitute.
30196         * config.h.in (HAVE_INITFINI): Don't #undef.
30197         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30198         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30200 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30202         Support crti.S and crtn.S provided directly by architectures.
30203         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30204         [crti.S in sysdirs] (omit-deps): Likewise.
30205         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30206         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30207         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30208         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30209         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30210         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30211         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30212         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30213         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30214         compiler output for sysdeps/generic/initfini.c.
30215         * sysdeps/i386/elf/Makefile: Remove file.
30216         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30218 2012-02-07  Marek Polacek  <polacek@redhat.com>
30220         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30221         * sysdeps/gnu/_G_config.h: Likewise.
30222         * sysdeps/mach/hurd/_G_config.h: Likewise.
30224 2012-02-07  Marek Polacek  <polacek@redhat.com>
30226         * math/Makefile (tests): Add tst-CMPLX2.
30227         * math/tst-CMPLX2.c: New file.
30229 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30231         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30233         * math/libm-test.inc (jn_test): Add missing L suffix.
30235 2012-02-06  Marek Polacek  <polacek@redhat.com>
30237         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30238         * sysdeps/i386/fpu/e_powf.S: Likewise.
30239         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30240         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30241         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30242         * sysdeps/i386/fpu/e_pow.S: Likewise.
30243         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30244         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30245         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30246         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30247         * sysdeps/i386/fpu/e_log2.S: Likewise.
30248         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30249         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30250         * sysdeps/i386/fpu/e_powl.S: Likewise.
30251         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30252         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30253         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30254         * sysdeps/i386/fpu/e_logl.S: Likewise.
30255         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30256         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30257         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30258         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30259         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30260         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30261         * sysdeps/i386/fpu/e_log.S: Likewise.
30262         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30263         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30264         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30265         * sysdeps/i386/fpu/e_logf.S: Likewise.
30266         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30267         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30268         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30269         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30270         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30271         * sysdeps/i386/fpu/e_log10.S: Likewise.
30272         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30273         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30274         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30275         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30276         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30277         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30278         * sysdeps/i386/asm-syntax.h: Likewise.
30279         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30280         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30281         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30282         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30283         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30284         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30285         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30286         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30287         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30288         * sysdeps/powerpc/sysdep.h: Likewise.
30289         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30290         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30292 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30294         [BZ #411]
30295         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30297 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30299         * sysdeps/i386/sysdep.h: Include <features.h>.
30300         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30301         version.
30303 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30305         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30306         Define.
30307         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30308         LOAD_PIC_REG_STR.
30310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30312         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30313         (SETUP_PIC_REG): Use GET_PC_THUNK.
30314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30315         macro.
30317 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30319         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30320         for non-PIC compilation.
30321         (SETUP_PIC_REG): Add .p2align directive.
30322         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30323         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30324         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30325         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30326         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30327         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30345         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30364 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30366         * math/tst-CMPLX.c: Include <stdio.h>.
30368 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30370         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30371         float.
30372         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30373         * sysdeps/sparc/bits/mathdef.h: Likewise.
30375 2012-01-31  Marek Polacek  <polacek@redhat.com>
30377         * libio/libio.h: Don't define _PARAMS.
30378         * locale/programs/config.h: Don't define PARAMS.
30379         * stdlib/strtol_l.c: Likewise.
30380         (__strtol_l): Remove PARAMS from the prototype.
30382 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30384         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30385         names.  Just use the correct names.  Remove unnecessary wrapper
30386         functions.
30387         * malloc/arena.c: Likewise.
30388         * malloc/hooks.c: Likewise.
30390         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30391         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30392         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30394 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30396         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30397         into tail calls.
30398         (update_get_addr): New function.
30399         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30400         GET_ADDR_MODULE parameter.
30402 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30404         * crypt/cert.c: Remove __STDC__ conditionals.
30405         * crypt/crypt-entry.c: Likewise.
30406         * crypt/crypt_util.c: Likewise.
30407         * libio/filedoalloc.c: Likewise.
30408         * libio/fileops.c: Likewise.
30409         * libio/genops.c: Likewise.
30410         * libio/iofclose.c: Likewise.
30411         * libio/iofdopen.c: Likewise.
30412         * libio/iofopen.c: Likewise.
30413         * libio/iofopen64.c: Likewise.
30414         * libio/iogetdelim.c: Likewise.
30415         * libio/iopopen.c: Likewise.
30416         * libio/obprintf.c: Likewise.
30417         * libio/oldfileops.c: Likewise.
30418         * libio/oldiofclose.c: Likewise.
30419         * libio/oldiofdopen.c: Likewise.
30420         * libio/oldiofopen.c: Likewise.
30421         * libio/oldiopopen.c: Likewise.
30422         * libio/wfiledoalloc.c: Likewise.
30423         * libio/wgenops.c: Likewise.
30424         * locale/programs/xmalloc.c: Likewise.
30425         * misc/syslog.c: Likewise.
30426         * stdio-common/xbug.c: Likewise.
30427         * string/memchr.c: Likewise.
30428         * string/memcmp.c: Likewise.
30429         * string/memrchr.c: Likewise.
30430         * string/rawmemchr.c: Likewise.
30431         * sysdeps/posix/getcwd.c: Likewise.
30432         * time/strftime_l.c: Likewise.
30434 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30436         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30437         * config.make.in (config-cflags-sse2avx): Define.
30438         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30439         Fix typo.
30441 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30443         * scripts/config.guess: Update from upstream config git repository.
30444         * scripts/config.sub: Likewise.
30446 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30448         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30449         (EM_NUM): Update.
30450         (R_TILEPRO_*, R_TILEGX_*): New macros.
30452         * scripts/firstversions.awk: Fix bug in version range handling.
30454         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30456         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30458         * include/sys/epoll.h: New file.
30459         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30460         libc_hidden_def.
30462 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30464         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30465         Avoid unnecessary __WORDSIZE == 64 test.
30466         (fmaxf): Use VEX format if possible.
30467         (fmax): Likewise.
30468         (fminf): Likewise.
30469         (fmin): Likewise.
30471         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30472         * math/math_private.h: Remove libc_fegetround* and
30473         libc_fesetround*.
30474         * sysdeps/i386/configure.in: Check for -msse2avx.
30475         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30476         also if SSE2AVX is defined.
30477         Remove libc_fegetround* and libc_fesetround*.
30478         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30479         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30480         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30481         of HAS_YMM_USABLE.
30482         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30483         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30484         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30485         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30486         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30488         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30490 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30492         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30493         size is not set.
30494         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30496 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30498         [BZ #13618]
30499         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30500         relocation.
30501         * Makeconfig (libm): Define.
30502         * elf/Makefile: Add rules to build and run tst-relsort1.
30503         * elf/tst-relsort1.c: New file.
30504         * elf/tst-relsort1mod1.c: New file.
30505         * elf/tst-relsort1mod2.c: New file.
30507 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30509         * math/s_ldexp.c: Remove __STDC__ conditionals.
30510         * math/s_ldexpf.c: Likewise.
30511         * math/s_ldexpl.c: Likewise.
30512         * math/s_nextafter.c: Likewise.
30513         * math/s_nexttowardf.c: Likewise.
30514         * math/s_significand.c: Likewise.
30515         * math/s_significandf.c: Likewise.
30516         * math/s_significandl.c: Likewise.
30517         * math/w_jnl.c: Likewise.
30518         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30519         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30520         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30521         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30522         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30524         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30525         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30526         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30527         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30528         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30530         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30531         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30532         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30533         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30534         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30535         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30537         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30538         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30539         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30540         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30542         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30543         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30544         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30545         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30546         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30547         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30548         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30549         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30550         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30551         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30552         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30553         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30554         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30555         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30556         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30557         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30558         * sysdeps/ieee754/k_standard.c: Likewise.
30559         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30560         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30561         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30562         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30563         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30564         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30565         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30566         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30567         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30568         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30569         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30570         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30571         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30572         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30573         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30574         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30577         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30578         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30579         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30580         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30581         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30582         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30583         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30584         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30586         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30588         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30590         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30591         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30592         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30594         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30595         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30616         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30618         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30620         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30625         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30633         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30634         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30638         * sysdeps/ieee754/s_matherr.c: Likewise.
30639         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30640         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30641         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30644 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30646         * crypt/md5.h: Remove __STDC__ conditionals.
30647         * libio/libioP.h: Likewise.
30648         * locale/programs/config.h: Likewise.
30649         * sysdeps/generic/sysdep.h: Likewise.
30650         * sysdeps/i386/asm-syntax.h: Likewise.
30651         * sysdeps/s390/asm-syntax.h: Likewise.
30652         * sysdeps/unix/sysdep.h: Likewise.
30653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30656 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30658         * libio/libio.h: Remove __STDC__ conditionals.
30659         * malloc/obstack.h: Likewise.
30660         * math/complex.h: Likewise.
30661         * math/math.h: Likewise.
30662         * sysdeps/generic/_G_config.h: Likewise.
30663         * sysdeps/gnu/_G_config.h: Likewise.
30664         * sysdeps/mach/hurd/_G_config.h: Likewise.
30665         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30666         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30667         * sysdeps/sparc/bits/mathdef.h: Likewise.
30669 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30671         [BZ #13583]
30672         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30673         Clean up HAS_* macros.
30674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30675         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30676         possible.
30677         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30678         HAS_AVX.
30679         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30680         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30682         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30683         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30685 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30687         * elf/tst-unique3.cc (gets): Remove declaration.
30688         * elf/tst-unique3lib.cc (gets): Likewise.
30689         * elf/tst-unique3lib2.cc (gets): Likewise.
30690         * elf/tst-unique4.cc (gets): Likewise.
30692 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30694         * include/stdio.h: Add C++ protection.  Add gets declarations and
30695         definitions.
30696         * debug/tst-chk1.c: Don't declare gets here.
30697         * stdio-common/tst-gets.c: Likewise.
30699 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30701         * posix/glob: Remove directory.
30703 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30705         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30707 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30709         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30710         of the non-standard EPFNOSUPPORT.
30712 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30714         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30715         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30716         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30718 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30720         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30722 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30724         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30725         transient errors.
30726         * nscd/grpcache.c (cache_addgr): Likewise.
30727         * nscd/hstcache.c (cache_addhst): Likewise.
30728         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30729         * nscd/pwdcache.c (cache_addpw): Likewise.
30730         * nscd/servicescache.c (cache_addserv): Likewise.
30732 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30734         * malloc/malloc.c: Various cleanups.
30735         * malloc/hooks.c: Likewise.
30737         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30738         * stdlib/bug-fmtmsg1.c: New file.
30740         * stdlib/fmtmsg.c (init): Add missing unlock.
30741         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30743 2012-01-12  Marek Polacek  <polacek@redhat.com>
30745         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30746         and _GNU_SOURCE.
30748 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30750         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30751         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30752         macro to ensure uniqueness of label name.
30753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30756 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30758         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30761         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30762         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30763         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30765 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30767         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30769         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30770         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30771         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30773         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30775         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30776         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30777         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30780         * math/bits/math-finite.h: Add ldexp support.
30782 2012-01-10  Marek Polacek  <polacek@redhat.com>
30784         * locale/programs/localedef.h (show_archive_content): Add noreturn
30785         attribute.
30787 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30789         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30791 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30793         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30795         * io/Makefile (headers): Add bits/poll2.h.
30797 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30800         typo #include statement.
30802 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30804         * include/sys/cdefs.h: Define __attribute_alloc_size.
30805         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30806         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30807         * elf/pldd.c: Likewise.
30808         * iconv/iconv_charmap.c: Likewise.
30809         * iconv/iconvconfig.c: Likewise.
30810         * iconv/strtab.c: Likewise.
30811         * locale/programs/locale.c: Likewise.
30812         * locale/programs/localedef.h: Likewise.
30813         * locale/programs/simple-hash.c: Likewise.
30814         * nscd/nscd.h: Likewise.
30815         * nss/makedb.c: Likewise.
30816         * sysdeps/generic/ldconfig.h: Likewise.
30817         * locale/programs/localedef.c: Remove xmalloc prototype.
30818         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30820 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30822         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30823         appropriate.
30825 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30827         * math/Makefile (tests): Add tst-CMPLX.
30828         * math/tst-CMPLX.c: New file.
30830         * math/complex.h (CMPLXL): Fix typo.
30832         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30833         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30834         GLIBC_2.16.
30835         * debug/tst-chk1.c: Add poll and ppoll tests.
30836         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30837         * include/sys/poll.h: Add hidden proto for ppoll.
30838         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30839         * sysdeps/mach/hurd/ppoll.c: Likewise.
30840         * io/ppoll.c: Likewise.
30841         * debug/poll_chk.c: New file.
30842         * debug/ppoll_chk.c: New file.
30843         * include/bits/poll2.h: New file.
30844         * io/bits/poll2.h: New file.
30846         [BZ #1350]
30847         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30849         * configure.in: static is always set to yes.  Remove.
30850         * config.make.in: Don't set build-static.
30851         * Makeconfig: Remove use of build-static.
30852         * dlfcn/Makefile: Likewise.
30853         * elf/Makefile: Likewise.
30854         * math/Makefile: Likewise.
30855         * misc/Makefile: Likewise.
30856         * nptl/Makefile: Likewise.
30857         * sysdeps/mach/hurd/Makefile: Likewise.
30859         * configure.in: PWD_P is not used anymore.
30860         * config.make.in: Remove PWD_P entry.
30862         * configure.in: Remove last remnants of RANLIB.
30863         No need to check for signed size_t anymore.
30864         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30865         and IA-64.
30866         Remove __builtin_expect test because we require at least gcc 3.4.
30867         * aclocal.m4: Likewise.
30869         * wcsmbs/mbrtoc16.c: Implement using towc function.
30870         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30871         * wcsmbs/wcsmbsload.c: Likewise.
30872         * iconv/gconv_simple.c: Likewise.
30873         * iconv/gconv_int.h: Likewise.
30874         * iconv/gconv_builtin.h: Likewise.
30875         * iconv/iconv_prog.c: Remove CHAR16 handling.
30877         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30879         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30881         * configure.in: Remove --with-elf and --enable-bounded options.
30882         Dont set base_machine for ia64.  More non-ELF conditions removed.
30883         Remove testing and setting of leading underscore information.
30884         * config.make.in (build-bounded): Set to no.
30885         * config.h.in: Remove NO_UNDERSCORES entry.
30886         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30887         them.
30888         * csu/start.c: Remove !NO_UNDERSCORE code.
30889         * locale/localeinfo.h: Likewise.
30890         * sysdeps/generic/machine-gmon.h: Likewise.
30891         * sysdeps/generic/sysdep.h: Likewise.
30892         * sysdeps/i386/sysdep.h: Likewise.
30893         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30894         * sysdeps/mach/sysdep.h: Likewise.
30895         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30896         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30897         * sysdeps/sh/sysdep.h: Likewise.
30898         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30899         * sysdeps/unix/i386/sysdep.S: Likewise.
30900         * sysdeps/unix/sparc/start.c: Likewise.
30901         * sysdeps/unix/sparc/sysdep.S: Likewise.
30902         * sysdeps/unix/sparc/sysdep.h: Likewise.
30903         * sysdeps/unix/start.c: Likewise.
30904         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30905         * sysdeps/x86_64/sysdep.h: Likewise.
30907 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30909         [BZ #13553]
30910         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30911         for non-gcc.
30912         * argp/argp-fmtstream.h: Use const instead __const.
30913         * argp/argp.h: Likewise.
30914         * assert/assert.h: Likewise.
30915         * bits/fenv.h: Likewise.
30916         * bits/sched.h: Likewise.
30917         * bits/sigset.h: Likewise.
30918         * bits/sigthread.h: Likewise.
30919         * catgets/nl_types.h: Likewise.
30920         * conform/data/pthread.h-data: Likewise.
30921         * crypt/crypt-private.h: Likewise.
30922         * crypt/crypt.h: Likewise.
30923         * crypt/crypt_util.c: Likewise.
30924         * ctype/ctype.h: Likewise.
30925         * debug/execinfo.h: Likewise.
30926         * debug/mbsnrtowcs_chk.c: Likewise.
30927         * debug/mbsrtowcs_chk.c: Likewise.
30928         * debug/wcsnrtombs_chk.c: Likewise.
30929         * debug/wcsrtombs_chk.c: Likewise.
30930         * debug/wcstombs_chk.c: Likewise.
30931         * dirent/dirent.h: Likewise.
30932         * dlfcn/dlfcn.h: Likewise.
30933         * elf/neededtest4.c: Likewise.
30934         * grp/grp.h: Likewise.
30935         * gshadow/gshadow.h: Likewise.
30936         * iconv/gconv.h: Likewise.
30937         * iconv/gconv_int.h: Likewise.
30938         * iconv/gconv_simple.c: Likewise.
30939         * iconv/iconv.h: Likewise.
30940         * iconv/loop.c: Likewise.
30941         * iconv/skeleton.c: Likewise.
30942         * include/aio.h: Likewise.
30943         * include/aliases.h: Likewise.
30944         * include/argz.h: Likewise.
30945         * include/arpa/inet.h: Likewise.
30946         * include/assert.h: Likewise.
30947         * include/dirent.h: Likewise.
30948         * include/dlfcn.h: Likewise.
30949         * include/execinfo.h: Likewise.
30950         * include/fcntl.h: Likewise.
30951         * include/fenv.h: Likewise.
30952         * include/glob.h: Likewise.
30953         * include/grp.h: Likewise.
30954         * include/libintl.h: Likewise.
30955         * include/mntent.h: Likewise.
30956         * include/netdb.h: Likewise.
30957         * include/pwd.h: Likewise.
30958         * include/rpc/netdb.h: Likewise.
30959         * include/sched.h: Likewise.
30960         * include/search.h: Likewise.
30961         * include/shadow.h: Likewise.
30962         * include/signal.h: Likewise.
30963         * include/stdio.h: Likewise.
30964         * include/stdlib.h: Likewise.
30965         * include/string.h: Likewise.
30966         * include/sys/socket.h: Likewise.
30967         * include/sys/stat.h: Likewise.
30968         * include/sys/statfs.h: Likewise.
30969         * include/sys/statvfs.h: Likewise.
30970         * include/sys/syslog.h: Likewise.
30971         * include/sys/time.h: Likewise.
30972         * include/sys/uio.h: Likewise.
30973         * include/time.h: Likewise.
30974         * include/unistd.h: Likewise.
30975         * include/utmp.h: Likewise.
30976         * include/wchar.h: Likewise.
30977         * include/wctype.h: Likewise.
30978         * inet/aliases.h: Likewise.
30979         * inet/arpa/inet.h: Likewise.
30980         * inet/netinet/ether.h: Likewise.
30981         * inet/netinet/in.h: Likewise.
30982         * intl/libintl.h: Likewise.
30983         * io/bits/fcntl2.h: Likewise.
30984         * io/fcntl.h: Likewise.
30985         * io/ftw.h: Likewise.
30986         * io/sys/poll.h: Likewise.
30987         * io/sys/stat.h: Likewise.
30988         * io/sys/statfs.h: Likewise.
30989         * io/sys/statvfs.h: Likewise.
30990         * io/utime.h: Likewise.
30991         * libio/bits/stdio.h: Likewise.
30992         * libio/bits/stdio2.h: Likewise.
30993         * libio/libio.h: Likewise.
30994         * libio/libioP.h: Likewise.
30995         * libio/stdio.h: Likewise.
30996         * locale/lc-ctype.c: Likewise.
30997         * locale/locale.h: Likewise.
30998         * login/utmp.h: Likewise.
30999         * malloc/arena.c: Likewise.
31000         * malloc/malloc.c: Likewise.
31001         * malloc/malloc.h: Likewise.
31002         * malloc/mcheck.c: Likewise.
31003         * malloc/mtrace.c: Likewise.
31004         * math/bits/mathcalls.h: Likewise.
31005         * math/fenv.h: Likewise.
31006         * math/math_private.h: Likewise.
31007         * misc/bits/error.h: Likewise.
31008         * misc/bits/syslog.h: Likewise.
31009         * misc/err.h: Likewise.
31010         * misc/error.h: Likewise.
31011         * misc/fstab.h: Likewise.
31012         * misc/mntent.h: Likewise.
31013         * misc/regexp.h: Likewise.
31014         * misc/search.h: Likewise.
31015         * misc/sgtty.h: Likewise.
31016         * misc/sys/mman.h: Likewise.
31017         * misc/sys/syslog.h: Likewise.
31018         * misc/sys/uio.h: Likewise.
31019         * misc/sys/xattr.h: Likewise.
31020         * misc/ttyent.h: Likewise.
31021         * nis/rpcsvc/ypclnt.h: Likewise.
31022         * nss/nss.h: Likewise.
31023         * posix/bits/unistd.h: Likewise.
31024         * posix/fnmatch.h: Likewise.
31025         * posix/glob.h: Likewise.
31026         * posix/sched.h: Likewise.
31027         * posix/spawn.h: Likewise.
31028         * posix/sys/wait.h: Likewise.
31029         * posix/unistd.h: Likewise.
31030         * posix/wordexp.h: Likewise.
31031         * pwd/pwd.h: Likewise.
31032         * resolv/netdb.h: Likewise.
31033         * resource/sys/resource.h: Likewise.
31034         * rt/aio.h: Likewise.
31035         * rt/bits/mqueue2.h: Likewise.
31036         * rt/mqueue.h: Likewise.
31037         * shadow/shadow.h: Likewise.
31038         * signal/signal.h: Likewise.
31039         * socket/send.c: Likewise.
31040         * socket/sendto.c: Likewise.
31041         * socket/sys/socket.h: Likewise.
31042         * stdio-common/printf.h: Likewise.
31043         * stdlib/bits/stdlib.h: Likewise.
31044         * stdlib/fmtmsg.h: Likewise.
31045         * stdlib/monetary.h: Likewise.
31046         * stdlib/stdlib.h: Likewise.
31047         * stdlib/ucontext.h: Likewise.
31048         * streams/stropts.h: Likewise.
31049         * string/argz.h: Likewise.
31050         * string/bits/string2.h: Likewise.
31051         * string/string.h: Likewise.
31052         * string/strings.h: Likewise.
31053         * sunrpc/rpc/auth.h: Likewise.
31054         * sunrpc/rpc/auth_des.h: Likewise.
31055         * sunrpc/rpc/clnt.h: Likewise.
31056         * sunrpc/rpc/netdb.h: Likewise.
31057         * sunrpc/rpc/pmap_clnt.h: Likewise.
31058         * sunrpc/rpc/xdr.h: Likewise.
31059         * sysdeps/generic/inttypes.h: Likewise.
31060         * sysdeps/generic/net/if.h: Likewise.
31061         * sysdeps/generic/sys/swap.h: Likewise.
31062         * sysdeps/gnu/net/if.h: Likewise.
31063         * sysdeps/gnu/utmpx.h: Likewise.
31064         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31065         * sysdeps/i386/i486/bits/string.h: Likewise.
31066         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31067         * sysdeps/s390/bits/string.h: Likewise.
31068         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31069         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31070         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31071         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31072         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31073         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31074         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31075         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31076         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31077         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31078         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31079         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31080         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31081         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31082         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31083         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31084         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31086         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31087         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31088         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31089         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31090         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31091         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31092         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31093         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31094         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31095         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31096         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31097         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31098         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31099         * sysvipc/sys/ipc.h: Likewise.
31100         * sysvipc/sys/msg.h: Likewise.
31101         * sysvipc/sys/sem.h: Likewise.
31102         * sysvipc/sys/shm.h: Likewise.
31103         * termios/termios.h: Likewise.
31104         * time/sys/time.h: Likewise.
31105         * time/time.h: Likewise.
31106         * wcsmbs/bits/wchar2.h: Likewise.
31107         * wcsmbs/uchar.h: Likewise.
31108         * wcsmbs/wchar.h: Likewise.
31109         * wctype/wctype.h: Likewise.
31111         [BZ #13551]
31112         * Makeconfig: Remove all but ELF support including AIX support.
31113         * Makerules: Likewise.
31114         * config.h.in: Likewise.
31115         * config.make.in: Likewise.
31116         * configure: Likewise.
31117         * configure.in: Likewise.
31118         * csu/Makefile: Likewise.
31119         * csu/version.c: Likewise.
31120         * debug/Makefile: Likewise.
31121         * dlfcn/Makefile: Likewise.
31122         * elf/Makefile: Likewise.
31123         * extra-lib.mk: Likewise.
31124         * iconv/Makefile: Likewise.
31125         * include/libc-symbols.h: Likewise.
31126         * include/shlib-compat.h: Likewise.
31127         * resolv/Makefile: Likewise.
31128         * resolv/res_libc.c: Likewise.
31129         * rt/Makefile: Likewise.
31130         * sysdeps/i386/asm-syntax.h: Likewise.
31131         * sysdeps/i386/sysdep.h: Likewise.
31132         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31133         * sysdeps/mach/sysdep.h: Likewise.
31134         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31135         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31136         * sysdeps/s390/asm-syntax.h: Likewise.
31137         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31139         * sysdeps/sh/sysdep.h: Likewise.
31140         * sysdeps/unix/sparc/sysdep.h: Likewise.
31141         * sysdeps/wordsize-32/divdi3.c: Likewise.
31142         * sysdeps/x86_64/sysdep.h: Likewise.
31144         * argp/Versions: Remove _argp_unlock_xxx.
31146         [BZ #13559]
31147         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31148         * abilist/libBrokenLocale.abilist: Likewise.
31149         * abilist/libanl.abilist: Likewise.
31150         * abilist/libc.abilist: Likewise.
31151         * abilist/libcrypt.abilist: Likewise.
31152         * abilist/libdl.abilist: Likewise.
31153         * abilist/libm.abilist: Likewise.
31154         * abilist/libnsl.abilist: Likewise.
31155         * abilist/libpthread.abilist: Likewise.
31156         * abilist/libresolv.abilist: Likewise.
31157         * abilist/librt.abilist: Likewise.
31158         * abilist/libthread_db.abilist: Likewise.
31159         * abilist/libutil.abilist: Likewise.
31160         * abilist/libnss_db.abilist: New file.
31162         * scripts/abilist.awk: Add support for indirect functions.
31164         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31166         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31168         * shlib-versions: Remove entries for ports architectures.
31170         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31171         files in ports.
31172         * elf/stackguard-macros.h: Remove support for IA-64.
31173         * elf/tst-auditmod1.c: Likewise.
31174         * sysdeps/generic/ldsodefs.h: Likewise.
31176         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31177         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31178         configure files.
31180         [BZ #13552]
31181         * configure.in: Remove --enable-omitfp support.
31182         * FAQ.in: Adjust.
31183         * config.make.in: Likewise.
31184         * Makeconfig: Likewise.
31185         * manual/install.texi: Likewise.
31187         In case anyone cares, the IA-64 architecture could move to ports.
31188         * sysdeps/ia64/*: Removed.
31189         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31190         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31192         [BZ #13555]
31193         * configure.in: Remove entries for unsupported architectures.
31195         [BZ #13533]
31196         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31197         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31198         routines.
31199         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31200         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31201         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31202         fall back to using wcrtomb.
31203         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31204         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31205         renaming.
31206         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31207         * wcsmbs/tst-c16c32-1.c: New file.
31209         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31210         local variable.
31212         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31214         * elf/tst-unique3.cc: Add explicit declaration of gets.
31215         * elf/tst-unique3lib.cc: Likewise.
31216         * elf/tst-unique3lib2.cc: Likewise.
31217         * elf/tst-unique4.cc: Likewise.
31219         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31221 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31223         [BZ #13566]
31224         * assert/assert.h (static_assert): Don't define for C++.
31225         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31226         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31228 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31230         * iconv/loop.c (single loop): Fix assertion in storing of
31231         remaining bytes.
31233         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31235 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31237         * posix/getconf.c: Update copyright year.
31238         * nss/getent.c: Likewise.
31239         * nss/makedb.c: Likewise.
31240         * iconv/iconvconfig.c: Likewise.
31241         * iconv/iconv_prog.c: Likewise.
31242         * elf/ldconfig.c: Likewise.
31243         * elf/pldd.c: Likewise.
31244         * elf/sotruss.ksh: Likewise.
31245         * catgets/gencat.c: Likewise.
31246         * csu/version.c: Likewise.
31247         * elf/ldd.bash.in: Likewise.
31248         * elf/sprof.c (print_version): Likewise.
31249         * locale/programs/locale.c: Likewise.
31250         * locale/programs/localedef.c: Likewise.
31251         * login/programs/pt_chown.c: Likewise.
31252         * nscd/nscd.c (print_version): Likewise.
31253         * debug/xtrace.sh: Likewise.
31254         * malloc/memusage.sh: Likewise.
31255         * malloc/mtrace.pl: Likewise.
31256         * debug/catchsegv.sh: Likewise.
31258 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31260         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31261         pure attribute.
31263 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31265         [BZ #13533]
31266         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31267         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31268         transformations.
31269         * iconv/gconv_int.h: Likewise.
31270         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31271         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31272         from libc for GLIBC_2.16.
31273         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31274         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31275         * wcsmbs/uchar.h: Really define mbstate_t.
31276         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31277         * wcsmbs/c16rtomb.c: New file.
31278         * wcsmbs/mbrtoc16.c: New file.
31279         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31280         for C/POSIX locale.
31281         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31282         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31284         * wcsmbs/wchar.h: Add missing __restrict.
31286 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31288         [BZ #13532]
31289         * time/Makefile (routines): Add timespec_get.
31290         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31291         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31292         timespec for ISO C11.
31293         * time/timespec_get.c: New file.
31294         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31295         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31297         [BZ #13531]
31298         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31299         * stdlib/stdlib.h: Declare aligned_alloc.
31300         * Versions.def: Add GLIBC_2.16 for libc.
31301         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31303         [BZ 13527]
31304         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31305         ISO C11.
31307         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31308         code.
31310         [BZ #13528]
31311         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31313         [BZ #13529]
31314         * assert/assert.h (static_assert): Define.
31316         * version.h: Update for 2.16 development version.
31318         [BZ #13526]
31319         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31320         _ISOC11_SOURCE.
31322         * version.h (RELEASE): Bump for 2.15 release.
31323         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31325         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31326         Patch by Marek Polacek <mpolacek@redhat.com>.
31328         * bits/byteswap.h: Protect long long constants with __extension__.
31329         * sysdeps/i386/bits/byteswap.h: Likewise.
31330         * sysdeps/ia64/bits/byteswap.h: Likewise.
31331         * sysdeps/s390/bits/byteswap.h: Likewise.
31332         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31334 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31336         [BZ #13540]
31337         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31338         destination buffer.
31339         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31341 2011-12-23  Marek Polacek  <polacek@redhat.com>
31343         * elf/dl-addr.c (determine_info): Add inline keyword.
31344         * elf/tst-auditmod4b.c (check_avx): Likewise.
31345         * elf/tst-auditmod6b.c (check_avx): Likewise.
31346         * elf/tst-auditmod6c.c (check_avx): Likewise.
31347         * elf/tst-auditmod7b.c (check_avx): Likewise.
31349 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31351         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31352         !__SSE_MATH__.
31354 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31356         [BZ #13540]
31357         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31358         processing for last bytes.
31360 2011-08-06  Bruno Haible  <bruno@clisp.org>
31362         [BZ #13061]
31363         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31364         U+0385, not to U+1FEE.
31366         [BZ #13062]
31367         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31368         entry for U+00A5 U+0301.
31370 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31372         [BZ #13166]
31373         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31374         buffer for the output is too small.
31376         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31377         optimization.
31379         [BZ #13185]
31380         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31381         SSE flags if possible.
31383 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31385         [BZ #13540]
31386         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31387         processing for last bytes.
31389 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31391         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31392         (syscall-list-default-options, syscall-list-default-condition)
31393         (syscall-list-includes): Define.
31394         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31395         list of ABIs and options and #if conditions for each ABI.  Do not
31396         handle common syscalls between ABIs specially.
31397         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31398         Remove.
31399         (syscall-list-variants, syscall-list-32bit-options)
31400         (syscall-list-32bit-condition, syscall-list-64bit-options)
31401         (syscall-list-64bit-condition): Define.
31402         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31403         (syscall-list-variants, syscall-list-32bit-options)
31404         (syscall-list-32bit-condition, syscall-list-64bit-options)
31405         (syscall-list-64bit-condition): Define.
31406         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31407         Remove.
31408         (syscall-list-variants, syscall-list-32bit-options)
31409         (syscall-list-32bit-condition, syscall-list-64bit-options)
31410         (syscall-list-64bit-condition): Define.
31411         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31412         Remove.
31413         (syscall-list-variants, syscall-list-32bit-options)
31414         (syscall-list-32bit-condition, syscall-list-64bit-options)
31415         (syscall-list-64bit-condition): Define.
31417 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31419         * locale/iso-639.def: Add brx entry.
31421         [BZ #13328]
31422         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31423         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31425         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31426         __feraiseexcept_renamed.
31428 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31430         [BZ #13538]
31431         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31432         EPOLLET with unsigned values.
31433         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31434         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31436         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31437         to large cancellation.
31438         * math/s_cacoshf.c: Likewise.
31439         * math/s_cacoshl.c: Likewise.
31441 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31443         [BZ #13305]
31444         [BZ #12786]
31445         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31446         * math/s_cacoshf.c: Likewise.
31447         * math/s_cacoshl.c: Likewise.
31449 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31451         [BZ #13439]
31452         * iconv/gconv.h: Define __GCONV_SWAP.
31453         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31454         * iconvdata/utf-16.c: Likewise.
31455         * iconvdata/utf-32.c: Likewise.
31457 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31459         [BZ #13524]
31460         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31461         numerator after shifting it by one limb.
31463 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31465         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31466         under [__USE_EXTERN_INLINES].
31468 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31470         [BZ #13446]
31471         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31473 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31475         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31476         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31477         optimized code.
31478         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31479         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31480         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31481         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31482         for strncasecmp/strncasecmp_l compilation.
31483         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31484         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31486 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31488         [BZ #13484]
31489         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31490         of __asm__.
31492 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31494         [BZ #13506]
31495         * time/tzfile.c (__tzfile_read): Check values from file header.
31497 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31499         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31500         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31501         * powerpc/powerpc32/dl-start.S: Likewise.
31502         * powerpc/powerpc32/elf/start.S: Likewise.
31503         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31504         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31505         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31506         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31507         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31508         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31509         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31510         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31511         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31512         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31513         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31514         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31515         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31516         * powerpc/powerpc32/memset.S: Likewise.
31517         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31518         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31519         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31520         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31521         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31522         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31523         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31524         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31525         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31526         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31527         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31528         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31529         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31531 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31533         * math/libm-test.inc: Added more nearbyint tests.
31534         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31535         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31536         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31539 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31541         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31542         FD_CLOEXEC.
31544 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31546         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31547         Add wcscpy-ssse3 wcscpy-c.
31548         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31549         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31550         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31551         * sysdeps/x86_64/wcschr.S: New file.
31552         * sysdeps/x86_64/wcsrchr.S: New file.
31553         * string/test-strcmp.c: Remove checking of wcscmp function for
31554         wrong alignments.
31555         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31556         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31557         wcsrchr-sse2 wcsrchr-c.
31558         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31559         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31560         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31561         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31562         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31563         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31564         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31565         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31566         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31567         * wcsmbc/wcschr.c (WCSCHR): New macro.
31569 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31571         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31572         * wcsmbs/test-wcsrchr.c: New file.
31573         * string/test-strrchr.c: Add wcsrchr support.
31574         (WIDE): New macro.
31575         * wcsmbs/test-wcscpy.c: New file.
31576         * string/test-strcpy.c: Add wcscpy support.
31577         (WIDE): New macro.
31579 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31581         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31582         the inner loop.
31584 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31586         [BZ #13472]
31587         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31589 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31591         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31592         Minor optimizations.
31594         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31595         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31596         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31598 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31600         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31601         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31602         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31603         for gcc to avoid warnings.
31604         * inet/Makefile (tests): Add tst-checks.
31605         * inet/tst-checks.c: New file.
31607         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31608         warning.
31610         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31611         __wmemcmp_sse2.
31613         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31614         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31616         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31618 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31620         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31621         problem.
31623         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31625 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31627         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31628         conditional on GCC version.
31629         (__arch_compare_and_exchange_val_8_acq)
31630         (__arch_compare_and_exchange_val_16_acq)
31631         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31632         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31633         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31635 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31637         * sysdeps/sh/backtrace.c: New file.
31639 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31641         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31642         parenthesis.
31644 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31646         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31647         falling back to utime.
31649 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31651         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31652         expectations for float.
31654 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31656         * locale/weight.h (findidx): Add parameter len.
31657         * locale/weightwc.h (findidx): Likewise.
31658         * posix/fnmatch_loop.c (FCT): Adjust caller.
31659         * posix/regcomp.c (build_equiv_class): Likewise.
31660         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31661         * posix/regexec.c (check_node_accept_bytes): Likewise.
31662         * string/strcoll_l.c (STRCOLL): Likewise.
31663         * string/strxfrm_l.c (STRXFRM): Likewise.
31665 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31667         * Makefile.in: Remove CVSOPT handling.
31668         * configure.in: Remove use of AC_REVISION.
31669         * iconvdata/Makefile (distribute): No need to filter out CVS.
31670         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31671         handling.
31673 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31676         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31677         [USE_AS_STRNCASECMP_L]: Likewise.
31678         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31679         NO_TLS_DIRECT_SEG_REFS.
31680         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31681         Fix argument offsets for non-PIC.
31682         [USE_AS_STRNCASECMP_L]: Likewise.
31683         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31684         NO_TLS_DIRECT_SEG_REFS.
31686 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31688         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31689         O_CLOEXEC.
31690         * locale/loadlocale.c (_nl_load_locale): Likewise.
31692 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31694         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31695         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31696         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31697         (SYSCALL_GETTIME): Set errno on error.
31699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31700         count references to noai6ai_cached.
31702 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31704         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31706         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31707         FD_CLOEXEC for /proc/self/maps.
31709         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31710         FD_CLOEXEC for /proc/meminfo.
31712         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31713         gai.conf.
31715         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31716         FD_CLOEXEC for given file.
31718         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31720         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31721         FD_CLOEXEC for /etc/hosts.
31722         (_gethtent): Likewise.
31724         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31726         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31727         cancellation and set FD_CLOEXEC for /etc/netgroup.
31729         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31730         reading /etc/publickey.
31732         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31733         allow cancellation when reading /etc/group.
31735         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31736         cancellation.
31737         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31739         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31740         when using data file.
31742         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31744         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31745         (write_nis_obj): Use "c" and "e" in fopen.
31747         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31749         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31751         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31753         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31755         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31756         locale.alias.
31758         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31760         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31762         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31764         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31765         file parsing and set FD_CLOEXEC.
31767 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31769         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31771 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31773         * malloc/arena.c (arena_get2): Don't call reused_arena when
31774         _int_new_arena failed.
31776 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31778         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31779         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31780         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31783         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31784         to compile strcasecmp and strncasecmp.
31785         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31786         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31790 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31792         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31793         locale-defines.sym to gen-as-const-headers.
31794         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31795         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31797         to compile strcasecmp and strncasecmp.
31798         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31799         strcasecmp_l and strncasecmp_l.
31800         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31801         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31802         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31803         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31804         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31805         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31806         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31807         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31808         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31809         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31810         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31812 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31814         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31815         result of SYSDEP_GETTIME_CPU to retval.
31816         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31817         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31819         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31820         variable.
31822         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31823         mantissa words.
31824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31826         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31827         from unused variable.
31829         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31830         DWARF definitions.
31831         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31832         for assembling.
31834         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31835         over namespaces.
31837         * sunrpc/rpc_prot.c (rejected): Fix case value.
31839         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31840         unsigned long long int to avoid warnings in shift.
31842         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31843         of use of trans.
31844         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31845         variable tmp.
31847         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31848         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31849         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31851         * nis/nis_table.c (nis_list): Use variable of correct type for
31852         result of __follow_path call.
31854 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31856         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31857         of math functions ceil, trunc, floor, round, and sqrt, when
31858         avaliable on the platform.
31859         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31860         name clash.
31861         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31862         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31863         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31865 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31867         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31868         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31870 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31872         * include/unistd.h: Fix __readlink return type.
31873         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31875 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31877         * stdlib/ucontext.h: Undo last change for makecontext.
31879 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31881         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31883         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31884         * setjmp/setjmp.h: Mark functions as non-leaf.
31885         * setjmp/bits/setjmp2.h: Likewise.
31886         * stdlib/ucontext.h: Likewise.
31888 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31890         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31891         (reused_arena): Don't check arena limit.
31892         (arena_get2): Atomically check arena limit.
31894 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31896         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31897         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31899         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31900         instructions.
31902 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31904         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31905         handler when locking.
31907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31908         Fix size of allocated buffer.
31910 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31912         [BZ #10103]
31913         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31914         declarations for long double functions.
31915         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31917         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31919 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31921         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31922         installed.
31924         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31925         is disabled.
31927 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31929         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31931 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31933         * include/alloca.h (stackinfo_alloca_round): Define.
31934         (extend_alloca): Use it.
31935         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31936         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31937         here.
31939         * scripts/check-local-headers.sh: Ignore libaudit.h.
31941         * nscd/Makefile (extra-objs): Make recursively expanded.
31943 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31945         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31948         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31949         * posix/tst-rfc3484-2.c: Likewise.
31950         * posix/tst-rfc3484-3.c: Likewise.
31952         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31953         process_vm_writev.
31954         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31955         process_vm_writev.
31956         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31957         process_vm_writev from libc using GLIBC_2.15 version.
31959         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31961 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31963         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31964         stack usage.
31966 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31968         [BZ #13367]
31969         * nss/getent.c (initgroups_keys): Show error message in case no group
31970         names are given.
31972         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31973         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31974         __bump_nl_timestamp.
31975         * nscd/connections (nscd_init): When host database is served open
31976         netlink socket and request notification about configuration changes.
31977         (main_loop_poll): Track netlink file descriptor and bump timestamp
31978         in case data becomes available.
31979         (main_loop_epoll): Likewise.
31980         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31981         (database_pers_head): Add extra_data fileds.
31982         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31983         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31984         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31985         Adjust caller.
31986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31987         in6ai data, call __free_in6ai.
31988         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31989         Add -DHAVE_NETLINK.
31990         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31991         interface information.  Reuse previous data if netlink timestamp
31992         is not changed.
31993         (__bump_nl_timestamp): New function.
31994         (__free_in6ai): New function.
31996 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31998         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31999         close_not_cancel_no_status here.
32000         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32002 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32004         [BZ #13276]
32005         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32006         return value.
32008         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32009         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32010         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32012 2011-07-03  Andreas Jaeger  <aj@suse.de>
32014         [BZ #10709]
32015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32016         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32017         * math/libm-test.inc (sin_test): Add test case.
32019 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32021         [BZ #13337]
32022         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32023         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32025         * elf/chroot_canon.c (chroot_canon): Cleanups.
32027         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32029         [BZ #13335]
32030         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32031         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32033         * string/test-strchr.c: Make usable for strchrnul testing.
32034         * string/test-strchrnul.c: New file.
32035         * string/Makefile (strop-tests): Add strchrnul.
32037         * po/it.po: Update from translation team.
32038         * po/es.po: Likewise.
32040 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32043         the three constants needed as parameters.  Drop the others.
32044         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32045         __m128i_strloadu_tolower.
32046         Create and initialize variable zero and use it in all the places
32047         where _mm_setzero_si128 was used.
32049         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32050         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32051         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32053         anymore.
32054         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32055         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32056         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32057         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32058         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32059         __mpranred, __mptan.
32060         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32061         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32062         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32063         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32064         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32065         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32066         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32067         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32068         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32070 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32072         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32073         redefine if SHARED.
32074         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32077         wide char related routines to wcsmbs subdir.
32079 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32081         [BZ #13344]
32082         * misc/sys/cdefs.h (__THROWNL): Define.
32083         * posix/unistd.h: Use __THREADNL instead of __THREAD
32084         for memory synchronization functions.
32086 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32088         [BZ #13349]
32089         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32090         doesn't exist.
32091         * manual/stdio.texi (Obstack Streams): Node removed.
32093 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32095         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32096         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32097         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32099         * math/math_private.h (math_force_eval): Allow non-addressable
32100         arguments.
32101         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32103 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32105         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32106         file is not needed.
32108         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32110         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32111         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32112         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32113         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32115         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32116         Add AVX variants.
32117         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32118         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32119         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32120         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32121         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32122         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32123         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32125         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32126         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32127         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32128         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32129         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32130         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32131         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32132         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32133         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32134         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32135         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32137         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32138         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32140         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32141         place.  Use VEX encoding when compiling for AVX.
32143 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32145         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32146         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32148         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32152         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32153         useless if() expression.
32154         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32155         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32156         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32158         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32159         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32160         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32162         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32163         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32164         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32165         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32166         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32167         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32168         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32169         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32170         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32171         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32172         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32174         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32176 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32178         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32179         condition.
32180         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32182 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32184         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32185         .text section.  Avoid duplicate constants.
32186         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32187         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32188         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32194         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32195         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32196         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32197         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32198         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32199         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32201         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32202         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32203         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32204         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32206         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32207         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32208         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32213         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32214         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32215         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32216         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32217         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32218         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32219         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32220         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32221         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32222         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32223         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32224         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32225         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32226         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32227         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32228         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32229         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32230         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32232 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32234         * sysdeps/x86_64/dla.h: Move to ...
32235         * sysdeps/x86_64/fpu/dla.h: ...here.
32236         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32237         situations.  Use __builtin_fma only for gcc 4.6 and up.
32239         * config.make.in: Add have-mfma4 entry.
32240         * configure.in: Substitute libc_cv_cc_fma4.
32241         * math/Makefile (dbl-only-routines): Add sincostab.
32242         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32243         Use __sincostab not sincos.
32244         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32245         name is a macro.
32246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32250         using __copysign.
32251         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32252         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32253         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32254         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32255         and __inv.
32256         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32257         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32258         __copysign.
32259         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32260         define aliases when function name is a macro.
32261         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32262         sysdeps/ieee754/dbl-64/sincos.tbl.
32263         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32264         fma4-enabled routines.
32265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32266         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32267         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32268         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32269         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32270         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32272         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32273         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32274         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32275         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32276         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32277         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32278         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32279         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32280         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32281         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32282         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32283         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32285         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32286         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32288         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32290         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32291         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32292         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32293         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32294         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32296         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32297         rename.
32298         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32307 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32309         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32311 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32313         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32315         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32316         prediction.
32317         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32319         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32320         Remove unused variable magic_bits.
32321         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32323         * string/strnlen.c: Define and use STRNLEN macro.
32324         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32325         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32326         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32327         * wcsmbs/wcslen.c: Define and use WCSLEN.
32328         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32329         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32330         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32331         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32332         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32333         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32334         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32336 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32339         strnlen-sse2-no-bsf.
32340         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32342         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32343         Add strnlen support.
32344         (USE_AS_STRNLEN): New macro.
32345         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32346         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32347         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32348         * sysdeps/x86_64/wcslen.S: New file.
32350 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32352         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32353         XMM-moves are used for copying on small sizes.
32355 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32357         * wcsmbs/Makefile (strop-tests): Add wcschr.
32358         * wcsmbs/test-wcschr.c: New file.
32359         * string/test-strchr.c: Update.
32360         Add wcschr support.
32361         (WIDE): New macro.
32363 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32365         * wcsmbs/Makefile (strop-tests): Add wcslen.
32366         * wcsmbs/test-wcslen.c: New file.
32367         * string/test-strlen.c: Update.
32368         Add wcslen support.
32369         (WIDE): New macro.
32371 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32373         * po/it.po: Update from translation team.
32375 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32377         * sysdeps/x86_64/wcscmp.S: Update.
32378         Fix wrong comparison semantics.
32379         wcscmp shall use signed comparison not unsigned.
32380         Don't use substraction to avoid overflow bug.
32381         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32382         * wcsmbc/wcscmp.c: Likewise.
32383         * string/test-strcmp.c: Likewise.
32384         Add new tests to check cases with negative values.
32386 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32388         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32389         * sysdeps/x86_64/dla.h: ...here.  New file.
32390         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32395         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32400 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32403         __ynl_finite aliases.
32405 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32409         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32410         define DLA_FMA.
32411         [DLA_FMA] (EMULV): Use DLA_FMA.
32412         [DLA_FMA] (MUL12): Use EMULV.
32413         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32414         that are not needed.
32415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32416         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32423 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32425         * math/s_nan.c: Undef __nan.
32426         * math/s_nanf.c: Undef __nanf.
32427         * math/s_nanl.c: Undef __nanl.
32428         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32429         "math_private.h".
32431 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32433         * math/s_catan.c: Add branch predictions.
32434         * math/s_catanf.c: Likewise.
32435         * math/s_catanh.c: Likewise.
32436         * math/s_catanhf.c: Likewise.
32437         * math/s_catanhl.c: Likewise.
32438         * math/s_catanl.c: Likewise.
32439         * math/s_cexp.c: Likewise.
32440         * math/s_cexpf.c: Likewise.
32441         * math/s_cexpl.c: Likewise.
32442         * math/s_clog.c: Likewise.
32443         * math/s_clog10.c: Likewise.
32444         * math/s_clog10f.c: Likewise.
32445         * math/s_clog10l.c: Likewise.
32446         * math/s_clogf.c: Likewise.
32447         * math/s_clogl.c: Likewise.
32448         * math/s_csqrt.c: Likewise.
32449         * math/s_csqrtf.c: Likewise.
32450         * math/s_csqrtl.c: Likewise.
32451         * math/s_ctanf.c: Likewise.
32452         * math/s_ctanh.c: Likewise.
32453         * math/s_ctanhf.c: Likewise.
32454         * math/s_ctanhl.c: Likewise.
32455         * math/s_ctanl.c: Likewise.
32457         * math/math_private.h: Define __nan, __nanf, __nanl.
32458         * math/s_cacosh.c: Include <math_private.h>.
32459         * math/s_cacoshl.c: Likewise.
32460         * math/s_casinh.c: Likewise.
32461         * math/s_casinhf.c: Likewise.
32462         * math/s_casinhl.c: Likewise.
32463         * math/s_ccos.c: Rely entire on ccosh.
32464         * math/s_ccosf.c: Rely entire on ccoshf.
32465         * math/s_ccosl.c: Rely entirely on ccoshl.
32466         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32467         Remove tests for FE_INVALID.
32468         * math/s_ccoshf.c: Likewise.
32469         * math/s_ccoshl.c: Likewise.
32470         * math/s_csin.c: Likewise.
32471         * math/s_csinf.c: Likewise.
32472         * math/s_csinh.c Likewise.
32473         * math/s_csinhf.c: Likewise.
32474         * math/s_csinhl.c: Likewise.
32475         * math/s_csinl.c: Likewise.
32476         * math/s_ctan.c: Likewise.
32477         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32478         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32479         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32481 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32484         compilation problems.
32486         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32487         __builtin_expect.
32489 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32491         * sysdeps/i386/configure.in: Test for -mfma4 option.
32492         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32493         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32494         COMMON_CPUID_INDEX_80000001.
32495         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32496         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32497         use it if FMA3 is not supported.
32498         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32500         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32501         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32503 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32505         [BZ #12892]
32506         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32507         it would create a cycle with a link time dependency.
32509 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32511         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32512         instruction.
32513         * string/Makefile (strop-tests): Add rawmemchr.
32514         * string/test-rawmemchr.c: New file.
32516         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32517         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32518         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32519         when compiling str{,n}casecmp and when AVX is available.  Hook up
32520         new optimized code in initializers.
32522 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32524         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32525         __feraiseexcept instead of feraiseexcept.
32527 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32529         * math/math_private.h: Define defaults for libc_fetestexcept and
32530         libc_feupdateenv.
32531         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32532         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32533         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32534         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32535         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32536         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32537         libc_fetestexcept and libc_feupdateenv.
32539         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32540         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32541         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32542         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32543         libc_feholdexcept_setround.
32545         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32546         Add s_nearbyint-c and s_nearbyintf-c.
32547         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32548         nearbyintf inlines.
32549         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32550         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32551         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32552         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32554         * math/math_private.h: Define defaults for libc_fegetround,
32555         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32556         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32557         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32558         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32559         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32560         standard functions.
32561         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32562         Remove comments and hacks for old compiler versions.
32563         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32564         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32565         libc_feholdexceptl.
32567 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32569         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32570         (__feraiseexcept_renamed): Add __NTH.
32571         (feraiseexcept): Add __NTH.  Rename local variables to fix
32572         namespace violations.
32574 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32576         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32578         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32580         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32581         recently added interfaces.
32582         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32584         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32585         about macro parameter expansion.
32587         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32588         __NO_MATH_INLINES is defined.  Cleanups.
32590         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32591         and __floorf is target has SSE4.1.
32592         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32593         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32594         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32595         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32597         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32598         name.
32599         (floorf): Likewise.
32601         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32603 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32605         * misc/sys/cdefs.h: Fix last change.
32607         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32608         database lookup.
32610 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32612         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32614         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32615         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32616         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32617         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32619         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32620         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32621         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32622         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32623         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32624         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32625         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32626         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32627         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32628         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32629         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32630         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32631         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32632         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32633         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32634         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32635         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32637         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32638         ceil, ceilf, floor, floorf.
32640         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32641         Perform IRELATIVE relocations last.
32643         * elf/do-rel.h: Add another parameter nrelative, replacing the
32644         local variable with the same name.  Change name of the function
32645         to end in Rel or Rela (uppercase).
32646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32647         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32648         elf_dynamic_do_##reloc function.
32650 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32652         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32653         is sufficient, at least on modern CPUs.
32655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32657         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32658         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32660         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32661         __expl_finite.
32662         * math/bits/math-finite.h: Add entries for exp.
32663         * math/e_expl.c: Add __*_finite alias.
32664         * sysdeps/i386/fpu/e_exp.S: Likewise.
32665         * sysdeps/i386/fpu/e_expf.S: Likewise.
32666         * sysdeps/i386/fpu/e_expl.c: Likewise.
32667         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32668         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32669         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32671         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32672         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32673         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32675         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32676         is sufficient, at least on modern CPUs.
32678         * ctype/ctype-info.c (__ctype_init): Define.
32679         * include/ctype.h (__ctype_init): Declare.
32680         (__ctype_b_loc): The variable is always initialized.
32681         (__ctype_toupper_loc): Likewise.
32682         (__ctype_tolower_loc): Likewise.
32683         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32684         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32686 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32688         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32690         * configure.in: Also look in $cxxmachine/include for C++ system
32691         headers.
32693 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32695         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32696         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32697         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32698         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32699         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32700         (USE_AS_WMEMCMP): New macro.
32701         Fixing indents.
32702         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32703         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32704         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32705         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32707         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32708         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32709         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32710         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32711         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32712         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32713         (USE_AS_WMEMCMP): New macro.
32714         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32715         * sysdeps/string/test-memcmp.c: Update.
32716         Fix simple_wmemcmp.
32717         Add new tests.
32718         * wcsmbs/wmemcmp.c: Update.
32719         (WMEMCMP): New macro.
32720         Fix overflow bug.
32722 2011-10-12  Andreas Jaeger  <aj@suse.de>
32724         [BZ #13268]
32725         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32727 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32729         * libio/iofwide.c (do_length): Avoid warning.
32731         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32733 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32735         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32737         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32738         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32739         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32740         * sysdeps/i386/i686/fpu/e_log.S: New file.
32741         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32742         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32744         * ctype/ctype.h: Add support for inlined isXXX functions when
32745         compiling C++ code.
32747 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32749         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32751         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32753 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32755         [BZ #13291]
32756         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32758 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32760         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32761         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32762         feraiseexcept.
32764         * sysdeps/x86_64/memrchr.S: Check for zero size.
32766         * string/stratcliff.c: Add memrchr tests.
32768 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32770         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32771         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32772         rawmemchr-sse2 rawmemchr-sse2-bsf.
32773         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32774         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32775         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32776         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32777         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32778         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32779         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32780         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32781         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32782         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32783         * string/memrchr.c (MEMRCHR): New macro.
32785 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32787         Add integration with gcc's -ffinite-math-only and optimize wrapper
32788         functions in libm.
32789         * Versions.def: Define GLIBC_2.15 version for libm.
32790         * math/Makefile (headers): Add bits/math-finite.h.
32791         * math/bits/math-finite.h: New file.
32792         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32793         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32794         * math/e_acoshl.c: Add __*_finite alias.
32795         * math/e_acosl.c: Likewise.
32796         * math/e_asinl.c: Likewise.
32797         * math/e_atan2l.c: Likewise.
32798         * math/e_atanhl.c: Likewise.
32799         * math/e_coshl.c: Likewise.
32800         * math/e_exp10.c: Likewise.
32801         * math/e_exp10f.c: Likewise.
32802         * math/e_exp10l.c: Likewise.
32803         * math/e_exp2l.c: Likewise.
32804         * math/e_fmodl.c: Likewise.
32805         * math/e_gammal_r.c: Likewise.
32806         * math/e_hypotl.c: Likewise.
32807         * math/e_j0l.c: Likewise.
32808         * math/e_j1l.c: Likewise.
32809         * math/e_jnl.c: Likewise.
32810         * math/e_lgammal_r.c: Likewise.
32811         * math/e_log10l.c: Likewise.
32812         * math/e_log2l.c: Likewise.
32813         * math/e_logl.c: Likewise.
32814         * math/e_powl.c: Likewise.
32815         * math/e_sinhl.c: Likewise.
32816         * math/e_sqrtl.c: Likewise.
32817         * math/e_scalb.c: Completely rewritten and optimized.
32818         * math/e_scalbf.c: Likewise.
32819         * math/e_scalbl.c: Likewise.
32820         * math/w_acos.c: Likewise.
32821         * math/w_acosf.c: Likewise.
32822         * math/w_acosl.c: Likewise.
32823         * math/w_acosh.c: Likewise.
32824         * math/w_acoshf.c: Likewise.
32825         * math/w_acoshl.c: Likewise.
32826         * math/w_asin.c: Likewise.
32827         * math/w_asinf.c: Likewise.
32828         * math/w_asinl.c: Likewise.
32829         * math/w_atan2.c: Likewise.
32830         * math/w_atan2f.c: Likewise.
32831         * math/w_atan2l.c: Likewise.
32832         * math/w_atanh.c: Likewise.
32833         * math/w_atanhf.c: Likewise.
32834         * math/w_atanhl.c: Likewise.
32835         * math/w_exp10.c: Likewise.
32836         * math/w_exp10f.c: Likewise.
32837         * math/w_exp10l.c: Likewise.
32838         * math/w_fmod.c: Likewise.
32839         * math/w_fmodf.c: Likewise.
32840         * math/w_fmodl.c: Likewise.
32841         * math/w_j0.c: Likewise.
32842         * math/w_j0f.c: Likewise.
32843         * math/w_j0l.c: Likewise.
32844         * math/w_j1.c: Likewise.
32845         * math/w_j1f.c: Likewise.
32846         * math/w_j1l.c: Likewise.
32847         * math/w_jn.c: Likewise.
32848         * math/w_jnf.c: Likewise.
32849         * math/w_log.c: Likewise.
32850         * math/w_logf.c: Likewise.
32851         * math/w_logl.c: Likewise.
32852         * math/w_log10.c: Likewise.
32853         * math/w_log10f.c: Likewise.
32854         * math/w_log10l.c: Likewise.
32855         * math/w_log2.c: Likewise.
32856         * math/w_log2f.c: Likewise.
32857         * math/w_log2l.c: Likewise.
32858         * math/w_pow.c: Likewise.
32859         * math/w_powf.c: Likewise.
32860         * math/w_powl.c: Likewise.
32861         * math/w_remainder.c: Likewise.
32862         * math/w_remainderf.c: Likewise.
32863         * math/w_remainderl.c: Likewise.
32864         * math/w_scalb.c: Likewise.
32865         * math/w_scalbf.c: Likewise.
32866         * math/w_scalbl.c: Likewise.
32867         * math/w_sqrt.c: Likewise.
32868         * math/w_sqrtf.c: Likewise.
32869         * math/w_sqrtl.c: Likewise.
32870         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32871         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32872         used.
32873         * math/math_private.h: Declare __kernel_standard_f.
32874         * math/w_cosh.c: Remove cruft and optimize a bit.
32875         * math/w_coshf.c: Likewise.
32876         * math/w_coshl.c: Likewise.
32877         * math/w_exp2.c: Likewise.
32878         * math/w_exp2f.c: Likewise.
32879         * math/w_exp2l.c: Likewise.
32880         * math/w_hypot.c: Likewise.
32881         * math/w_hypotf.c: Likewise.
32882         * math/w_hypotl.c: Likewise.
32883         * math/w_lgamma.c: Likewise.
32884         * math/w_lgamma_r.c: Likewise.
32885         * math/w_lgammaf.c: Likewise.
32886         * math/w_lgammaf_r.c: Likewise.
32887         * math/w_lgammal.c: Likewise.
32888         * math/w_lgammal_r.c: Likewise.
32889         * math/w_sinh.c: Likewise.
32890         * math/w_sinhf.c: Likewise.
32891         * math/w_sinhl.c: Likewise.
32892         * math/w_tgamma.c: Likewise.
32893         * math/w_tgammaf.c: Likewise.
32894         * math/w_tgammal.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32896         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32897         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32898         Minor optimizations.  Pretty printing.  Remove cruft.
32899         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32900         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32901         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32902         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32903         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32904         * sysdeps/i386/fpu/e_asin.S: Likewise.
32905         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32906         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32907         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32908         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32909         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32910         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32911         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32912         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32913         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32914         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32915         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32916         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32917         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32918         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32919         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32920         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32921         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32922         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32923         * sysdeps/i386/fpu/e_log.S: Likewise.
32924         * sysdeps/i386/fpu/e_log10.S: Likewise.
32925         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32926         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32927         * sysdeps/i386/fpu/e_log2.S: Likewise.
32928         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32929         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32930         * sysdeps/i386/fpu/e_logf.S: Likewise.
32931         * sysdeps/i386/fpu/e_logl.S: Likewise.
32932         * sysdeps/i386/fpu/e_pow.S: Likewise.
32933         * sysdeps/i386/fpu/e_powf.S: Likewise.
32934         * sysdeps/i386/fpu/e_powl.S: Likewise.
32935         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32936         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32937         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32938         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32940         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32941         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32942         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32943         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32944         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32945         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32947         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32949         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32950         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32951         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32952         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32953         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32954         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32958         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32959         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32960         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32961         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32962         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32963         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32964         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32965         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32966         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32967         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32968         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32969         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32970         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32971         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32972         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32973         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32974         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32975         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32976         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32978         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32979         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32980         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32981         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32982         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32983         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32984         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32985         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32986         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32987         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32988         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32989         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32992         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32993         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33009         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33010         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33024         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33027         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33029         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33030         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33032         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33035         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33036         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33037         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33039         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33040         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33041         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33042         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33043         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33044         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33045         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33046         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33047         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33048         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33049         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33050         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33052         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33053         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33054         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33055         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33056         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33057         (__isnanf): Likewise.
33058         (__isinf_ns): Likewise.
33059         (__isinf_nsf): Likewise.
33060         (__finite): Likewise.
33061         (__finitef): Likewise.
33062         (__ieee754_sqrt): Define as macro.
33063         (__ieee754_sqrtf): Define as macro.
33064         (__ieee754_sqrtl): Define as macro.
33065         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33066         inlined copy.
33067         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33068         __FINITE_MATH_ONLY__ consistent.
33069         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33071 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33073         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33074         of rawmemchr.
33076         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33078 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33080         * po/ja.po: Update from translation team.
33082 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33084         * locale/programs/locarchive.c (prepare_address_space): New function.
33085         (create_archive, enlarge_archive, open_archive): Use it.
33087         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33088         inside [SHARED], where it is used.
33090         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33092         * nss/getent.c (netgroup_keys): Remove unused variable.
33093         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33095 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33097         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33098         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33100         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33101         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33102         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33103         * math/Makefile (libm-calls): Add s_isinf_ns.
33104         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33105         * math/multc3.c: Likewise.
33106         * math/s_casin.c: Likewise.
33107         * math/s_casinf.c: Likewise.
33108         * math/s_casinl.c: Likewise.
33109         * math/s_ccos.c: Likewise.
33110         * math/s_ccosf.c: Likewise.
33111         * math/s_ccosl.c: Likewise.
33112         * math/s_ctan.c: Likewise.
33113         * math/s_ctanf.c: Likewise.
33114         * math/s_ctanh.c: Likewise.
33115         * math/s_ctanhf.c: Likewise.
33116         * math/s_ctanhl.c: Likewise.
33117         * math/s_ctanl.c: Likewise.
33118         * math/w_fmod.c: Likewise.
33119         * math/w_fmodf.c: Likewise.
33120         * math/w_fmodl.c: Likewise.
33121         * math/w_remainder.c: Likewise.
33122         * math/w_remainderf.c: Likewise.
33123         * math/w_remainderl.c: Likewise.
33124         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33125         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33126         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33128         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33129         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33130         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33131         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33133         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33134         of the number.
33135         * stdio-common/printf_fphex.c: Likewise.
33136         * stdio-common/printf_size.c: Likewise.
33138         * math/e_exp10.c: Include math_private.h using <...> not "...".
33139         * math/e_exp10f.c: Likewise.
33140         * math/e_exp10l.c: Likewise.
33141         * math/e_exp2l.c: Likewise.
33142         * math/e_j0l.c: Likewise.
33143         * math/e_j1l.c: Likewise.
33144         * math/e_jnl.c: Likewise.
33145         * math/e_lgammal_r.c: Likewise.
33146         * math/e_rem_pio2l.c: Likewise.
33147         * math/e_scalb.c: Likewise.
33148         * math/e_scalbf.c: Likewise.
33149         * math/e_scalbl.c: Likewise.
33150         * math/k_cosl.c: Likewise.
33151         * math/k_sinl.c: Likewise.
33152         * math/k_tanl.c: Likewise.
33153         * math/s_cacoshf.c: Likewise.
33154         * math/s_catan.c: Likewise.
33155         * math/s_catanf.c: Likewise.
33156         * math/s_catanh.c: Likewise.
33157         * math/s_catanhf.c: Likewise.
33158         * math/s_catanhl.c: Likewise.
33159         * math/s_catanl.c: Likewise.
33160         * math/s_ccosh.c: Likewise.
33161         * math/s_ccoshf.c: Likewise.
33162         * math/s_ccoshl.c: Likewise.
33163         * math/s_cexp.c: Likewise.
33164         * math/s_cexpf.c: Likewise.
33165         * math/s_cexpl.c: Likewise.
33166         * math/s_clog.c: Likewise.
33167         * math/s_clog10.c: Likewise.
33168         * math/s_clog10f.c: Likewise.
33169         * math/s_clog10l.c: Likewise.
33170         * math/s_clogf.c: Likewise.
33171         * math/s_clogl.c: Likewise.
33172         * math/s_csin.c: Likewise.
33173         * math/s_csinf.c: Likewise.
33174         * math/s_csinh.c: Likewise.
33175         * math/s_csinhf.c: Likewise.
33176         * math/s_csinhl.c: Likewise.
33177         * math/s_csinl.c: Likewise.
33178         * math/s_csqrt.c: Likewise.
33179         * math/s_csqrtf.c: Likewise.
33180         * math/s_csqrtl.c: Likewise.
33181         * math/s_ctan.c: Likewise.
33182         * math/s_ctanf.c: Likewise.
33183         * math/s_ctanh.c: Likewise.
33184         * math/s_ctanhf.c: Likewise.
33185         * math/s_ctanhl.c: Likewise.
33186         * math/s_ctanl.c: Likewise.
33187         * math/s_ldexp.c: Likewise.
33188         * math/s_ldexpf.c: Likewise.
33189         * math/s_ldexpl.c: Likewise.
33190         * math/s_significand.c: Likewise.
33191         * math/s_significandf.c: Likewise.
33192         * math/s_significandl.c: Likewise.
33193         * math/w_acos.c: Likewise.
33194         * math/w_acosf.c: Likewise.
33195         * math/w_acosh.c: Likewise.
33196         * math/w_acoshf.c: Likewise.
33197         * math/w_acoshl.c: Likewise.
33198         * math/w_acosl.c: Likewise.
33199         * math/w_asin.c: Likewise.
33200         * math/w_asinf.c: Likewise.
33201         * math/w_asinl.c: Likewise.
33202         * math/w_atan2.c: Likewise.
33203         * math/w_atan2f.c: Likewise.
33204         * math/w_atan2l.c: Likewise.
33205         * math/w_atanh.c: Likewise.
33206         * math/w_atanhf.c: Likewise.
33207         * math/w_atanhl.c: Likewise.
33208         * math/w_cosh.c: Likewise.
33209         * math/w_coshf.c: Likewise.
33210         * math/w_coshl.c: Likewise.
33211         * math/w_dremf.c: Likewise.
33212         * math/w_exp10.c: Likewise.
33213         * math/w_exp10f.c: Likewise.
33214         * math/w_exp10l.c: Likewise.
33215         * math/w_exp2.c: Likewise.
33216         * math/w_exp2f.c: Likewise.
33217         * math/w_fmod.c: Likewise.
33218         * math/w_fmodf.c: Likewise.
33219         * math/w_fmodl.c: Likewise.
33220         * math/w_hypot.c: Likewise.
33221         * math/w_hypotf.c: Likewise.
33222         * math/w_hypotl.c: Likewise.
33223         * math/w_j0.c: Likewise.
33224         * math/w_j0f.c: Likewise.
33225         * math/w_j0l.c: Likewise.
33226         * math/w_j1.c: Likewise.
33227         * math/w_j1f.c: Likewise.
33228         * math/w_j1l.c: Likewise.
33229         * math/w_jn.c: Likewise.
33230         * math/w_jnf.c: Likewise.
33231         * math/w_jnl.c: Likewise.
33232         * math/w_lgamma.c: Likewise.
33233         * math/w_lgamma_r.c: Likewise.
33234         * math/w_lgammaf.c: Likewise.
33235         * math/w_lgammaf_r.c: Likewise.
33236         * math/w_lgammal.c: Likewise.
33237         * math/w_lgammal_r.c: Likewise.
33238         * math/w_log.c: Likewise.
33239         * math/w_log10.c: Likewise.
33240         * math/w_log10f.c: Likewise.
33241         * math/w_log10l.c: Likewise.
33242         * math/w_log2.c: Likewise.
33243         * math/w_log2f.c: Likewise.
33244         * math/w_log2l.c: Likewise.
33245         * math/w_logf.c: Likewise.
33246         * math/w_logl.c: Likewise.
33247         * math/w_pow.c: Likewise.
33248         * math/w_powf.c: Likewise.
33249         * math/w_powl.c: Likewise.
33250         * math/w_remainder.c: Likewise.
33251         * math/w_remainderf.c: Likewise.
33252         * math/w_remainderl.c: Likewise.
33253         * math/w_scalb.c: Likewise.
33254         * math/w_scalbf.c: Likewise.
33255         * math/w_scalbl.c: Likewise.
33256         * math/w_sinh.c: Likewise.
33257         * math/w_sinhf.c: Likewise.
33258         * math/w_sinhl.c: Likewise.
33259         * math/w_sqrt.c: Likewise.
33260         * math/w_sqrtf.c: Likewise.
33261         * math/w_sqrtl.c: Likewise.
33262         * math/w_tgamma.c: Likewise.
33263         * math/w_tgammaf.c: Likewise.
33264         * math/w_tgammal.c: Likewise.
33266         * po/ja.po: Update from translation team.
33268 2011-09-29  Andreas Jaeger  <aj@suse.de>
33270         [BZ #13179]
33271         * sunrpc/netname.c (netname2host): Fix logic.
33273         [BZ #6779]
33274         [BZ #6783]
33275         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33276         correctly.
33277         * math/w_remainder.c (__remainder): Likewise.
33278         * math/w_remainderf.c (__remainderf): Likewise.
33279         * math/libm-test.inc (remainder_test): Add test cases.
33281 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33283         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33284         sdiv_qrnnd.
33286 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33288         * string/test-memcmp.c: Avoid unncessary #defines.
33289         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33291 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33293         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33294         Use new sse2 version for core i3 - i7 as it's faster
33295         than sse42 version.
33296         (bit_Prefer_PMINUB_for_stringop): New.
33297         * sysdeps/x86_64/rawmemchr.S: Update.
33298         Replace with faster SSE2 version.
33299         * sysdeps/x86_64/memrchr.S: New file.
33300         * sysdeps/x86_64/memchr.S: Update.
33301         Replace with faster SSE2 version.
33303 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33305         * elf/dl-load.c (lose): Add cast to avoid warning.
33307 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33309         * po/ca.po: Update from translation team.
33311         * inet/getnetgrent_r.c: Hook up nscd.
33312         * nscd/Makefile (routines): Add nscd_netgroup.
33313         (nscd-modules): Add netgroupcache.
33314         (CFLAGS-netgroupcache.c): Define.
33315         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33316         (cache_search): Add const to second parameter.
33317         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33318         INNETGR.
33319         (dbs): Add netgrdb entry.
33320         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33321         (verify_persistent_db): Handle netgrdb.
33322         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33323         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33324         GETFDNETGR.
33325         (netgroup_response_header): Define.
33326         (innetgroup_response_header): Define.
33327         (datahead): Add netgroup_response_header and innetgroup_response_header
33328         elements.
33329         * nscd/nscd.conf: Add entries for netgroup cache.
33330         * nscd/nscd.h (dbtype): Add netgrdb.
33331         (_PATH_NSCD_NETGROUP_DB): Define.
33332         (netgroup_iov_disabled): Declare.
33333         (xmalloc, xcalloc, xrealloc): Move declarations here.
33334         (cache_search): Adjust prototype.
33335         Add netgroup-related prototypes.
33336         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33337         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33338         (__nscd_innetgr): Declare.
33339         * nscd/selinux.c (perms): Use access_vector_t as element type and
33340         add netgroup-related initializers.
33341         * nscd/netgroupcache.c: New file.
33342         * nscd/nscd_netgroup.c: New file.
33343         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33344         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33345         For four parameters use innetgr.
33346         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33347         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33348         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33349         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33351         * nscd/connections.c (register_traced_file): Don't register file
33352         for disabled databases.
33354 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33356         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33358         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33359         from tree and freeing node.
33361 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33363         * nss/nsswitch.c (__nss_database_lookup): Handle
33364         nss_parse_service_list out of memory case.
33366 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33368         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33369         out of memory case.
33371 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33373         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33374         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33375         pass it down.
33376         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33377         elf_machine_rela, elf_machine_lazy_rel.
33378         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33379         (ELF_DYNAMIC_DO_REL): Likewise.
33380         (ELF_DYNAMIC_DO_RELA): Likewise.
33381         (ELF_DYNAMIC_RELOCATE): Likewise.
33382         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33383         to ELF_DYNAMIC_DO_REL.
33384         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33385         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33386         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33387         elf_machine_rela.
33388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33389         skip_ifunc, don't call ifunc function if non-zero.
33390         (elf_machine_rela): Likewise.
33391         (elf_machine_lazy_rel): Likewise.
33392         (elf_machine_lazy_rela): Likewise.
33393         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33394         (elf_machine_lazy_rel): Likewise.
33395         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33396         Likewise.
33397         (elf_machine_lazy_rel): Likewise.
33398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33399         Likewise.
33400         (elf_machine_lazy_rel): Likewise.
33401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33402         (elf_machine_lazy_rel): Likewise.
33403         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33404         (elf_machine_lazy_rel): Likewise.
33405         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33406         (elf_machine_lazy_rel): Likewise.
33407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33408         (elf_machine_lazy_rel): Likewise.
33409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33410         (elf_machine_lazy_rel): Likewise.
33411         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33412         (elf_machine_lazy_rel): Likewise.
33414 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33416         * nss/nss_files/files-init.c (_nss_files_init): Use static
33417         initialization for all the *_traced_file variables.
33419 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33421         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33423 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33425         [BZ #13226]
33426         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33428 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33430         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33431         Reread the line before reparsing it.
33433 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33435         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33437 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33438             Maxim Kuvyrkov  <maxim@codesourcery.com>
33439             Joseph Myers  <joseph@codesourcery.com>
33441         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33442         if needed for __stack_chk_guard.
33444 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33446         * sysdeps/posix/spawni.c (script_execute): Always define it.
33447         It will be optimized away if unused.
33448         (maybe_script_execute): New function.
33449         (__spawni): Call it.
33451         * Makerules: Don't include tls.make.
33452         (config-tls): Always set to thread.
33453         * tls.make.c: File removed.
33455 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33457         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33458         * config.make.in (CPPFLAGS-config): New substituted variable.
33460 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33462         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33464         [BZ #13192]
33465         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33466         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33468 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33470         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33471         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33473         (CALL_FAIL): Likewise.
33474         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33475         (CALL_FAIL): Macro removed.
33476         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33478 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33480         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33481         for __FINITE_MATH_ONLY__ == 1.
33483 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33485         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33486         __ieee754_sqrt instead of sqrt.
33487         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33488         __ieee754_sqrtf instead of sqrtf.
33489         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33490         __floorf instead of floorf.
33491         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33492         __floorf, __truncf instead of floorf, truncf.
33494 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33496         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33498         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33499         __extern_always_inline.
33500         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33501         32-bit.
33503 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33505         * elf/rtld.c (dl_main): Also relocate in dependency order when
33506         doing symbol dependency testing.
33508 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33511         Always define `refsym'.
33513 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33515         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33516         (__FD_ELT): Renamed from __FDELT.
33517         * misc/bits/select2.h (__FD_ELT): Likewise.
33518         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33519         __FD_MASK instead of __FDELT, __FDMASK.
33520         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33521         Likewise.
33522         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33523         Likewise.
33525         * elf/Makefile (gen-ldd): Fix pattern.
33527         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33528         (init_tls): Likewise.
33530 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33534 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33536         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33537         `struct cmsghdr *' instead of `void *'.
33538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33539         Likewise.
33541 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33543         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33544         if non-absolute.
33545         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33546         ldd_rewrite_script.
33548 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33550         * configure.in: Remove --with-tls option.
33551         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33552         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33553         out in case it is missing.
33554         * sysdeps/ia64/elf/configure.in: Likewise.
33555         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33556         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33557         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33558         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33559         * sysdeps/sh/elf/configure.in: Likewise.
33560         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33561         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33562         * sysdeps/x86_64/elf/configure.in: Likewise.
33563         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33564         * sysdeps/mach/hurd/tls.h: Likewise.
33566         [BZ #13067]
33567         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33569         [BZ #13090]
33570         * configure.in: Fix use of AC_INIT.
33572         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33574 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33576         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33577         __set_errno.
33578         * malloc/hooks.c: Likewise.
33580         [BZ #11929]
33581         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33582         variables statically.
33583         (narenas): Initialize.
33584         (list_lock): Initialize.
33585         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33586         initializtion of main_arena and list_lock.  Small cleanups.
33587         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33588         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33589         Add initializers to main_arena and mp_.
33590         (malloc_state): Remove pagesize member.  Change all users to use
33591         GLRO(dl_pagesize).
33593         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33594         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33595         is always initialized.
33597         * malloc/malloc.c: Removed unused configurations and dead code.
33598         * malloc/arena.c: Likewise.
33599         * malloc/hooks.c: Likewise.
33600         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33602         * include/tls.h: Removed.  USE___THREAD must always be defined.
33603         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33604         * elf/dl-libc.c: Likewise.
33605         * elf/dl-tsd.c: Likewise.
33606         * include/errno.h: Likewise.
33607         * include/netdb.h: Likewise.
33608         * include/resolv.h: Likewise.
33609         * inet/herrno-loc.c: Likewise.
33610         * inet/herrno.c: Likewise.
33611         * malloc/arena.c: Likewise.
33612         * malloc/hooks.c: Likewise.
33613         * malloc/malloc.c: Likewise.
33614         * resolv/res-state.c: Likewise.
33615         * resolv/res_libc.c: Likewise.
33616         * sysdeps/i386/dl-machine.h: Likewise.
33617         * sysdeps/ia64/dl-machine.h: Likewise.
33618         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33619         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33620         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33621         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33622         * sysdeps/sh/dl-machine.h: Likewise.
33623         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33624         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33625         * sysdeps/unix/i386/sysdep.S: Likewise.
33626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33627         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33632         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33634         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33636         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33637         * sysdeps/x86_64/dl-machine.h: Likewise.
33638         * tls.make.c: Likewise.
33640         * configure.in: Remove --with-__thread option.  Make tests for
33641         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33642         tls_model attribute fail if no support is available.  Remove
33643         USE_IN_LIBIO.
33644         * Makeconfig: Adjust for dropped configure option.  All features are
33645         now mandatory.
33646         * Makerules: Likewise.
33647         * Versions.def: Likewise.
33648         * argp/argp-fmtstream.c: Likewise.
33649         * argp/argp-fmtstream.h: Likewise.
33650         * argp/argp-help.c: Likewise.
33651         * assert/assert.c: Likewise.
33652         * config.h.in: Likewise.
33653         * config.make.in: Likewise.
33654         * configure: Likewise.
33655         * configure.in: Likewise.
33656         * csu/Versions: Likewise.
33657         * csu/init.c: Likewise.
33658         * elf/tst-audit2.c: Likewise.
33659         * elf/tst-tls10.c: Likewise.
33660         * elf/tst-tls10.h: Likewise.
33661         * elf/tst-tls11.c: Likewise.
33662         * elf/tst-tls12.c: Likewise.
33663         * elf/tst-tls14.c: Likewise.
33664         * elf/tst-tlsmod11.c: Likewise.
33665         * elf/tst-tlsmod12.c: Likewise.
33666         * elf/tst-tlsmod13.c: Likewise.
33667         * elf/tst-tlsmod13a.c: Likewise.
33668         * elf/tst-tlsmod14a.c: Likewise.
33669         * elf/tst-tlsmod15b.c: Likewise.
33670         * elf/tst-tlsmod16a.c: Likewise.
33671         * elf/tst-tlsmod16b.c: Likewise.
33672         * elf/tst-tlsmod7.c: Likewise.
33673         * elf/tst-tlsmod8.c: Likewise.
33674         * elf/tst-tlsmod9.c: Likewise.
33675         * gmon/gmon.c: Likewise.
33676         * grp/fgetgrent_r.c: Likewise.
33677         * grp/putgrent.c: Likewise.
33678         * hurd/fopenport.c: Likewise.
33679         * include/libc-symbols.h: Likewise.
33680         * include/tls.h: Likewise.
33681         * intl/gettextP.h: Likewise.
33682         * intl/loadinfo.h: Likewise.
33683         * locale/global-locale.c: Likewise.
33684         * locale/localeinfo.h: Likewise.
33685         * mach/devstream.c: Likewise.
33686         * malloc/arena.c: Likewise.
33687         * malloc/set-freeres.c: Likewise.
33688         * misc/err.c: Likewise.
33689         * misc/getttyent.c: Likewise.
33690         * misc/mntent_r.c: Likewise.
33691         * posix/getopt.c: Likewise.
33692         * posix/wordexp.c: Likewise.
33693         * pwd/fgetpwent_r.c: Likewise.
33694         * resolv/Versions: Likewise.
33695         * resolv/res_hconf.c: Likewise.
33696         * shadow/fgetspent_r.c: Likewise.
33697         * shadow/putspent.c: Likewise.
33698         * stdio-common/printf_fphex.c: Likewise.
33699         * stdio-common/tmpfile.c: Likewise.
33700         * stdlib/abort.c: Likewise.
33701         * stdlib/fmtmsg.c: Likewise.
33702         * sunrpc/auth_unix.c: Likewise.
33703         * sunrpc/clnt_perr.c: Likewise.
33704         * sunrpc/clnt_tcp.c: Likewise.
33705         * sunrpc/clnt_udp.c: Likewise.
33706         * sunrpc/clnt_unix.c: Likewise.
33707         * sunrpc/openchild.c: Likewise.
33708         * sunrpc/svc_simple.c: Likewise.
33709         * sunrpc/svc_tcp.c: Likewise.
33710         * sunrpc/svc_udp.c: Likewise.
33711         * sunrpc/svc_unix.c: Likewise.
33712         * sunrpc/xdr.c: Likewise.
33713         * sunrpc/xdr_array.c: Likewise.
33714         * sunrpc/xdr_rec.c: Likewise.
33715         * sunrpc/xdr_ref.c: Likewise.
33716         * sunrpc/xdr_stdio.c: Likewise.
33718 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33720         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33722 2011-07-03  Andreas Jaeger  <aj@suse.de>
33724         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33725         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33726         regenerate with gen-libm-tests.pl.
33728 2010-05-12  Petr Baudis  <pasky@suse.cz>
33730         [BZ #11589]
33731         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33732         around j0() zero points by switching to j1().
33733         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33738 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33740         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33741         instead of 0.
33742         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33743         instead of 0.
33744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33745         Patch in part by Pavel Roskin <proski@gnu.org>.
33747         [BZ #13138]
33748         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33749         realloc.
33750         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33751         Free memory block if necessary.
33753         [BZ #12847]
33754         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33755         be NULL.  Don't lock in this case.
33757 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33759         * elf/elf.h (ELFOSABI_GNU): New macro.
33760         (ELFOSABI_LINUX): Define to that.
33762 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33764         * string/strncat.c (strncat): Undef the symbol in case it has been
33765         defined in bits/string.h.
33767 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33769         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33771         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33772         link map.
33774 2011-08-17  Andreas Jaeger  <aj@suse.de>
33776         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33778 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33779             Ian Lance Taylor  <iant@google.com>
33781         * math/libm-test.inc (lround_test): New testcase.
33782         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33784 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33786         * Makefile: Remove support for automatic cvs check-ins.
33787         * Makerules: Likewise.
33788         * config.make.in: Likewise.
33789         * configure.in: Likewise.
33790         * intl/Makefile: Likewise.
33791         * locale/Makefile: Likewise.
33792         * po/Makefile: Likewise.
33793         * posix/Makefile: Likewise.
33794         * sysdeps/gnu/Makefile: Likewise.
33795         * sysdeps/mach/hurd/Makefile: Likewise.
33796         * sysdeps/sparc/sparc32/Makefile: Likewise.
33798         [BZ #13118]
33799         * posix/Makefile (bug-regex32-ENV): Define.
33800         Patch by John Stanley <jpsinthemix@verizon.net>.
33802         * misc/Makefile (headers): Add bits/select2.h.
33803         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33804         * misc/bits/select2.h: New file.
33805         * include/bits/select2.h: New file.
33806         * debug/Makefile (routines): Add fdelt_chk.
33807         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33808         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33809         FD_ISSET.
33810         * debug/fdelt_chk.c: New file.
33812         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33813         * wcsmbs/test-wmemcmp.c: Likewise.
33814         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33815         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33817 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33819         * string/Makefile (strop-tests): Add memcmp.
33820         * string/test-wmemcmp.c: New file.
33821         * string/test-memcmp.c: Add wmemcmp support.
33823 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33825         [BZ #13153]
33826         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33827         2011-07-19 change.
33829         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33830         garbage value in a __mach_port_mod_refs call in the cases of the
33831         task-self and thread-self ports.
33833 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33835         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33837 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33839         * elf/dl-load.c (lose): Check for non-null L.
33841 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33843         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33845         * elf/dl-libc.c (dlerror_run): Pass back error code from
33846         dl_catch_error.
33848         [BZ #13123]
33849         * elf/dl-load.c (lose): Free l_origin if it is valid.
33851         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33852         names.
33853         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33854         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33855         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33856         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33857         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33858         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33860 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33862         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33863         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33864         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33865         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33866         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33867         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33868         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33869         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33870         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33871         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33873 2011-08-15  Alan Modra  <amodra@gmail.com>
33875         [BZ #13092]
33876         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33877         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33878         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33879         ppc_mcount to static-only-routines.
33880         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33881         __mcount_internal.
33882         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33883         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33885 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33887         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33888         for finite and infinity parameters.
33890 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33892         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33893         and add nop instructions for throughput optimization.
33894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33896 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33898         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33899         aligned copy for power7 with vector-scalar instructions.
33900         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33902 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33905         AVX check.
33907 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33909         [BZ #13144]
33910         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33911         last change.
33913 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33915         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33916         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33917         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33919         clock_gettime.
33921 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33923         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33924         Forgot to demangle the pointer.
33926         * sysdeps/i386/sysdep.h: Define atom_text_section.
33927         * sysdeps/x86_64/sysdep.h: Likewise.
33928         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33929         section with atom_text_section.
33930         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33931         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33932         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33934         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33936         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33937         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33938         already be defined.  Change to take two parameters and don't assign
33939         result to variable.  Adjust all users.
33940         Define INTERNAL_GETTIME if not already defined.
33941         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33942         call.
33943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33944         HAVE_CLOCK_GETTIME_VSYSCALL.
33945         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33948         gettimeofday vsyscall, just use time.
33950 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33953         <errno.h>.
33955 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33957         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33958         syscall on x86-64.
33959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33960         syscall.
33961         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33962         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33963         syscall if possible.
33965 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33967         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33968         e_ident.  Don't pass to find_mapsXX.
33969         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33971 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33974         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33975         * sysdeps/x86_64/multiarch/strchr.S: Update.
33976         Check bit_slow_BSF bit.
33977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33978         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33979         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33981 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33983         [BZ #13134]
33984         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33985         before glibc 2.15.
33986         (tryshell): Define.
33987         (__spawni): Change last parameter to be flag.  Test
33988         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33989         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33990         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33991         * posix/spawni.c: Likewise.
33992         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33993         * posix/spawnp.c: Likewise.  Change normal version to use
33994         SPAWN_XFLAGS_USE_PATH.
33995         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33996         SPAWN_XFLAGS_TRY_SHELL.
33998         [BZ #13150]
33999         * posix/glob.h: Remove gcc 1.x support.
34001         [BZ #13068]
34002         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34004 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34007         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34008         strrchr-sse2-bsf
34009         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34010         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34011         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34012         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34013         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34016 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34018         * sysdeps/x86_64/wcscmp.S: New file.
34020         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34021         wcscmp-c wcscmp-sse2
34022         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34023         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34024         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34025         * wcsmbs/wcscmp.c: Allow renaming.
34027 2011-09-05  David S. Miller  <davem@davemloft.net>
34029         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34030         stack slot, rather than the struct return pointer slot.
34031         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34032         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34034         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34036 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34038         * po/ja.po: Update from translation team.
34040         [BZ #13144]
34041         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34042         kernel in 64-bit binaries.
34044 2011-09-01  David S. Miller  <davem@davemloft.net>
34046         * elf/elf.h (HWCAP_SPARC_*): Move to..
34047         * sysdeps/sparc/sysdep.h: this new file and add new values.
34048         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34049         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34050         _DL_HWCAP_COUNT to 24.
34051         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34052         entries.
34053         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34054         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34055         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34057         instead of magic constants.
34058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34060 2011-08-31  David S. Miller  <davem@davemloft.net>
34062         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34064         Reimplement to do errno handling inline.
34065         (SYSCALL_ERROR_HANDLER): New macro.
34066         (__SYSCALL_STRING): Do not do errno handling in asm.
34067         (__CLONE_SYSCALL_STRING): Delete.
34068         (__INTERNAL_SYSCALL_STRING): Delete.
34069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34070         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34071         (PSEUDO): Reimplement to do errno handling inline.
34072         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34073         (SYSCALL_ERROR_HANDLER): New macro.
34074         (__SYSCALL_STRING): Do not do errno handling in asm.
34075         (__CLONE_SYSCALL_STRING): Delete.
34076         (__INTERNAL_SYSCALL_STRING): Delete.
34077         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34078         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34079         i386.
34080         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34081         (inline_syscall*): Add 'err' argument.
34082         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34083         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34084         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34085         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34087         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34088         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34090 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34092         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34094 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34096         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34097         directive.
34099 2011-08-24  David S. Miller  <davem@davemloft.net>
34101         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34103 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34105         * elf/Makefile: Add rules to build and run unload8 test.
34106         * elf/unload8.c: New file.
34107         * elf/unload8mod1.c: New file.
34108         * elf/unload8mod1x.c: New file.
34109         * elf/unload8mod2.c: New file.
34110         * elf/unload8mod3.c: New file.
34112         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34113         it wasn't used.
34115 2011-08-23  David S. Miller  <davem@davemloft.net>
34117         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34118         subtract stack bias.
34119         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34120         %sp not %fp in calculations.
34121         (_JMPBUF_UNWINDS_ADJ): Likewise.
34123         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34124         (aio_suspend): Call it to force an exception region around the
34125         AIO_MISC_WAIT() invocation.
34127 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34129         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34130         backslash.
34132 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34134         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34135         protection macro.
34136         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34137         and <dl-machine.h>.
34138         (Elf64_FuncDesc): Remove.
34140 2011-08-22  David S. Miller  <davem@davemloft.net>
34142         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34143         sigaltstack check, add missing cfi directives.
34144         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34145         missing cfi directives, and sigaltstack handling.
34147 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34149         [BZ #11724]
34150         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34151         object is seen twice.
34152         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34154         * elf/Makefile (distribute): Add tst-initorder2.c.
34155         (tests): Add tst-initorder2.
34156         (modules-names): Add tst-initorder2a tst-initorder2b
34157         tst-initorder2c tst-initorder2d.  Add rules to build them.
34158         ($(objpfx)tst-initorder2.out): New rule.
34159         * elf/tst-initorder2.c: New file.
34160         * elf/tst-initorder2.exp: New file.
34162 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34164         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34166         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34167         dependencies back to end of function.
34169         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34170         $(elfobjdir)/ld.so.
34172 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34174         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34175         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34176         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34177         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34178         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34179         of __vdso_gettimeofday.
34180         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34181         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34182         attribute_hidden.
34183         (_libc_vdso_platform_setup): Remove initialization of
34184         __vdso_gettimeofday and __vdso_time.
34186 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34188         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34189         and fgetc_unlocked.
34190         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34191         getc_unlocked.
34193         * elf/dl-open.c (add_to_global): Report additions to the global scope
34194         for LD_DEBUG=scopes.
34195         (dl_open_worker): Also print scope of newly loaded dependencies.
34196         (_dl_show_scope): Indicate if there is no scope.
34198         [BZ #13114]
34199         * stdio-common/Makefile (tests): Add bug24.
34200         * stdio-common/bug24.c: New file.
34202 2011-08-19  Andreas Jaeger  <aj@suse.de>
34204         [BZ #13114]
34205         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34206         non-existant file when using close-on-exec mode.
34208 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34211         the very first instruction.
34213         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34214         the CFI state in the end.
34215         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34216         inclusion of dl-trampoline.h.
34217         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34219 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34221         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34222         expectations for long double.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34225         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34227 2011-08-14  David S. Miller  <davem@davemloft.net>
34229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34230         artificual limit depends upon the system page size.
34232 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34234         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34235         * resolv/Makefile: Define CFLAGS-libresolv.
34237 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34239         * nss/makedb.c (compute_tables): Make variables used in nested
34240         function static.
34242 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34244         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34245         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34246         if buffer was too small.
34248         * elf/pldd.c (main): Attach to all threads in the process.
34249         Rewrite /proc handling to use *at functions.
34251 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34253         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34254         specifies first scope to show.
34255         (dl_open_worker): Update callers.  Move printing scope of new
34256         object to before the relocation.
34257         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34258         * sysdeps/generic/ldsodefs.h: Update declaration.
34260         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34261         string for the scope number.
34263 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34265         * nscd/servicescache.c (cache_addserv): Make sure written is always
34266         initialized.
34268 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34270         * sysdeps/i386/i486/bits/atomic.h
34271         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34272         statement expression, so as to suppress "set but not used" warning.
34273         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34275         * string/strncat.c (STRNCAT): Use prototype definition.
34277         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34278         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34279         -Iprograms here.
34280         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34281         (localedef-modules): Add localedef.
34282         (locale-modules): Add locale.
34284         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34285         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34286         to avoid a warning.
34288 2011-08-14  David S. Miller  <davem@davemloft.net>
34290         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34291         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34293 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34295         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34296         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34297         * elf/rtld.c (dl_main): Set l_name of vDSO.
34298         Call _dl_show_scope when DL_DEBUG_SCOPES.
34299         (process_dl_debug): Recognize scopes flag and also set it for all.
34300         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34301         Declare _dl_show_scope.
34303         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34304         (do_dlopen): Pass caller_dlopen to dl_open.
34305         (__libc_dlopen_mode): Initialize caller_dlopen.
34307         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34308         of libc.  Make tolower call locale-independent.  Optimize a bit by
34309         using isdigit instead of isalnum.
34310         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34312 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34314         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34315         was a dependency or dynamically loaded.
34317 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34319         * intl/l10nflist.c: Allow architecture-specific pop function.
34320         * sysdeps/x86_64/l10nflist.c: New file.
34322         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34323         classification.
34325 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34327         * include/dirent.h: Add libc_hidden_proto for scandirat and
34328         scandirat64.  Don't declare __scandirat64.
34329         * dirent/scandirat.c: Add libc_hidden_def.
34330         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34331         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34333 2011-08-10  David S. Miller  <davem@davemloft.net>
34335         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34336         enum.
34337         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34339         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34341 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34343         * Versions.def [libc]: Add GLIBC_2.15.
34344         * dirent/Makefile (routines): Add scandirat and scandirat64.
34345         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34346         GLIBC_2.15.
34347         * dirent/dirent.h: Declare scandirat and scandirat64.
34348         * dirent/scandirat.c: New file.
34349         * dirent/scandirat64.c: New file.
34350         * sysdeps/wordsize-64/scandirat.c: New file.
34351         * sysdeps/wordsize-64/scandirat64.c: New file.
34352         * dirent/opendir.c: Define opendirat.
34353         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34354         using scandirat.
34355         * dirent/scandir64.c: Adjust for scandir.c change.
34356         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34357         __scandirat64, and __scandir_cancel_handler.
34358         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34359         additional parameter and use openat instead of open (outside of ld.so).
34360         Add new __opendir as wrapper around __opendirat.
34361         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34362         here without requiring old scandirat implementation.
34364 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34366         * dirent/scandir.c (cancel_handler): Renamed to
34367         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34368         defined.  Adjust users.
34369         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34370         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34372 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34374         * string/test-string.h (IMPL): Use __STRING to expand name and then
34375         stringify it.
34377         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34378         of cleanups.
34380 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34382         * string/Makefile: Update.
34383         (strop-tests): Append strncat.
34384         * string/test-wcscmp.c: New file.
34385         New comprehensive test for wcscmp.
34386         * string/test-strcmp.c: Update.
34387         (WIDE): New define.
34389 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34391         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34392         line.
34394 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34397         encoding to ACE if AI_IDN.
34399 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34401         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34402         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34404 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34407         Fix overflow bug in strncat.
34408         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34410         * string/test-strncat.c: Update.
34411         Add new tests for checking overflow bugs.
34413 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34416         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34417         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34418         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34419         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34420         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34421         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34422         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34423         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34425         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34426         (USE_AS_STRCAT): Define.
34427         Add strcat and strncat support.
34428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34430 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34432         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34433         __n bigger than INT_MAX+1.
34434         (__strncmp_g): Likewise.
34436 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34438         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34439         * libio/stido.h: Likewise.
34441         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34442         (AF_NFC): Define.
34443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34444         (AF_NFC): Define.
34446         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34447         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34449         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34450         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34452         [BZ #13021]
34453         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34454         installed.
34456         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34457         typo.
34458         (_dl_x86_64_save_sse): Likewise.
34460 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34463         OSXSAVE.
34464         (_dl_x86_64_save_sse): Likewise.
34466         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34468         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34470 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34473         change.
34474         (_dl_x86_64_save_sse): Use correct AVX check.
34476 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34478         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34479         bug in strncpy/strncat.
34480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34482 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34484         * string/tester.c (test_strcat): Add tests for different alignments
34485         of source and destination.
34486         (test_strncat): Likewise.
34488 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34490         [BZ #12852]
34491         * posix/glob.c (glob): Check passed in values before using them in
34492         expressions to avoid some overflows.
34493         (glob_in_dir): Likewise.
34495         [BZ #13007]
34496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34497         check for AVX enablement so that we don't crash with old kernels and
34498         new hardware.
34499         * elf/tst-audit4.c: Add same checks here.
34500         * elf/tst-audit6.c: Likewise.
34502         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34504 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34506         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34508 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34510         * po/cs.po: Update from translation team.
34511         * po/bg.po: Likewise.
34513 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34515         * misc/sys/cdefs.h: Add support for const attribute.
34516         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34517         to gnu_dev_{major,minor,makedev} functions.
34519 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34521         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34523 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34525         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34526         strlen results.
34528 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34531         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34532         register in order to avoid conflicts with the soft frame pointer
34533         being held in r11 when necessary.
34534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34535         (INTERNAL_VSYSCALL_NCS): Likewise.
34537 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34539         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34540         * elf/dl-fini.c (_dl_fini): Adjust caller.
34541         * elf/dl-close.c (_dl_close_worker): Likewise.
34542         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34544 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34546         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34547         "aux_cache->nlibs < 0".
34549         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34550         in the reload-count case.
34552 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34555         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34556         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34557         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34558         * sysdeps/x86_64/multiarch/strcat.S: New file.
34559         * sysdeps/x86_64/multiarch/strncat.S: New file.
34560         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34561         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34562         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34563         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34564         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34565         (USE_AS_STRCAT): Define.
34566         Add strcat and strncat support.
34567         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34568         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34569         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34570         * string/strncat.c: Update.
34571         (USE_AS_STRNCAT): Define.
34572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34573         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34574         and i7.
34575         * sysdeps/x86_64/multiarch/init-arch.h
34576         (bit_Prefer_PMINUB_for_stringop): New.
34577         (index_Prefer_PMINUB_for_stringop): Likewise.
34578         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34579         bit_Prefer_PMINUB_for_stringop.
34581 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34583         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34584         buffer64.
34585         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34586         of casting of buffer.
34587         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34588         buffer32 and buffer64.
34589         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34590         writes instead of casting of buffer.
34591         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34592         buffer32.
34593         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34594         casting of buffer.
34596 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34598         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34600 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34602         * nscd/nscd.c (termination_handler): Don't do anything for a database
34603         if it has not yet been initialized.
34605 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34607         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34609 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34611         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34613 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34615         * po/nl.po: Update from translation team.
34616         * po/sv.po: Likewise.
34618 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34620         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34621         now disallowed by GCC.
34623         * configure.in (use-default-link): Default to yes if a test -shared
34624         link meets our qualifications.
34625         * configure: Regenerated.
34627         * config.make.in (output-format): New variable.
34628         * configure.in: Check for ld --print-output-format support.
34629         * configure: Regenerated.
34630         * Makerules ($(common-objpfx)format.lds)
34631         [$(output-format) != unknown]: Just use $(output-format),
34632         instead of the linker-script munging.
34634 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34636         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34637         of $(common-objpfx)shlib.lds.
34638         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34640         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34641         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34643         * configure.in (-z relro check): Adjust test code to add a large
34644         writable data section after it.
34645         * configure: Regenerated.
34647 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34649         * configure.in (-z relro check): Fix test code to make the variable
34650         truly const.
34651         * configure: Regenerated.
34653 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34655         * nscd/nscd.h (struct traced_file): Define.
34656         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34657         elements.  Add traced_files.
34658         (inotify_fd): Declare.
34659         (register_traced_file): Declare.
34660         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34661         (inotify_fd): Export.
34662         (resolv_conf_descr): Remove.
34663         (nscd_init): Move inotify descriptor creation to main.
34664         Don't register files for notification here.
34665         (register_traced_file): New function.
34666         (invalidate_cache): Don't use reset_res to determine whether to call
34667         res_init, go through the list of registered files.
34668         (main_loop_poll): The inotify descriptors are now stored in the
34669         structures for the traced files.
34670         (main_loop_epoll): Likewise
34671         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34672         to __nss_disable_nscd.
34673         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34674         for a database anymore.  Check the records for all the registered
34675         files instead.
34676         * nss/Makefile (libnss_files-routines): Add files-init.
34677         (libnss_db-routines): Add db-init.
34678         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34679         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34680         * nss/nss_db/db-init.c: New file.
34681         * nss/nss_files/files-init.c: New file.
34682         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34683         __nss_lookup_function.
34684         (__nss_lookup_function): Call nss_load_library.
34685         (nss_load_all_libraries): New function.
34686         (__nss_disable_nscd): Take parameter with callback function for files
34687         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34688         used for the cached services.
34689         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34690         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34691         options for features to all the files in nscd.
34693         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34695 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34697         * csu/elf-init.c (__libc_csu_init): Comment typo.
34699 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34701         * po/pl.po: Update from translation team.
34702         * po/ja.po: Likewise.
34703         * po/ru.po: Likewise.
34704         * po/ko.po: Likewise.
34705         * po/fr.po: Likewise.
34707 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34709         * configure.in (.ctors/.dtors header and trailer check):
34710         Use an empirical test on a built program.
34711         * configure: Regenerated.
34713         * configure.in (-z relro check): Use an empirical test on a built DSO.
34714         Detect, but do not require, on ia64.
34715         * configure: Regenerated.
34717         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34718         Update tests that use readelf to use $READELF instead.
34719         * configure: Regenerated.
34721 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34723         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34724         if the result is not used.
34726 2011-07-05  Andreas Jaeger  <aj@suse.de>
34728         [BZ#9696]
34729         * stdlib/tst-strtod.c: Add testcase.
34731 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34733         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34734         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34735         The latter has a higher limit.  Take additional parameter to pass to
34736         the new function.
34737         (__pathconf): Pass file to __statfs_link_max.
34738         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34739         __statfs_link_max.
34740         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34741         __statfs_link_max.
34743         [BZ #12868]
34744         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34746         Handle Lustre.
34747         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34748         (__statfs_filesize_max): Likewise.
34749         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34751 2011-07-05  Andreas Jaeger  <aj@suse.de>
34753         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34755 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34757         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34758         `status' variable.
34759         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34760         Likewise.
34762 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34764         * Makefile (strop-tests): Add strncat.
34765         * string/test-strncat.c: New file.
34767 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34769         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34771 2011-06-21  Andreas Jaeger  <aj@suse.de>
34773         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34774         Copy rule from iconvdata/Makefile.
34776 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34778         [BZ #12922]
34779         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34780         but no long options are defined, just return 'W'.
34782 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34784         [BZ #9696]
34785         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34787 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34789         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34790         netgroups to read.
34791         (innetgr): Likewise.
34793 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34795         * config.make.in (install_root): Default to $(DESTDIR).
34797 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34799         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34801 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34803         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34805         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34806         containing directory rather than embedding absolute directory names.
34808         * scripts/check-local-headers.sh: Rewritten using awk.
34809         Match by word, not by line.  Print error messages for matches.
34810         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34812         * Makerules [shlib-lds-flags empty]:
34813         ($(common-objpfx)libc_pic.opts): New target.
34814         ($(common-objpfx)libc_pic.os.clean): New target.
34815         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34817         * config.make.in (OBJCOPY): New variable.
34818         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34819         * configure: Regenerated.
34821         * config.make.in (use-default-link): New variable.
34822         * configure.in (use_default_link): Grok --with-default-link to set it.
34823         * configure: Regenerated.
34824         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34825         (shlib-lds, shlib-lds-flags): Define to empty.
34827         * Makerules (shlib-lds): New variable.
34828         (shlib-lds-flags): New variable.
34829         (build-shlib, build-moduile, build-module-asneeded): Use it.
34830         ($(common-objpfx)libc.so): Use $(shlib-lds).
34831         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34832         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34834         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34835         DT_FLAGS/DT_FLAGS_1 with zero flags.
34837         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34838         linker script munging.
34840 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34842         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34843         as 128-bit value.
34844         * crypt/sha512.c (sha512_process_block): Perform total addition using
34845         128-bit if possible.
34846         (__sha512_finish_ctx): Likewise.
34847         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34848         as 64-bit value.
34849         * crypt/sha256.c (SWAP64): Define.
34850         (sha256_process_block): Perform total addition using 64-bit if
34851         possible.
34852         (__sha256_finish_ctx): Likewise.
34854 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34856         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34857         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34858         * nscd/hstcache.c (cache_addhst): Likewise.
34859         * nscd/grpcache.c (cache_addgr): Likewise.
34860         * nscd/aicache.c (addhstaiX): Likewise
34861         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34863 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34865         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34867         * nscd/hstcache.c (cache_addhst): Likewise.
34868         * nscd/grpcache.c (cache_addgr): Likewise.
34869         * nscd/aicache.c (addhstaiX): Likewise
34871 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34873         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34874         domain only when needed.
34876 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34879         is always restored.
34881 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34883         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34884         are re-adding the entry.
34885         * nscd/servicescache.c (cache_addserv): Likewise.
34887 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34889         * sysdeps/generic/dl-irel.h: fix protection against multiple
34890         inclusions.
34891         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34893 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34895         [BZ #12935]
34896         * malloc/memusage.sh: Fix quoting in message.
34897         * debug/xtrace.sh: Likewise.
34899         * configure.in: Remove support for --experimental-malloc option, make
34900         it the default.
34901         * config.make.in: Likewise.
34902         * malloc/Makefile: Likewise.
34904 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34906         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34907         two-byte characters.
34909 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34911         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34912         AC_CACHE_CHECK invocation.
34913         * configure: Regenerated.
34915         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34917 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34919         [BZ #12350]
34920         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34921         bit from old_res_options.
34923         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34925         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34926         value type for setfct.
34928 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34931         __gettimeofday instead of gettimeofday.
34933 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34935         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34937 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34939         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34942         info.
34944 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34947         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34948         strcpy-sse2-unaligned strncpy-sse2-unaligned
34949         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34950         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34951         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34952         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34953         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34954         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34955         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34956         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34957         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34958         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34959         (STRCPY): Support SSE2 and SSSE3 versions.
34961 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34963         [BZ #12874]
34964         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34965         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34966         kernels which artificially limit size of requests.
34968 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34971         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34972         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34973         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34974         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34975         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34976         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34977         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34979         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34980         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34981         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34982         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34983         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34984         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34986         Enable unaligned load optimization for Intel Core i3, i5 and i7
34987         processors.
34988         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34989         Define.
34990         (index_Fast_Unaligned_Load): Define.
34991         (HAS_FAST_UNALIGNED_LOAD): Define.
34993 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34995         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34997 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34999         [BZ #12907]
35000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35001         until it is clear that the information is realy needed.
35002         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35004 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35008 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35011         /sys/devices/system/cpu/online if it is usable.
35013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35014         reading the information from the /proc filesystem to once a second.
35016 2011-06-21  Andreas Jaeger  <aj@suse.de>
35018         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35019         NULL after inclusion of kernel headers.
35021 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35023         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35024         calls to internal_setent.
35026         [BZ #12885]
35027         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35028         addresses using gethostbyname4_r ignore IPv4 addresses.
35030         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35031         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35033         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35035 2011-06-20  David S. Miller  <davem@davemloft.net>
35037         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35038         inclusions.
35039         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35041         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35042         (elf_irel): Use it.
35043         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35044         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35045         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35046         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35047         * sysdeps/x86_64/dl-irel.h: Likewise.
35049         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35050         * elf/dl-sym.c: Likewise.
35052 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35054         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35055         need to dereference resplen2.
35057 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35059         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35061 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35063         * Makeconfig: Define vardbdir and inst_vardbdir.
35064         * nss/Makefile: Add rules to install db-Makefile.
35066         * nss/nss_db/db-XXX.c: Cleanup.
35068         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35069         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35070         GLIBC_PRIVATE.
35071         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35072         * nss/makedb.c: Implement -g option to specify that value strings
35073         are generated and should not be added to table iterated over for
35074         get*ent calls.
35075         * nss/nss_db/db-initgroups.c: New file.
35077         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35078         interface.
35080         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35081         (internal_getgrouplist): Adjust to name change.
35082         Update use_initgroups_entry if this is not the first call.
35083         * nss/databases.def: Add initgroups entry.
35085         * nss/makedb.c (compute_tables): Check result of multiple hash table
35086         sizes to minimize maximum chain length.
35088 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35090         * Versions.def: Add entry for libnss_db.
35091         * shlib-versions: Likewise.
35092         * nss/Makefile: Add rules to build libnss_db.
35093         * nss/Versions: Add libnss_db information.  Organize libnss_files
35094         entries better.
35095         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35096         makedb progra.  Some minor improvements to generate smaller files.
35097         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35098         here from...
35099         * nss/makedb.c: ...here.
35100         Improve database format to be smaller and require less memory at
35101         runtime.
35102         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35103         db anymore.
35104         * nss/nss_db/db-netgrp.c: Likewise.
35105         * nss/nss_db/db-open.c: Likewise.
35106         * nss/nss_files/flies-XXX.x: Adjust comments.
35107         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35108         * nss/nss_files/files-grp.c: Likewise.
35109         * nss/nss_files/files-hosts.c: Likewise.
35110         * nss/nss_files/files-network.c: Likewise.
35111         * nss/nss_files/files-proto.c: Likewise.
35112         * nss/nss_files/files-pwd.c: Likewise.
35113         * nss/nss_files/files-rpc.c: Likewise.
35114         * nss/nss_files/files-service.c: Likewise.
35115         * nss/nss_files/files-sgrp.c: Likewise.
35116         * nss/nss_files/files-spwd.c: Likewise.
35117         * nss/nss_db/db-alias.c: Removed.
35118         * nss/nss_db/dummy-db.h: Removed.
35120 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35122         * nss/makedb.c: Rewritten to not use database library.
35123         * nss/Makefile: Update to build new makedb program.
35125 2011-06-14  Andreas Jaeger  <aj@suse.de>
35127         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35128         memset declaration.
35130 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35133         tmpbuf.
35135 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35137         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35138         * elf/Makefile ($(objpfx)ld.so): Likewise.
35140         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35141         Don't list ld.so twice in dependencies.
35143         * posix/bug-regex31.c: Include <stdlib.h>.
35145         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35147         * nis/nss_compat/compat-spwd.c
35148         (getspent_next_nss_netgr): Remove unused variable.
35149         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35151         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35152         nonmembers" output to use the right array.
35154         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35156         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35158         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35159         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35160         * catgets/gencat.c (read_input_file): Likewise.
35161         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35163         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35164         variable definition inside #if's controlling its use.
35166         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35168         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35170         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35172         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35173         unreachable code.
35175         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35177         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35178         * configure: Regenerated.
35180         * Makerules: Revert last change.
35181         * elf/Makefile: Likewise.
35183 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35185         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35186         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35187         (reloc-link): Likewise.
35189 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35191         * elf/Makefile: Add rules to build pldd.
35192         * elf/pldd.c: New file.
35193         * elf/pldd-xx.c: New file.
35195 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35197         * version.h: Update for 2.15 development version.
35199 2011-06-07  David S. Miller  <davem@davemloft.net>
35201         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35202         ifuncs.
35203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35204         elf_machine_lazy_rel): Likewise.
35205         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35206         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35207         elf_machine_lazy_rel): Likewise.
35208         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35209         dl_hwcap via passed in argument.
35210         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35211         Likewise.
35213 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35215         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35217 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35219         [BZ #12849]
35220         * manual/fdl-1.1.texi: New file, verbatim from:
35221         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35222         * manual/lgpl-2.1.texi: New file, verbatim from:
35223         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35224         * manual/Makefile (licenses): New variable, list those new file names.
35225         (texis): Use it.
35226         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35228         * manual/fdl.texi: File removed.
35229         * manual/lesser.texi: File removed.
35230         * manual/libc.texinfo (Copying, Documentation License):
35231         Use new @include file names, put @appendix directive before @include.
35233 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35235         [BZ #12841]
35236         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35237         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35238         (mq_open): Add __NTH.
35240 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35243         Assume Intel Core i3/i5/i7 processor if AVX is available.
35245 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35248         typo.
35250 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35252         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35253         memory.  Use alloca_account.  Fix memory leak when retrying.
35255 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35257         * version.h (RELEASE): Bump for 2.14 release.
35258         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35260         * config.make.in (RANLIB): Remove entry.
35262 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35264         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35265         (libc.pot): Work around missing support for .ksh extension in xgettext.
35267         [BZ #12684]
35268         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35269         if both request failed.
35270         (send_dg): In case of server errors clear resplen or *resplen2.
35272         [BZ #12454]
35273         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35274         when there are multiple maps.
35275         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35276         (_dl_fini): Remove test here.
35278         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35280 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35282         [BZ #12350]
35283         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35284         bit from old_res_options.
35285         (gaih_inet): Likewise.
35287         [BZ #11099]
35288         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35289         as signed.
35291         * resolv/res_init.c (res_setoptions): Make the code more compact.
35293         [BZ #11558]
35294         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35295         set RES_USEVC.
35297         [BZ #11634]
35298         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35300         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35302         [BZ #11781]
35303         * malloc/malloc.h: Declare malloc hook variables as volatile.
35305         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35306         in last patch.
35308         [BZ #11799]
35309         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35310         raise in the comment.
35311         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35312         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35313         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35315 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35317         [BZ #12811]
35318         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35319         grow the buffers more if it already has to be sufficient.
35320         (build_wcs_upper_buffer): Likewise.
35321         * posix/regexec.c (check_matching): Likewise.
35322         (clean_state_log_if_needed): Likewise.
35323         (extend_buffers): Don't enlarge buffers beyond size of the input
35324         buffer.
35325         Patches mostly by Emil Wojak <emil@wojak.eu>.
35326         * posix/bug-regex32.c: New file.
35327         * posix/Makefile (tests): Add bug-regex32.
35329         * locale/findlocale.c (_nl_find_locale): Return right away if
35330         _nl_explode_name failed.
35331         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35333         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35335         * debug/xtrace.sh: Unify messages.
35336         * malloc/memusage.sh: Likewise.
35338         [BZ #12813]
35339         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35340         time symbol from vDSO.  Substitute with vsyscall if not available.
35341         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35342         __vdso_time.
35344         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35345         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35346         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35347         Add sendmmsg and internal_sendmmsg.
35348         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35349         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35350         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35352         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35353         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35354         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35356 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35358         [BZ #12813]
35359         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35360         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35361         available.
35362         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35363         __vdso_getcpu.
35365         [BZ #12814]
35366         * iconvdata/Makefile (tests): Add bug-iconv9.
35367         * iconvdata/bug-iconv9.c: New file.
35369 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35371         [BZ #12814]
35372         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35374 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35377         (struct user_regs_struct): Change intcs field back to cs.
35379 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35381         * po/ja.po: Update from translation team.
35383 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35385         [BZ #12795]
35386         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35387         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35389 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35391         * stdlib/longlong.h: Update from GCC.
35393 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35395         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35396         parameter name.
35397         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35398         Add parameter name.
35399         (__sysconf): Pass it down.
35401 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35403         [BZ #12671]
35404         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35405         some situations.
35406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35407         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35408         add in in __libc_use_alloca calls.  Adjust callers.
35409         (glob): Use malloc in some situations.
35411         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35412         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35413         pltexit.
35415 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35417         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35418         and CLOCK_BOOTTIME_ALARM.
35420         [BZ #12782]
35421         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35422         is returned.
35424         * string/_strerror.c (__strerror_r): Print negative errors as signed
35425         numbers.
35427         [BZ #12777]
35428         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35429         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35430         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35432         * configure.in: Fix typo in redirection and correct removal of test
35433         files in two cases.
35435         [BZ #12788]
35436         * locale/setlocale.c (new_composite_name): Fix test to check for
35437         identical name of all categories.
35439         [BZ #12792]
35440         * libio/filedoalloc.c (local_isatty): New function.
35441         (_IO_file_doallocate): Use local_isatty.
35442         * stdio-common/perror.c (perror): In case a new stream is used
35443         forward the stream error.
35444         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35445         error flag.
35447 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35449         [BZ #11869]
35450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35451         alloca.
35452         * include/alloca.h (extend_alloca_account): Define.
35454         [BZ #11857]
35455         * posix/regex.h: Fix comments with documentation of user-accessible
35456         fields after compilation and describe correct free'ing of pattern
35457         after re_compile_pattern.
35458         Patch by Reuben Thomas <rrt@sc3d.org>.
35460 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35462         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35463         and -mno-altivec to prevent the compiler from using Altivec and/or
35464         VSX instructions when the corresponding registers are not available.
35466 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35468         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35470 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35472         * libio/freopen.c (freopen): Use __dup2, not dup2.
35473         * libio/freopen64.c (freopen64): Likewise.
35475 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35477         [BZ #12775]
35478         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35479         * math/Makefile (tests): Add test-powl.
35480         (CFLAGS-test-powl.c): Define.
35481         * math/test-powl.c: New file.
35483 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35485         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35487 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35489         [BZ #11837]
35490         * iconvdata/gb18030.c: Update to GB18020-2005.
35492 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35494         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35495         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35496         Patch by Aharon Robbins <arnold@skeeve.com>.
35498         [BZ #11892]
35499         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35500         on the stack.
35502         [BZ #11895]
35503         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35504         through underflows.
35506         [BZ #12766]
35507         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35508         point to strings before performing equality test for error_one_per_line
35509         mode.
35511         [BZ #11697]
35512         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35514         [BZ #11820]
35515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35516         (struct user_fpregs_struct): Avoid __uint*_t types.
35518         [BZ #6420]
35519         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35520         symbol info.  Use it instead of calling _dl_addr locally.
35521         (lock_and_info): New function.
35522         (tr_freehook): Call lock_and_info and pass symbol info as additional
35523         parameter to tr_where.
35524         (tr_mallochook): Likewise.
35525         (tr_reallochook): Likewise.
35526         (tr_memalignhook): Likewise.
35528         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35529         used and couldn't be at all thread-safe.
35531 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35533         * libio/freopen.c (freopen): Don't close old file descriptor
35534         before the new one is opened.  Instead dup the new file descriptor
35535         to the old one after the new stream is created.
35536         * libio/freopen64.c (freopen64): Likewise.
35537         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35538         * libio/fileops.c (_IO_new_file_close_it): Handle new
35539         _IO_FLAGS2_NOCLOSE flag.
35540         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35541         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35542         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35543         _IO_FLAGS2_NOCLOSE flag.
35544         * include/unistd.h: Add hidden_proto for dup3.
35545         Define __have_dup3.
35546         * io/dup3.c: Define hidden symbol.
35547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35549         [BZ #7101]
35550         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35551         when an incomplete long option is used.
35552         * posix/tst-getopt_long1.c: New file.
35553         * posix/Makefile (tests): Add tst-getopt_long1.
35555         [BZ #10138]
35556         * scripts/config.guess: Update from autoconf-2.68.
35557         * scripts/config.sub: Likewise.
35559         [BZ #10157]
35560         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35561         tests into ...
35562         (has_cpuclock): ...this.  New function.
35563         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35564         macro here based on has_cpuclock code.
35566         [BZ #10149]
35567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35568         First byte (not low byte) is now always NUL.
35569         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35572         Use non-cancelable interfaces.
35574         [BZ #9809]
35575         * locale/iso-639.def: Add entry for Sorani.
35577         [BZ #11901]
35578         * include/stdlib.h: Move include protection to the right place.
35579         Define abort_msg_s.  Declare __abort_msg with it.
35580         * stdlib/abort.c (__abort_msg): Adjust type.
35581         * assert/assert.c (__assert_fail_base): New function.  Majority
35582         of code from __assert_fail.  Allocate memory for __abort_msg with
35583         mmap.
35584         (__assert_fail): Now call __assert_fail_base.
35585         * assert/assert-perr.c: Remove bulk of implementation.  Use
35586         __assert_fail_base.
35587         * include/assert.hL Declare __assert_fail_base.
35588         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35589         mmap.
35590         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35592 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35594         [BZ #11952]
35595         [BZ #12453]
35596         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35597         until all modules are registered in the DTV.
35598         * elf/Makefile: Add rules to build and run tst-tls19.
35599         * elf/tst-tls19.c: New file.
35600         * elf/tst-tls19mod1.c: New file.
35601         * elf/tst-tls19mod2.c: New file.
35602         * elf/tst-tls19mod3.c: New file.
35603         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35605         [BZ #12083]
35606         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35607         correctly.
35609         [BZ #12601]
35610         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35611         two-byte sequence errors.
35612         * iconvdata/Makefile (tests): Add bug-iconv8.
35613         * iconvdata/bug-iconv8.c: New file.
35615         [BZ #12626]
35616         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35617         buf2 definition.
35619         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35621         [BZ #12432]
35622         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35623         (dummy_getcfa): New function.
35624         (init): Get _Unwind_GetCFA address, use dummy if not found.
35625         (backtrace_helper): In recursion check, also check whether CFA changes.
35626         (__backtrace): Completely initialize arg.
35628         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35629         storing incomplete byte sequence in state object.  Avoid testing for
35630         guaranteed too small input if we know there is enough data available.
35632 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35634         * Makeconfig (+link-pie): Indent.
35635         * Rules (binaries-pie): Define if $(have-fpie) and
35636         $(build-shared).
35637         (binaries-shared): Also filter out $(binaries-pie).
35638         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35639         * nscd/Makefile (others-pie): Add nscd.
35640         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35641         ($(objpfx)nscd): Remove command override.
35642         * login/Makefile (others-pie): Add pt_chown.
35643         ($(objpfx)pt_chown): Remove command override.
35644         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35645         remove command overrides.
35647 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35649         * libio/tst_putwc.c: Fix error messages.
35651         [BZ #12724]
35652         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35653         currently writing and seek to current position when not.
35654         * libio/Makefile (tests): Add bug-fclose1.
35655         * libio/bug-fclose1.c: New file.
35657 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35659         [BZ #12511]
35660         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35661         don't set DF_1_NODELETE here.
35662         (do_lookup_x): When entering new entry test for copy relocation
35663         and if necessary set DF_1_NODELETE flag.
35664         * elf/tst-unique4.cc: New file.
35665         * elf/tst-unique4.h: New file.
35666         * elf/tst-unique4lib.cc: New file.
35667         * elf/Makefile: Add rules to build and run tst-unique4.
35668         Patch by Piotr Bury <pbury@goahead.com>.
35670 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35672         [BZ #12052]
35673         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35675         [BZ #12625]
35676         * misc/mntent_r.c (addmntent): Flush the stream after the output
35678         [BZ #12393]
35679         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35680         (is_trusted_path_normalize): Skip initial colon.  Append slash
35681         to empty buffer.  Duplicate is_trusted_path code but allow
35682         constructed patch to be prefix.
35683         (is_dst): Allow $ORIGIN followed by /.
35684         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35685         Correct testing of result of is_trusted_path_normalize
35686         (decompose_rpath): Fix warning.
35688 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35690         [BZ #11257]
35691         * grp/initgroups.c (internal_getgrouplist): When we found the service
35692         list through the initgroups entry in nsswitch.conf do not always
35693         continue on a successful lookup.  Don't always use the
35694         __nss_group_database value if it is set.
35695         * nss/nsswitch.conf (initgroups): Change action for successful db
35696         lookup to continue for compatibility.
35698 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35700         [BZ #11532]
35701         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35702         and CP774 modules.
35703         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35704         and CP774 modules.
35705         * iconvdata/tst-tables.sh: Likewise.
35706         * iconvdata/cp770.c: New file.
35707         * iconvdata/cp771.c: New file.
35708         * iconvdata/cp772.c: New file.
35709         * iconvdata/cp773.c: New file.
35710         * iconvdata/cp774.c: New file.
35711         * iconvdata/testdata/CP770: New file.
35712         * iconvdata/testdata/CP770..UTF8: New file.
35713         * iconvdata/testdata/CP771: New file.
35714         * iconvdata/testdata/CP771..UTF8: New file.
35715         * iconvdata/testdata/CP772: New file.
35716         * iconvdata/testdata/CP772..UTF8: New file.
35717         * iconvdata/testdata/CP773: New file.
35718         * iconvdata/testdata/CP773..UTF8: New file.
35719         * iconvdata/testdata/CP774: New file.
35720         * iconvdata/testdata/CP774..UTF8: New file.
35722         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35723         END CHARMAP line.
35724         * iconvdata/gen-8bit-gap.sh: Likewise.
35725         * iconvdata/gen-8bit.sh: Likewise.
35727         * locale/iso-639.def: Add ary entry.
35729         [BZ #11258]
35730         * locale/C-translit.h.in: Add U20A1 transliteration.
35732         [BZ #12178]
35733         * locale/iso-639.def: Add wae entry.
35734         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35736         [BZ #12545]
35737         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35738         for n.
35740         [BZ #12711]
35741         * locale/C-translit.h.in: Add entry for U20B9.
35742         Patch by pravin.d.s@gmail.com.
35744 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35746         [BZ #12713]
35747         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35748         ENAMETOOLONG use generic getcwd.
35749         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35750         in rtld.  Use *stat64.
35751         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35752         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35753         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35754         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35755         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35756         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35757         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35758         __fstatat64 macros.
35759         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35760         * dirent/rewinddir.c: Add libc_hidden_def.
35761         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35762         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35764         * include/dirent.h (__alloc_dir): Add flags parameter.
35765         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35766         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35767         __alloc_dir.
35768         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35769         from fdopendir if O_CLOEXEC is already set.
35771 2011-03-15  Alan Modra  <amodra@gmail.com>
35773         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35774         l_tls_firstbyte_offset non-zero.  Save padding offset in
35775         l_tls_firstbyte_offset for later use.
35776         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35777         freeing static tls block.
35779 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35781         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35782         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35783         being defined by the kernel headers.
35785 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35787         [BZ #12734]
35788         * resolv/resolv.h: Define RES_NOTLDQUERY.
35789         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35790         no-tld-query and set RES_NOTLDQUERY.
35791         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35792         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35793         modern BIND to search name as TLD unless forbidden.
35795 2011-05-07  Petr Baudis  <pasky@suse.cz>
35796             Ulrich Drepper  <drepper@gmail.com>
35798         [BZ #12393]
35799         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35800         (is_trusted_path): ...to here.
35801         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35802         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35803         using is_trusted_path_normalize() in setuid scripts.
35805 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35807         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35808         __BEGIN/__END_DECLS.
35810 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35813         NSS_STATUS_NOTFOUND if no record was found.
35815 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35817         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35818         (headers-not-in-tirpc): Remove rpc/netdb.h
35819         * resolv/netdb.h: Revert last change.
35821 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35823         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35824         circular dependency between libgcc.a and libc.a.
35826 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35828         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35829         * nis/Makefile: Don't install rpcsvc/*.
35830         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35831         instead of <rpc/types.h>.
35832         (MAXHOSTNAMELEN): Define.
35834 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35836         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35838 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35840         [BZ #12714]
35841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35842         gethostbyname4_r when IPv6 results are possible.
35844 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35846         [BZ #12723]
35847         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35848         _PC_PIPE_BUF handling.
35850 2011-04-30  Bruno Haible  <bruno@clisp.org>
35852         [BZ #12717]
35853         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35854         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35855         to 'int'.
35856         * inet/getnameinfo.c (getnameinfo): Likewise.
35858 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35860         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35861         to groups setting in database lookup.
35862         * nss/nsswitch.conf: Add initgroups entry.
35864 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35866         [BZ #12685]
35867         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35868         mode string.
35869         Patch by Eric Blake <eblake@redhat.com>.
35871 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35873         * sunrpc/Makefile (need-export-routines): Add svc_run.
35874         (routines): Remove svc_run.
35875         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35876         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35877         * sunrpc/svc_run.c (svc_run): Likewise.
35878         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35880 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35882         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35883         problem in reallocation in last patch.
35885 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35887         * sunrpc/Makefile: Move inclusion of Rules.
35889 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35891         * nss/nss_files/files-initgroups.c: New file.
35892         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35893         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35894         _nss_files_initgroups_dyn.
35896 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35898         * elf/elf.h (R_ARM_IRELATIVE): Define.
35900 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35902         * po/ru.po: Update from translation team.
35904 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35906         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35907         dependencies.
35909 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35911         [BZ #12653]
35912         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35913         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35914         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35915         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35916         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35918 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35920         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35921         differing bytes.
35922         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35923         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35926 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35928         [BZ #12420]
35929         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35930         storing it.
35931         * stdlib/bug-getcontext.c: New file.
35932         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35934 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35936         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35937         instructions into .machine "z9-109".
35938         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35939         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35941 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35943         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35944         between environment variables and auxiliary vector.
35946 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35948         * Makefile: Add rules to build linkobj/libc.so.
35949         * include/libc-symbols.h: Define libc_hidden_nolink.
35950         * include/rpc/auth.h: Mark functions which are to be hidden.
35951         * include/rpc/auth_des.h: Likewise.
35952         * include/rpc/auth_unix.h: Likewise.
35953         * include/rpc/clnt.h: Likewise.
35954         * include/rpc/des_crypt.h: Likewise.
35955         * include/rpc/key_prot.h: Likewise.
35956         * include/rpc/pmap_clnt.h: Likewise.
35957         * include/rpc/pmap_prot.h: Likewise.
35958         * include/rpc/pmap_rmt.h: Likewise.
35959         * include/rpc/rpc_msg.h: Likewise.
35960         * include/rpc/svc.h: Likewise.
35961         * include/rpc/svc_auth.h: Likewise.
35962         * include/rpc/xdr.h: Likewise.
35963         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35964         * nss/Makefile: Likewise.
35965         * sunrpc/Makefile: Don't install headers.  Build library with normal
35966         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35967         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35968         for the compat linking library.  Remove use of INTDEF/INTUSE.
35969         * sunrpc/auth_none.c: Likewise.
35970         * sunrpc/auth_unix.c: Likewise.
35971         * sunrpc/authdes_prot.c: Likewise.
35972         * sunrpc/authuxprot.c: Likewise.
35973         * sunrpc/clnt_gen.c: Likewise.
35974         * sunrpc/clnt_perr.c: Likewise.
35975         * sunrpc/clnt_raw.c: Likewise.
35976         * sunrpc/clnt_simp.c: Likewise.
35977         * sunrpc/clnt_tcp.c: Likewise.
35978         * sunrpc/clnt_udp.c: Likewise.
35979         * sunrpc/clnt_unix.c: Likewise.
35980         * sunrpc/des_crypt.c: Likewise.
35981         * sunrpc/des_soft.c: Likewise.
35982         * sunrpc/get_myaddr.c: Likewise.
35983         * sunrpc/key_call.c: Likewise.
35984         * sunrpc/key_prot.c: Likewise.
35985         * sunrpc/netname.c: Likewise.
35986         * sunrpc/pm_getmaps.c: Likewise.
35987         * sunrpc/pm_getport.c: Likewise.
35988         * sunrpc/pmap_clnt.c: Likewise.
35989         * sunrpc/pmap_prot.c: Likewise.
35990         * sunrpc/pmap_prot2.c: Likewise.
35991         * sunrpc/pmap_rmt.c: Likewise.
35992         * sunrpc/publickey.c: Likewise.
35993         * sunrpc/rpc_cmsg.c: Likewise.
35994         * sunrpc/rpc_common.c: Likewise.
35995         * sunrpc/rpc_dtable.c: Likewise.
35996         * sunrpc/rpc_prot.c: Likewise.
35997         * sunrpc/rpc_thread.c: Likewise.
35998         * sunrpc/rtime.c: Likewise.
35999         * sunrpc/svc.c: Likewise.
36000         * sunrpc/svc_auth.c: Likewise.
36001         * sunrpc/svc_authux.c: Likewise.
36002         * sunrpc/svc_raw.c: Likewise.
36003         * sunrpc/svc_run.c: Likewise.
36004         * sunrpc/svc_simple.c: Likewise.
36005         * sunrpc/svc_tcp.c: Likewise.
36006         * sunrpc/svc_udp.c: Likewise.
36007         * sunrpc/svc_unix.c: Likewise.
36008         * sunrpc/svcauth_des.c: Likewise.
36009         * sunrpc/xcrypt.c: Likewise.
36010         * sunrpc/xdr.c: Likewise.
36011         * sunrpc/xdr_array.c: Likewise.
36012         * sunrpc/xdr_float.c: Likewise.
36013         * sunrpc/xdr_intXX_t.c: Likewise.
36014         * sunrpc/xdr_mem.c: Likewise.
36015         * sunrpc/xdr_rec.c: Likewise.
36016         * sunrpc/xdr_ref.c: Likewise.
36017         * sunrpc/xdr_sizeof.c: Likewise.
36018         * sunrpc/xdr_stdio.c: Likewise.
36020 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36022         [BZ #12650]
36023         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36024         * sysdeps/ia64/dl-tls.h: Likewise.
36025         * sysdeps/powerpc/dl-tls.h: Likewise.
36026         * sysdeps/s390/dl-tls.h: Likewise.
36027         * sysdeps/sh/dl-tls.h: Likewise.
36028         * sysdeps/sparc/dl-tls.h: Likewise.
36029         * sysdeps/x86_64/dl-tls.h: Likewise.
36030         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36032 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36034         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36035         rpath element also skip the following colon.
36036         (expand_dynamic_string_token): Add is_path parameter and pass
36037         down to DL_DST_REQUIRED and _dl_dst_substitute.
36038         (decompose_rpath): Call expand_dynamic_string_token with
36039         non-zero is_path.  Ignore empty rpaths.
36040         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36041         with zero is_path.
36043 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36046         Make cancelable.
36048 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36050         [BZ #12655]
36051         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36052         Patch by Filipe David Manana <fdmanana@apache.org>.
36054 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36056         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36057         Maintain aligned stack.
36058         (CHECK_RSP): Remove unused macro.
36060 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36062         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36063         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36065 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36067         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36069         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36071 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36073         [BZ #12518]
36074         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36075         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36076         * sysdeps/x86_64/memmove.c: New file.
36077         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36078         (memcpy): Renamed to ...
36079         (__new_memcpy): This.
36080         (memcpy): Provide GLIBC_2_14 memcpy.
36081         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36082         (memcpy): Provide GLIBC_2_2_5 memcpy.
36084 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36086         [BZ #12631]
36087         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36089 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36091         * misc/syncfs.c: New file.
36092         * misc/Makefile (routines): Add syncfs.
36093         * posix/unistd.h: Declare syncfs.
36094         * sysdeps/unix/syscalls.list: Add syncfs.
36096 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36098         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36099         open_by_handle_at.
36100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36105         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36108 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36112         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36114         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36118         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36119         sync_file_range.c with -fexceptions.
36120         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36121         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36122         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36123         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36124         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36125         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36127         sync_file_range as cancellation point
36128         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36129         now a wrapper around __call_sync_file_range with cancellation handling.
36130         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36131         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36132         function name to __call_sync_file_range.
36133         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36134         Add call_sync_file_range.
36136 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36139         bits/timex.h.
36141 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36143         * iconv/iconv.h: Fix typo in comment.
36144         * io/fcntl.h: Likewise.
36145         * libio/stdio.h: Likewise.
36146         * posix/spawn.h: Likewise.
36147         * posix/unistd.h: Likewise.
36148         * stdlib/stdlib.h: Likewise.
36149         * time/time.h: Likewise.
36150         * wcsmbs/wchar.h: Likewise.
36152         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36153         open_by_handle): Add.
36154         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36155         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36156         Augment a few comments.
36157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36161         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36162         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36163         open_by_handle.
36165         * io/fcntl.h (AT_EMPTY_PATH): Define.
36167 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36169         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36170         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36171         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36172         to...
36173         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36174         * Versions.def: Add GLIBC_2.14.
36175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36176         Export.
36178 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36180         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36181         round counter.
36182         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36184 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36186         [BZ #12597]
36187         * string/test-strncmp.c (do_page_test): New function.
36188         (check2): Likewise.
36189         (test_main): Call check2.
36190         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36192 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36194         [BZ #12587]
36195         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36196         Handle cache information in CPU leaf 4.
36197         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36199 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36201         [BZ #12583]
36202         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36203         character representation.
36204         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36206 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36208         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36209         END(__isnan) to END(__isnanf) to match function entry point/label
36210         EALIGN(__isnanf,...).
36212 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36214         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36216 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36218         [BZ #12510]
36219         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36220         copy from the symbol referenced in the relocation to initialize the
36221         used variable.
36222         Patch by Piotr Bury <pbury@goahead.com>.
36223         * elf/Makefile: Add rules to build and tst-unique3.
36224         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36225         * elf/tst-unique3.cc: New file.
36226         * elf/tst-unique3.h: New file.
36227         * elf/tst-unique3lib.cc: New file.
36228         * elf/tst-unique3lib2.cc: New file.
36230         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36232 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36234         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36235         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36236         to _start.
36238 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36240         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36241         to-be-loaded object along a path to loader is ld.so.
36243 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36244             Ulrich Drepper  <drepper@gmail.com>
36246         * sysdeps/x86_64/memset.S: After aligning destination, code
36247         branches to different locations depending on the value of
36248         misalignment, when multiarch is enabled. Fix this.
36250 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36252         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36253         Set _x86_64_preferred_memory_instruction for AMD processsors.
36254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36255         Set bit_Prefer_SSE_for_memop for AMD processors.
36257 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36259         * libio/fmemopen.c (fmemopen): Optimize a bit.
36261 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36263         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36265 2011-03-03  Roland McGrath  <roland@redhat.com>
36267         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36269 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36271         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36272         __bzero_ultra1 instead of __memset_ultra1.
36274 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36275             Ulrich Drepper  <drepper@gmail.com>
36277         [BZ #12509]
36278         * include/link.h (struct link_map): Add l_orig_initfini.
36279         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36280         returning unsuccessfully.
36281         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36282         close of a file loaded at startup, restore the original l_initfini
36283         list.
36284         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36285         list, store the pointer.
36286         * elf/Makefile ($(objpfx)noload-mem): New rule.
36287         (noload-ENV): Define.
36288         (tests): Add $(objpfx)noload-mem.
36289         * elf/noload.c: Include <memcheck.h>.
36290         (main): Call mtrace.  Close all opened handles.
36292 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36294         [BZ #12454]
36295         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36296         dependencies are missing.
36298 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36300         Fix __if_freereq crash: Unlike the generic version which uses free,
36301         Hurd needs munmap.
36302         * sysdeps/mach/hurd/ifreq.h: New file.
36304 2011-01-27  Petr Baudis  <pasky@suse.cz>
36305             Ulrich Drepper  <drepper@gmail.com>
36307         [BZ 12445]#
36308         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36309         to extend_alloca().
36310         * stdio-common/bug23.c: New file.
36311         * stdio-common/Makefile (tests): Add bug23.
36313 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36314             Ulrich Drepper  <drepper@gmail.com>
36316         [BZ #12489]
36317         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36318         before performing relro protection.  At old place add assertion
36319         to make sure nothing changed.
36321 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36322             Glauber de Oliveira Costa  <glommer@gmail.com>
36324         * elf/elf.h: Add new ARM TLS relocs.
36326 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36329         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36330         cast from r3.
36331         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36332         'tests' variable.
36333         * sysdeps/wordsize-64/tst-writev.c: New file.
36335 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36337         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36338         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36339         insns in _dl_start to prevent a TOC reference before relocs are
36340         resolved.
36342 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36344         [BZ #12469]
36345         * Makeconfig: Remove RANLIB definition.
36346         * Makerules: Don't use RANLIB.
36347         * aclocal.m4: Remove ranlib test.
36348         * configure.in: No need to check for ranlib.
36349         * elf/rtld-Rules: Don't use RANLIB.
36351 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36353         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36354         protection macro.
36355         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36356         inclusion protection macro.
36358         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36359         SIGRTMIN and SIGRTMAX and print information in that case only when
36360         SIGRTMIN is defined.
36362 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36364         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36365         arginfo fn returning -1.
36367         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36368         and thousands string is zero terminated.
36370 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36373         sysdeps/unix/sysv/linux/bits/socket.h.
36375 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36377         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36378         (__CPU_COUNT): Remove old macros.
36379         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36380         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36381         (__CPU_ALLOC, __CPU_FREE): Add macros.
36382         (__sched_cpualloc, __sched_cpufree): Add declarations.
36384 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36386         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36387         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36388         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36389         (readdhstai): Return value of addhstaiX call.
36390         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36391         (addgrbyX): Return value returned by cache_addgr.
36392         (readdgrbyname): Return value returned by addgrbyX.
36393         (readdgrbygid): Likewise.
36394         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36395         (addpwbyX): Return value returned by cache_addpw.
36396         (readdpwbyname): Return value returned by addhstbyX.
36397         (readdpwbyuid): Likewise.
36398         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36399         (addservbyX): Return value returned by cache_addserv.
36400         (readdservbyname): Return value returned by addservbyX:
36401         (readdservbyport): Likewise.
36402         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36403         (addhstbyX): Return value returned by cache_addhst.
36404         (readdhstbyname): Return value returned by addhstbyX.
36405         (readdhstbyaddr): Likewise.
36406         (readdhstbynamev6): Likewise.
36407         (readdhstbyaddrv6): Likewise.
36408         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36409         (readdinitgroups): Return value returned by addinitgroupsX.
36410         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36411         (prune_cache): Keep track of timeout value of re-added entries.
36412         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36413         * nscd/nscd.h: Adjust prototypes of readd* functions.
36415 2011-02-04  Roland McGrath  <roland@redhat.com>
36417         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36418         (nis_stats): Likewise.
36419         * nis/nis_modify.c (nis_modify): Likewise.
36420         * nis/nis_remove.c (nis_remove): Likewise.
36421         * nis/nis_add.c (nis_add): Likewise.
36423         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36425         * posix/fnmatch_loop.c: Add some consts.
36427         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36429 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36431         [BZ #12460]
36432         * config.make.in (config-cflags-novzeroupper): Define.
36433         * configure.in: Substitute libc_cv_cc_novzeroupper.
36434         * elf/Makefile (AVX-CFLAGS): Define.
36435         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36436         (CFLAGS-tst-auditmod4a.c): Likewise.
36437         (CFLAGS-tst-auditmod4b.c): Likewise.
36438         (CFLAGS-tst-auditmod6b.c): Likewise.
36439         (CFLAGS-tst-auditmod6c.c): Likewise.
36440         (CFLAGS-tst-auditmod7b.c): Likewise.
36441         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36443 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36445         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36446         function to the callback.
36447         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36449 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36451         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36452         of errno.
36454 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36456         [BZ #11724]
36457         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36458         of constructors.
36459         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36460         of destructors.
36461         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36463         [BZ #11724]
36464         * elf/Makefile: Add rules to build and run new test.
36465         * elf/tst-initorder.c: New file.
36466         * elf/tst-initorder.exp: New file.
36467         * elf/tst-initordera1.c: New file.
36468         * elf/tst-initordera2.c: New file.
36469         * elf/tst-initordera3.c: New file.
36470         * elf/tst-initordera4.c: New file.
36471         * elf/tst-initorderb1.c: New file.
36472         * elf/tst-initorderb2.c: New file.
36473         * elf/tst-order-a1.c: New file.
36474         * elf/tst-order-a2.c: New file.
36475         * elf/tst-order-a3.c: New file.
36476         * elf/tst-order-a4.c: New file.
36477         * elf/tst-order-b1.c: New file.
36478         * elf/tst-order-b2.c: New file.
36479         * elf/tst-order-main.c: New file.
36480         New test case by George Gensure <werkt0@gmail.com>.
36482 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36485         decoding ACE if AI_CANONIDN.
36487 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36489         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36491 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36493         * version.h (RELEASE): Bump for 2.13 release.
36494         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36496         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36499         MADV_NOHUGEPAGE.
36500         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36502         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36503         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36504         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36505         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36507         * posix/getconf.c: Update copyright year.
36508         * catgets/gencat.c: Likewise.
36509         * csu/version.c: Likewise.
36510         * debug/catchsegv.sh: Likewise.
36511         * debug/xtrace.sh: Likewise.
36512         * elf/ldconfig.c: Likewise.
36513         * elf/ldd.bash.in: Likewise.
36514         * elf/sprof.c (print_version): Likewise.
36515         * iconv/iconv_prog.c: Likewise.
36516         * iconv/iconvconfig.c: Likewise.
36517         * locale/programs/locale.c: Likewise.
36518         * locale/programs/localedef.c: Likewise.
36519         * malloc/memusage.sh: Likewise.
36520         * malloc/mtrace.pl: Likewise.
36521         * nscd/nscd.c (print_version): Likewise.
36522         * nss/getent.c: Likewise.
36524         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36525         PF_CAIF, and PF_ALG.
36526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36528 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36530         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36531         (modules-names): Use them.
36532         (ifunc-test-modules, ifunc-pie-tests): Define.
36533         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36534         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36535         (test-extras): Likewise.
36536         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36537         $(compile-command.c).
36538         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36539         (all-built-dso): Define.
36540         (check-textrel.out, check-execstack.out): Depend on it.
36542         * configure.in: Don't override --enable-multi-arch.
36544 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36546         [BZ #6812]
36547         * nscd/hstcache.c (tryagain): Define.
36548         (cache_addhst): Return tryagain not notfound for temporary errors.
36549         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36550         failed.
36552 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36554         [BZ #10563]
36555         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36556         to make the syscall.
36557         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36559         [BZ #12378]
36560         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36561         and fall back to matching as normal character if the string ends before
36562         the matching ']' is found.  This is what POSIX requires.
36563         * posix/testfnm.c: Adjust test result.
36564         * posix/globtest.sh: Adjust test result.  Add new test.
36565         * posix/tst-fnmatch.input: Likewise.
36566         * posix/tst-fnmatch2.c: Add new test.
36568 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36570         * elf/Makefile (check-execstack): Revert last change.  Depend on
36571         check-execstack.h.
36572         (check-execstack.h): New target.
36573         (generated): Add check-execstack.h.
36574         * elf/check-execstack.c: Include "check-execstack.h".
36575         (main): Revert last change.
36576         (handle_file): Return zero if GNU_STACK is absent and
36577         DEFAULT_STACK_PERMS doesn't include PF_X.
36579 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36581         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36582         in child fails because the descriptor is already closed.
36583         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36584         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36585         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36587         [BZ #12397]
36588         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36589         syscall.
36591         [BZ #10484]
36592         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36593         temporary buffer used to handle multi lookups locally.
36594         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36596 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36598         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36599         loader is ld.so.
36601 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36603         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36604         alignment for SSE2.
36606 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36608         [BZ #12394]
36609         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36610         characters.  When rounding increased number of integer digits recompute
36611         number of groups.
36612         * stdio-common/tst-grouping.c: New file.
36613         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36615 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36617         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36618         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36620         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36621         void.
36622         * bits/select.h: Likewise.
36624 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36626         * po/ja.po: Update from translation team.
36628 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36630         [BZ #11155]
36631         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36632         implementation just like for lxstat, fxstatat, et al.
36634 2010-12-27  Jim Meyering  <meyering@redhat.com>
36636         [BZ #12348]
36637         * posix/regexec.c (build_trtable): Return failure indication upon
36638         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36640 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36642         [BZ #12201]
36643         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36644         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36645         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36646         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36648         [BZ #12207]
36649         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36651         [BZ #12204]
36652         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36653         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36655 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36657         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36658         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36659         script has SORT_BY_INIT_PRIORITY.
36660         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36661         NO_CTORS_DTORS_SECTIONS is defined.
36662         * elf/soinit.c: Likewise.
36663         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36664         NO_CTORS_DTORS_SECTIONS is defined.
36665         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36666         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36667         * sysdeps/sh/init-first.c: Likewise.
36668         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36670 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36672         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36673         always use the slow path.
36675 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36677         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36678         similar rule which adds the sysdep directories to the header search in
36679         order to pick up the correct platform stackinfo.h.
36680         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36681         perform test if it is, otherwise return successfully without testing.
36682         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36683         DEFAULT_STACK_PERMS define in stackinfo.h.
36684         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36685         defined in stackinfo.h.
36686         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36687         DEFAULT_STACK_PERMS defined in stackinfo.h.
36688         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36689         * sysdeps/ia64/stackinfo.h: Likewise.
36690         * sysdeps/s390/stackinfo.h: Likewise.
36691         * sysdeps/sh/stackinfo.h: Likewise.
36692         * sysdeps/sparc/stackinfo.h: Likewise.
36693         * sysdeps/x86_64/stackinfo.h: Likewise.
36694         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36695         PF_X for powerpc64.  Retain PF_X for powerpc32.
36697 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36699         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36700         accurately.
36701         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36702         GETDENTS_64BIT_ALIGNED.
36704 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36706         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36708 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36710         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36711         _GNU_SOURCE.
36713         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36714         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36715         Remove __restrict.
36716         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36717         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36719 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36721         [BZ #11655]
36722         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36723         are initialized.
36725 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36727         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36729 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36731         * po/it.po: Update from translation team.
36733 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36735         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36736         unused codes.
36738 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36740         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36742 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36744         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36745         specially.
36746         (gaih_getanswer_slice): Likewise.
36748 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36752 2010-05-31  Petr Baudis  <pasky@suse.cz>
36754         [BZ #11149]
36755         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36756         silently even in the chroot mode.
36758 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36760         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36761         last patch a bit.  Pretty printing
36763 2010-05-31  Petr Baudis <pasky@suse.cz>
36765         [BZ #10085]
36766         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36767         initialization of skip_initgroups_dyn.
36769 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36771         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36772         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36774 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36776         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36778 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36780         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36781         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36782         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36783         ($(objpfx)tst-fnmatch-mem): New rule.
36784         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36785         * posix/tst-fnmatch.c (main): Call mtrace.
36787 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36790         Support Intel processor model 6 and model 0x2c.
36792 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36795           signed comparison.
36797 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36799         [BZ #12205]
36800         * string/test-strncasecmp.c (check_result): New function.
36801         (do_one_test): Use it.
36802         (check1): New function.
36803         (test_main): Use it.
36804         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36805         Support strcasecmp and strncasecmp.
36807 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36809         [BZ #12194]
36810         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36811         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36813 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36815         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36816         IFUNC support.
36817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36818         memset-x86-64.
36819         * sysdeps/x86_64/multiarch/bzero.S: New file.
36820         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36821         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36822         * sysdeps/x86_64/multiarch/memset.S: New file.
36823         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36825         Set bit_Prefer_SSE_for_memop for Intel processors.
36826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36827         Define.
36828         (index_Prefer_SSE_for_memop): Define.
36829         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36831 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36833         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36834         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36836 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36838         [BZ #12191]
36839         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36840         (__x86_64_raw_data_cache_size_half): Likewise.
36841         (__x86_64_raw_shared_cache_size): Likewise.
36842         (__x86_64_raw_shared_cache_size_half): Likewise.
36844         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36845         (__x86_64_raw_data_cache_size_half): Likewise.
36846         (__x86_64_raw_shared_cache_size): Likewise.
36847         (__x86_64_raw_shared_cache_size_half): Likewise.
36848         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36849         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36850         and __x86_64_raw_shared_cache_size_half.  Round
36851         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36852         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36853         to multiple of 256 bytes.
36855 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36857         [BZ #12167]
36858         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36859         of inacessible symlinks.  Verify result of symlink before returning it.
36860         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36861         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36863 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36865         * math/math.h (isinf): Fix typo in comment.
36867 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36869         * po/da.po: Update from translation team.
36871 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36873         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36874         is added to the list.
36876 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36877             Ulrich Drepper  <drepper@gmail.com>
36879         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36880         the global list here.  Move code to...
36881         (_dl_add_to_namespace_list): ...here.  New function.
36882         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36883         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36884         * elf/dl-load.c (lose): Don't remove the element from the list.
36885         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36886         (_dl_map_object): Likewise.
36888 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36890         [BZ #12159]
36891         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36892         into all bytes of SSE register.
36893         Patch by Richard Li <richardpku@gmail.com>.
36895 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36897         [BZ #12140]
36898         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36899         perturbing.
36901 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36903         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36904         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36905         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36906         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36908         submachine.
36909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36911 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36913         * include/dlfcn.h (__RTLD_SECURE): Define.
36914         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36915         mode & __RTLD_SECURE instead.
36916         (open_path): Rename preloaded parameter to secure.
36917         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36918         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36919         * elf/dl-deps.c (openaux): Likewise.
36920         * elf/rtld.c (struct map_args): Remove is_preloaded.
36921         (map_doit): Don't use it.
36922         (dl_main): Likewise.
36923         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36924         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36926 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36928         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36929         (sysd-rules-targets): Remove duplicates.
36930         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36931         rtld-%.$o dependency.
36933 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36935         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36936         _dl_map_object do it.
36938 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36940         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36941         fast fma builtins, define the macros in the C99 standard.
36942         (FP_FAST_FMAF): Likewise.
36943         (FP_FAST_FMAL): Likewise.
36944         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36946         * bits/mathdef.h: Update copyright year.
36947         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36949 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36951         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36952         builtins, define the macros in the C99 standard.
36953         (FP_FAST_FMAF): Likewise.
36954         (FP_FAST_FMAL): Likewise.
36955         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36956         multiply/add.
36957         (FP_FAST_FMAF): Likewise.
36959 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36961         [BZ #3268]
36962         * math/libm-test.inc (fma_test): Some new testcases.
36963         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36965         y and infinite z.  Do multiplication by C already in long double.
36966         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36968         y and infinite z.  Do bitwise or of inexact bit into u.d.
36969         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36970         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36971         * sysdeps/i386/fpu/s_fma.S: Removed.
36972         * sysdeps/i386/fpu/s_fmal.S: Removed.
36974 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36976         [BZ #3268]
36977         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36979         computation is not scheduled after fetestexcept.  Fix value
36980         of minimum denormal long double.
36982 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36984         [BZ #3268]
36985         * math/libm-test.inc (fma_test): Add some more tests.
36986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36987         correctly.
36989 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36991         * scripts/data/localplt-s390-linux-gnu.data: New file.
36992         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36994 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36996         [BZ #3268]
36997         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36998         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36999         instead of dbl-64.
37000         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37001         inlines.
37002         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37004         if one of x and y is very large and the other is subnormal.
37005         * sysdeps/s390/fpu/s_fmaf.c: New file.
37006         * sysdeps/s390/fpu/s_fma.c: New file.
37007         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37008         * sysdeps/powerpc/fpu/s_fma.S: New file.
37009         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37010         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37011         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37013 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37015         [BZ #3268]
37016         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37017         fma tests.
37018         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37019         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37020         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37021         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37022         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37023         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37024         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37026 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37028         [BZ #12078]
37029         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37030         * posix/bug-regex31.input: Add test case.
37032 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37034         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37035         * posix/bug-regex31.input: New file.
37037         [BZ #12078]
37038         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37039         (parse_sub_exp): Fix last change, use postorder.
37041         * posix/bug-regex31.c: New file.
37042         * posix/Makefile: Add rules to build and run bug-regex31.
37044         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37046         [BZ #12078]
37047         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37049         [BZ #12108]
37050         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37051         to have entries in sys_siglist.
37053         [BZ #12093]
37054         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37055         be NULL.
37057 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37059         [BZ #3268]
37060         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37061         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37062         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37063         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37064         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37065         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37066         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37067         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37068         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37069         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37070         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37071         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37072         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37073         * math/ftestexcept.c (fetestexcept): Likewise.
37074         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37075         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37076         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37077         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37078         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37079         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37080         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37082 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37084         [BZ #12107]
37085         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37086         newline.
37088 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37090         * string/bug-strstr1.c: New file.
37091         * string/Makefile: Add rules to build and run bug-strstr1.
37093 2010-10-05  Eric Blake  <eblake@redhat.com>
37095         [BZ #12092]
37096         * string/str-two-way.h (two_way_long_needle): Always clear memory
37097         when skipping input due to the shift table.
37099 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37101         [BZ #12005]
37102         * malloc/mcheck.c: Handle large requests.
37104         [BZ #12077]
37105         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37106         for strncmp and strncasecmp.
37107         * string/stratcliff.c: Add tests for strcmp and strncmp.
37108         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37110 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37112         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37113         __set_fpscr.
37115 2010-09-30  Andreas Jaeger  <aj@suse.de>
37117         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37118         (CGROUP_SUPER_MAGIC): Define.
37119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37120         Handle btrfs and cgroup file systems.
37121         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37122         Likewise.
37124 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37126         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37127         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37129 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37131         [BZ #12067]
37132         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37133         trying to locate the ELF header.
37135 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37137         [BZ #11611]
37138         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37139         Mask out sign-bit copies when constructing f_fsid.
37141 2010-09-24  Petr Baudis <pasky@suse.cz>
37143         * debug/stack_chk_fail_local.c: Add missing licence exception.
37144         * debug/warning-nop.c: Likewise.
37146 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37148         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37149         implementing getdents64 using getdents syscall, set d_type if
37150         __ASSUME_GETDENTS32_D_TYPE.
37152 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37154         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37155         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37157 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37159         [BZ #12037]
37160         * posix/unistd.h: Undo change of feature selection for ftruncate from
37161         2010-01-11.
37163 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37165         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37166         detection.
37168 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37170         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37171         fanotify_mark.
37172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37174 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37176         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37177         variables after CHECK_SP call.
37178         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37180 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37181             Ulrich Drepper  <drepper@redhat.com>
37183         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37184         re-relocationg ld.so.
37185         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37186         _dl_init_paths call.
37187         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37188         here anymore.
37190 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37192         * resolv/res_init.c (__res_vinit): Count the default server we added.
37194 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37195             Ulrich Drepper  <drepper@redhat.com>
37197         [BZ #11968]
37198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37199         (____longjmp_chk): Use %ebx for saving value across system call.
37200         Add unwind info.
37202 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37204         * manual/Makefile: Don't mix pattern rules with normal rules.
37206 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37208         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37209         operation.
37210         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37211         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37212         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37213         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37215         Likewise.
37217 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37219         [BZ #11979]
37220         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37221         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37223 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37225         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37226         * sysdeps/x86_64/addmul_1.S: Likewise.
37227         * sysdeps/x86_64/lshift.S: Likewise.
37228         * sysdeps/x86_64/mul_1.S: Likewise.
37229         * sysdeps/x86_64/rshift.S: Likewise.
37230         * sysdeps/x86_64/sub_n.S: Likewise.
37231         * sysdeps/x86_64/submul_1.S: Likewise.
37233 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37235         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37236         Define __sched_param instead of SCHED_* and sched_param when
37237         <bits/sched.h> is included with __need_schedparam defined.
37238         * bits/sched.h [__need_schedparam]
37239         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37240         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37241         (__defined_schedparam): Define to 1.
37242         (__sched_param): New structure, identical to sched_param.
37243         (__need_schedparam): Undefine.
37245 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37247         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37248         (epoll_create1): Declare.
37250         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37252 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37254         [BZ #7066]
37255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37256         shifting retval into place.
37258 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37260         * nis/rpcsvc/nis.h: Update copyright notice.
37261         * nis/rpcsvc/nis.x: Likewise.
37262         * nis/rpcsvc/nis_callback.h: Likewise.
37263         * nis/rpcsvc/nis_callback.x: Likewise.
37264         * nis/rpcsvc/nis_object.x: Likewise.
37265         * nis/rpcsvc/nis_tags.h: Likewise.
37266         * nis/rpcsvc/yp.h: Likewise.
37267         * nis/rpcsvc/yp.x: Likewise.
37268         * nis/rpcsvc/ypupd.h: Likewise.
37269         * nis/yp_xdr.c: Likewise.
37270         * nis/ypupdate_xdr.c: Likewise.
37272         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37273         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37274         (pmap_getport): Use __libc_rpc_getport.
37275         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37276         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37277         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37279 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37282         fanotify_mark.
37284 2010-08-27  Roland McGrath  <roland@redhat.com>
37286         * sysdeps/i386/i686/multiarch/Makefile
37287         (CFLAGS-varshift.c): New variable.
37289 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37291         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37292         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37296         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37298 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37300         * sysdeps/x86_64/strlen.S: Unroll the loop.
37301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37302         strlen-sse2 strlen-sse2-bsf.
37303         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37304         __strlen_no_bsf if bit_Slow_BSF is set.
37305         (__strlen_sse42): Removed.
37306         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37307         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37309 2010-08-25  Roland McGrath  <roland@redhat.com>
37311         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37312         * sysdeps/x86_64/multiarch/varshift.c: New file.
37313         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37314         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37315         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37316         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37318 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37321         strlen-sse2 strlen-sse2-bsf.
37322         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37323         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37324         (__strlen_sse2): Removed.
37325         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37326         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37328         bit_Slow_BSF for Atom.
37329         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37330         (index_Slow_BSF): Define.
37331         (HAS_SLOW_BSF): Define.
37333 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37335         [BZ #10851]
37336         * resolv/res_init.c (__res_vinit): When no server address at all
37337         is given default to loopback.
37339 2010-08-24  Roland McGrath  <roland@redhat.com>
37341         * configure.in: Remove config-name.h generation.
37342         * configure: Regenerated.
37343         * config-name.in: File removed.
37344         * scripts/config-uname.sh: New file.
37345         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37346         ($(objdir)config-name.h): New target.
37348         * sunrpc/rpc_parse.h: Avoid nested comment.
37350 2010-08-24  Richard Henderson  <rth@redhat.com>
37351             Ulrich Drepper  <drepper@redhat.com>
37352             H.J. Lu  <hongjiu.lu@intel.com>
37354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37356         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37357         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37358         _mm_alignr_epi8 with _mm_loadu_si128.
37359         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37360         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37361         (__m128i_shift_right): Removed.
37362         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37363         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37364         * sysdeps/x86_64/multiarch/varshift.h: New file.
37365         * sysdeps/x86_64/multiarch/varshift.S: New file.
37367 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37369         * configure.in: Move assembler checks to before sysdep dir checking.
37371 2010-08-20  Petr Baudis  <pasky@suse.cz>
37373         * LICENSES: Sync the sunrpc license.
37375 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37377         * sunrpc/auth_des.c: Update copyright notice once again.
37378         * sunrpc/auth_none.c: Likewise.
37379         * sunrpc/auth_unix.c: Likewise.
37380         * sunrpc/authdes_prot.c: Likewise.
37381         * sunrpc/authuxprot.c: Likewise.
37382         * sunrpc/bindrsvprt.c: Likewise.
37383         * sunrpc/clnt_gen.c: Likewise.
37384         * sunrpc/clnt_perr.c: Likewise.
37385         * sunrpc/clnt_raw.c: Likewise.
37386         * sunrpc/clnt_simp.c: Likewise.
37387         * sunrpc/clnt_tcp.c: Likewise.
37388         * sunrpc/clnt_udp.c: Likewise.
37389         * sunrpc/clnt_unix.c: Likewise.
37390         * sunrpc/des_crypt.c: Likewise.
37391         * sunrpc/des_soft.c: Likewise.
37392         * sunrpc/get_myaddr.c: Likewise.
37393         * sunrpc/getrpcport.c: Likewise.
37394         * sunrpc/key_call.c: Likewise.
37395         * sunrpc/key_prot.c: Likewise.
37396         * sunrpc/openchild.c: Likewise.
37397         * sunrpc/pm_getmaps.c: Likewise.
37398         * sunrpc/pm_getport.c: Likewise.
37399         * sunrpc/pmap_clnt.c: Likewise.
37400         * sunrpc/pmap_prot.c: Likewise.
37401         * sunrpc/pmap_prot2.c: Likewise.
37402         * sunrpc/pmap_rmt.c: Likewise.
37403         * sunrpc/rpc/auth.h: Likewise.
37404         * sunrpc/rpc/auth_unix.h: Likewise.
37405         * sunrpc/rpc/clnt.h: Likewise.
37406         * sunrpc/rpc/des_crypt.h: Likewise.
37407         * sunrpc/rpc/key_prot.h: Likewise.
37408         * sunrpc/rpc/netdb.h: Likewise.
37409         * sunrpc/rpc/pmap_clnt.h: Likewise.
37410         * sunrpc/rpc/pmap_prot.h: Likewise.
37411         * sunrpc/rpc/pmap_rmt.h: Likewise.
37412         * sunrpc/rpc/rpc.h: Likewise.
37413         * sunrpc/rpc/rpc_des.h: Likewise.
37414         * sunrpc/rpc/rpc_msg.h: Likewise.
37415         * sunrpc/rpc/svc.h: Likewise.
37416         * sunrpc/rpc/svc_auth.h: Likewise.
37417         * sunrpc/rpc/types.h: Likewise.
37418         * sunrpc/rpc/xdr.h: Likewise.
37419         * sunrpc/rpc_clntout.c: Likewise.
37420         * sunrpc/rpc_cmsg.c: Likewise.
37421         * sunrpc/rpc_common.c: Likewise.
37422         * sunrpc/rpc_cout.c: Likewise.
37423         * sunrpc/rpc_dtable.c: Likewise.
37424         * sunrpc/rpc_hout.c: Likewise.
37425         * sunrpc/rpc_main.c: Likewise.
37426         * sunrpc/rpc_parse.c: Likewise.
37427         * sunrpc/rpc_parse.h: Likewise.
37428         * sunrpc/rpc_prot.c: Likewise.
37429         * sunrpc/rpc_sample.c: Likewise.
37430         * sunrpc/rpc_scan.c: Likewise.
37431         * sunrpc/rpc_scan.h: Likewise.
37432         * sunrpc/rpc_svcout.c: Likewise.
37433         * sunrpc/rpc_tblout.c: Likewise.
37434         * sunrpc/rpc_util.c: Likewise.
37435         * sunrpc/rpc_util.h: Likewise.
37436         * sunrpc/rpcinfo.c: Likewise.
37437         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37438         * sunrpc/rpcsvc/key_prot.x: Likewise.
37439         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37440         * sunrpc/rpcsvc/mount.x: Likewise.
37441         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37442         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37443         * sunrpc/rpcsvc/rex.x: Likewise.
37444         * sunrpc/rpcsvc/rstat.x: Likewise.
37445         * sunrpc/rpcsvc/rusers.x: Likewise.
37446         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37447         * sunrpc/rpcsvc/spray.x: Likewise.
37448         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37449         * sunrpc/rtime.c: Likewise.
37450         * sunrpc/svc.c: Likewise.
37451         * sunrpc/svc_auth.c: Likewise.
37452         * sunrpc/svc_authux.c: Likewise.
37453         * sunrpc/svc_raw.c: Likewise.
37454         * sunrpc/svc_run.c: Likewise.
37455         * sunrpc/svc_simple.c: Likewise.
37456         * sunrpc/svc_tcp.c: Likewise.
37457         * sunrpc/svc_udp.c: Likewise.
37458         * sunrpc/svc_unix.c: Likewise.
37459         * sunrpc/svcauth_des.c: Likewise.
37460         * sunrpc/xcrypt.c: Likewise.
37461         * sunrpc/xdr.c: Likewise.
37462         * sunrpc/xdr_array.c: Likewise.
37463         * sunrpc/xdr_float.c: Likewise.
37464         * sunrpc/xdr_mem.c: Likewise.
37465         * sunrpc/xdr_rec.c: Likewise.
37466         * sunrpc/xdr_ref.c: Likewise.
37467         * sunrpc/xdr_sizeof.c: Likewise.
37468         * sunrpc/xdr_stdio.c: Likewise.
37470         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37471         handling.
37473 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37475         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37477 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37479         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37480         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37481         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37482         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37483         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37484         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37485         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37486         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37487         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37488         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37489         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37490         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37491         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37492         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37494 2010-07-26  Anton Blanchard  <anton@samba.org>
37496         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37497         * malloc/arena.c (heap_trim): Likewise.
37499 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37501         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37502         here.  Not...
37503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37504         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37506 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37508         * sysdeps/i386/elf/Makefile: New file.
37510 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37512         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37513         from fanotify_init.
37514         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37517 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37519         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37520         of strncasecmp_l.
37521         * sysdeps/multiarch/strcmp.S: Likewise.
37523 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37525         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37526         strncase_l-nonascii.
37527         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37528         Add strncase_l-ssse3.
37529         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37530         * sysdeps/x86_64/strcmp.S: Likewise.
37531         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37532         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37533         * sysdeps/x86_64/strncase.S: New file.
37534         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37535         * sysdeps/x86_64/strncase_l.S: New file.
37536         * string/Makefile (strop-tests): Add strncasecmp.
37537         * string/test-strncasecmp.c: New file.
37539         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37540         warning.
37542         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37543         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37545 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37547         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37549 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37551         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37552         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37553         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37555 2010-05-01  Alan Modra  <amodra@gmail.com>
37557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37558         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37559         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37560         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37561         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37562         tidying.  Don't tail-call __sigjmp_save for static lib.
37563         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37564         save location.
37565         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37566         (CALL_MCOUNT): Add eh info, and nop after bl.
37567         (TAIL_CALL_SYSCALL_ERROR): New macro.
37568         (PSEUDO_RET): Use it.
37569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37570         Correct save location of integer regs and cr.
37571         (_dl_profile_resolve): Correct cr save location.  Delete nops
37572         after bl when SHARED.  Reduce cfi size a little by better
37573         placement of cfi directives.
37574         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37575         make a stack frame.  Instead use parm save area as a temp.
37576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37577         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37579         Don't make a stack frame for parent, use parm save area.
37580         Increase child stack frame to 112 bytes.  Don't save unused reg,
37581         and adjust reg usage.  Set up cfi on error recovery and
37582         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37584         (__makecontext): Add dummy nop after jump to exit.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37586         Use correct parm save area and cr save, reduce stack frame.
37587         Correct cfi for possible PSEUDO_RET frame setup.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37589         Branch to local label emitted by PSEUDO_RET rather than
37590         __syscall_error.
37592 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37594         [BZ #11904]
37595         * locale/programs/locale.c (print_assignment): New function.
37596         (show_locale_vars): Use it.
37598 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37600         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37601         field.
37602         (struct statfs64): Likewise.
37603         (_STATFS_F_FLAGS): Define.
37604         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37605         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37606         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37607         (ST_VALID): Define locally.
37608         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37609         __statvfs_getflags, use the provided value.
37610         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37611         __ASSUME_STATFS_F_FLAGS.
37613         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37615         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37616         Add sys/fanotify.h.
37617         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37618         fanotify_mask for GLIBC_2.13.
37619         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37620         fanotify_init and fanotify_mark.
37621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37622         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37624         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37625         Add prlimit.
37626         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37627         prlimit64 for GLIBC_2.13.
37628         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37629         prlimit64.
37630         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37631         syscall.
37632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37634         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37635         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37637         add prlimit alias.
37638         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37640         [BZ #11903]
37641         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37642         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37644         * nss/Makefile: Add rules to build and run tst-nss-test1.
37645         * shlib-versions: Add entry for libnss_test1.
37646         * nss/nss_test1.c: New file.
37647         * nss/tst-nss-test1.c: New file.
37649         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37650         (__nss_configure_lookup): Set appropriate entry in
37651         __nss_configure_lookup to true.
37652         * nss/nsswitch.h: Define enum with indeces of databases in
37653         databases and __nss_database_custom arrays.  Declare
37654         __nss_database_custom.
37655         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37656         to avoid using nscd when custom rules are installed.
37657         * nss/getXXbyYY_r.c: Likewise.
37658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37660         * nss/nss_files/files-parse.c: Whitespace fixes.
37662 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37664         [BZ #11883]
37665         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37666         * posix/fnmatch_loop.c: Likewise.
37668 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37670         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37671         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37672         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37673         * Versions.def [GLIBC_2.13]: Add.
37675 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37678         Also fail if tpwd after pwuid call is NULL.
37680 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37682         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37683         when converting to ms.
37685 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37687         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37688         EOPNOTSUPP errors with ENOTTY.
37689         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37690         EOPNOTSUPP errors with ENOTTY.
37692 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37694         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37695         Add strcasecmp_l-ssse3.
37696         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37697         strcasecmp.
37698         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37699         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37700         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37702 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37704         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37706         * string/Makefile (strop-tests): Add strcasecmp.
37707         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37708         strcasecmp_l-nonascii.
37709         (gen-as-const-headers): Add locale-defines.sym.
37710         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37711         * sysdeps/x86_64/strcasecmp.S: New file.
37712         * sysdeps/x86_64/strcasecmp_l.S: New file.
37713         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37714         * sysdeps/x86_64/locale-defines.sym: New file.
37715         * string/test-strcasecmp.c: New file.
37717         * string/test-strcasestr.c: Test both ends of the range of characters.
37718         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37720 2010-07-29  Roland McGrath  <roland@redhat.com>
37722         [BZ #11856]
37723         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37725 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37727         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37728         for ld.so.
37730 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37732         * manual/memory.texi (Malloc Tunable Parameters): Document
37733         M_PERTURB.
37735 2010-07-26  Roland McGrath  <roland@redhat.com>
37737         [BZ #11840]
37738         * configure.in (-fgnu89-inline check): Set and substitute
37739         gnu89_inline, not libc_cv_gnu89_inline.
37740         * configure: Regenerated.
37741         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37743 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37745         * string/test-strnlen.c: New file.
37746         * string/Makefile (strop-tests): Add strnlen.
37747         * string/tester.c (test_strnlen): Add a few more test cases.
37748         * string/tst-strlen.c: Better error reporting.
37750         * sysdeps/x86_64/strnlen.S: New file.
37752 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37755         lower-latency instructions.
37757 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37759         * string/test-strcasestr.c: New file.
37760         * string/test-strstr.c: New file.
37761         * string/Makefile (strop-tests): Add strstr and strcasestr.
37762         * string/str-two-way.h: Don't undefine MAX.
37763         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37765 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37768         strcasestr-nonascii.
37769         (CFLAGS-strcasestr-nonascii.c): Define.
37770         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37771         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37772         Remove unused attribute.
37774 2010-07-20  Roland McGrath  <roland@redhat.com>
37776         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37777         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37778         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37779         like LD_HWCAP_MASK can disable hwcaps.
37781 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37783         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37785 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37787         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37788         call in strcasestr.
37789         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37790         __strcasestr_sse42_nonascii.
37791         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37792         strcasestr-nonascii.c.
37793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37795 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37797         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37798         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37799         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37800         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37802 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37804         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37805         fcntl.
37807 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37809         [BZ #11577]
37810         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37811         dl_signal_cerror.
37813 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37816         _PC_PIPE_BUF using F_GETPIPE_SZ.
37818 2010-07-05  Roland McGrath  <roland@redhat.com>
37820         * manual/arith.texi (Rounding Functions): Fix rint description
37821         implicit in round description.
37823 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37825         * elf/Makefile: Fix linking for a few tests to make recent linker
37826         happy.
37828 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37830         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37831         $(common-objpfx)libc_nonshared.a.
37833 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37835         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37836         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37837         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37838         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37839         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37840         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37841         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37842         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37857         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37858         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37859         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37860         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37861         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37862         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37863         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37864         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37865         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37866         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37867         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37868         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37884 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37886         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37887         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37888         * string/memmove.c (memmove): Renamed to ...
37889         (MEMMOVE): ...this.  Default to memmove.
37890         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37891         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37892         (END_CHK): Define.
37893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37894         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37895         mempcpy-ssse3-back memmove-ssse3-back.
37896         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37897         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37898         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37899         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37900         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37901         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37902         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37903         * sysdeps/x86_64/multiarch/memmove.c: New file.
37904         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37905         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37906         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37907         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37908         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37909         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37910         Define.
37911         (index_Fast_Copy_Backward): Define.
37912         (HAS_ARCH_FEATURE): Define.
37913         (HAS_FAST_REP_STRING): Define.
37914         (HAS_FAST_COPY_BACKWARD): Define.
37916 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37918         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37919         Restore proper fallback handling.
37921 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37923         [BZ #11701]
37924         * posix/group_member.c (__group_member): Correct checking loop.
37926         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37927         OOM in getpwuid_r correctly.  Return error number when the caller
37928         should return, otherwise -1.
37929         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37930         call returning > 0 value.
37931         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37933 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37935         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37936         libc_nonshared.a from targets in modules-names.
37938 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37940         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37941         requires it.
37943 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37946         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37947         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37948         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37950 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37952         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37954 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37956         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37957         and F_GETPIPE_SZ.
37958         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37959         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37962         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37963         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37965 2010-06-14  Roland McGrath  <roland@redhat.com>
37967         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37969 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37971         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37972         __REDIRECT followed by __THROW.
37973         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37974         * posix/getopt.h (getopt): Likewise.
37976 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37978         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37979         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37980         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37981         in AT_FLAGS.
37982         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37983         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37985 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37989 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37991         [BZ #11640]
37992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37993         Properly check family and model.
37995 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37997         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37999 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38001         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38003 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38005         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38006         symbol reference.
38008 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38010         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38011         symbol reference.
38013 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38015         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38016         and internal_recvmmsg.
38017         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38018         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38019         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38020         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38022         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38023         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38024         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38026 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38028         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38030 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38032         POWER7 optimizations.
38033         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38034         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38036 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38038         * version.h: Update for 2.13 development version.
38040 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38042         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38043         exceptions.  Return 0.
38045 2010-05-07  Roland McGrath  <roland@redhat.com>
38047         * elf/ldconfig.c (main): Add a const.
38049 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38051         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38052         (args_options): Add no-idn option.
38053         (ahosts_keys_int): Add idn_flags to ai_flags.
38054         (parse_option): Handle 'i' option to clear idn_flags.
38056         * malloc/malloc.c (_int_free): Possible race in the most recently
38057         added check.  Only act on the data if no current modification
38058         happened.
38060 See ChangeLog.17 for earlier changes.