ia64: implement futex requeue pi support
[glibc.git] / ChangeLog
blob584f5896fd0d7683a62714c4a31abc415785a756
1 2013-12-24  Brooks Moses  <bmoses@google.com>
3         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4         all compilers that claim C++98 compliance, not just GCC.
5         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6         Likewise.
8 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10         * NEWS: Restore accidentally deleted bug-fix entries.
12 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13             Ondřej Bílka  <neleai@seznam.cz>
15         [BZ #15073]
16         * malloc/malloc.c (_int_free): Perform sanity check only if we
17         have_lock.
19 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21         [BZ #12986]
22         * manual/stdio.texi (String Input Conversions): Clarify that character
23         classes are not supported.
25 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #16337]
32         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33         Calculate results for small negative arguments directly rather
34         than using reflection formula with special underflow handling.
36         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39         (fchflags): Likewise.
40         (revoke): Likewise.
41         (setlogin): Likewise.
42         (sigaltstack): Likewise.
43         (wait4): Likewise.
44         (sigblock): Remove.
45         (sigsetmask): Likewise.
46         (wait3): Likewise.
47         (waitpid): Likewise.
48         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50         file.
51         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52         * sysdeps/unix/bsd/Makefile: ... here.
53         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54         * sysdeps/unix/bsd/Versions: ... here.
55         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
59         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
60         * sysdeps/unix/bsd/sigblock.c: ... here.
61         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
62         * sysdeps/unix/bsd/sigsetmask.c: ... here.
63         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
64         * sysdeps/unix/bsd/sigvec.c: ... here.
65         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
66         * sysdeps/unix/bsd/tcdrain.c: ... here.
67         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
68         * sysdeps/unix/bsd/tcgetattr.c: ... here.
69         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
70         * sysdeps/unix/bsd/tcsetattr.c: ... here.
71         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
72         * sysdeps/unix/bsd/wait.c: ... here.
73         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
74         * sysdeps/unix/bsd/wait3.c: ... here.
75         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
76         * sysdeps/unix/bsd/waitpid.c: ... here.
78 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #16356]
81         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
82         round-to-nearest for [!USE_AS_EXPM1L].
83         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
84         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
85         more tests of exp and exp10.  Expect some exp10 tests to miss
86         exceptions or fail in directed rounding modes.
87         * math/auto-libm-test-out: Regenerated.
88         * math/libm-test.inc (exp10_tonearest_test_data): New array.
89         (exp10_test_tonearest): New function.
90         (exp10_towardzero_test_data): New array.
91         (exp10_test_towardzero): New function.
92         (exp10_downward_test_data): New array.
93         (exp10_test_downward): New function.
94         (exp10_upward_test_data): New array.
95         (exp10_test_upward): New function.
96         (main): Call the new functions.
97         * sysdeps/i386/fpu/libm-test-ulps: Update.
98         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
100 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
102         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
103         asinh, atan, atan2, atanh, cbrt, cos and cosh.
104         * math/auto-libm-test-out: Regenerated.
105         * math/libm-test.inc (acosh_test_data): Add more tests.
106         (atanh_test_data): Likewise.
107         (ceil_test_data): Likewise.
108         (copysign_test_data): Likewise.
109         * sysdeps/i386/fpu/libm-test-ulps: Update.
110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112         * timezone/checktab.awk: Update from tzcode 2013i.
113         * timezone/private.h: Likewise.
114         * timezone/scheck.c: Likewise.
115         * timezone/tzfile.h: Likewise.
116         * timezone/tzselect.ksh: Likewise.
117         * timezone/zdump.c: Likewise.
118         * timezone/zic.c: Likewise.
120         * math/auto-libm-test-in: Add tests of cpow.
121         * math/auto-libm-test-out: Regenerated.
122         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
123         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
124         mpc_cc_c.
125         (func_calc_desc): Add mpc_cc_c union field.
126         (test_functions): Add cpow.
127         (special_fill_2pi): New function.
128         (special_real_inputs): Add 2pi.
129         (calc_generic_results): Handle mpc_cc_c.
130         * sysdeps/i386/fpu/libm-test-ulps: Update.
131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
133         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
134         csqrt, ctan and ctanh.
135         * math/auto-libm-test-out: Regenerated.
136         * math/libm-test.inc (TEST_COND_x86_64): New macro.
137         (TEST_COND_x86): Likewise.
138         (ccos_test_data): Use AUTO_TESTS_c_c.
139         (ccosh_test_data): Likewise.
140         (cexp_test_data): Likewise.
141         (clog_test_data): Likewise.
142         (csqrt_test_data): Likewise.
143         (ctan_test_data): Likewise.
144         (ctan_tonearest_test_data): Likewise.
145         (ctan_towardzero_test_data): Likewise.
146         (ctan_downward_test_data): Likewise.
147         (ctan_upward_test_data): Likewise.
148         (ctanh_test_data): Likewise.
149         (ctanh_tonearest_test_data): Likewise.
150         (ctanh_towardzero_test_data): Likewise.
151         (ctanh_downward_test_data): Likewise.
152         (ctanh_upward_test_data): Likewise.
153         * math/gen-auto-libm-tests.c (func_calc_method): Add value
154         mpc_c_c.
155         (func_calc_desc): Add mpc_c_c union field.
156         (FUNC_mpc_c_c): New macro.
157         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
158         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
159         ctanh.
160         (special_fill_min_subnorm_p120): New function.
161         (special_real_inputs): Add min_subnorm_p120.
162         (calc_generic_results): Handle mpc_c_c.
163         * sysdeps/i386/fpu/libm-test-ulps: Update.
164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
168         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
169         do_sin_slow): New functions.
170         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
171         cslow2, csloww1, csloww2): Use the new functions.
173         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
174         Use M to change sign of result instead of X.  Assume X is
175         positive.
176         (csloww1): Likewise.
177         (__sin): Adjust.
178         (__cos): Adjust.
180         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
181         arguments A and DA.
182         (__sin): Adjust.
183         (__cos): Likewise.
185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
186         (__cos): Likewise.
187         (sloww1): Don't adjust sign of DX.
188         (csloww1): Likewise.
189         (sloww2): Use X directly and don't adjust sign of DX.
190         (csloww2): Likewise.
192 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
194         * math/auto-libm-test-in: Add tests of cabs and carg.
195         * math/auto-libm-test-out: Regenerated.
196         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
197         (carg_test_data): Likewise.
198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
199         mpc_c_f.
200         (func_calc_desc): Add mpc_c_f union field.
201         (test_functions): Add cabs and carg.
202         (calc_generic_results): Handle mpc_c_f.
204         * sysdeps/powerpc/powerpc32/libgcc-compat.S
205         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
206         as a macro and a compat symbol.
207         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
208         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
209         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
210         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
211         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
212         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
213         not use .hidden.
214         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
215         Likewise.
216         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
217         Likewise.
218         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
219         Likewise.
220         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
221         Likewise.
222         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
223         Likewise.
224         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
225         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
226         from GLIBC_2.3.2.
228 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
232 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
234         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
235         (__signal_safe_memalign, __signal_safe_free): Use it.
236         (__signal_safe_realloc): Likewise.
238 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
240         * manual/texinfo.tex: Update to version 2013-11-26.10 with
241         trailing whitespace removed.
242         * scripts/config.guess: Update to version 2013-11-29.
243         * scripts/config.sub: Update to version 2013-10-01.
245         * math/auto-libm-test-in: Add tests of sincos.
246         * math/auto-libm-test-out: Regenerated.
247         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
248         * math/gen-auto-libm-tests.c (func_calc_method): Add value
249         mpfr_f_11.
250         (func_calc_desc): Add mpfr_f_11 union field.
251         (test_functions): Add sincos.
252         (calc_generic_results): Handle mpfr_f_11.
253         * sysdeps/i386/fpu/libm-test-ulps: Update.
254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256 2013-12-19  Andreas Schwab  <schwab@suse.de>
258         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
259         CALL_MCOUNT.
260         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
261         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
262         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
264 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
266         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
267         * sysdeps/i386/fpu/libm-test-ulps: Update.
268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270         [BZ #16293]
271         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
272         round-to-nearest mode when using frndint.
273         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
274         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
276         Likewise.
277         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
278         sinh test to fail.
279         * math/auto-libm-test-out: Regenerated.
280         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
281         (TEST_COND_x86): Likewise.
282         (expm1_tonearest_test_data): New array.
283         (expm1_test_tonearest): New function.
284         (expm1_towardzero_test_data): New array.
285         (expm1_test_towardzero): New function.
286         (expm1_downward_test_data): New array.
287         (expm1_test_downward): New function.
288         (expm1_upward_test_data): New array.
289         (expm1_test_upward): New function.
290         (main): Run the new test functions.
291         * sysdeps/i386/fpu/libm-test-ulps: Update.
292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
294         * include/features.h: Update comment documenting feature test
295         macros.  Mention _DEFAULT_SOURCE in comment.
296         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
297         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
298         _BSD_SOURCE and _SVID_SOURCE.
299         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
300         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
301         !_SVID_SOURCE]: Likewise.
302         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
303         (__USE_POSIX_IMPLICITLY): Define.
304         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
305         (_POSIX_SOURCE): Undefine and redefine.
306         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
307         (_POSIX_C_SOURCE): Likewise.
308         * manual/creature.texi (_DEFAULT_SOURCE): Document.
309         (Feature Test Macros): Update documentation of default features.
311 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
313         * benchtests/Makefile: Add bench-strtok.
314         * benchtests/bench-strtok.c: New file: strtok benchtest.
316 2013-12-19  Allan McRae  <allan@archlinux.org>
318         * manual/install.texi: Suppress menu for plain text output.
319         * INSTALL: Regenerated.
321 2013-12-18  Andrew Hunter  <ahh@google.com>
323         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
324         (__signal_safe_malloc, __signal_safe_free): Likewise.
325         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
326         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
327         (__signal_safe_memalign, __signal_safe_malloc): New function.
328         (__signal_safe_free, __signal_safe_realloc): Likewise.
329         (__signal_safe_calloc): Likewise.
330         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
331         functions.
332         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
334 2013-12-18  Andrew Hunter  <ahh@google.com>
336         * elf/Versions (ld): Add _dl_clear_dtv.
337         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
338         * elf/dl-tls.c (_dl_clear_dtv): New function.
339         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
341 2013-12-18  Andrew Hunter  <ahh@google.com>
343         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
344         (_dl_unmask_signals): Likewise.
345         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
346         (_dl_unmask_all_signals): Likewise.
347         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
348         (_dl_unmask_all_signals): Likewise.
349         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
350         (_dl_unmask_signals): Likewise.
352 2013-12-18  Brooks Moses  <bmoses@google.com>
354         [BZ #15846]
355         * misc/getauxval.c: Include errno.h.
356         (__getauxval): Set errno to ENOENT if the requested type is not
357         found.
358         * misc/sys/auxv.h (getauxval): Document that it may set errno;
359         don't declare with __attribute_const__.
360         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
361         * manual/startup.texi: Document that getauxval sets errno.
363 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
365         * math/auto-libm-test-in: Add tests of jn and yn.
366         * math/auto-libm-test-out: Regenerated.
367         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
368         (yn_test_data): Likewise.
369         * math/gen-auto-libm-tests.c (func_calc_method): Add value
370         mpfr_if_f.
371         (func_calc_desc): Add mpfr_if_f union field.
372         (FUNC_mpfr_if_f): New macro.
373         (test_functions): Add jn and yn.
374         (calc_generic_results): Assert type of second input for
375         mpfr_ff_f.  Handle mpfr_if_f.
376         (output_for_one_input_case): Disable all checking for arguments
377         fitting floating-point types in case of an integer argument.
378         * sysdeps/i386/fpu/libm-test-ulps: Update.
379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
382         Don't expect fegetround reference in libm.so.
384 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
386         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
387         $(config-cflags-nofma).
389 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
391         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
392         * math/auto-libm-test-out: Regenerated.
394         [BZ #16338]
395         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
396         to determine exponent and adjust argument to have exponent of -1.
397         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
398         log2.
399         * math/auto-libm-test-out: Regenerated.
400         * sysdeps/i386/fpu/libm-test-ulps: Update.
401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
403 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
405         * manual/probes.texi: Remove cases when per-thread arenas are
406         disabled.
408 2013-12-18  Andreas Schwab  <schwab@suse.de>
410         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
411         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
412         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
413         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
414         * sysdeps/i386/i686/multiarch/Makefile: Update.
415         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
417 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
420         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
422 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
424         Support TZ transition times < 00:00:00.
425         This is needed for version-3 tz-format files; it supports time
426         stamps past 2037 for America/Godthab (the only entry in the tz
427         database for which this change is relevant).
428         * manual/time.texi (TZ Variable): Document transition times
429         from -167:59:59 through -00:00:01.
430         * time/tzset.c (tz_rule): Time of day is now signed.
431         (__tzset_parse_tz): Parse negative time of day.
433         Document TZ transition times >= 25:00:00.
434         * manual/time.texi (TZ Variable): Document transition times from
435         25:00:00 through 167:59:59.  These are already supported, and this
436         support will help with version-3 tz-format files.
438         * manual/time.texi (TZ Variable): Modernize North America example
439         to reflect current (i.e., 2007-and-later) daylight saving rules.
441         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
443 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
445         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
446         * sysdeps/unix/bsd/bits/stat.h: Likewise.
447         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
449         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
450         * sysdeps/unix/bsd/bsdstat.h: Likewise.
451         * sysdeps/unix/bsd/clock.c: Likewise.
452         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
453         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
454         * sysdeps/unix/bsd/init-posix.c: Likewise.
455         * sysdeps/unix/bsd/poll.c: Likewise.
456         * sysdeps/unix/bsd/ptsname.c: Likewise.
457         * sysdeps/unix/bsd/seekdir.c: Likewise.
458         * sysdeps/unix/bsd/setegid.c: Likewise.
459         * sysdeps/unix/bsd/seteuid.c: Likewise.
460         * sysdeps/unix/bsd/setgid.c: Likewise.
461         * sysdeps/unix/bsd/setrgid.c: Likewise.
462         * sysdeps/unix/bsd/setruid.c: Likewise.
463         * sysdeps/unix/bsd/setsid.c: Likewise.
464         * sysdeps/unix/bsd/setuid.c: Likewise.
465         * sysdeps/unix/bsd/sigaction.c: Likewise.
466         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
467         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
468         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
469         * sysdeps/unix/bsd/telldir.c: Likewise.
470         * sysdeps/unix/bsd/times.c: Likewise.
471         * sysdeps/unix/bsd/usleep.c: Likewise.
473         * misc/Makefile (install-lib): Remove libbsd-compat.a.
474         ($(objpfx)libbsd-compat.a): Remove rule.
476         * include/features.h (__FAVOR_BSD): Do not define.
477         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
478         features conflicting with POSIX.
479         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
480         (_BSD_SOURCE): Remove description of not being a subset of other
481         feature test macros.
482         * manual/job.texi (getpgrp): Do not document BSD version.
483         (getpgid): Do not document by reference to BSD getpgrp.
484         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
485         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
486         * signal/signal.h [__FAVOR_BSD]: Likewise.
487         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
488         instead of making contents conditional on [__FAVOR_BSD].
489         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
491 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
495 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
497         [BZ #16314]
498         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
499         values below 2**-450, not 2**-500.
500         * math/auto-libm-test-in: Don't allow spurious underflow from
501         hypot.
502         * math/auto-libm-test-out: Regenerated.
504         [BZ #16316]
505         [BZ #16330]
506         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
507         values of ha and hb and sort them after adjusting subnormal
508         arguments.
509         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
510         Likewise.
511         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
512         values of ea and eb and sort them after adjusting subnormal
513         arguments.
514         * math/auto-libm-test-in: Do not expect some hypot tests of
515         subnormals to fail.  Add more hypot tests.
516         * math/auto-libm-test-out: Regenerated.
518 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
520         [BZ #13304]
521         * sysdeps/sh/s_fma.c: New file.
522         * sysdeps/sh/s_fmaf.c: New file.
523         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
524         version.
525         * sysdeps/sh/Implies: Add sh/soft-fp.
527 2013-12-16  Roland McGrath  <roland@hack.frob.com>
529         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
530         level of indirection to members `objname', `errstring', `malloced'.
531         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
532         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
533         it as the __longjmp argument (just pass 1 instead).
534         (_dl_catch_error): Initialize C with argument pointers and address of
535         volatile local ERRCODE rather than copying values out of C at return.
537 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
539         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
540         * math/auto-libm-test-out: Regenerated.
541         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
542         (hypot_test_data): Likewise.
543         (pow_test_data): Likewise.
544         (pow_tonearest_test_data): Likewise.
545         * math/gen-auto-libm-tests.c (func_calc_method): Add value
546         mpfr_ff_f.
547         (func_calc_desc): Add mpfr_ff_f union field.
548         (FUNC_mpfr_ff_f): New macro.
549         (test_functions): Add atan2, hypot and pow.
550         (special_fill_min): New function.
551         (special_fill_minus_min): Likewise.
552         (special_fill_min_subnorm): Likewise.
553         (special_fill_minus_min_subnorm): Likewise.
554         (special_real_inputs): Add min, -min, min_subnorm and
555         -min_subnorm.
556         (calc_generic_results): Handle mpfr_ff_f.
557         * sysdeps/i386/fpu/libm-test-ulps: Update.
558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
560 2013-12-16  Will Newton  <will.newton@linaro.org>
562         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
563         (Aligned Memory Blocks): Add documentation for aligned_alloc
564         and suggest it as an alternative to posix_memalign.
565         (Hooks for Malloc): Document __memalign_hook is also called
566         for aligned_alloc.  (Summary of Malloc): Add summary for
567         aligned alloc.  Document __memalign_hook is also called
568         for aligned_alloc.
570 2013-12-16  Will Newton  <will.newton@linaro.org>
572         * manual/memory.texi (Malloc Examples): Clarify default
573         alignment documentation.  Suggest posix_memalign rather
574         than memalign or valloc.
575         (Aligned Memory Blocks): Remove suggestion to use memalign
576         or valloc.  Remove obsolete comment about BSD.
577         Document memalign errno values and mark the function obsolete.
578         Document posix_memalign returned error codes.  Mark valloc
579         as obsolete.  (Hooks for Malloc): __memalign_hook is also
580         called for posix_memalign and valloc.
581         (Summary of Malloc): Add posix_memalign to function summary.
582         __memalign_hook is also called for posix_memalign and valloc.
584 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
586         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
587         TAYLOR_SIN.
588         (__sin): Adjust.
589         (__cos): Likewise.
590         (sloww): Use mynumber union.  Expand ternary operator into
591         if-else statements.
592         (cslow): use mynumber union.
594 2013-12-16  Allan McRae  <allan@archlinux.org>
596         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
597         * configure: Regenerated.
599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
601         [BZ #14120]
602         * configure.ac: Added --enable-maintainer-mode. Check for
603         autoconf when enabled.
604         * configure: Regenerated.
606         * nscd/nscd.service: New file.
607         * nscd/nscd.tmpfiles: New file.
609 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
611         [BZ #12100]
612         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
613         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
614         * sysdeps/x86_64/multiarch/strstr.c: ... here.
615         (strstr): Add __strstr_sse2_unaligned ifunc.
616         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
617         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
618         (strcasestr): Remove __strcasestr_sse42 ifunc.
619         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
623 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
625         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
626         * sysdeps/sh/bits/fenv.h: ... here.
627         * sysdeps/sh/sh4/fpu/bits: Remove directory.
629 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
631         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
633 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
636         hypotf multiarch implementations.
637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
638         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
639         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
640         multiarch hypot for PPC64.
641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
643         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
644         multiarch hypotf for PPC64.
646 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
649         modff multiarch implementations.
650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
653         multiarch modf for PPC64.
654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
657         multiarch modff for PPC64.
659 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
662         and logl multiarch implementations.
663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
666         multiarch logb for PPC64.
667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
670         multiarch logb for PPC64.
671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
674         multiarch logb for PPC64.
676 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
679         isinff multiarch implementation.
680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
681         file.
682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
684         multiarch isinf for PPC64.
685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
686         file.
687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
688         multiarch isinff for PPC64.
690 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
693         finitef multiarch implementation.
694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
695         file.
696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
698         multiarch finite for PPC64.
699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
700         file.
701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
702         multiarch finitef for PPC64.
704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
707         lrint multiarch implementation.
708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
709         file.
710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
712         multiarch llrint for PPC64.
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
714         multiarch lrint for PPC64.
716 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
719         copysignf multiarch implementation.
720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
721         file.
722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
723         file.
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
725         multiarch copysign for PPC64.
726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
727         multiarch copysignf for PPC64.
729 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
732         multiarch implementation.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
734         file.
735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
736         file.
737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
738         file.
739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
740         file.
741         multiarch llround for PPC64.
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
743         multiarch trunc for PPC64.
744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
745         multiarch truncf for PPC64.
747 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
750         multiarch implementation.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
752         file.
753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
754         file.
755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
756         file.
757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
758         file.
759         multiarch llround for PPC64.
760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
761         multiarch round for PPC64.
762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
763         multiarch roundf for PPC64.
765 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
768         multiarch implementation.
769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
770         file.
771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
772         file.
773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
774         file.
775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
776         file.
777         multiarch llround for PPC64.
778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
779         multiarch floor for PPC64.
780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
781         multiarch floorf for PPC64.
783 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
786         multiarch implementation.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
788         file.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
790         file.
791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
792         file.
793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
794         file.
795         multiarch llround for PPC64.
796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
797         multiarch ceil for PPC64.
798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
799         multiarch ceilf for PPC64.
801 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
804         multiarch implementation.
805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
806         file.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
808         file.
809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
810         file.
811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
812         multiarch llround for PPC64.
813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
814         multiarch lround for PPC64.
816 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
819         multiarch implementation.
820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
823         file.
824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
827         multiarch isnan for PPC64.
828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
829         multiarch isnanf for PPC64.
831 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
833         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
834         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
835         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
836         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
837         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
840 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
842         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
847 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
850         multiarch implementations.
851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
852         (__libc_ifunc_impl_list): Likewise.
853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
856         multiarch stpcpy for PPC64.
858 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
861         multiarch implementations.
862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
863         (__libc_ifunc_impl_list): Likewise.
864         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
865         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
866         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
867         multiarch strcpy for PPC64.
869 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
871         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
872         redefine function name.
873         (_wordcopy_fwd_dest_aligned): Likewise.
874         (_wordcopy_bwd_aligned): Likewise.
875         (_wordcopy_bwd_dest_aligned): Likewise.
876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
877         multiarch implementations.
878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
879         (__libc_ifunc_impl_list): Likewise.
880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
881         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
882         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
884         multiarch wcscpy for PPC64.
886 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
889         multiarch implementations.
890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
891         (__libc_ifunc_impl_list): Likewise.
892         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
893         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
895         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
896         multiarch wcscpy for PPC64.
898 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
901         multiarch implementations.
902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
903         (__libc_ifunc_impl_list): Likewise.
904         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
905         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
906         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
907         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
908         multiarch wcsrchr for PPC64.
910 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
913         multiarch implementations.
914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
915         (__libc_ifunc_impl_list): Likewise.
916         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
917         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
918         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
919         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
920         multiarch wcschr for PPC64.
922 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
925         multiarch implementations.
926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
927         (__libc_ifunc_impl_list): Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
929         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
930         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
931         multiarch strchrnul for PPC64.
933 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
936         implementations.
937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
938         (__libc_ifunc_impl_list): Likewise.
939         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
940         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
941         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
942         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
943         strchr for PPC64.
945 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
948         implementations.
949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
950         (__libc_ifunc_impl_list): Likewise.
951         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
952         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
953         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
954         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
955         strncmp for PPC64.
957 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
960         multiarch implementations.
961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
962         (__libc_ifunc_impl_list): Likewise.
963         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
964         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
965         strncasecmp for PPC64.
966         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
967         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
968         multiarch strncasecmp_l for PPC64.
970 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
973         multiarch implementations.
974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
975         (__libc_ifunc_impl_list): Likewise.
976         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
978         multiarch strcasecmp for PPC64.
979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
980         file.
981         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
982         multiarch strcasecmp_l for PPC64.
984 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
987         implementations.
988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
989         (__libc_ifunc_impl_list): Likewise.
990         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
991         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
992         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
993         strnlen for PPC64.
995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
998         implementations.
999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000         (__libc_ifunc_impl_list): Likewise.
1001         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1002         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1003         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1004         strlen for PPC64.
1006 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1009         implementations.
1010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1011         (__libc_ifunc_impl_list): Likewise.
1012         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1013         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1014         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1015         rawmemrchr for PPC64.
1017 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1020         implementation.
1021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022         (__libc_ifunc_impl_list): Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1024         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1025         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1026         memrchr for PPC64.
1028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1031         implementation.
1032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1033         (__libc_ifunc_impl_list): Likewise.
1034         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1035         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1036         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1037         memchr for PPC64.
1039 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1042         implementation.
1043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1044         (__libc_ifunc_impl_list): Likewise.
1045         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1046         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1047         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1048         mempcpy for PPC64.
1050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1052         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1053         avoid cretion of __bzero symbol.
1054         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1055         Likewise.
1056         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1057         Likewise.
1058         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1059         Likewise.
1060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1061         multiarch implementations.
1062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1063         (__libc_ifunc_impl_list): Likewise.
1064         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1065         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1066         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1067         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1068         bzero for PPC32.
1069         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1070         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1071         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1072         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1073         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1074         memset for PPC64.
1075         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1077 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1079         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1081         implementations.
1082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1083         (__libc_ifunc_impl_list): Likewise.
1084         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1085         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1086         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1087         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1088         memcmp for PPC64.
1090 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1093         multiarch for POWER/PPC64.
1094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1098         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1099         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1101         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1102         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1103         memcpy for PPC64.
1105 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1107         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1108         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1109         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1110         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1111         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1112         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1113         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1114         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1115         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1116         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1117         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1118         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1119         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1120         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1121         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1130 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1132         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1134 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1136         * benchtests/Makefile (bench): Add exp2 and log2.
1137         (LDLIBS-bench-exp2): Add -lm.
1138         (LDLIBS-bench-log2): Likewise.
1139         * benchtests/exp2-inputs: New inputs file.
1140         * benchtests/log2-inputs: New inputs file.
1141         * benchtests/log-inputs: Add new inputs.
1142         * benchtests/tan-inputs: Likewise.
1144 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1146         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1147         definition...
1148         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1149         csloww1, csloww2): ... from here.
1151         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1152         instead of structures.
1153         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1154         (POLYNOMIAL): Likewise.
1155         (TAYLOR_SLOW): Likewise.
1156         (__sin): Likewise.
1157         (__cos): Likewise.
1158         (slow1): Likewise.
1159         (slow2): Likewise.
1160         (sloww): Likewise.
1161         (sloww1); Likewise.
1162         (sloww2): Likewise.
1163         (bsloww1): Likewise.
1164         (bsloww2): Likewise.
1165         (cslow2): Likewise.
1166         (csloww): Likewise.
1167         (csloww1): Likewise.
1168         (csloww2): Likewise.
1170 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1172         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1173         (__malloc_assert, __libc_realloc, __libc_calloc,
1174         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1175         memcpy and memset.
1176         * malloc/hooks.c (realloc_check): Likewise.
1178 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1180         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1181         * malloc/arena.c: Remove PER_THREAD conditional.
1182         [!PER_THREAD]: Remove code.
1183         (ptmalloc_unlock_all2): Likewise.
1184         (ptmalloc_init): Likewise.
1185         (_int_new_arena): Likewise.
1186         (arena_get2): Likewise.
1187         * malloc/hooks.c (__malloc_get_state): Likewise.
1188         (__malloc_set_state): Likewise.
1189         * malloc/malloc.c: Likewise.
1190         (struct malloc_state): Likewise.
1191         (struct malloc_par): Likewise.
1192         (__libc_realloc): Likewise.
1193         (__libc_mallopt): Likewise.
1195 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1197         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1199 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1201         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1202         macro to a function.  Check for zero perturb_byte.
1203         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1205 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1207         * malloc/malloc.c: (force_reg): Remove.
1208         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1209         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1210         force_reg by atomic_forced_read.
1211         * malloc/arena.c (ptmalloc_init): Likewise.
1212         * malloc/hooks.c (top_check): Likewise.
1214 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1218 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1222 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1224         * math/auto-libm-test-in: Add tests of lgamma.
1225         * math/auto-libm-test-out: Regenerated.
1226         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1227         (M_LOG_2_SQRT_PIl): Likewise.
1228         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1229         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1230         mpfr_f_f1.
1231         (func_calc_desc): Add mpfr_f_f1 union field.
1232         (ARGS1): New macro.
1233         (ARGS2): Likewise.
1234         (ARGS3): Likewise.
1235         (ARGS4): Likewise.
1236         (RET1): Likewise.
1237         (RET2): Likewise.
1238         (CALC): Likewise.
1239         (FUNC): Likewise.
1240         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1241         (test_functions): Add lgamma.
1242         (calc_generic_results): Handle mpfr_f_f1.
1243         * sysdeps/i386/fpu/libm-test-ulps: Update.
1244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1249         __mpn_add_n for PowerPC64/POWER7.
1250         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1251         __mpn_sub_n for PowerPC64/POWER7.
1253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1255         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1256         __mpn_addmul_1 for PowerPC64.
1257         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1258         __mpn_submul_1 for PowerPC64.
1259         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1260         for PowerPC64.
1261         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1262         for PowerPC64.
1264 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1266         [BZ #15089]
1267         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1269 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1273 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1275         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1276         add multiarch folders.
1277         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1278         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1279         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1280         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1281         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1282         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1283         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1284         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1285         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1286         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1287         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1295 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1298         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1300         New file.
1301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1302         New file.
1303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1304         multiarch __ieee754_hypot for PowerPC32.
1305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1306         New file.
1307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1308         New file.
1309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1310         multiarch __ieee754_hypotf for PowerPC32.
1312 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1315         long_double_symbol only if __logbl is defined.
1316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1323         path for implementation.
1324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1327         logb, and logbl multiarch implementations for PowerPC32.
1328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1329         file.
1330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1331         file.
1332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1333         multiarch logb for PowerPC32.
1334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1335         file.
1336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1337         file.
1338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1339         multiarch logbf for PowerPC32.
1340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1342         file.
1343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1344         multiarch logbl implementation for PowerPC32.
1346 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1349         and modff multiarch implementations.
1350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1351         New file.
1352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1353         New file.
1354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1355         multiarch modf for PowerPC32.
1356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1357         New file.
1358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1359         New file.
1360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1361         multiarch modff for PowerPC32.
1363 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1366         and lrintf multiarch implementations.
1367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1368         New file.
1369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1370         New file.
1371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1372         multiarch lrint for PowerPC32.
1373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1374         file: multiarch lrintf for PowerPC32.
1376 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1379         and lroundf multiarch implementations.
1380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1381         New file.
1382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1383         New file.
1384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1385         New file.
1386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1387         multiarch lround for PowerPC32.
1388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1389         file: multiarch lroundf for PowerPC32.
1391 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1394         copysign and copysignf multiarch implementations.
1395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1396         New file.
1397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1398         New file.
1399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1400         file: multiarch copysign for PowerPC32.
1401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1402         file: multiarch copysignf for PowerPC32.
1404 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1407         and truncf multiarch implementations.
1408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1409         New file.
1410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1411         file.
1412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1413         multiarch trunc for PowerPC32.
1414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1415         New file.
1416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1417         New file.
1418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1419         multiarch truncf for PowerPC32.
1421 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1424         and roundf multiarch implementations.
1425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1426         New file.
1427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1428         file.
1429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1430         multiarch round for PowerPC32.
1431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1432         New file.
1433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1434         New file.
1435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1436         multiarch roundf for PowerPC32.
1438 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1441         and floorf multiarch implementations.
1442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1443         New file.
1444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1445         file.
1446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1447         multiarch floor for PowerPC32.
1448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1449         New file.
1450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1451         New file.
1452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1453         multiarch floorf for PowerPC32.
1455 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1458         and ceilf multiarch implementations.
1459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1460         New file.
1461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1462         file.
1463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1464         multiarch ceil for PowerPC32.
1465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1466         New file.
1467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1468         file.
1469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1470         multiarch ceilf for PowerPC32.
1472 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1475         is defined.
1476         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1477         FINITEF is defined.
1478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1479         and finitef multiarch implementations.
1480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1481         New file.
1482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1483         file.
1484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1485         multiarch finite for PowerPC32.
1486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1487         New file.
1488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1489         file: multiarch finitef for PowerPC32.
1491 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1494         and isinff multiarch implementations.
1495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1496         file.
1497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1498         file.
1499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1500         multiarch isinf for PowerPC32.
1501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1502         New file.
1503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1504         multiarch isinff for PowerPC32.
1506 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1508         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1509         alias when __isnan is defined.
1510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1511         and isnanf multiarch implementations.
1512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1513         file.
1514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1515         file.
1516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1517         file.
1518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1519         file.
1520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1521         multiarch isnan for PowerPC32.
1522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1523         New file.
1524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1525         New file.
1526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1527         multiarch isnanf for PowerPC32.
1529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1532         and sqrtf multiarch implementations.
1533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1534         file.
1535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1536         file.
1537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1538         multiarch sqrt for PowerPC32.
1539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1540         file.
1541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1542         file.
1543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1544         multiarch sqrtf for PowerPC32.
1546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1549         and llroundf multiarch implementations.
1550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1551         New file.
1552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1553         New file.
1554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1555         New file.
1556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1557         file: multiarch llround for PowerPC32.
1558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1559         file: multiarch llroundf for PowerPC32.
1561 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1564         multiarch PowerPC32 fpu implementations.
1565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1566         New file.
1567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1568         New file.
1569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1570         multiarch llrint for PowerPC32.
1571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1572         New file.
1573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1574         New file.
1575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1576         file.
1578 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1582 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1584         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1585         file.
1586         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1587         file.
1588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1589         file.
1590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1591         multiarch wordcopy for PPC32.
1592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1593         wordcopy objects.
1594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1595         (__libc_ifunc_impl_list): Likewise.
1596         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1597         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1598         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1599         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1600         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1601         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1603 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1605         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1607         file.
1608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1609         file.
1610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1611         file.
1612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1613         multiarch wcscpy for PPC32.
1614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1615         multiarch objects.
1616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1617         (__libc_ifunc_impl_list): Likewise.
1618         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1619         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1620         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1621         sysdeps/powerpc/power6/wcscpy.c.
1623 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1625         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1627         file.
1628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1629         file.
1630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1631         file.
1632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1633         multiarch wcsrchr for PPC32.
1634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1635         multiarch objects.
1636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1637         (__libc_ifunc_impl_list): Likewise.
1638         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1639         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1640         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1641         sysdeps/powerpc/power6/wcsrchr.c.
1643 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1646         file.
1647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1648         file.
1649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1651         multiarch wcschr for PPc32.
1652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1653         multiarch objects.
1654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1655         (__libc_ifunc_impl_list): Likewise.
1656         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1657         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1658         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1659         sysdeps/powerpc/power6/wcschr.c.
1661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1665         file.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1667         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1668         file: multiarch strchr for PPC32.
1669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1670         multiarch objects.
1671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1672         (__libc_ifunc_impl_list): Likewise.
1674 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1676         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1677         name.
1678         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1679         file.
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1681         file.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1683         multiarch strchrnul for PPC32.
1684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1685         multiarch objects.
1686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1687         (__libc_ifunc_impl_list): Likewise.
1689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1691         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1692         file.
1693         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1694         multiarch strncasecmp for PPC32.
1695         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1696         file.
1697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1698         multiarch strncasecmp_l for PPC32.
1699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1700         strncasecmp multiarch objects.
1701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1702         (__libc_ifunc_impl_list): Likewise.
1704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1706         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1707         file.
1708         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1709         multiarch strncasecmp for PPC32.
1710         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1711         New file.
1712         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1713         multiarch strcasecmp_l for PPC32.
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1715         multiarch objects.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1717         (__libc_ifunc_impl_list): Likewise.
1719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1722         file.
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1724         file.
1725         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1726         multiarch strncmp for PPC32.
1727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1728         multiarch objects.
1729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1730         (__libc_ifunc_impl_list): Likewise.
1732 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1734         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1735         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1736         file.
1737         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1738         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1740         multiarch objects.
1741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1742         (__libc_ifunc_impl_list): Likewise.
1744 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1746         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1747         file.
1748         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1749         file.
1750         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1752         multiarch objects.
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1754         (__libc_ifunc_impl_list): Likewise.
1756 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1758         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1759         file.
1760         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1761         file.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1763         multiarch rawmemchr for PPC32.
1764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1765         multiarch objects.
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1767         (__libc_ifunc_impl_list): Likewise.
1769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1771         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1772         file.
1773         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1774         file.
1775         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1776         file: memrchr multiarch for PPC32.
1777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1778         multiarch objects.
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1780         (__libc_ifunc_impl_list): Likewise.
1782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1784         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1785         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1786         file.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1789         multiarch memchr for PPC32.
1790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1791         multiarch objects.
1792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1793         (__libc_ifunc_impl_list): Likewise.
1795 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1797         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1798         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1799         file.
1800         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1801         file.
1802         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1803         file: multiarch mempcpy for PPC32.
1804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1805         multiarch objects.
1806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1807         (__libc_ifunc_impl_list): Likewise.
1809 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1815         multiarch bzero for PPC32.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1817         file.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1819         file.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1821         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1822         file: multiarch memset for PPC32.
1823         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1825         memset multiarch objects.
1826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1827         (__libc_ifunc_impl_list): Likewise.
1829 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1832         file.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1835         memcmp for PPC32.
1836         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1838         multiarch objects.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1840         (__libc_ifunc_impl_list): Likewise.
1842 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1847         file.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1849         file.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1851         file.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1853         multiarch memcpy for PPC32.
1854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1855         multiarch objects.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1857         (__libc_ifunc_impl_list): Likewise.
1859 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1862         support multiarch for POWER/PPC32.
1863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1864         Likewise.
1865         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1867         Implies file to make multiarch folder appers before the fpu and
1868         default folder for power4 configuration.
1870 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1872         * scripts/bench.pl: Append volatile keyword to type.
1874 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1876         * sysdeps/sh/sotruss-lib.c: New file.
1877         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1879 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1883 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1885         [BZ #6810]
1886         * math/w_tgamma.c: Include <errno.h>.
1887         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1888         * math/w_tgammaf.c: Include <errno.h>.
1889         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1890         * math/w_tgammal.c: Include <errno.h>.
1891         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1892         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1893         underflow.  Add more tgamma tests.
1894         * math/auto-libm-test-out: Regenerated.
1895         * sysdeps/i386/fpu/libm-test-ulps: Update.
1896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1898         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1899         sin, sinh, tan, tanh, tgamma, y0 and y1.
1900         * math/auto-libm-test-out: Regenerated.
1901         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1902         (TEST_COND_x86): Likewise.
1903         (M_E2l): Remove macro.
1904         (M_E3l): Likewise.
1905         (M_2_SQRT_PIl): Likewise.
1906         (M_SQRT_PIl): Likewise.
1907         (M_1_DIV_El): Likewise.
1908         (log_test_data): Use AUTO_TESTS_f_f.
1909         (log10_test_data): Likewise.
1910         (log1p_test_data): Likewise.
1911         (log2_test_data): Likewise.
1912         (sin_test_data): Likewise.
1913         (sin_tonearest_test_data): Likewise.
1914         (sin_towardzero_test_data): Likewise.
1915         (sin_downward_test_data): Likewise.
1916         (sin_upward_test_data): Likewise.
1917         (sinh_test_data): Likewise.
1918         (sinh_tonearest_test_data): Likewise.
1919         (sinh_towardzero_test_data): Likewise.
1920         (sinh_downward_test_data): Likewise.
1921         (sinh_upward_test_data): Likewise.
1922         (tan_test_data): Likewise.
1923         (tan_tonearest_test_data): Likewise.
1924         (tan_towardzero_test_data): Likewise.
1925         (tan_downward_test_data): Likewise.
1926         (tan_upward_test_data): Likewise.
1927         (tanh_test_data): Likewise.
1928         (tgamma_test_data): Likewise.
1929         (y0_test_data): Likewise.
1930         (y1_test_data): Likewise.
1931         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1932         (special_real_inputs): Add pi/4.
1933         * sysdeps/i386/fpu/libm-test-ulps: Update.
1934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1936 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1938         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1939         "longjmp_target" static probes.
1940         (__longjmp): Rename to __longjmp_symbol.
1941         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1942         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1943         on which longjmp to generate.
1944         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1945         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1946         probe.
1947         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1948         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1949         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1950         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1951         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1952         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1954         __longjmp_symbol based on which __longjmp to generate.
1955         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1956         probe.
1957         (setjmp): Rename to setjmp_symbol.
1958         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1959         (_setjmp): Rename to _setjmp_symbol.
1960         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1961         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1962         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1963         which setjmp to generate.
1964         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1965         "longjmp_target" static probes.
1967 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1969         * benchtests/README: Add note about output arguments.
1970         * benchtests/bench-sincos.c: Remove file.
1971         * benchtests/sincos-inputs: New file.
1972         * scripts/bench.pl: Identify output arguments and define
1973         static variables for them.
1975         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1977         [BZ #15941]
1978         * Makefile (INSTALL): Add install-plain.texi as the primary
1979         dependency.
1980         * manual/install-plain.texi: New file.
1981         * manual/install.texi: Include node directive only for
1982         non-plaintext output.
1984 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1986         * stdlib/longlong.h: Update from GCC.
1988         [BZ #6807]
1989         [BZ #15901]
1990         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1991         * math/w_j0f.c (y0f): Likewise.
1992         * math/w_j0l.c (__y0l): Likewise.
1993         * math/w_j1.c (y1): Likewise.
1994         * math/w_j1f.c (y1f): Likewise.
1995         * math/w_j1l.c (__y1l): Likewise
1996         * math/w_jn.c (yn): Likewise.
1997         * math/w_jnf.c (ynf): Likewise.
1998         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1999         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2000         value for Bessel function domain errors outside _SVID_ mode.
2001         Adjust sign of return value for yn (negative integer, 0).
2002         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2003         by zero in return for negative x and set sign appropriately for
2004         negative n.
2005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2006         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2007         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2008         expectations in error cases.
2009         (y1_test_data): Likewise.
2010         (yn_test_data): Likewise.
2011         * sysdeps/i386/fpu/libm-test-ulps: Update.
2012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2016         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2017         "64" to "64-v1".  Add "64-v2".
2018         (abi-64-options): Rename to ...
2019         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2020         (abi-64-condition): Rename to ...
2021         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2022         (abi-64-ld-soname): Rename to ...
2023         (abi-64-v1-ld-soname): ... this.
2024         (abi-64-v2-options): Define.
2025         (abi-64-v2-condition): Likewise.
2026         (abi-64-v2-ld-soname): Likewise.
2027         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2028         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2033 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2034             Alan Modra  <amodra@gmail.com>
2036         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2037         New versions for use with the ELFv2 ABI.
2038         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2039         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2040         declaration.
2041         (struct La_ppc64v2_retval): Likewise.
2042         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2043         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2044         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2045         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2046         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2047         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2048         Do not save or restore CR.
2049         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2050         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2051         return values for ELFv2 ABI.  Fix location of FPR return registers.
2052         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2053         updated values for _CALL_ELF == 2.
2054         (La_regs, La_retval, int_retval): Likewise.
2056 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2058         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2059         (FRAME_MIN_SIZE_PARM): Likewise.
2060         (FRAME_BACKCHAIN): Likewise.
2061         (FRAME_CR_SAVE): Likewise.
2062         (FRAME_LR_SAVE): Likewise.
2063         (FRAME_TOC_SAVE): Likewise.
2064         (FRAME_PARM_SAVE): Likewise.
2065         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2066         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2067         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2068         (call_mcount_parm_offset): New macro.
2069         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2070         (PROF): Use symbolic stack frame offsets.
2071         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2072         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2073         Redefine in terms of FRAME_MIN_SIZE.
2074         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2075         (_dl_profile_resolve): Likewise.  Update comment.
2076         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2077         symbols stack frame offsets.
2078         (__sigsetjmp): Likewise.
2079         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2080         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2081         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2082         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2085         (FRAME_BACKCHAIN): Remove.
2086         (FRAME_CR_SAVE): Likewise.
2087         (FRAME_LR_SAVE): Likewise.
2088         (FRAME_COMPILER_DW): Likewise.
2089         (FRAME_LINKER_DW): Likewise.
2090         (FRAME_TOC_SAVE): Likewise.
2091         (FRAME_PARM_SAVE): Likewise.
2092         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2093         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2094         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2096         (CHECK_SP): Use symbolic stack frame offsets.
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2098         zone" instead of caller's parameter save area for temp storage.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2100         Likewise.  Also, use symbolic stack frame offsets.
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2102         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2103         our own stack frame instead of the caller's.
2104         (__socket): Use symbolic stack frame offsets.
2106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2107             Alan Modra  <amodra@gmail.com>
2109         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2110         Define.
2111         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2112         PPC64_LOCAL_ENTRY_OFFSET): Define.
2113         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2114         New function.
2115         (elf_machine_fixup_plt): Call it.
2116         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2117         reloc arguments.
2118         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2119         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2120         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2121         r2 before calling target.
2123 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2124             Alan Modra  <amodra@gmail.com>
2126         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2127         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2128         versions of macros to support ELFv2 ABI.
2129         (LOCALENTRY): New macro.
2130         (ENTRY, EALIGN): Use it.
2131         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2132         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2133         fall through into ENTRY entry point.
2134         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2135         Only define if _CALL_ELF != 2.
2137         (elf_machine_matches_host): Verify ABI version matches.
2138         (RTLD_START): Use LOCALENTRY.
2139         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2140         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2141         (PLT_ENTRY_WORDS): New macro.
2142         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2143         (elf_machine_runtime_setup): Support ELFv2 ABI.
2144         (elf_machine_fixup_plt): Likewise.
2145         (elf_machine_plt_conflict): Likewise.
2146         (resolve_ifunc): Likewise.
2147         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2148         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2149         Likewise.
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2151         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2153         (makecontext): Support ELFv2 ABI.
2154         * elf/elf.h (EF_PPC64_ABI): Define.
2156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2158         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2159         New assembler macro.
2160         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2161         [ASSEMBLER] (ENTRY): ... but instead here ...
2162         [ASSEMBLER] (EALIGN): ... and here.
2163         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2164         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2165         [!ASSEMBLER] (ENTRY_2): Use it.
2166         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2167         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2169         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2170         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2172         Use PPC64_LOAD_FUNCPTR.
2174 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2176         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2178 2013-12-04  Alan Modra  <amodra@gmail.com>
2180         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2181         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2182         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2183         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2186         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2187         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2188         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2189         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2190         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2195         (__makecontext): Fix incorrect CFI when backtracing out of
2196         context created via makecontext.
2197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2198         (__setcontext): Fix incorrect CFI during switch to new context.
2199         (__novec_setcontext): Likewise.
2201 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2203         [BZ #4772]
2204         * time/strptime_l.c (__strptime_internal): Allow modifiers
2205         in strptime.
2206         * time/tst-strptime.c (day_tests): Add testcase.
2209 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2211         * scripts/bench.pl: Skip over blank lines.
2213 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2215         [BZ #926]
2216         * manual/time.texi (Calendar Time): Clarify what timezone functions
2217         use.
2219 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2223 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2225         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2226         implementation.
2227         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2228         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2229         * debug/memset_chk.c (__memset_chk): Likewise.
2230         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2231         * debug/strncpy_chk.c: Likewise.
2233 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2235         [BZ #15268]
2236         [BZ #15425]
2237         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2238         (__ieee754_exp): For possibly underflowing results, check size of
2239         result and force underflow exception if required.
2240         * math/auto-libm-test-in: Add more tests of exp.
2241         * math/auto-libm-test-out: Regenerated.
2242         * sysdeps/i386/fpu/libm-test-ulps: Update.
2243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2245         [BZ #16283]
2246         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2247         * math/w_exp2f.c (__exp2f): Likewise.
2248         * math/w_exp2l.c (__exp2l): Likewise.
2249         * math/auto-libm-test-in: Do not allow missing errno on exp2
2250         underflow.
2251         * math/auto-libm-test-out: Regenerated.
2253 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2255         [BZ #16274]
2256         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2257         handle filename validation.
2258         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2259         (do_open): Delete.
2261 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2263         [BZ #6786]
2264         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2265         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2266         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2267         <float.h>.
2268         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2269         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2270         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2272         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2273         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2274         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2275         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2276         Add more erfc tests.
2277         * math/auto-libm-test-out: Regenerated.
2278         * sysdeps/i386/fpu/libm-test-ulps: Update.
2279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2282         exp2, expm1, j0 and j1.
2283         * math/auto-libm-test-out: Regenerated.
2284         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2285         (erfc_test_data): Likewise.
2286         (exp_test_data): Likewise.
2287         (exp_tonearest_test_data): Likewise.
2288         (exp_towardzero_test_data): Likewise.
2289         (exp_downward_test_data): Likewise.
2290         (exp_upward_test_data): Likewise.
2291         (exp10_test_data): Likewise.
2292         (exp2_test_data): Likewise.
2293         (expm1_test_data): Likewise.
2294         (j0_test_data): Likewise.
2295         (j1_test_data): Likewise.
2296         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2297         (input_flag_type): Add flag_xfail_rounding.
2298         (input_flags): Add xfail-rounding.
2299         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2300         (output_for_one_input_case): Handle flag_xfail_rounding.
2301         * sysdeps/i386/fpu/libm-test-ulps: Update.
2302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2304 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2306         [BZ #16289]
2307         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2308         division by 0.
2310 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2312         [BZ #16195]
2313         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2314         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2315         (STAP_PROBE0): New macro.
2316         (STAP_PROBE1): Likewise.
2317         (STAP_PROBE2): Likewise.
2318         (STAP_PROBE3): Likewise.
2319         (STAP_PROBE4): Likewise.
2321 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2323         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2325 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2327         * benchtests/Makefile (bench): Add sqrt.
2328         (LDLIBS-bench-sqrt): New.
2329         * benchtests/sqrt-input: New.
2331 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2333         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2334         (GAIH_EAI): Likewise.
2335         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2336         (gaih_inet): Likewise.
2337         (getaddrinfo): Don't use GAIH_EAI.
2339         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2340         (struct gaih): Remove definition.
2342 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2344         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2345         Use HERRNOP directly.
2347 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2351 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2353         * math/gen-auto-libm-tests.c (test_functions): Add more
2354         single-argument functions.
2355         (special_fill_pi_2): New function.
2356         (special_fill_minus_pi_2): Likewise.
2357         (special_fill_pi_6): Likewise.
2358         (special_fill_minus_pi_6): Likewise.
2359         (special_fill_pi_3): Likewise.
2360         (special_fill_2pi_3): Likewise.
2361         (special_fill_e): Likewise.
2362         (special_fill_1_e): Likewise.
2363         (special_fill_e_minus_1): Likewise.
2364         (special_real_inputs): Add more special inputs.
2365         (output_for_one_input_case): Do not require ERANGE on underflow to
2366         zero if round-to-nearest result does not underflow to zero, unless
2367         exact results required.
2368         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2369         atan, atanh, cbrt, cos and cosh.
2370         * math/auto-libm-test-out: Regenerated.
2371         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2372         (acos_tonearest_test_data): Likewise.
2373         (acos_towardzero_test_data): Likewise.
2374         (acos_downward_test_data): Likewise.
2375         (acos_upward_test_data): Likewise.
2376         (acosh_test_data): Likewise.
2377         (asin_test_data): Likewise.
2378         (asin_tonearest_test_data): Likewise.
2379         (asin_towardzero_test_data): Likewise.
2380         (asin_upward_test_data): Likewise.
2381         (asinh_test_data): Likewise.
2382         (atan_test_data): Likewise.
2383         (atanh_test_data): Likewise.
2384         (cbrt_test_data): Likewise.
2385         (cos_test_data): Likewise.
2386         (cos_tonearest_test_data): Likewise.
2387         (cos_towardzero_test_data): Likewise.
2388         (cos_downward_test_data): Likewise.
2389         (cos_upward_test_data): Likewise.
2390         (cosh_test_data): Likewise.
2391         (cosh_tonearest_test_data): Likewise.
2392         (cosh_towardzero_test_data): Likewise.
2393         (cosh_downward_test_data): Likewise.
2394         (cosh_upward_test_data): Likewise.
2395         * sysdeps/i386/fpu/libm-test-ulps: Update.
2396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2398 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2400         [BZ #6787]
2401         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2402         * math/w_exp10f.c (__exp10f): Likewise.
2403         * math/w_exp10l.c (__exp10l): Likewise.
2404         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2405         errno settings in existing tests.
2407         [BZ #14032]
2408         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2409         precision control set to double precision.
2410         * sysdeps/i386/fpu/w_sqrt.c: New file.
2411         * math/auto-libm-test-in: Add more tests.
2412         * math/auto-libm-test-out: Update.
2414         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2415         (sqrt_test_tonearest): New function.
2416         (sqrt_towardzero_test_data): New variable.
2417         (sqrt_test_towardzero): New function.
2418         (sqrt_downward_test_data): New variable.
2419         (sqrt_test_downward): New function.
2420         (sqrt_upward_test_data): New variable.
2421         (sqrt_test_upward): New function.
2422         (main): Call the new functions.
2424         * math/gen-auto-libm-tests.c: New file.
2425         * math/auto-libm-test-in: Likewise.
2426         * math/auto-libm-test-out: New generated file.
2427         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2428         variables.
2429         (%beautify): Add generated representations of zero.
2430         (top level): Set $auto_input and call parse_auto_input.
2431         (beautify): Remove trailing "f" from hex float constants.
2432         (parse_args): Handle XFAIL_TEST.
2433         (convert_condition): New function.
2434         (or_value): Likewise.
2435         (or_cond_value): Likewise.
2436         (generate_testfile): Handle AUTO_TESTS_* lines.
2437         (parse_auto_input): New function.
2438         * math/libm-test.inc (XFAIL_TEST): New macro.
2439         (ERRNO_UNCHANGED): Update value.
2440         (ERRNO_EDOM): Likewise.
2441         (ERRNO_ERANGE): Likewise.
2442         (IGNORE_RESULT): Likewise.
2443         (TEST_COND_flt_32): New macro.
2444         (TEST_COND_dbl_64): Likewise.
2445         (TEST_COND_ldbl_96_intel): Likewise.
2446         (TEST_COND_ldbl_96_m68k): Likewise.
2447         (TEST_COND_ldbl_128): Likewise.
2448         (TEST_COND_ldbl_128ibm): Likewise.
2449         (TEST_COND_long32): Likewise.
2450         (TEST_COND_long64): Likewise.
2451         (TEST_COND_before_rounding): Likewise.
2452         (TEST_COND_after_rounding): Likewise.
2453         (enable_test): Handle XFAIL_TEST flag.
2454         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2455         with finite results.
2456         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2457         auto-libm-test-out.
2459 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2460             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2462         [BZ #16214]
2463         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2464         __tls_get_addr_internal instead of __tls_get_offset in order to
2465         avoid GOT pointer dependency.  Make rtld export
2466         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2467         __tls_get_addr since we are a __tls_get_offset platform.
2468         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2469         GOT pointer being set up before.
2470         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2472 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2474         * manual/math.texi (Errors in Math Functions): Document accuracy
2475         goals.
2477         [BZ #15004]
2478         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2479         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2481         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2482         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2483         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2484         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2485         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2487         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2489         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2490         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2492         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2493         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2495         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2496         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2497         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2498         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2499         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2500         Likewise.
2501         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2502         Likewise.
2503         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2504         Likewise.
2505         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2506         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2507         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2508         atomic-feupdateenv and flt-rounds.
2509         * sysdeps/powerpc/nofpu/Versions (libc): Add
2510         __atomic_feholdexcept, __atomic_feclearexcept,
2511         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2512         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2513         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2514         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2515         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2516         here.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2518         Update.
2520         * manual/arith.texi (FP Exceptions): Document that exceptions may
2521         not be raised when matherr is used.
2522         (Math Error Reporting): Document overflow in directed rounding
2523         modes.  Document that errno may not be set when finite values are
2524         returned on overflow.  Document intent to set errno on underflow
2525         only for underflow to zero.
2527         [BZ #16271]
2528         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2529         round-to-nearest then adjust result for other rounding modes.
2530         * include/fenv.h (fegetround): Use libm_hidden_proto.
2531         * math/fegetround.c (fegetround): Use libm_hidden_def.
2532         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2533         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2534         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2535         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2536         Likewise.
2537         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2538         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2539         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2540         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2542 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2544         [BZ #16077]
2545         * nss/Versions (libnss_files): Add
2546         _nss_files_gethostbyname3_r.
2547         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2548         New function.
2549         (HOST_DB_LOOKUP): Remove macro.
2550         (_nss_files_gethostbyname_r): Implement function without the
2551         HOST_DB_LOOKUP macro.
2552         (_nss_files_gethostbyname2_r): Likewise.
2554 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2556         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2558 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2560         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2561         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2562         warning.
2564 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2566         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2567         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2568         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2569         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2570         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2571         __fe_nomask_env_priv and attribute_hidden.
2572         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2573         (libc_feupdateenv_test_ppc): Likewise.
2574         (libc_feresetround_ppc): Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2576         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2577         compat_symbol macro.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2579         (__fe_nomask_env): Likewise.
2580         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2582 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2584         * string/Makefile: Remove ifunc tests.
2585         * string/test-string.h: Define TEST_IFUNC.
2586         * string/test-bcopy-ifunc.c: Remove.
2587         * string/test-bzero-ifunc.c: Likewise.
2588         * string/test-memccpy-ifunc.c: Likewise.
2589         * string/test-memchr-ifunc.c: Likewise.
2590         * string/test-memcmp-ifunc.c: Likewise.
2591         * string/test-memcpy-ifunc.c: Likewise.
2592         * string/test-memmem-ifunc.c: Likewise.
2593         * string/test-memmove-ifunc.c: Likewise.
2594         * string/test-mempcpy-ifunc.c: Likewise.
2595         * string/test-memrchr-ifunc.c: Likewise.
2596         * string/test-memset-ifunc.c: Likewise.
2597         * string/test-rawmemchr-ifunc.c: Likewise.
2598         * string/test-stpcpy-ifunc.c: Likewise.
2599         * string/test-stpncpy-ifunc.c: Likewise.
2600         * string/test-strcasecmp-ifunc.c: Likewise.
2601         * string/test-strcasestr-ifunc.c: Likewise.
2602         * string/test-strcat-ifunc.c: Likewise.
2603         * string/test-strchr-ifunc.c: Likewise.
2604         * string/test-strchrnul-ifunc.c: Likewise.
2605         * string/test-strcmp-ifunc.c: Likewise.
2606         * string/test-strcpy-ifunc.c: Likewise.
2607         * string/test-strcspn-ifunc.c: Likewise.
2608         * string/test-strlen-ifunc.c: Likewise.
2609         * string/test-strncasecmp-ifunc.c: Likewise.
2610         * string/test-strncat-ifunc.c: Likewise.
2611         * string/test-strncmp-ifunc.c: Likewise.
2612         * string/test-strncpy-ifunc.c: Likewise.
2613         * string/test-strnlen-ifunc.c: Likewise.
2614         * string/test-strpbrk-ifunc.c: Likewise.
2615         * string/test-strrchr-ifunc.c: Likewise.
2616         * string/test-strspn-ifunc.c: Likewise.
2617         * string/test-strstr-ifunc.c: Likewise.
2619 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2621         * benchtests/Makefile: Remove ifunc tests.
2622         * benchtests/bench-string.h: Define TEST_IFUNC.
2623         * benchtests/bench-bcopy-ifunc.c: Remove.
2624         * benchtests/bench-bzero-ifunc.c: Likewise.
2625         * benchtests/bench-memccpy-ifunc.c: Likewise.
2626         * benchtests/bench-memchr-ifunc.c: Likewise.
2627         * benchtests/bench-memcmp-ifunc.c: Likewise.
2628         * benchtests/bench-memcpy-ifunc.c: Likewise.
2629         * benchtests/bench-memmem-ifunc.c: Likewise.
2630         * benchtests/bench-memmove-ifunc.c: Likewise.
2631         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2632         * benchtests/bench-memrchr-ifunc.c: Likewise.
2633         * benchtests/bench-memset-ifunc.c: Likewise.
2634         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2635         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2636         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2637         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2638         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2639         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2640         * benchtests/bench-strcat-ifunc.c: Likewise.
2641         * benchtests/bench-strchr-ifunc.c: Likewise.
2642         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2643         * benchtests/bench-strcmp-ifunc.c: Likewise.
2644         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2645         * benchtests/bench-strcpy-ifunc.c: Likewise.
2646         * benchtests/bench-strcspn-ifunc.c: Likewise.
2647         * benchtests/bench-strlen-ifunc.c: Likewise.
2648         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2649         * benchtests/bench-strncat-ifunc.c: Likewise.
2650         * benchtests/bench-strncmp-ifunc.c: Likewise.
2651         * benchtests/bench-strncpy-ifunc.c: Likewise.
2652         * benchtests/bench-strnlen-ifunc.c: Likewise.
2653         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2654         * benchtests/bench-strrchr-ifunc.c: Likewise.
2655         * benchtests/bench-strsep-ifunc.c: Likewise.
2656         * benchtests/bench-strspn-ifunc.c: Likewise.
2657         * benchtests/bench-strstr-ifunc.c: Likewise.
2659 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2661         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2663 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2665         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2666         * rt/aio.h: Likewise.
2667         * sysdeps/gnu/bits/utmp.h: Likewise.
2668         * sysdeps/gnu/bits/utmpx.h: Likewise.
2669         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2670         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2671         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2672         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2673         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2674         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2675         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2676         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2678         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2679         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2684         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2685         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2686         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2687         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2688         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2689         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2690         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2691         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2692         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2693         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2695         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2697         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2698         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2699         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2700         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2701         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2702         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2703         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2704         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2705         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2706         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2707         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2708         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2709         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2710         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2712 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2714         [BZ #16245]
2715         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2716         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2718 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2720         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2721         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2722         Likewise.
2724 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2727         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2728         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2729         (__fesetround): Remove define.
2730         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2731         rounding and exceptions handling.
2732         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2733         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2734         (__fe_nomask_env): Likewise.
2735         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2736         __fegetround instead of fegetround.
2737         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2738         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2740 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2742         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2743         it's there.
2745         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2747 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2749         [BZ #11157]
2750         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2751         (encrypt_r): Likewise.
2752         * malloc/obstack.h (obstack_free): Likewise.
2753         * posix/unistd.h (encrypt): Likewise.
2755 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2757         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2758         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2759         DL_CALL_DT_FINI() that call the functions directly.
2760         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2761         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2762         * elf/dl-fini.c: Likewise.
2764 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2766         * malloc/hooks.c (memalign_check): Add alignment rounding.
2767         * malloc/malloc.c (_mid_memalign): New function.
2768         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2769         Implement by calling _mid_memalign.
2770         * manual/probes.texi (Memory Allocation Probes): Remove
2771         memory_valloc_retry and memory_pvalloc_retry.
2773 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2775         * locale/programs/locarchive.c (open_archive): Add const
2776         qualifier to ARCHIVEFNAME and copy default fname to
2777         DEFAULT_FNAME.
2779         [BZ #15601]
2780         * libio/tst-widetext.input: Rename Oriya to Odia.
2781         * locale/iso-639.def: Likewise.
2783         * manual/probes.texi (Mathematical Function Probes): Add
2784         documentation for sin, cos, asin and acos probes.
2785         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2786         (__sin32): Add slowasin probe.
2787         (__cos32): Add slowacos probe.
2788         (__mpsin): Add slowsin probe.
2789         (__mpcos): Add slowcos probe.
2791 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2793         [BZ #15483]
2794         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2795         thread-local __sim_exceptions_thread and global
2796         __sim_exceptions_global.
2797         (__sim_disabled_exceptions): Change to thread-local
2798         __sim_disabled_exceptions_thread and global
2799         __sim_disabled_exceptions_global.
2800         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2801         and global __sim_round_mode_global.
2802         (__simulate_exceptions): Use thread-local floating-point state and
2803         set global state from it as needed.
2804         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2805         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2806         __sim_round_mode_thread.
2807         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2808         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2809         and global __sim_exceptions_global.
2810         (__sim_disabled_exceptions): Change to thread-local
2811         __sim_disabled_exceptions_thread and global
2812         __sim_disabled_exceptions_global.
2813         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2814         and global __sim_round_mode_global.
2815         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2816         (SIM_SET_GLOBAL): Likewise.
2817         * sysdeps/powerpc/soft-fp/sfp-machine.h
2818         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2819         __sim_round_mode_thread.
2820         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2821         __sim_disabled_exceptions_thread.
2822         (__sim_exceptions): Change to __sim_exceptions_thread.
2823         (__sim_disabled_exceptions): Change to
2824         __sim_disabled_exceptions_thread.
2825         (__sim_round_mode): Change to __sim_round_mode_thread.
2826         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2827         thread-local floating-point state and set global state from it as
2828         needed.
2829         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2830         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2831         (__sim_disabled_exceptions): Remove extern declaration.
2832         (feenableexcept): Use thread-local floating-point state and set
2833         global state from it as needed.
2834         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2835         extern declaration.
2836         (__sim_disabled_exceptions): Likewise.
2837         (__sim_round_mode): Likewise.
2838         (__fegetenv): Use thread-local floating-point state.
2839         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2840         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2841         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2842         floating-point state and set global state from it as needed.
2843         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2844         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2845         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2846         Likewise.
2847         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2848         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2849         Likewise.
2850         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2851         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2852         Use __sim_round_mode_thread.
2853         * math/test-fenv-tls.c: New file.
2854         * math/Makefile (tests): Add test-fenv-tls.
2855         ($(objpfx)test-fenv-tls): Depend on
2856         $(common-objpfx)nptl/libpthread.so.
2858 2013-11-19  Andreas Schwab  <schwab@suse.de>
2860         * locale/programs/locale.c (show_info): Decode wordarray elements.
2861         * locale/categories.def (LC_MONETARY): Add element for
2862         _NL_MONETARY_CRNCYSTR.
2863         * locale/C-monetary.c (conversion_rate): New variable.
2864         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2865         element.
2867 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2869         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2870         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2872 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2874         * elf/Makefile (tst-auxv): New test.
2875         * elf/tst-auxv.c: New
2876         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2878 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2880         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2881         (hidden_proto): Caller changed.
2882         (hidden_tls_proto): New macro.
2883         (libc_hidden_tls_proto): Likewise.
2884         (rtld_hidden_tls_proto): Likewise.
2885         (libm_hidden_tls_proto): Likewise.
2886         (libresolv_hidden_tls_proto): Likewise.
2887         (librt_hidden_tls_proto): Likewise.
2888         (libdl_hidden_tls_proto): Likewise.
2889         (libnss_files_hidden_tls_proto): Likewise.
2890         (libnsl_hidden_tls_proto): Likewise.
2891         (libnss_nisplus_hidden_tls_proto): Likewise.
2892         (libutil_hidden_tls_proto): Likewise.
2894 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2896         [BZ #10253]
2897         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2898         (decompose_rpath): Defer expansion to fillin_rpath.
2899         (_dl_init_paths): Pass linkmap to fillin_rpath.
2901 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2903         * benchtests/Makefile: Add strsep.
2904         * benchtests/bench-strsep.c: New file: strsep benchtest.
2905         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2907 2013-11-18  Andreas Schwab  <schwab@suse.de>
2909         * locale/programs/locale.c (show_info) [case byte]: Check for
2910         '\377' instead of '\177'.
2911         * locale/C-monetary.c (not_available): Always use "\377".
2912         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2913         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2914         detect unavailable sign_posn locale elements.
2915         * locale/localeconv.c (__localeconv): For grouping and
2916         mon_grouping handle "\177" and "\377" like no grouping.
2917         (INT_ELEM): New macro.  Use it to set all numeric members.
2918         * locale/programs/ld-monetary.c (monetary_read)
2919         <tok_mon_grouping>: Normalize single -1 to the empty string.
2920         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2921         Likewise.
2923 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2925         [BZ #16055]
2926         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2927         when we match (nil).
2928         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2930 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2932         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2933         (NO_TEST_INLINE): Update value.
2934         (ERRNO_UNCHANGED): Likewise.
2935         (ERRNO_EDOM): Likewise.
2936         (ERRNO_ERANGE): Likewise.
2937         (IGNORE_RESULT): Likewise.
2938         (check_float_internal): Check signs of NaN results if
2939         TEST_NAN_SIGN used.
2940         (check_complex): Pass TEST_NAN_SIGN flag through to second
2941         check_float_internal call.
2942         (copysign_test_data): Add tests with quiet NaNs as second
2943         argument.  Use TEST_NAN_SIGN.
2944         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2945         TEST_NAN_SIGN.
2946         (signbit_test_data): Add tests of quiet NaN argument.
2947         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2949         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2950         $ignore_result.
2951         (parse_args): Handle function results specified as IGNORE.
2952         * math/libm-test.inc (IGNORE_RESULT): New macro.
2953         (check_float_internal): Do not check numerical result if flag
2954         IGNORE_RESULT set.
2955         (check_complex): Pass through IGNORE_RESULT to second
2956         check_float_internal call.
2957         (check_int): Do not check numerical result if flag IGNORE_RESULT
2958         set.
2959         (check_long): Likewise.
2960         (check_bool): Likewise.
2961         (check_longlong): Likewise.
2962         (lrint_test_data): Add tests of infinite and NaN arguments.
2963         (lrint_tonearest_test_data): Likewise.
2964         (lrint_towardzero_test_data): Likewise.
2965         (lrint_downward_test_data): Likewise.
2966         (lrint_upward_test_data): Likewise.
2967         (llrint_test_data): Likewise.
2968         (llrint_tonearest_test_data): Likewise.
2969         (llrint_towardzero_test_data): Likewise.
2970         (llrint_downward_test_data): Likewise.
2971         (llrint_upward_test_data): Likewise.
2972         (lround_test_data): Likewise.
2973         (llround_test_data): Likewise.
2975         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2976         (ERRNO_UNCHANGED): Update value.
2977         (ERRNO_EDOM): Likewise.
2978         (ERRNO_ERANGE): Likewise.
2979         (NO_TEST_INLINE_FLOAT): New macro.
2980         (NO_TEST_INLINE_DOUBLE): Likewise.
2981         (enable_test): New function.
2982         (RUN_TEST_f_f): Check enable_test before running test.
2983         (RUN_TEST_2_f): Likewise.
2984         (RUN_TEST_fff_f): Likewise.
2985         (RUN_TEST_c_f): Likewise.
2986         (RUN_TEST_f_f1): Likewise.
2987         (RUN_TEST_fF_f1): Likewise.
2988         (RUN_TEST_fI_f1): Likewise.
2989         (RUN_TEST_ffI_f1): Likewise.
2990         (RUN_TEST_c_c): Likewise.
2991         (RUN_TEST_cc_c): Likewise.
2992         (RUN_TEST_f_i): Likewise.
2993         (RUN_TEST_f_i_tg): Likewise.
2994         (RUN_TEST_ff_i_tg): Likewise.
2995         (RUN_TEST_f_b): Likewise.
2996         (RUN_TEST_f_b_tg): Likewise.
2997         (RUN_TEST_f_l): Likewise.
2998         (RUN_TEST_f_L): Likewise.
2999         (RUN_TEST_fFF_11): Likewise.
3000         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3001         conditionals.
3002         (cosh_test_data): Likewise.
3003         (exp_test_data): Likewise.
3004         (expm1_test_data): Likewise.
3005         (hypot_test_data): Likewise.
3006         (pow_test_data): Likewise.
3007         (sinh_test_data): Likewise.
3008         (tanh_test_data): Likewise.
3009         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3010         flags argument.
3012         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3013         tests with quiet NaN input and output.
3014         (acosh_test_data): Likewise.
3015         (asin_test_data): Likewise.
3016         (asinh_test_data): Likewise.
3017         (atan_test_data): Likewise.
3018         (atanh_test_data): Likewise.
3019         (atan2_test_data): Likewise.
3020         (cbrt_test_data): Likewise.
3021         (cos_test_data): Likewise.
3022         (cosh_test_data): Likewise.
3023         (erf_test_data): Likewise.
3024         (erfc_test_data): Likewise.
3025         (exp_test_data): Likewise.
3026         (exp10_test_data): Likewise.
3027         (exp2_test_data): Likewise.
3028         (expm1_test_data): Likewise.
3029         (hypot_test_data): Likewise.
3030         (j0_test_data): Likewise.
3031         (j1_test_data): Likewise.
3032         (jn_test_data): Likewise.
3033         (lgamma_test_data): Likewise.
3034         (log_test_data): Likewise.
3035         (log10_test_data): Likewise.
3036         (log1p_test_data): Likewise.
3037         (log2_test_data): Likewise.
3038         (pow_test_data): Likewise.
3039         (scalb_test_data): Likewise.
3040         (sin_test_data): Likewise.
3041         (sincos_test_data): Likewise.
3042         (sinh_test_data): Likewise.
3043         (tan_test_data): Likewise.
3044         (tanh_test_data): Likewise.
3045         (tgamma_test_data): Likewise.
3046         (y0_test_data): Likewise.
3047         (y1_test_data): Likewise.
3048         (yn_test_data): Likewise.
3050         [BZ #16167]
3051         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3052         argument being NaN and avoid computations with second argument in
3053         that case.
3054         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3055         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3056         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3058 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3060         * locale/iso-639.def: Add Chitwani Tharu (the).
3062 2013-11-14  Andreas Schwab  <schwab@suse.de>
3064         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3065         word instead of empty string.
3067 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3070         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3072         (__fe_nomask_env): Likewise.
3074 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3076         * benchtests/bench-timing.h: Include time.h.
3078 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3080         [BZ #15997]
3081         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3082         to 3.4.0 for x32.
3083         * sysdeps/unix/sysv/linux/configure: Regenerated.
3085 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #16151]
3088         * stdlib/strtod_l.c (round_and_return): Do not consider
3089         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3090         exponent one less than half the least subnormal exponent.
3091         * stdlib/test-strtod-round-data: Add more tests.
3092         * stdlib/tst-strtod-round.c (tests): Regenerated.
3094 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3096         [BZ #14143]
3097         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3098         (__fe_mask_env): Likewise.
3099         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3100         libm_hidden_proto and add function prototype.
3101         (__fe_mask_env): Add function prototype.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3103         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3105         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3107         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3109 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3111         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3112         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3114 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3116         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3117         of htab_find_slot().
3119 2013-11-11  David S. Miller  <davem@davemloft.net>
3121         [BZ #16150]
3122         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3123         symbol in the non-vis3 case in static builds.
3124         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3125         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3126         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3127         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3129 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3131         [BZ #387]
3132         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3133         it is empty.
3135 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3137         * benchtests/Makefile: Add bench-strtod.
3138         * benchtests/bench-strtod.c: New file: strtod benchtest
3140 2013-11-11  Andreas Schwab  <schwab@suse.de>
3142         [BZ #16153]
3143         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3144         terminating NUL in key length.
3146 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3148         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3149         Add artificial ODP entry for vDSO symbol for PPC64.
3150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3151         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3153 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3155         [BZ #15374]
3156         * nss/getent.c (services_keys): Recognize services starting with digit.
3158 2013-11-06  David S. Miller  <davem@davemloft.net>
3160         [BZ #15985]
3161         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3162         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3164 2013-11-06  Will Newton  <will.newton@linaro.org>
3166         * manual/memory.texi (Malloc Examples): Remove register
3167         keyword from examples.
3169 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3171         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3173 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3175         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3176         depending on [__GCC_IEC_559 > 0].
3177         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3178         depending on [__GCC_IEC_559_COMPLEX > 0].
3180 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3182         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3183         to iso-639.def.
3185 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3187         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3189 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3191         [BZ #16112]
3192         * malloc/malloc (malloc_info): Do not handle first bin as
3193         special case.
3195 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3197         * locale/iso-639.def: Add Central Nahuatl (nhn).
3199 2013-11-01  Bruno Haible  <bruno@clisp.org>
3201         [BZ #7003]
3202         * manual/math.texi (BSD Random): Specify range upper bound as
3203         in POSIX.
3205 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3207         * locale/iso-639.def: Add Meadow Mari (mhr).
3209 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3211         [BZ #14752], [BZ #15763]
3212         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3213         Validate name.
3214         * rt/tst_shm.c: Add test for escaping directory.
3216 2013-10-31  Andreas Schwab  <schwab@suse.de>
3218         [BZ #15917]
3219         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3220         followed by 'x' as part of digit sequence.
3221         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3223 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3225         [BZ #16037]
3226         * configure.ac: allow GNU Make 4.0 and greater.
3227         * configure: Regenerated.
3229 2013-10-30  Will Newton  <will.newton@linaro.org>
3231         [BZ #16038]
3232         * malloc/hooks.c (memalign_check): Limit alignment to the
3233         maximum representable power of two.
3234         * malloc/malloc.c (__libc_memalign): Likewise.
3235         * malloc/tst-memalign.c (do_test): Add test for very
3236         large alignment values.
3237         * malloc/tst-posix_memalign.c (do_test): Likewise.
3239 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3241         [BZ #11087]
3242         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3243         (munmap_chunk): Likewise.
3244         (mremap_chunk): Likewise.
3246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3248         [BZ #15799]
3249         * stdlib/div.c (div): Remove obsolete code.
3250         * stdlib/ldiv.c (ldiv): Likewise.
3251         * stdlib/lldiv.c (lldiv): Likewise.
3253 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3255         [BZ #16071]
3256         * nss/nss_files/files-XXX.c (get_contents_ret): New
3257         enumerator.
3258         (get_contents): New function.
3259         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3261 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3263         * configure.in: Moved to ...
3264         * configure.ac: ... here. Change reference to configure.in
3265         to configure.ac.
3266         * sysdeps/arm/preconfigure.ac: ... here.
3267         configure.in to configure.ac.
3268         * sysdeps/gnu/configure.in: Moved to ...
3269         * sysdeps/gnu/configure.ac: ... here.
3270         * sysdeps/i386/configure.in: Moved to ...
3271         * sysdeps/i386/configure.ac: ... here.
3272         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3273         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3274         * sysdeps/mach/configure.in: Moved to ...
3275         * sysdeps/mach/configure.ac: ... here.
3276         * sysdeps/mach/hurd/configure.in: Moved to ...
3277         * sysdeps/mach/hurd/configure.ac: ... here.
3278         * sysdeps/powerpc/configure.in: Moved to ...
3279         * sysdeps/powerpc/configure.ac: ... here.
3280         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3281         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3282         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3283         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3284         * sysdeps/s390/s390-32/configure.in: Moved to ...
3285         * sysdeps/s390/s390-32/configure.ac: ... here.
3286         * sysdeps/s390/s390-64/configure.in: Moved to ...
3287         * sysdeps/s390/s390-64/configure.ac: ... here.
3288         * sysdeps/sh/configure.in: Moved to ...
3289         * sysdeps/sh/configure.ac: ... here.
3290         * sysdeps/sparc/configure.in: Moved to ...
3291         * sysdeps/sparc/configure.ac: ... here.
3292         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3293         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3294         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3295         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3296         * sysdeps/x86_64/configure.in: Moved to ...
3297         * sysdeps/x86_64/configure.ac: ... here.
3298         * sysdeps/x86_64/preconfigure.in: Moved to ...
3299         * sysdeps/x86_64/preconfigure.ac: ... here.
3300         * aclocal.m4: Change reference to configure.in to configure.ac.
3301         * config.h.in: Likewise.
3302         * manual/install.texi: Likewise.
3303         * manual/maint.texi: Likewise.
3304         * Makefile: Likewise.
3305         * malloc/Makefile: Likewise.
3306         * nscd/Makefile: Likewise.
3307         * Makeconfig: Change reference to configure.in and
3308         preconfigure.in to configure.ac and preconfigure.ac
3309         respectively.
3310         * INSTALL: Regenerated.
3311         * configure: Likewise.
3312         * sysdeps/gnu/configure: Likewise.
3313         * sysdeps/i386/configure: Likewise.
3314         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3315         * sysdeps/mach/configure: Likewise.
3316         * sysdeps/mach/hurd/configure: Likewise.
3317         * sysdeps/powerpc/configure: Likewise.
3318         * sysdeps/powerpc/powerpc32/configure: Likewise.
3319         * sysdeps/powerpc/powerpc64/configure: Likewise.
3320         * sysdeps/s390/s390-32/configure: Likewise.
3321         * sysdeps/s390/s390-64/configure: Likewise.
3322         * sysdeps/sh/configure: Likewise.
3323         * sysdeps/sparc/configure: Likewise.
3324         * sysdeps/unix/sysv/linux/configure: Likewise.
3325         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3326         * sysdeps/x86_64/configure: Likewise.
3327         * sysdeps/x86_64/preconfigure: Likewise.
3329 2013-10-29  Andreas Schwab  <schwab@suse.de>
3331         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3333 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3335         * benchtests/pow-inputs: Add new inputs.
3337         * benchtests/exp-inputs: Add new inputs.
3339         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3340         conditional check for return value.
3341         (__cos32): Likewise.
3343 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3345         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3346         to provide a boost for large inputs with word alignment.
3347         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3348         implementation based on optimized PPC64 strcpy.
3349         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3350         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3351         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3352         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3354 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3356         [BZ #2801]
3357         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3359 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3361         [BZ #14876]
3362         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3363         * time/tst-strptime.c (day_tests): Add testcase.
3365 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3367         [BZ #14029]
3368         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3370 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3372         [BZ #16074]
3373         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3374         MAP_FAILED on error.
3376 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3378         [BZ #16072]
3379         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3380         heap for large requests.
3382 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3384         [BZ #9954]
3385         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3386         result if the result has no associated interface.
3387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3388         interface for all 127.X.Y.Z addresses.
3390 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3392         * locale/iso-639.def: Add Ligurian (lij)
3394 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3396         [BZ #15825]
3397         * sunrpc/rpc_main.c: Document rpcgen -5.
3399 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3401         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3403 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3405         [BZ #10278]
3406         * posix/glob.c: Match only directories when trailing slash is present.
3407         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3408         (main): Add testcase.
3410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3412         [BZ #15670]
3413         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3415 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3417         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3418         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3419         AUTH_DES and cindex for FIPS 140-2.
3420         (DES Encryption): Add cindex FIPS 46-3.
3422         * locale/locarchive.h (struct locarhandle): Add fname.
3423         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3424         if an optional argument was specified to --list-archive,
3425         otherwise NULL.
3426         * locale/programs/locarchive.c (show_archive_content): Take new
3427         argument fname and pass it via ah.fname to open_archive.
3428         * locale/programs/localedef.h: Update decl.
3429         (open_archive): If AH->fname is non-null, open that file
3430         rather than the default file name, and don't ignore ENOENT.
3431         (create_archive): Set AH.fname to NULL.
3432         (delete_locales_from_archive): Likewise.
3433         (add_locales_to_archive): Likewise.
3434         * locale/programs/locfile.c (write_all_categories): Likewise.
3436 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3437             Aldy Hernandez  <aldyh@redhat.com>
3439         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3440         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3441         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3442         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3443         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3444         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3446         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3447         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3448         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3449         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3450         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3451         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3452         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3453         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3454         Likewise.
3455         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3456         Likewise.
3457         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3458         Likewise.
3459         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3460         Likewise.
3461         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3462         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3463         Likewise.
3464         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3465         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3466         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3467         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3468         Likewise.
3469         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3470         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3471         * sysdeps/powerpc/preconfigure: Likewise.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3473         Likewise.
3474         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3475         Replace contents of file by #include of <fenv_libc.h>.
3476         * sysdeps/powerpc/soft-fp/sfp-machine.h
3477         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3478         and <sys/prctl.h>.
3479         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3492         Allow copysignl PLT reference to be missing.
3494 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3495             Joseph Myers  <joseph@codesourcery.com
3497         [BZ #15948]
3498         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3499         single character.
3500         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3502 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3504         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3505         * elf/tst-tls1.c: Likewise.
3506         * elf/tst-tls10.h: Likewise.
3507         * elf/tst-tls14.c: Likewise.
3508         * elf/tst-tls2.c: Likewise.
3509         * elf/tst-tls3.c: Likewise.
3510         * elf/tst-tls4.c: Likewise.
3511         * elf/tst-tls5.c: Likewise.
3512         * elf/tst-tls6.c: Likewise.
3513         * elf/tst-tls7.c: Likewise.
3514         * elf/tst-tls8.c: Likewise.
3515         * elf/tst-tls9.c: Likewise.
3516         * elf/tst-tlsmod1.c: Likewise.
3517         * elf/tst-tlsmod13.c: Likewise.
3518         * elf/tst-tlsmod13a.c: Likewise.
3519         * elf/tst-tlsmod14a.c: Likewise.
3520         * elf/tst-tlsmod16a.c: Likewise.
3521         * elf/tst-tlsmod16b.c: Likewise.
3522         * elf/tst-tlsmod2.c: Likewise.
3523         * elf/tst-tlsmod3.c: Likewise.
3524         * elf/tst-tlsmod4.c: Likewise.
3525         * elf/tst-tlsmod5.c: Likewise.
3526         * elf/tst-tlsmod6.c: Likewise.
3528 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3530         [BZ #12486]
3531         * malloc/malloc.c: remove checks for statistics.
3533 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3535         [BZ #15277]
3536         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3537         * inet/tst-network.c: Add testcase.
3539 2013-10-17  Andreas Schwab  <schwab@suse.de>
3541         [BZ #15218]
3542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3543         to determine canonical name.
3545 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3547         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3548         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3552         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3553         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3554         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3555         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3556         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3557         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3561         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3562         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3565         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3566         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3567         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3570         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3571         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3572         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3577         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3578         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3579         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3595         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3596         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3597         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3598         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3600         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3602         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3604         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3606 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3608         [BZ #16041]
3609         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3610         make result into a quiet NaN.
3612 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3614         * soft-fp/adddf3.c: Fix horizontal whitespace.
3615         * soft-fp/addsf3.c: Likewise.
3616         * soft-fp/addtf3.c: Likewise.
3617         * soft-fp/divdf3.c: Likewise.
3618         * soft-fp/divsf3.c: Likewise.
3619         * soft-fp/divtf3.c: Likewise.
3620         * soft-fp/double.h: Likewise.
3621         * soft-fp/eqdf2.c: Likewise.
3622         * soft-fp/eqsf2.c: Likewise.
3623         * soft-fp/eqtf2.c: Likewise.
3624         * soft-fp/extenddftf2.c: Likewise.
3625         * soft-fp/extended.h: Likewise.
3626         * soft-fp/extendsfdf2.c: Likewise.
3627         * soft-fp/extendsftf2.c: Likewise.
3628         * soft-fp/extendxftf2.c: Likewise.
3629         * soft-fp/fixdfdi.c: Likewise.
3630         * soft-fp/fixdfsi.c: Likewise.
3631         * soft-fp/fixdfti.c: Likewise.
3632         * soft-fp/fixsfdi.c: Likewise.
3633         * soft-fp/fixsfsi.c: Likewise.
3634         * soft-fp/fixsfti.c: Likewise.
3635         * soft-fp/fixtfdi.c: Likewise.
3636         * soft-fp/fixtfsi.c: Likewise.
3637         * soft-fp/fixtfti.c: Likewise.
3638         * soft-fp/fixunsdfdi.c: Likewise.
3639         * soft-fp/fixunsdfsi.c: Likewise.
3640         * soft-fp/fixunsdfti.c: Likewise.
3641         * soft-fp/fixunssfdi.c: Likewise.
3642         * soft-fp/fixunssfsi.c: Likewise.
3643         * soft-fp/fixunssfti.c: Likewise.
3644         * soft-fp/fixunstfdi.c: Likewise.
3645         * soft-fp/fixunstfsi.c: Likewise.
3646         * soft-fp/fixunstfti.c: Likewise.
3647         * soft-fp/floatdidf.c: Likewise.
3648         * soft-fp/floatdisf.c: Likewise.
3649         * soft-fp/floatditf.c: Likewise.
3650         * soft-fp/floatsidf.c: Likewise.
3651         * soft-fp/floatsisf.c: Likewise.
3652         * soft-fp/floatsitf.c: Likewise.
3653         * soft-fp/floattidf.c: Likewise.
3654         * soft-fp/floattisf.c: Likewise.
3655         * soft-fp/floattitf.c: Likewise.
3656         * soft-fp/floatundidf.c: Likewise.
3657         * soft-fp/floatundisf.c: Likewise.
3658         * soft-fp/floatunditf.c: Likewise.
3659         * soft-fp/floatunsidf.c: Likewise.
3660         * soft-fp/floatunsisf.c: Likewise.
3661         * soft-fp/floatunsitf.c: Likewise.
3662         * soft-fp/floatuntidf.c: Likewise.
3663         * soft-fp/floatuntisf.c: Likewise.
3664         * soft-fp/floatuntitf.c: Likewise.
3665         * soft-fp/fmadf4.c: Likewise.
3666         * soft-fp/fmasf4.c: Likewise.
3667         * soft-fp/fmatf4.c: Likewise.
3668         * soft-fp/gedf2.c: Likewise.
3669         * soft-fp/gesf2.c: Likewise.
3670         * soft-fp/getf2.c: Likewise.
3671         * soft-fp/ledf2.c: Likewise.
3672         * soft-fp/lesf2.c: Likewise.
3673         * soft-fp/letf2.c: Likewise.
3674         * soft-fp/muldf3.c: Likewise.
3675         * soft-fp/mulsf3.c: Likewise.
3676         * soft-fp/multf3.c: Likewise.
3677         * soft-fp/negdf2.c: Likewise.
3678         * soft-fp/negsf2.c: Likewise.
3679         * soft-fp/negtf2.c: Likewise.
3680         * soft-fp/op-1.h: Likewise.
3681         * soft-fp/op-2.h: Likewise.
3682         * soft-fp/op-4.h: Likewise.
3683         * soft-fp/op-8.h: Likewise.
3684         * soft-fp/op-common.h: Likewise.
3685         * soft-fp/quad.h: Likewise.
3686         * soft-fp/single.h: Likewise.
3687         * soft-fp/soft-fp.h: Likewise.
3688         * soft-fp/sqrtdf2.c: Likewise.
3689         * soft-fp/sqrtsf2.c: Likewise.
3690         * soft-fp/sqrttf2.c: Likewise.
3691         * soft-fp/subdf3.c: Likewise.
3692         * soft-fp/subsf3.c: Likewise.
3693         * soft-fp/subtf3.c: Likewise.
3694         * soft-fp/truncdfsf2.c: Likewise.
3695         * soft-fp/trunctfdf2.c: Likewise.
3696         * soft-fp/trunctfsf2.c: Likewise.
3697         * soft-fp/trunctfxf2.c: Likewise.
3698         * soft-fp/unorddf2.c: Likewise.
3699         * soft-fp/unordsf2.c: Likewise.
3700         * soft-fp/unordtf2.c: Likewise.
3702 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3704         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3705         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3707 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3709         * elf/dl-libc.c: Clear initfini list after freeing.
3711 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3713         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3714         * soft-fp/addsf3.c: Likewise.
3715         * soft-fp/addtf3.c: Likewise.
3716         * soft-fp/divdf3.c: Likewise.
3717         * soft-fp/divsf3.c: Likewise.
3718         * soft-fp/divtf3.c: Likewise.
3719         * soft-fp/double.h: Likewise.
3720         * soft-fp/eqdf2.c: Likewise.
3721         * soft-fp/eqsf2.c: Likewise.
3722         * soft-fp/eqtf2.c: Likewise.
3723         * soft-fp/extenddftf2.c: Likewise.
3724         * soft-fp/extended.h: Likewise.
3725         * soft-fp/extendsfdf2.c: Likewise.
3726         * soft-fp/extendsftf2.c: Likewise.
3727         * soft-fp/extendxftf2.c: Likewise.
3728         * soft-fp/fixdfdi.c: Likewise.
3729         * soft-fp/fixdfsi.c: Likewise.
3730         * soft-fp/fixdfti.c: Likewise.
3731         * soft-fp/fixsfdi.c: Likewise.
3732         * soft-fp/fixsfsi.c: Likewise.
3733         * soft-fp/fixsfti.c: Likewise.
3734         * soft-fp/fixtfdi.c: Likewise.
3735         * soft-fp/fixtfsi.c: Likewise.
3736         * soft-fp/fixtfti.c: Likewise.
3737         * soft-fp/fixunsdfdi.c: Likewise.
3738         * soft-fp/fixunsdfsi.c: Likewise.
3739         * soft-fp/fixunsdfti.c: Likewise.
3740         * soft-fp/fixunssfdi.c: Likewise.
3741         * soft-fp/fixunssfsi.c: Likewise.
3742         * soft-fp/fixunssfti.c: Likewise.
3743         * soft-fp/fixunstfdi.c: Likewise.
3744         * soft-fp/fixunstfsi.c: Likewise.
3745         * soft-fp/fixunstfti.c: Likewise.
3746         * soft-fp/floatdidf.c: Likewise.
3747         * soft-fp/floatdisf.c: Likewise.
3748         * soft-fp/floatditf.c: Likewise.
3749         * soft-fp/floatsidf.c: Likewise.
3750         * soft-fp/floatsisf.c: Likewise.
3751         * soft-fp/floatsitf.c: Likewise.
3752         * soft-fp/floattidf.c: Likewise.
3753         * soft-fp/floattisf.c: Likewise.
3754         * soft-fp/floattitf.c: Likewise.
3755         * soft-fp/floatundidf.c: Likewise.
3756         * soft-fp/floatundisf.c: Likewise.
3757         * soft-fp/floatunsidf.c: Likewise.
3758         * soft-fp/floatunsisf.c: Likewise.
3759         * soft-fp/floatuntidf.c: Likewise.
3760         * soft-fp/floatuntisf.c: Likewise.
3761         * soft-fp/floatuntitf.c: Likewise.
3762         * soft-fp/fmadf4.c: Likewise.
3763         * soft-fp/fmasf4.c: Likewise.
3764         * soft-fp/fmatf4.c: Likewise.
3765         * soft-fp/gedf2.c: Likewise.
3766         * soft-fp/gesf2.c: Likewise.
3767         * soft-fp/getf2.c: Likewise.
3768         * soft-fp/ledf2.c: Likewise.
3769         * soft-fp/lesf2.c: Likewise.
3770         * soft-fp/letf2.c: Likewise.
3771         * soft-fp/muldf3.c: Likewise.
3772         * soft-fp/mulsf3.c: Likewise.
3773         * soft-fp/multf3.c: Likewise.
3774         * soft-fp/negdf2.c: Likewise.
3775         * soft-fp/negsf2.c: Likewise.
3776         * soft-fp/negtf2.c: Likewise.
3777         * soft-fp/op-1.h: Likewise.
3778         * soft-fp/op-2.h: Likewise.
3779         * soft-fp/op-4.h: Likewise.
3780         * soft-fp/op-8.h: Likewise.
3781         * soft-fp/op-common.h: Likewise.
3782         * soft-fp/quad.h: Likewise.
3783         * soft-fp/single.h: Likewise.
3784         * soft-fp/soft-fp.h: Likewise.
3785         * soft-fp/sqrtdf2.c: Likewise.
3786         * soft-fp/sqrtsf2.c: Likewise.
3787         * soft-fp/sqrttf2.c: Likewise.
3788         * soft-fp/subdf3.c: Likewise.
3789         * soft-fp/subsf3.c: Likewise.
3790         * soft-fp/subtf3.c: Likewise.
3791         * soft-fp/truncdfsf2.c: Likewise.
3792         * soft-fp/trunctfdf2.c: Likewise.
3793         * soft-fp/trunctfsf2.c: Likewise.
3794         * soft-fp/trunctfxf2.c: Likewise.
3795         * soft-fp/unorddf2.c: Likewise.
3796         * soft-fp/unordsf2.c: Likewise.
3797         * soft-fp/unordtf2.c: Likewise.
3799 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3801         [BZ #15672]
3802         * misc/error.c (error_tail): Fix possible buffer overflow.
3804 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3806         [BZ #13028]
3807         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3808         address.
3810 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3812         [BZ #832]
3813         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3814         testing pipefail option.
3816 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3818         * soft-fp/double.h: Indent preprocessor directives inside #if.
3819         * soft-fp/extended.h: Likewise.
3820         * soft-fp/op-2.h: Likewise.
3821         * soft-fp/op-4.h: Likewise.
3822         * soft-fp/op-common.h: Likewise.
3823         * soft-fp/quad.h: Likewise.
3824         * soft-fp/single.h: Likewise.
3825         * soft-fp/soft-fp.h: Likewise.
3827 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3829         * iconv/iconv_prog.c: Fix typos.
3830         * stdio-common/psiginfo-data.h: Likewise.
3832 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3834         [BZ #15764]
3835         * locale/setlocale.c: Fix typo.
3837 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #16036]
3840         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3841         signaling NaN arguments.
3842         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3843         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3845         [BZ #14910]
3846         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3847         unordered operands.
3848         * soft-fp/gesf2.c (__gesf2): Likewise.
3849         * soft-fp/getf2.c (__getf2): Likewise.
3850         * soft-fp/ledf2.c (__ledf2): Likewise.
3851         * soft-fp/lesf2.c (__lesf2): Likewise.
3852         * soft-fp/letf2.c (__letf2): Likewise.
3854         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3855         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3856         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3857         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3858         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3859         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3860         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3861         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3862         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3863         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3864         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3865         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3866         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3867         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3868         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3869         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3870         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3871         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3872         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3873         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3874         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3875         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3876         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3877         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3878         * soft-fp/floattidf.c (__floattidf): Likewise.
3879         * soft-fp/floattisf.c (__floattisf): Likewise.
3880         * soft-fp/floattitf.c (__floattitf): Likewise.
3881         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3882         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3883         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3884         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3885         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3886         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3887         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3888         * soft-fp/gesf2.c (__gesf2): Likewise.
3889         * soft-fp/getf2.c (__getf2): Likewise.
3890         * soft-fp/ledf2.c (__ledf2): Likewise.
3891         * soft-fp/lesf2.c (__lesf2): Likewise.
3892         * soft-fp/letf2.c (__letf2): Likewise.
3894         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3895         Undefine and redefine.
3896         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3897         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3898         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3899         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3900         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3901         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3902         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3903         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3904         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3905         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3906         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3907         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3908         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3909         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3910         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3912         [BZ #16032]
3913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3914         without decrementing exponent if mantissa >= that for the
3915         denominator, not >.
3916         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3917         denominator, not >.  Decrement exponent in < case instead of
3918         incrementing in >= case.
3919         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3920         without decrementing exponent if mantissa >= that for the
3921         denominator, not >.
3923         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3924         computing saturated result for unsigned overflow.
3926 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3927             Jeff Law  <law@redhat.com>
3929         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3930         (atan2Mp): Add systemtap probe marker.
3931         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3932         (__ieee754_log): Add systemtap probe marker.
3933         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3934         (atanMp): Add systemtap probe marker.
3935         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3936         (tanMp): Add systemtap probe marker.
3937         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3938         (__slowexp): Add systemtap probe marker.
3939         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3940         (__slowpow): Add systemtap probe marker.
3941         * manual/probes.texi: Document probes.
3943 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3945         [BZ #15362]
3946         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3947         written.
3948         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3949         written.
3950         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3951         written to buffer but not flushed.
3952         * libio/iofwrite_u.c:  Likewise.
3953         * libio/iopadn.c:  Return bytes returned even if EOF was
3954         encountered.
3955         * libio/iowpadn.c:  Likewise.
3956         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3957         if _IO_padn does not write the whole buffer.
3958         [!COMPILE_WPRINTF] (PAD): Likewise.
3960 2013-10-10  David S. Miller  <davem@davemloft.net>
3962         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3963         directory block.
3965 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3967         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3968         instead of FSF address.
3969         * soft-fp/fixdfti.c: Likewise.
3970         * soft-fp/fixsfti.c: Likewise.
3971         * soft-fp/fixtfti.c: Likewise.
3972         * soft-fp/fixunsdfti.c: Likewise.
3973         * soft-fp/fixunssfti.c: Likewise.
3974         * soft-fp/fixunstfti.c: Likewise.
3975         * soft-fp/floattidf.c: Likewise.
3976         * soft-fp/floattisf.c: Likewise.
3977         * soft-fp/floattitf.c: Likewise.
3978         * soft-fp/floatuntidf.c: Likewise.
3979         * soft-fp/floatuntisf.c: Likewise.
3980         * soft-fp/floatuntitf.c: Likewise.
3981         * soft-fp/trunctfxf2.c: Likewise.
3983         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3984         * soft-fp/fixdfti.c: Likewise.
3985         * soft-fp/fixsfti.c: Likewise.
3986         * soft-fp/fixtfti.c: Likewise.
3987         * soft-fp/fixunsdfti.c: Likewise.
3988         * soft-fp/fixunssfti.c: Likewise.
3989         * soft-fp/fixunstfti.c: Likewise.
3990         * soft-fp/floattidf.c: Likewise.
3991         * soft-fp/floattisf.c: Likewise.
3992         * soft-fp/floattitf.c: Likewise.
3993         * soft-fp/floatuntidf.c: Likewise.
3994         * soft-fp/floatuntisf.c: Likewise.
3995         * soft-fp/floatuntitf.c: Likewise.
3996         * soft-fp/trunctfxf2.c: Likewise.
3998 2013-10-10  David S. Miller  <davem@davemloft.net>
4000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4002 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4005         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4006         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4007         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4008         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4009         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4010         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4013         for NaNs before doing comparisons on argument.
4014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4015         Likewise.
4017 2013-10-10  Will Newton  <will.newton@linaro.org>
4019         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4020         passed to _int_memalign does not overflow.
4022 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4024         * scripts/bench.pl: Add include-sources directive.
4025         * benchtests/README: Update documentation.
4027 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4029         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4030         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4031         instead of FP_INIT_ROUNDMODE.
4032         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4033         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4035         [BZ #16034]
4036         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4037         copy class of input value.
4038         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4039         not handle exceptions.
4040         * soft-fp/negsf2.c (__negsf2): Likewise.
4041         * soft-fp/negtf2.c (__negtf2): Likewise.
4042         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4044 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4046         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4047         semicolon.  From Linux kernel.
4049 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4051         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4053 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4055         [BZ #156]
4056         * manual/socket.texi: Added statement about buffer
4057         for gethostbyname2_r.
4059 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4061         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4062         Use .p2align directive instead, throughout.
4063         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4064         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4065         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4066         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4068         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4069         * sysdeps/x86_64/strchr.S: Likewise.
4070         * sysdeps/x86_64/strrchr.S: Likewise.
4072 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4074         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4076         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4078         * sysdeps/generic/math_private.h (__mpsin1): Remove
4079         declaration.
4080         (__mpcos1): Likewise.
4081         (__mpsin): New argument __range_reduce.
4082         (__mpcos): Likewise.
4083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4084         (slow): Use __mpsin and __mpcos.
4085         (slow1): Likewise.
4086         (slow2): Likewise.
4087         (sloww): Likewise.
4088         (sloww1): Likewise.
4089         (sloww2): Likewise.
4090         (bsloww): Likewise.
4091         (bsloww1): Likewise.
4092         (bsloww2): Likewise.
4093         (cslow2): Likewise.
4094         (csloww): Likewise.
4095         (csloww1): Likewise.
4096         (csloww2): Likewise.
4097         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4098         range_reduce.  Merge in __mpsin1.
4099         (__mpcos): Likewise.
4100         (__mpsin1): Remove.
4101         (__mpcos1): Likewise.
4103 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4105         * locale/loadlocale.c (_nl_intern_locale_data): Use
4106         LOCFILE_ALIGNED_P.
4107         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4108         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4109         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4110         obstack data is appropriately aligned.
4111         (obstack_int32_grow_fast): Likewise.
4112         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4113         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4114         (add_locale_uint32_array): Likewise.
4116 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4118         * benchtests/Makefile: Remove ARGLIST and RET variables.
4119         ($(objpfx)bench-%.c): Pass only function name to the script.
4120         * benchtests/README: Update documentation.
4121         * benchtests/acos-inputs: Add new directives.
4122         * benchtests/acosh-inputs: Likewise.
4123         * benchtests/asin-inputs: Likewise.
4124         * benchtests/asinh-inputs: Likewise.
4125         * benchtests/atan-inputs: Likewise.
4126         * benchtests/atanh-inputs: Likewise.
4127         * benchtests/cos-inputs: Likewise.
4128         * benchtests/cosh-inputs: Likewise.
4129         * benchtests/exp-inputs: Likewise.
4130         * benchtests/log-inputs: Likewise.
4131         * benchtests/pow-inputs: Likewise.
4132         * benchtests/rint-inputs: Likewise.
4133         * benchtests/sin-inputs: Likewise.
4134         * benchtests/sinh-inputs: Likewise.
4135         * benchtests/tan-inputs: Likewise.
4136         * benchtests/tanh-inputs: Likewise.
4137         * scripts/bench.pl: Add support for new directives.
4139 2013-10-07  Alan Modra  <amodra@gmail.com>
4141         * README: Fix careless merge.
4143 2013-10-05  Alan Modra  <amodra@gmail.com>
4145         * NEWS: Mention powerpc64le support and bugs fixed.
4146         * README: Both big-endian and little-endian powerpc64 supported.
4148 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4150         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4151         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4152         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4153         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4155 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4157         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4158         match prototype.
4160 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4162         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4163         Move -mhard-float appending from
4164         ports/sysdeps/powerpc/powerpc32/Makefile.
4165         [$(with-fp) = yes] (ASFLAGS): Likewise.
4166         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4167         * sysdeps/powerpc/nofpu: Move directory from
4168         ports/sysdeps/powerpc/nofpu.
4169         * sysdeps/powerpc/soft-fp: Move directory from
4170         ports/sysdeps/powerpc/soft-fp.
4171         * sysdeps/powerpc/powerpc32/405: Move directory from
4172         ports/sysdeps/powerpc/powerpc32/405.
4173         * sysdeps/powerpc/powerpc32/440: Move directory from
4174         ports/sysdeps/powerpc/powerpc32/440.
4175         * sysdeps/powerpc/powerpc32/464: Move directory from
4176         ports/sysdeps/powerpc/powerpc32/464.
4177         * sysdeps/powerpc/powerpc32/476: Move directory from
4178         ports/sysdeps/powerpc/powerpc32/476.
4179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4180         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4182         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4184         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4186         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4188         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4189         * README: Update for powerpc-*-linux-gnu software floating point
4190         support in libc.
4192         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4193         case to powerpc/powerpc32*.
4194         * sysdeps/unix/sysv/linux/configure: Regenerated.
4196         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4197         (_FPU_MASK_OM): Define as 0x04.
4198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4200         0x00c10080.
4201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4202         0x0000003c.
4203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4206         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4207         getcontext_e500.
4208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4209         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4210         setcontext_e500.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4212         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4213         and setcontext_e500.
4215 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4217         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4219 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         * manual/threads.texi (Default Thread Attributes): Fix typo.
4223 2013-10-04  Will Newton  <will.newton@linaro.org>
4225         * malloc/Makefile: Add tst-memalign.
4226         * malloc/tst-memalign.c: New file.
4228         * malloc/tst-posix_memalign.c: Add comments.
4229         (do_test): Add comments and call free on all potentially
4230         allocated pointers. Add space after cast.
4232         * malloc/tst-pvalloc.c: Add comments.
4233         (do_test): Add comments and call free on all potentially
4234         allocated pointers. Remove duplicate check for NULL pointer.
4235         Add space after cast.
4237         * malloc/tst-valloc.c: Add comments.
4238         (do_test): Add comments and call free on all potentially
4239         allocated pointers. Remove duplicate check for NULL pointer.
4240         Add space after cast.
4242 2013-10-04  Alan Modra  <amodra@gmail.com>
4244         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4245         Use stdint types in rather than __attribute__((mode())).
4246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4248 2013-10-04  Alan Modra  <amodra@gmail.com>
4250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4251         Correct handling of unaligned relocs for little-endian.
4252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4254 2013-10-04  Alan Modra  <amodra@gmail.com>
4256         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4257         * configure: Regenerate.
4258         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4259         * shlib-versions: Likewise.
4261 2013-10-04  Alan Modra  <amodra@gmail.com>
4263         * string/tester.c (test_memrchr): Increment reported test cycle.
4265 2013-10-04  Alan Modra  <amodra@gmail.com>
4267         * string/test-memcpy.c (do_one_test): When reporting errors, print
4268         string address and don't overrun end of string.
4270 2013-10-04  Alan Modra  <amodra@gmail.com>
4272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4273         insrdi.  Make better use of reg selection to speed exit slightly.
4274         Schedule entry path a little better.  Remove useless "are we done"
4275         checks on entry to main loop.  Handle wrapping around zero address.
4276         Correct main loop count.  Handle single left-over word from main
4277         loop inline rather than by using loop_small.  Remove extra word
4278         case in loop_small caused by wrong loop count.  Add little-endian
4279         support.
4280         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4282         cache hint.
4283         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4284         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4285         support.  Avoid rlwimi.
4286         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4288 2013-10-04  Alan Modra  <amodra@gmail.com>
4290         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4291         insrdi.  Formatting.
4292         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4293         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4294         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4295         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4296         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4297         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4299 2013-10-04  Alan Modra  <amodra@gmail.com>
4301         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4303         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4304         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4305         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4309         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4310         use of regs.  Use power7 mtocrf.  Tidy function tails.
4312 2013-10-04  Alan Modra  <amodra@gmail.com>
4314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4315         Formatting.  Consistently use rXXX register defines or rN defines.
4316         Use early exit labels that avoid restoring unused non-volatile regs.
4317         Make cr field use more consistent with rWORDn compares.  Rename
4318         regs used as shift registers for unaligned loop, using rN defines
4319         for short lifetime/multiple use regs.
4320         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4321         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4322         addi 1,1,64 to pop stack frame.  Simplify return value code.
4323         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4325 2013-10-04  Alan Modra  <amodra@gmail.com>
4327         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4328         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4329         rather than rlwimi.
4330         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4331         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4332         little-endian support.  Correct typos.
4333         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4334         rather than rlwimi.
4335         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4336         in loop and entry code to keep "and." results.
4337         (strchr): Add little-endian support.  Comment.  Move cntlzd
4338         earlier in tail.
4339         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4341 2013-10-04  Alan Modra  <amodra@gmail.com>
4343         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4344         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4345         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4346         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4348 2013-10-04  Alan Modra  <amodra@gmail.com>
4350         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4351         (rTMP): Define as r11.
4352         (strcmp): Add little-endian support.  Optimise tail.
4353         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4354         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4355         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4359         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4361 2013-10-04  Alan Modra  <amodra@gmail.com>
4363         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4364         little-endian support.  Remove unnecessary "are we done" tests.
4365         Handle "s" wrapping around zero and extremely large "size".
4366         Correct main loop count.  Handle single left-over word from main
4367         loop inline rather than by using small_loop.  Correct comments.
4368         Delete "zero" tail, use "end_max" instead.
4369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4371 2013-10-04  Alan Modra  <amodra@gmail.com>
4373         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4374         support.  Don't branch over align.
4375         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4376         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4377         support.  Rearrange tmp reg use to suit.  Comment.
4378         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4380 2013-10-04  Alan Modra  <amodra@gmail.com>
4382         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4384 2013-10-04  Alan Modra  <amodra@gmail.com>
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4387         conditional form of branch and link when obtaining pc.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4390 2013-10-04  Alan Modra  <amodra@gmail.com>
4392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4393         HIWORD/LOWORD.
4394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4397 2013-10-04  Alan Modra  <amodra@gmail.com>
4399         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4400         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4401         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4402         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4403         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4404         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4405         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4406         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4407         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4408         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4410 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4411             Alistair Popple <alistair@ozlabs.au.ibm.com>
4412             Alan Modra <amodra@gmail.com>
4414         [BZ #15723]
4415         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4417         _dl_hwcap access for little-endian.
4418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4419         destroy vmx regs when saving unaligned.
4420         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4422         destroy vmx regs when saving unaligned.
4424 2013-10-04  Alan Modra  <amodra@gmail.com>
4426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4427         Don't use a union to pack hi/low value.
4429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4431         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4432         for little-endian.
4433         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4435         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4436         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4437         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4439 2013-10-04  Alan Modra  <amodra@gmail.com>
4441         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4442         constants to usual value for .cst8 section, and remove redundant
4443         high address load.
4444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4445         constant for 0x1p52.  Load little-endian words of double from
4446         correct stack offsets.
4448 2013-10-04  Alan Modra  <amodra@gmail.com>
4450         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4451         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4452         words of double from correct stack offsets.
4453         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4454         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4455         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4458         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4459         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4460         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4461         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4462         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4463         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4464         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4465         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4466         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4467         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4469         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4471 2013-10-04  Alan Modra  <amodra@gmail.com>
4473         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4474         64-bit int/double union.
4475         (_FPU_SETCW): Likewise.
4476         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4477         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4479 2013-10-04  Alan Modra  <amodra@gmail.com>
4481         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4482         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4484 2013-10-04  Alan Modra  <amodra@gmail.com>
4486         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4487         use vector int constants.
4488         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4492         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4493         array with long long.
4494         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4495         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4496         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4497         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4498         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4499         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4500         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4501         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4502         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4503         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4504         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4506         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4508 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4510         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4511         (__signbit): Likewise.  Correct for little-endian.
4512         (__signbitl): Call __signbit.
4513         (lrint): Correct for little-endian.
4514         (lrintf): Call lrint.
4516 2013-10-04  Alan Modra  <amodra@gmail.com>
4518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4519         union 32-bit int array member with 64-bit int array.
4520         (t515, tm256): Double rather than long double.
4521         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4523 2013-10-04  Alan Modra  <amodra@gmail.com>
4525         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4526         Delete.
4527         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4528         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4529         version of math_ldbl.h.
4531 2013-10-04  Alan Modra  <amodra@gmail.com>
4533         [BZ #15734], [BZ #15735]
4534         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4535         all uses of ieee875 long double macros and unions.  Simplify test
4536         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4537         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4538         normalize after ldbl_extract_mantissa, and don't add hidden bit
4539         already handled.  Don't treat low word of ieee854 mantissa like
4540         low word of IBM long double and mask off bit when testing for
4541         zero.
4542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4543         all uses of ieee875 long double macros and unions.  Simplify tests
4544         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4545         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4546         two1022, instead use their values.  Recognise that tests for large
4547         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4549         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4550         test for 0.0L and nan.  Correct negation.
4551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4552         ieee875 long double macros and unions.  Correct output for large
4553         magnitude x.  Correct absolute value calculation.
4554         (__erfcl): Likewise.
4555         * math/libm-test.inc: Add tests for errors discovered in IBM long
4556         double versions of fmodl, remainderl, erfl and erfcl.
4558 2013-10-04  Alan Modra  <amodra@gmail.com>
4560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4561         all uses of ieee854 long double macros and unions.  Simplify tests
4562         for long doubles that are fully specified by the high double.
4563         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4564         Likewise.
4565         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4566         Remove dead code too.
4567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4568         (__ieee754_ynl): Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4572         Remove dead code too.
4573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4575         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4576         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4577         Simplify.
4578         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4579         Simplify.
4580         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4583         Comment on variable precision.
4584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4586         Likewise.
4587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4591         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4593 2013-10-04  Alan Modra  <amodra@gmail.com>
4595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4597         all uses of ieee854 long double macros and unions.
4598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4604         Likewise.
4605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4607         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4609         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4611         Simplify sign and nan test too.
4612         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4613         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4614         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4615         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4616         Likewise.
4617         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4618         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4619         Likewise.
4620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4621         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4622         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4623         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4627 2013-10-04  Alan Modra  <amodra@gmail.com>
4629         * stdio-common/printf_size.c (__printf_size): Don't use
4630         union ieee854_long_double in fpnum union.
4631         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4632         signbit macro to retrieve sign from long double.
4633         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4634         retrieve sign from long double.
4635         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4636         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4637         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4638         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4639         * math/test-misc.c (main): Don't use union ieee854_long_double.
4641 2013-10-04  Alan Modra  <amodra@gmail.com>
4643         [BZ #15680]
4644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4645         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4646         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4647         calculation.  Remove unnecessary test for denormal exponent.
4648         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4649         Correct handling of denormals.  Avoid undefined shift behaviour.
4650         Correct normalisation of low mantissa when low double is denormal.
4651         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4652         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4653         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4654         Correct normalisation of low mantissa.  Test for overflow of high
4655         mantissa and normalise.
4656         (ldbl_nearbyint): Use more readable constant for two52.
4657         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4658         (__mpn_construct_long_double): Fix test for overflow of high
4659         mantissa and correct normalisation.  Avoid undefined shift.
4661 2013-10-04  Alan Modra  <amodra@gmail.com>
4663         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4664         (union ibm_extended_long_double): Define as an array of ieee754_double.
4665         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4666         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4667         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4672         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4675         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4677 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4679         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4680         page size instead of calling getpagesize.
4682         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4683         (LOCFILE_ALIGN_MASK): Likewise.
4684         (LOCFILE_ALIGN_UP): Likewise.
4685         (LOCFILE_ALIGNED_P): Likewise.
4686         * locale/programs/ld-collate.c (collate_output): Use the new
4687         macros instead of __alignof__ (int32_t).
4688         * locale/weight.h (findidx): Likewise.
4690 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4692         [BZ #431]
4693         * manual/string.texi: Fix strncat and wcsncat.
4695 2013-10-03  Brooks Moses  <bmoses@google.com>
4697         [BZ #15915]
4698         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4699         * Makerules: ...here, and adjust associated comments.
4701 2013-10-02  Will Newton  <will.newton@linaro.org>
4703         * malloc/Makefile: Add tst-pvalloc.
4704         * malloc/tst-pvalloc.c: New file.
4706 2013-10-02  Will Newton  <will.newton@linaro.org>
4708         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4709         improve test coverage.
4711 2013-10-02  Will Newton  <will.newton@linaro.org>
4713         * malloc/Makefile: Add tst-posix_memalign.
4714         * malloc/tst-posix_memalign.c: New file.
4716 2013-10-01  Eric Blake  <eblake@redhat.com>
4718         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4719         Use __THROWNL rather than __THROW on static functions.
4721 2013-09-30  Petr Machata  <pmachata@redhat.com>
4723         * elf/elf.h (R_AARCH64_ABS16): New macro.
4724         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4725         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4726         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4727         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4728         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4729         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4730         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4731         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4732         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4733         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4734         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4735         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4736         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4737         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4738         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4739         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4740         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4741         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4742         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4743         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4744         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4745         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4746         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4747         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4748         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4749         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4750         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4751         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4752         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4753         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4754         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4755         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4756         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4757         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4758         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4759         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4760         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4761         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4762         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4763         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4764         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4765         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4766         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4767         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4768         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4769         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4770         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4771         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4772         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4773         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4774         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4775         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4776         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4777         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4778         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4779         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4780         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4781         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4782         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4783         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4784         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4785         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4786         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4787         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4788         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4789         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4790         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4791         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4792         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4793         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4794         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4795         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4796         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4797         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4798         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4799         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4800         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4801         (R_AARCH64_TLSDESC_LDR): Likewise.
4802         (R_AARCH64_TLSDESC_ADD): Likewise.
4803         (R_AARCH64_TLSDESC_CALL): Likewise.
4805 2013-09-30  Andreas Schwab  <schwab@suse.de>
4807         [BZ #15048]
4808         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4809         the nss database lookup.
4810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4813 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4815         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4817 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4819         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4820         ${Bash-specific parameter/pattern/string} parameter expansion.
4821         * sysdeps/unix/make-syscalls.sh: Likewise.
4823 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4825         * sysdeps/sh/stackguard-macros.h: New file.
4827 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4831         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4832         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4834         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4836 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4838         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4839         Fix thread ID register.
4841 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4843         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4844         [POSIX || UNIX98]: Require rather than permitting all symbols from
4845         <time.h>.
4846         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4847         element of struct sched_param.
4848         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4849         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4850         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4851         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4852         constant.
4854 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4856         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4857         argument calculation.
4859 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4861         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4862         Expect macro.
4863         [POSIX] (pthread_attr_t): Do not require type.
4864         [POSIX] (pthread_cond_t): Likewise.
4865         [POSIX] (pthread_condattr_t): Likewise.
4866         [POSIX] (pthread_key_t): Likewise.
4867         [POSIX] (pthread_mutex_t): Likewise.
4868         [POSIX] (pthread_mutexattr_t): Likewise.
4869         [POSIX] (pthread_once_t): Likewise.
4870         [POSIX] (pthread_t): Likewise.
4871         [POSIX-based standards] (pthread_atfork): Expect function.
4873 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4874             Richard Sandiford  <richard@codesourcery.com>
4876         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4877         (swap_endianness_p): New extern variable.
4878         (set_big_endian): New inline function.
4879         (maybe_swap_uint32): Likewise.
4880         (maybe_swap_uint32_array): Likewise.
4881         (maybe_swap_uint32_obstack): Likewise.
4882         * locale/programs/locfile.c: Include <stdbool.h>.
4883         (swap_endianness_p): New variable.
4884         (add_locale_uint32): Call maybe_swap_uint32.
4885         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4886         (write_locale_data): Call maybe_swap_uint32_array.
4887         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4888         maybe_swap_uint32.
4889         (obstack_int32_grow_fast): Likewise.
4890         (output_weightwc): Call maybe_swap_uint32_obstack.
4891         (collate_output): Likewise.
4892         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4893         (OPT_LITTLE_ENDIAN): Likewise.
4894         (options): Add --little-endian and --big-endian options.
4895         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4896         * locale/programs/locarchive.c: Include "locfile.h".
4897         (GET): New macro.
4898         (SET): Likewise.
4899         (INC): Likewise.
4900         (create_archive): Use the new macros to access fields of
4901         structures directly mapped from or written to locale archives.
4902         (oldlocrecentcmp): Likewise.
4903         (enlarge_archive): Likewise.
4904         (insert_name): Likewise.
4905         (add_alias): Likewise.
4906         (add_locale): Likewise.
4907         (delete_locales_from_archive): Likewise.
4908         (show_archive_content): Likewise.
4909         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4910         locale data.
4912 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4914         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4915         http://www.gnu.org/doc/freemanuals.texi.
4916         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4918 2013-09-24  Will Newton  <will.newton@linaro.org>
4920         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4921         macro.
4923 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4925         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4926         unsigned char.
4928 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4930         * manual/threads.texi (POSIX Threads): Fix a typo.
4932 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934         [BZ #14547]
4935         * string/tst-strcoll-overflow.c: New test case.
4936         * string/Makefile (xtests): Add tst-strcoll-overflow.
4937         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4938         cache if string sizes may cause integer overflow.
4940         [BZ #14547]
4941         * string/strcoll_l.c (coll_seq): New members rule, idx,
4942         save_idx and back_us.
4943         (get_next_seq_nocache): New function.
4944         (do_compare_nocache): New function.
4945         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4946         when malloc fails.
4948 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4950         [BZ #15754]
4951         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4952         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4953         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4955         [BZ #15754]
4956         * elf/Makefile (tests): Add tst-ptrguard1.
4957         (tests-static): Add tst-ptrguard1-static.
4958         (tst-ptrguard1-ARGS): Define.
4959         (tst-ptrguard1-static-ARGS): Define.
4960         * elf/tst-ptrguard1.c: New file.
4961         * elf/tst-ptrguard1-static.c: New file.
4962         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4963         * sysdeps/i386/stackguard-macros.h: Likewise.
4964         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4965         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4966         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4967         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4968         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4969         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4971 2013-09-23  Hector Marco  <hecmargi@upv.es>
4972             Ismael Ripoll  <iripoll@disca.upv.es>
4973             Carlos O'Donell  <carlos@redhat.com>
4975         [BZ #15754]
4976         * sysdeps/generic/stackguard-macros.h: Define
4977         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4978         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4979         Define __pointer_chk_guard_local.
4980         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4981         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4983 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4985         [BZ #15859]
4986         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4988 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4990         * include/string.h (__ffs): Declare as hidden.
4991         * string/ffs.c (__ffs): Define as hidden.
4992         * sysdeps/i386/ffs.c (__ffs): Likewise.
4993         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4994         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4995         * sysdeps/s390/ffs.c (__ffs): Likewise.
4996         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4998 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5000         * NEWS: Mention malloc probes.
5002         * malloc/arena.c (new_heap): New memory_heap_new probe.
5003         (grow_heap): New memory_heap_more probe.
5004         (shrink_heap): New memory_heap_less probe.
5005         (heap_trim): New memory_heap_free probe.
5006         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5007         (systrim): New memory_sbrk_less probe.
5008         * manual/probes.texi: Document them.
5010         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5011         * manual/probes.texi: Document it.
5013         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5014         (__libc_realloc): Add memory_realloc_retry probe.
5015         (__libc_memalign): Add memory_memalign_retry probe.
5016         (__libc_valloc): Add memory_valloc_retry probe.
5017         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5018         (__libc_calloc): Add memory_calloc_retry probe.
5019         * manual/probes.texi: Document them.
5021         * malloc/arena.c (get_free_list): Add probe
5022         memory_arena_reuse_free_list.
5023         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5024         and memory_arena_reuse.
5025         (arena_get2) [!PER_THREAD]: Likewise.
5026         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5027         memory_arena_reuse_realloc.
5028         * manual/probes.texi: Document them.
5030         * malloc/malloc.c (__libc_free): Add
5031         memory_mallopt_free_dyn_thresholds probe.
5032         (__libc_mallopt): Add multiple memory_mallopt probes.
5033         * manual/probes.texi: Document them.
5035         * malloc/malloc.c: Include stap-probe.h.
5036         (__libc_mallopt): Add memory_mallopt probe.
5037         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5038         * manual/probes.texi: New.
5039         * manual/Makefile (chapters): Add probes.
5040         * manual/threads.texi: Set next node.
5042 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5044         [BZ #15963, #13985]
5045         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5046         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5047         Add `Chinese' to `nan' entry name.
5049 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5051         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5052         (POLYNOMIAL): Likewise.
5053         (TAYLOR_SINCOS): Likewise.
5054         (TAYLOR_SLOW): Likewise.
5055         (__sin): Use TAYLOR_SINCOS.
5056         (__cos): Likewise.
5057         (slow): Use TAYLOR_SLOW.
5058         (sloww): Likewise.
5059         (bsloww): Likewise.
5060         (csloww): Likewise.
5062 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5064         * stdlib/strtod_l.c: Fix buffer overrun.
5066 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5068         * benchtests/Makefile (bench): Add sincos.
5069         * benchtests/bench-sincos.c: New file.
5071         * math/libm-test.inc (cos_test_data): New test inputs.
5072         (sin_test_data): Likewise.
5074         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5075         macro.
5076         (__sin): Use it.
5077         (__cos): Likewise.
5078         (slow1): Likewise.
5079         (slow2): Likewise.
5080         (sloww1): Likewise.
5081         (sloww2): Likewise.
5082         (bsloww1): Likewise.
5083         (bsloww2): Likewise.
5084         (cslow2): Likewise.
5085         (csloww1): Likewise.
5086         (csloww2): Likewise.
5088         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5089         function.
5090         (__sin): Use it.
5091         (__cos): Likewise.
5093         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5094         gotos.
5095         (__cos): Likewise.
5097 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5099         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5100         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5101         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5102         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5103         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5104         * elf/cache.c (print_entry): Handle the new cache flags.
5106 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5107             Aldy Hernandez  <aldyh@redhat.com>
5109         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5110         Change condition to [_SOFT_FLOAT].
5111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5123         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5126         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5127         declaration.
5129 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5131         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5132         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5133         (__longjmp): Use LOAD_GP to load saved GPRs.
5134         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5135         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5136         (__sigsetjmp): Use SAVE_GP to save GPRs.
5138         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5139         Do not append -msoft-float.
5140         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5142 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5144         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5146 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5148         [BZ #15966]
5149         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5150         (_FPU_GETCW): Use initial "__" on variable and field names but not
5151         on macro parameter name.
5152         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5153         parentheses around reference to macro parameter.
5155 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5157         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5158         prototype.
5159         (ctype_startup): Use uint32_t in cast and sizeof for
5160         ctype->charnames.
5162 2013-09-11  Jia Liu  <proljc@gmail.com>
5164         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5165         __daddr_t_defined.
5166         [__FreeBSD__]: Likewise.
5168 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5171         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5172         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5173         (strchr): Remove __strchr_sse42 ifunc selection.
5174         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5175         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5177 2013-09-11  Will Newton  <will.newton@linaro.org>
5179         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5180         parameter to RES. Remove hardcoded 1000 value.
5181         * benchtests/bench-skeleton.c (main): Pass RES parameter
5182         to TIMING_INIT and multiply result by 1000.
5184 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5188 2013-09-11  Andreas Schwab  <schwab@suse.de>
5190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5191         if not defined.
5192         (O_TMPFILE) [__USE_GNU]: Define.
5193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5194         Define.
5196 2013-09-11  Will Newton  <will.newton@linaro.org>
5198         [BZ #15857]
5199         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5200         does not overflow.
5202 2013-09-11  Will Newton  <will.newton@linaro.org>
5204         [BZ #15856]
5205         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5206         does not overflow.
5208 2013-09-11  Will Newton  <will.newton@linaro.org>
5210         [BZ #15855]
5211         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5212         does not overflow.
5214 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5216         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5218         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5219         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5222 2013-09-10  Allan McRae  <allan@archlinux.org>
5224         [BZ #15748]
5225         * manual/arith.texi (Parsing of Floats): Clarify
5226         cross-reference.
5228         [BZ #15849]
5229         * manual/install.texi (Running make install): Mention
5230         --enable-pt-chown.
5231         * INSTALL: Regenerated.
5233 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5235         * csu/init-first.c (_init): Remove the !SHARED condition around
5236         FPU control word initialization.
5237         * elf/dl-support.c (_dl_fpu_control): New variable.
5238         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5239         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5240         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5241         * math/test-fpucw-static.c: New file.
5242         * math/test-fpucw-ieee.c: New file.
5243         * math/test-fpucw-ieee-static.c: New file.
5244         * math/Makefile (tests): Add `test-fpucw-ieee' and
5245         `$(tests-static)'.
5246         (tests-static): New variable.
5247         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5248         dependency to...
5249         [($(build-shared),yes)]
5250         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5251         ... this.
5252         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5253         New dependency.
5255 2013-09-09  Allan McRae  <allan@archlinux.org>
5257         [BZ #15939]
5258         * manual/string.texi (Collation Functions): Fix typo in
5259         strcoll example.
5260         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5262         [BZ #15893]
5263         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5265         [BZ #15892]
5266         * libio/memstream.c (open_memstream): Fix memory leak.
5267         * libio/wmemstream.c (open_wmemstream): Likewise.
5269         [BZ #15895]
5270         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5272 2013-09-09  Will Newton  <will.newton@linaro.org>
5274         * malloc/Makefile: Add tst-realloc to tests.
5275         * malloc/tst-realloc.c: New file.
5277 2013-09-09  Allan McRae  <allan@archlinux.org>
5279         [BZ #15844]
5280         * COPYING: Update from GNU website to fix FSF address.
5281         * COPYING.LIB: Likewise.
5283 2013-09-06  David S. Miller  <davem@davemloft.net>
5285         * po/zh_TW.po: Update Chinese (traditional) translation from
5286         translation project.
5288 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5289             Joseph Myers  <joseph@codesourcery.com>
5291         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5292         "localeinfo.h".
5293         (obstack_chunk_alloc): New macro.
5294         (obstack_chunk_free): Likewise.
5295         (record_offset): New function.
5296         (init_locale_data): Likewise.
5297         (align_locale_data): Likewise.
5298         (add_locale_empty): Likewise.
5299         (add_locale_raw_data): Likewise.
5300         (add_locale_raw_obstack): Likewise.
5301         (add_locale_string): Likewise.
5302         (add_locale_wstring): Likewise.
5303         (add_locale_uint32): Likewise.
5304         (add_locale_uint32_array): Likewise.
5305         (add_locale_char): Likewise.
5306         (start_locale_structure): Likewise.
5307         (end_locale_structure): Likewise.
5308         (start_locale_prelude): Likewise.
5309         (end_locale_prelude): Likewise.
5310         (write_locale_data): Take locale_file structure rather than an
5311         iovec.
5312         * locale/programs/locfile.h: Include "obstack.h".
5313         (struct locale_file): Change to store locale file contents instead
5314         of header.
5315         (init_locale_data): New prototype.
5316         (align_locale_data): Likewise.
5317         (add_locale_empty): Likewise.
5318         (add_locale_raw_data): Likewise.
5319         (add_locale_raw_obstack): Likewise.
5320         (add_locale_string): Likewise.
5321         (add_locale_wstring): Likewise.
5322         (add_locale_uint32): Likewise.
5323         (add_locale_uint32_array): Likewise.
5324         (add_locale_char): Likewise.
5325         (start_locale_structure): Likewise.
5326         (end_locale_structure): Likewise.
5327         (start_locale_prelude): Likewise.
5328         (end_locale_prelude): Likewise.
5329         (write_locale_data): Update prototype.
5330         * locale/programs/3level.h (struct TABLE): Remove result field.
5331         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5332         Use new locale_file interface.
5333         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5334         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5335         * locale/programs/ld-address.c (address_output): Use new
5336         locale_file interface.
5337         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5338         NO_ADD_LOCALE.
5339         (collate_finish): Don't call collseq_table_finalize.
5340         (collate_output): Use new locale_file interface.
5341         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5342         in file.
5343         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5344         (TABLE): Move defines earlier in file.
5345         (ELEMENT): Likewise.
5346         (DEFAULT): Likewise.
5347         (wctrans_table_add): Move macro and inline function earlier in
5348         file.
5349         (struct wctype_table): Move type earlier in file.
5350         (add_locale_wctype_table): New static prototype.
5351         (struct locale_ctype_t): Use logical types instead of struct iovec
5352         pointers for members.
5353         (ctype_output): Use new locale_file interface.
5354         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5355         new locale_file interface.
5356         (allocate_arrays): Update for use of new locale_file interface.
5357         * locale/programs/ld-identification.c (identification_output): Use
5358         new locale_file interface.
5359         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5360         * locale/programs/ld-messages.c (messages_output): Likewise.
5361         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5362         * locale/programs/ld-name.c (name_output): Likewise.
5363         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5364         * locale/programs/ld-paper.c (paper_output): Likewise.
5365         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5366         * locale/programs/ld-time.c (time_output): Likewise.
5368 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5370         * benchtests/Makefile: Add memrchr benchmark.
5371         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5372         benchmark as memrchr.
5373         * benchtests/bench-memrchr-ifunc.c: New file.
5374         * benchtests/bench-memrchr.c: New file.
5376 2013-09-06   Will Newton  <will.newton@linaro.org>
5378         * benchtests/Makefile (string-bench): Add memcpy.
5380 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5381             Cong Wang  <amwang@redhat.com>
5383         * sysdeps/unix/sysv/linux/bits/in.h
5384         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5385         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5386         before __USE_KERNEL_IPV6_DEFS uses.
5387         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5388         IPPROTO_BEETPH.
5389         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5390         sockaddr_in6, or ipv6_mreq.
5392 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5394         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5395         memory access for final bytes in some large inputs.
5396         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5398 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5400         * string/test-memrchr.c: New file.
5401         * string/test-memrchr-ifunc.c: New file.
5402         * string/Makefile: Add new memrchr testcase.
5404 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5406         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5407         fanotify_init returns EPERM.
5409 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5411         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5412         errors.
5413         (top level): Treat second token from macro or constant entries for
5414         allowed headers as allowed.
5415         * include/complex.h: Condition internal declarations on
5416         [!_ISOMAC].
5417         * include/fenv.h: Condition include of <stdbool.h> and internal
5418         declarations on [!_ISOMAC].
5420 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5422         [BZ #15923]
5423         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5425 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5427         * configure.in (--enable-versioning): Remove configure option.
5428         (libc_cv_asm_symver_directive): Remove configure test.
5429         (libc_cv_ld_version_script_option): Likewise.
5430         (VERSIONING): Remove variable and AC_SUBST.
5431         (DO_VERSIONING): Remove AC_DEFINE.
5432         * configure: Regenerated.
5433         * config.h.in (DO_VERSIONING): Remove macro.
5434         * Makerules [$(versioning) = yes]: Change conditionals to
5435         [$(build-shared) = yes].
5436         * config.make.in (versioning): Remove variable.
5437         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5438         [$(build-shared) = yes].
5439         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5440         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5441         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5442         [$(build-shared) = yes].
5443         * extra-lib.mk [$(versioning) = yes]: Likewise.
5444         * hurd/Makefile [$(versioning) = yes]: Likewise.
5445         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5446         [SHARED].
5447         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5448         [SHARED].
5449         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5450         [SHARED && !NO_HIDDEN].
5451         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5452         [SHARED].
5453         [SHARED && DO_VERSIONING]: Likewise..
5454         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5455         [$(build-shared) = yes].
5456         * manual/install.texi (--disable-versioning): Remove
5457         documentation.
5458         * INSTALL: Regenerated.
5459         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5460         to [SHARED].
5461         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5462         [$(build-shared) = yes].
5463         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5464         * sysdeps/i386/i686/multiarch/strstr-c.c
5465         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5466         [SHARED && !NO_HIDDEN].
5467         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5468         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5469         * sysdeps/powerpc/powerpc32/dl-machine.c
5470         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5471         * sysdeps/powerpc/powerpc32/sysdep.h
5472         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5473         to [SHARED && PIC && !NO_HIDDEN].
5474         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5475         conditional to [SHARED].
5477 2013-09-04   Will Newton  <will.newton@linaro.org>
5479         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5480         * benchtests/bench-string.h: Include bench-timing.h instead
5481         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5482         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5483         call to HP_TIMING_DIFF_INIT.
5484         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5485         instead of hp-timing.h macros.
5486         * benchtests/bench-memchr.c: Likewise.
5487         * benchtests/bench-memcmp.c: Likewise.
5488         * benchtests/bench-memcpy.c: Likewise.
5489         * benchtests/bench-memmem.c: Likewise.
5490         * benchtests/bench-memmove.c: Likewise.
5491         * benchtests/bench-memset.c: Likewise.
5492         * benchtests/bench-rawmemchr.c: Likewise.
5493         * benchtests/bench-strcasecmp.c: Likewise.
5494         * benchtests/bench-strcasestr.c: Likewise.
5495         * benchtests/bench-strcat.c: Likewise.
5496         * benchtests/bench-strchr.c: Likewise.
5497         * benchtests/bench-strcmp.c: Likewise.
5498         * benchtests/bench-strcpy.c: Likewise.
5499         * benchtests/bench-strcpy_chk.c: Likewise.
5500         * benchtests/bench-strlen.c: Likewise.
5501         * benchtests/bench-strncasecmp.c: Likewise.
5502         * benchtests/bench-strncat.c: Likewise.
5503         * benchtests/bench-strncmp.c: Likewise.
5504         * benchtests/bench-strncpy.c: Likewise.
5505         * benchtests/bench-strnlen.c: Likewise.
5506         * benchtests/bench-strpbrk.c: Likewise.
5507         * benchtests/bench-strrchr.c: Likewise.
5508         * benchtests/bench-strspn.c: Likewise.
5509         * benchtests/bench-strstr.c: Likewise.
5511 2013-09-04  Will Newton  <will.newton@linaro.org>
5513         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5515 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5517         [BZ #15427]
5518         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5519         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5520         * math/libm-test.inc (lgamma_test_data): Add more tests.
5521         * sysdeps/i386/fpu/libm-test-ulps: Update.
5522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5524 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5526         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5528         Add ifunc.
5529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5530         Add strcmp-sse2-unaligned
5531         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5533 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5535         * Versions.def (libc): Add GLIBC_2.19.
5537 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5539         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5540         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5542 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #14155]
5545         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5546         intermediate calculations in recurrence.
5547         (__ieee754_ynf): Likewise.
5548         * math/libm-test.inc (jn_test_data): Do not allow spurious
5549         underflow exception.  Add more tests.
5550         (yn_test_data): Add more tests.
5551         * sysdeps/i386/fpu/libm-test-ulps: Update.
5552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5556         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5558 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5560         * csu/init-first.c: Fix then/than typos.
5561         * locale/programs/ld-collate.c: Likewise.
5562         * locale/programs/linereader.h: Likewise.
5563         * manual/charset.texi: Likewise.
5564         * manual/filesys.texi: Likewise.
5565         * manual/stdio.texi: Likewise.
5566         * manual/string.texi: Likewise.
5567         * stdlib/fmtmsg.c: Likewise.
5568         * sysdeps/i386/stpncpy.S: Likewise.
5569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5570         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5572         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5574 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5576         * elf/dl-open.c: Fix typos.
5577         * iconvdata/gbbig5.c: Likewise.
5578         * iconvdata/iso-2022-jp.c: Likewise.
5579         * iconv/gconv_int.h: Likewise.
5580         * iconv/loop.c: Likewise.
5581         * nis/rpcsvc/nis.h: Likewise.
5582         * resolv/ns_name.c: Likewise.
5583         * stdio-common/vfscanf.c: Likewise.
5584         * streams/stropts.h: Likewise.
5585         * sunrpc/rpc_thread.c: Likewise.
5586         * sysdeps/i386/strpbrk.S: Likewise.
5587         * sysdeps/ieee754/k_standard.c: Likewise.
5588         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5590         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5591         * sysdeps/mach/hurd/profil.c: Likewise.
5592         * sysdeps/s390/dl-procinfo.h: Likewise.
5593         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5595         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5596         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5597         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5599 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5601         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5604 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5606         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5607         aix specific files.
5608         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5609         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5610         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5611         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5612         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5613         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5614         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5615         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5617 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5618             Roland McGrath  <roland@hack.frob.com>
5620         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5621         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5623 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5625         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5626         __executable_start symbol instead of _start.
5628 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5630         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5631         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5632         Move macros to...
5633         * sysdeps/gnu/ldsodefs.h: ... this new file.
5635         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5636         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5637         instead of ELFOSABI_LINUX.
5639         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5640         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5641         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5642         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5643         Likewise.
5644         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5645         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5646         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5647         Likewise.
5648         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5649         (ibm_extended_long_double): Add ieee_nan member.
5650         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5651         (do_test): New function.
5653         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5654         TEST_TRUNC.
5655         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5656         functions, renamed from truncdfsf_test, trunctfsf_test,
5657         trunctfdf_test.
5658         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5659         functions.
5660         (do_test): Run all these.
5662 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5664         * argp/argp-help.c: Fix typos.
5665         * argp/argp-parse.c: Likewise.
5666         * debug/backtracesyms.c: Likewise.
5667         * elf/elf.h: Likewise.
5668         * malloc/malloc.c: Likewise.
5669         * nis/nis_print.c: Likewise.
5670         * resolv/res_comp.c: Likewise.
5671         * stdlib/stdlib.h: Likewise.
5672         * sunrpc/clnt_tcp.c: Likewise.
5673         * sunrpc/clnt_udp.c: Likewise.
5674         * sunrpc/clnt_unix.c: Likewise.
5675         * sysdeps/unix/bsd/ptsname.c: Likewise.
5676         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5679         Likewise.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5681         Likewise.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5683         Likewise.
5684         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5686 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5688         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5691 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5693         [BZ #15897]
5694         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5695         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5696         ($(objpfx)bug-dl-leaf): New rule.
5697         ($(objpfx)bug-dl-leaf.so): Likewise.
5698         ($(objpfx)bug-dl-leaf.out): Likewise.
5699         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5700         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5701         * dlfcn/bug-dl-leaf.c: New test.
5702         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5703         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5704         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5705         (dlclose): Likewise.
5706         (dlmopen): Likewise.
5708 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5710         * include/netdb.h [!_ISOMAC]:
5711         Don't include <tls.h>.
5712         (h_errno, __libc_h_errno): Move declaration and macros out of
5713         [_LIBC_REENTRANT].
5715         * include/resolv.h [_RESOLV_H_]:
5716         Don't include <tls.h>.
5717         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5718         * resolv/res_libc.c: Don't include <tls.h>.
5719         (_res): Use __attribute__ ((nocommon)) in place of
5720         __attribute__ ((section (".bss"))).
5722         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5723         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5725         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5727         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5728         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5730         * resolv/res_mkquery.c: Include <sys/time.h>.
5732         * inet/ifreq.c: Moved to ...
5733         * sysdeps/unix/ifreq.c: ... here.
5734         * inet/ifreq.c: New file, true stub version.
5736         * socket/sa_len.c: New file.
5737         * socket/Makefile (aux): Add it.
5738         * sysdeps/unix/sysv/linux/Makefile
5739         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5740         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5741         and #include <socket/sa_len.c>.
5742         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5743         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5745         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5746         * bits/socket.h: ... here.
5748         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5749         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5750         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5752 2013-08-27  Andreas Schwab  <schwab@suse.de>
5754         [BZ #15736]
5755         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5756         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5757         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5758         * string/test-strcasecmp.c (test_main): Run tests in several
5759         locales.
5760         * string/test-strncasecmp.c (test_main): Likewise.
5762         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5763         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5764         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5766         (__strncasecmp_ssse3) [PIC]: Likewise.
5768 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5770         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5772         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5773         instead of explicitly declaring xdecrypt.
5774         * nis/nss_nis/nis-publickey.c: Likewise.
5776 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5778         [BZ #15890]
5779         * nscd/aicache.c: Include res_hconf.h.
5780         (addhstaiX): Initialize res_hconf.
5782 2013-08-26  Andreas Schwab  <schwab@suse.de>
5784         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5785         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5787 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5789         * nscd/aicache.c (addhstaiX): Fix indentation.
5791 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5793         * configure.ac: Quote $build_pt_chown test.
5794         * configure: Regenerated.
5796 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5798         [BZ #15532]
5799         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5800         * math/s_cexpf.c (__cexpf): Likewise.
5801         * math/s_cexpl.c (__cexpl): Likewise.
5802         * math/libm-test.inc (cexp_test_data): Correct expected return
5803         value for NaN + i0.  Add another test.
5805 2013-08-22  David S. Miller  <davem@davemloft.net>
5807         * po/ca.po: Update Catalan translation from translation project.
5808         * po/uk.po: Add Ukrainian translations from translation project.
5810 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5812         [BZ #15797]
5813         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5814         is infinite, not alongside NaN test.
5815         * math/s_fdimf.c (__fdimf): Likewise.
5816         * math/s_fdiml.c (__fdiml): Likewise.
5817         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5818         errno is unchanged.
5820 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5822         * argp/argp-help.c: Fix typos.
5823         * crypt/speeds.c: Likewise.
5824         * csu/check_fds.c: Likewise.
5825         * elf/dl-load.c: Likewise.
5826         * elf/dl-open.c: Likewise.
5827         * elf/reldep3.c: Likewise.
5828         * elf/reldep.c: Likewise.
5829         * elf/sprof.c: Likewise.
5830         * iconv/iconv_charmap.c: Likewise.
5831         * iconv/skeleton.c: Likewise.
5832         * iconv/strtab.c: Likewise.
5833         * io/lockf64.c: Likewise.
5834         * libio/libioP.h: Likewise.
5835         * resolv/gai_notify.c: Likewise.
5836         * resolv/ns_name.c: Likewise.
5837         * resolv/ns_samedomain.c: Likewise.
5838         * resolv/res_send.c: Likewise.
5839         * stdlib/random.c: Likewise.
5840         * sunrpc/rpc/xdr.h: Likewise.
5841         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5842         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5843         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5844         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5845         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5846         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5847         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5848         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5849         * sysdeps/mach/hurd/check_fds.c: Likewise.
5850         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5851         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5852         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5853         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5854         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5855         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5856         * sysdeps/pthread/aio_notify.c: Likewise.
5857         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5858         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5859         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5860         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5861         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5863 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5865         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5866         version if bit_Slow_SSE4_2 is set.
5867         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5868         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5870 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5872         [BZ #15867]
5873         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5874         trampoline stack frame information.
5875         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5876         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5877         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5878         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5879         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5880         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5881         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5882         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5883         sa_flags value.
5884         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5885         interrupting a syscall and set with option SA_SIGINFO.
5887 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5889         [BZ #15531]
5890         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5891         argument is infinite.
5892         * math/s_cprojf.c (__cprojf): Likewise.
5893         * math/s_cprojl.c (__cprojl): Likewise.
5894         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5895         * math/libm-test.inc (cproj_test_data): Add more tests.
5897         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5899         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5900         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5901         size.  Use __ffs to determine corresponding shift.
5903 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5904             Roland McGrath  <roland@hack.frob.com>
5906         * Makefile (INSTALL): Remove trailing blank lines from output of
5907         makeinfo.
5909 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5911         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5912         Align 32 bit compat elf_greg to 8 bytes.
5914 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5916         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5918 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5920         * string/strcoll_l.c (coll_seq): New structure.
5921         (get_next_seq_cached): New function.
5922         (get_next_seq): New function.
5923         (do_compare): New function.
5924         (STRCOLL): Use GNU style definition.  Simplify implementation
5925         by using get_next_seq, get_next_seq_cached and do_compare.
5927 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5929         [BZ #14699]
5930         CVE-2013-4237
5931         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5932         member.
5933         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5934         member.
5935         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5936         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5937         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5938         conditional.
5939         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5940         GETDENTS_64BIT_ALIGNED.
5941         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5942         * manual/filesys.texi (Reading/Closing Directory): Document
5943         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5944         strongly.
5945         * manual/conf.texi (Limits for Files): Add portability note to
5946         NAME_MAX, PATH_MAX.
5947         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5949 2013-08-13  Andreas Schwab  <schwab@suse.de>
5951         [BZ #15749]
5952         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5953         of fabs.
5954         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5955         LDBL_MAX_EXP >= 16384]: Add tests for it.
5957 2013-08-12  David S. Miller  <davem@davemloft.net>
5959         * version.h (RELEASE): Set to "development".
5960         (VERSION): Set to "2.18.90".
5961         * NEWS: Add 2.19 section.
5963 2013-08-03  David S. Miller  <davem@davemloft.net>
5965         * po/ko.po: Update Korean translation from translation project.
5967 2013-08-01  David S. Miller  <davem@davemloft.net>
5969         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5970         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5971         Bilka.
5973 2013-07-30  David S. Miller  <davem@davemloft.net>
5975         * po/fr.po: Update French translation from translation project.
5977 2013-07-28  David S. Miller  <davem@davemloft.net>
5979         * po/cs.po: Update Czech translation from translation project.
5981         * po/sv.po: Update Swedish translation from translation project.
5983 2013-07-27  David S. Miller  <davem@davemloft.net>
5985         * po/eo.po: Update Esperanto translation from translation project.
5987         * po/vi.po: Update Vietnamese translation from translation project.
5989         * po/de.po: Update German translation from translation project.
5991 2013-07-26  David S. Miller  <davem@davemloft.net>
5993         * po/bg.po: Update Bulgarian translation from translation project.
5995         * po/nl.po: Update Dutch translation from translation project.
5996         * po/pl.po: Update Polish translation from translation project.
5997         * po/ru.po: Update Russian translation from translation project.
5999 2013-07-24  David S. Miller  <davem@davemloft.net>
6001         * po/libc.pot: Update.
6003 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6005         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6006         variable page size.
6007         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6008         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6009         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6011 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6013         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6015 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6016             Andreas Schwab  <schwab@suse.de>
6017             Roland McGrath  <roland@hack.frob.com>
6018             Joseph Myers  <joseph@codesourcery.com>
6019             Carlos O'Donell  <carlos@redhat.com>
6021         [BZ #15755]
6022         * config.h.in: Define HAVE_PT_CHOWN.
6023         * config.make.in (build-pt-chown): New variable.
6024         * configure.in (--enable-pt_chown): New configure option.
6025         * configure: Regenerate.
6026         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6027         build-pt-chown is enabled.
6028         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6029         pt_chown to fix pty ownership.
6030         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6031         CLOSE_ALL_FDS.
6032         * manual/install.texi (Configuring and compiling): Mention
6033         --enable-pt_chown. Add @findex for grantpt.
6034         * INSTALL: Regenerate.
6036 2013-07-20  David S. Miller  <davem@davemloft.net>
6038         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6039         difference between 32-bit and 64-bit.
6041 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6043         [BZ #15711]
6044         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6045         Avoid system header dependency with -ffreestanding.
6046         ($(objpfx)bits/syscall%d): Likewise.
6048 2013-07-13  David S. Miller  <davem@davemloft.net>
6050         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6051         underflows from atanl/atan2l due to bug 15319.
6052         (casinh_test_data): Likewise.
6054 2013-07-07  David S. Miller  <davem@davemloft.net>
6056         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6058 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6060         * sysdeps/i386/fpu/libm-test-ulps: Update.
6061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6063 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6065         * configure.in (--enable-lock-elision): Fix message text.
6066         * INSTALL: Regenerate.
6067         * configure: Regenerate.
6069 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6073 2013-07-03  Andreas Jaeger  <aj@suse.de>
6075         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6076         define.
6077         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6078         (ptrace_peeksiginfo_args): Add.
6079         (__ptrace_peeksiginfo_flags): Add.
6080         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6081         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6082         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6084 2013-07-03  Allan McRae  <allan@archlinux.org>
6086         * sysdeps/i386/fpu/libm-test-ulps: Update.
6088 2013-07-02  David S. Miller  <davem@davemloft.net>
6090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6092 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6096 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6098         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6101 2013-07-02  Andi Kleen <ak@linux.intel.com>
6103         * config.h.in (ENABLE_LOCK_ELISION): Add.
6104         * configure.in (--enable-lock-elision): Add option.
6105         * manual/install.texi: Document --enable lock elision.
6106         * configure: Regenerate
6107         * INSTALL: Regenerate.
6109 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6111         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6112         SSE4.2 strcasecmp for libc.a.
6113         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6115 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6117         [BZ #13304]
6118         * soft-fp/op-common.h (_FP_FMA): New macro.
6119         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6120         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6121         (_FP_MUL_MEAT_1_imm): ... here.
6122         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6123         (_FP_MUL_MEAT_1_wide): ... here.
6124         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6125         (_FP_MUL_MEAT_1_hard): ... here.
6126         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6127         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6128         (_FP_MUL_MEAT_2_wide): ... here.
6129         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6130         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6131         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6132         (_FP_MUL_MEAT_2_gmp): ... here.
6133         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6134         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6135         (_FP_MUL_MEAT_4_wide): ... here.
6136         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6137         (_FP_MUL_MEAT_4_gmp): ... here.
6138         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6139         (_FP_WFRACBITS_DW_S): Likewise.
6140         (_FP_WFRACXBITS_DW_S): Likewise.
6141         (_FP_HIGHBIT_DW_S): Likewise.
6142         (FP_FMA_S): Likewise.
6143         (_FP_FRAC_HIGH_DW_S): Likewise.
6144         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6145         (_FP_WFRACBITS_DW_D): Likewise.
6146         (_FP_WFRACXBITS_DW_D): Likewise.
6147         (_FP_HIGHBIT_DW_D): Likewise.
6148         (FP_FMA_D): Likewise.
6149         (_FP_FRAC_HIGH_DW_D): Likewise.
6150         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6151         (_FP_WFRACBITS_DW_E): Likewise.
6152         (_FP_WFRACXBITS_DW_E): Likewise.
6153         (_FP_HIGHBIT_DW_E): Likewise.
6154         (FP_FMA_E): Likewise.
6155         (_FP_FRAC_HIGH_DW_E): Likewise.
6156         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6157         (_FP_WFRACBITS_DW_Q): Likewise.
6158         (_FP_WFRACXBITS_DW_Q): Likewise.
6159         (_FP_HIGHBIT_DW_Q): Likewise.
6160         (FP_FMA_Q): Likewise.
6161         (_FP_FRAC_HIGH_DW_Q): Likewise.
6162         * soft-fp/fmasf4.c: New file.
6163         * soft-fp/fmadf4.c: Likewise.
6164         * soft-fp/fmatf4.c: Likewise.
6166 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6169         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6170         Silvermont.
6171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6172         macro.
6173         (index_Slow_SSE4_2): Likewise.
6174         (index_Prefer_PMINUB_for_stringop): Likewise.
6175         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6176         bit_Slow_SSE4_2 is set.
6177         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6178         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6180 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6182         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6183         rtld_global._dl_hwcap2.
6184         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6185         POWER8.
6186         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6187         POWER8 feature descriptions defined in _dl_hwcap2.
6188         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6189         string handling for POWER8 feature bits.
6190         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6191         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6192         _dl_powerpc_cap_flags.
6193         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6194         * sysdeps/powerpc/rtld-global-offsets.sym
6195         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6196         _dl_hwcap2 in the rtld_global_ro structure.
6198 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6200         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6201         hardware capabilities in support of AT_HWCAP2.
6202         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6203         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6204         GLRO(dl_hwcap2).
6205         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6206         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6207         explicitly the unknown a_type display mechanism is used.
6208         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6209         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6210         struct member.
6211         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6212         to macro prototype for AT_HWCAP2 support.
6213         * sysdeps/i386/dl-procinfo.h: Likewise.
6214         * sysdeps/s390/dl-procinfo.h: Likewise.
6215         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6216         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6217         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6218         return -1 for unknown a_type display fallback.
6219         * sysdeps/sparc/dl-procinfo.h: Likewise.
6220         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6221         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6223 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6225         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6226         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6228 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6230         [BZ #12492]
6231         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6232         mprotect making __stack_prot writable.
6234 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6235             Joseph Myers  <joseph@codesourcery.com>
6237         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6238         as being properly aligned.
6240 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6242         * dlfcn/modstatic5.c: New file.
6243         * dlfcn/tststatic5.c: New file.
6244         * dlfcn/Makefile (tests): Add tststatic5.
6245         (tests-static): Likewise.
6246         (modules-names): Add modstatic5.
6247         (tststatic5-ENV): New variable.
6248         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6250         [BZ #15022]
6251         * elf/dl-support.c (_dl_main_map): New variable.
6252         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6253         (_dl_nns, _dl_load_adds): Set to 1.
6254         (_dl_initial_searchlist): Refer to _dl_main_map.
6255         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6256         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6257         call to _dl_get_origin.
6258         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6259         around call_map.
6260         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6261         * dlfcn/modstatic3.c: New file.
6262         * dlfcn/tststatic3.c: New file.
6263         * dlfcn/tststatic4.c: New file.
6264         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6265         (tests-static): Likewise.
6266         (modules-names): Add modstatic3.
6267         (tststatic3-ENV, tststatic4-ENV): New variables.
6268         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6269         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6271 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6273         * configure.in (CC): Require GCC version 4.4 or later.
6274         * configure: Regenerated.
6275         * manual/install.texi (Tools for Compilation): Update GCC version
6276         requirement.
6277         * INSTALL: Regenerated.
6279 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6281         [BZ #15674]
6282         * string/test-memcmp.c (check2): New.
6283         (main): Call check2.
6285         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6287 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6289         [BZ #15022]
6290         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6291         over to...
6292         (dl_open_worker) [!SHARED]: ... here.
6294 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6296         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6298 2013-06-25  Richard Henderson  <rth@redhat.com>
6300         * locale/programs/locarchive.c: Include <libc-internal.h>
6302 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6304         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6305         trailing whitespace removed.
6307 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6309         [BZ #10283]
6310         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6311         * locale/programs/locarchive.c: Include libc-mmap.h.
6312         (prepare_address_space): Take two new outputs (the mmap base and len).
6313         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6314         values.
6315         (create_archive): Declare new mmap base and len values for
6316         prepare_address_space, and store the result in ah.
6317         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6318         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6319         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6320         Declare new mmap base and len values for
6321         prepare_address_space, and store the result in new_ah.
6322         (open_archive): Declare new mmap base and len values for
6323         prepare_address_space, and store the result in ah.
6324         (close_archive): If ah->mmap_base is not NULL, use that and
6325         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6326         * sysdeps/generic/libc-mmap.h: New file.
6328 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6330         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6331         (ALIGN_UP): Likewise.
6332         (PTR_ALIGN_DOWN): Likewise.
6333         (PTR_ALIGN_UP): Likewise.
6335 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6337         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6338         entry mapped to PPC_PLATFORM_POWER8.
6339         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6340         POWER8.
6341         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6342         (_dl_string_platform): Add case for exporting platform position for
6343         POWER8.
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6345         search path to sysdeps/powerpc/powerpc32/power8 directory.
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6347         search path to sysdeps/powerpc/powerpc64/power8 directory.
6348         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6349         power7 directories.
6350         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6351         power7 directories.
6353 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6355         * INSTALL: Regenerate.
6357         * nscd/connections.c (nscd_init): Fix comment.
6359 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6361         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6363         [BZ #15667]
6364         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6365         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6367 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6369         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6370         DL_DST_REQ_STATIC.
6371         (DL_DST_REQ_STATIC): Remove macro.
6373 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6375         [BZ #7006]
6376         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6377         with a shift of 0 bits.
6379 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6381         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6382         $(tststatic-ENV).
6384 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6386         [BZ #15655]
6387         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6389 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6391         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6392         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6393         accepts -fno-tree-loop-distribute-patterns.
6394         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6395         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6396         recursive call.
6397         * string/memset.c (memset): Likewise.
6398         * string/test-memmove.c (simple_memmove): Disable loop transformation
6399         to library calls.
6400         * string/test-memset.c (simple_memset): Likewise.
6401         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6402         * benchtests/bench-memset.c (simple_memset): Likewise.
6403         * configure: Regenerated.
6405 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6407         * math/test-misc.c (main): Ignore fesetround failure when failures
6408         of subsequent rounding tests would be ignored.
6410         [BZ #15654]
6411         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6412         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6413         * math/fegetenv.c (__fegetenv): Return 0.
6414         * math/fegetexcept.c (fegetexcept): Return 0.
6415         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6416         FE_TONEAREST.
6417         * math/feholdexcpt.c (feholdexcept): Return 0.
6418         * math/fesetenv.c (__fesetenv): Return 0.
6419         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6420         argument FE_TONEAREST.
6421         * math/feupdateenv.c (__feupdateenv): Return 0.
6422         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6424 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6426         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6427         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6428         ($(objpfx)rtld-%.os rules): Use them.
6430 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6432         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6433         fields.
6435 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6437         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6438         length of target pattern, then descending length of dependency pattern.
6439         * configure.in (AWK): Require gawk 3.1.2 or newer.
6440         * manual/install.texi (Tools for Compilation): Say that we do.
6441         * configure: Regenerated.
6443         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6444         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6445         * scripts/sysd-rules.awk: ... this new script.
6446         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6447         than a glob-style pattern.
6449 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6451         * math/test-misc.c (main): Do not treat incorrectly rounded
6452         conversions as failure unless ROUNDING_TESTS passes.
6454 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #15631]
6457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6458         restore exception state around main square root computation, then
6459         check for inexactness explicitly.
6461         * math/libm-test.inc (fma_test_data): Add another test.
6463 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6465         * manual/threads.texi (Non-POSIX Extensions): New document
6466         node.  Document pthread_getattr_default_np and
6467         pthread_setattr_default_np.
6469         * Versions.def (libpthread): Add GLIBC_2.18.
6470         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6472         Likewise.
6473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6474         Likewise.
6475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6476         Likewise.
6477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6478         Likewise.
6479         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6480         Likewise.
6481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6482         Likewise.
6483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6484         Likewise.
6485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6486         Likewise.
6487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6488         Likewise.
6490 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6493         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6495 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6496             H.J. Lu  <hjl.tools@gmail.com>
6498         [BZ #15627]
6499         * sysdeps/x86_64/rtld-memset.c: Remove file.
6500         * sysdeps/x86_64/rtld-memset.S: New file.
6502 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6504         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6505         (test_in_one_mode): Take arguments for whether the rounding mode
6506         is supported for each floating-point type.
6507         (do_test): Pass new arguments to test_in_one_mode using
6508         ROUNDING_TESTS.
6510 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6512         * posix/tst-waitid.c (do_test): Distinguish different instances of
6513         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6514         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6515         before entering the kernel for waitpid.
6517 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6519         * NEWS: Fix note on clock function precision.  Text by Roland
6520         McGrath.
6522 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6524         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6525         it into place only when and if the sanity check passes.
6527 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6529         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6530         output for whether conversion result is exact.  Take argument
6531         indicating whether type is IBM long double.
6532         (round_for_all): Change need_exact field to ibm_ld.
6533         * stdlib/tst-strtod-round.c (struct exactness): New type.
6534         (struct test): Change bool ld_ok field to struct exactness exact.
6535         (TEST): Update all definitions for change to field.
6536         (tests): Regenerate array contents.
6537         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6538         field value.  Check for IBM long double here.
6539         (do_test): Update calls to test_in_one_mode.
6541 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6543         [BZ #12515]
6544         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6545         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6547 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6549         [BZ #15605]
6550         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6551         generated by the compiler on loop optimizations.
6552         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6553         general definitions.
6555 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6557         * math/bug-nextafter.c: Include <math-tests.h>.
6558         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6559         the relevant type.
6560         * math/bug-nexttoward.c: Include <math-tests.h>.
6561         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6562         the relevant type.
6563         * math/test-misc.c: Include <math-tests.h>.
6564         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6565         the relevant type.
6567 2013-06-12  Andreas Jaeger  <aj@suse.de>
6569         * po/ia.po: Update Interlingua translation from translation
6570         project.
6572 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6574         * include/fenv.h: Include stdbool.h.
6575         (struct rm_ctx): New structure.
6576         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6577         Define macro.
6578         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6579         (SET_RESTORE_ROUNDF): Likewise.
6580         (SET_RESTORE_ROUNDL): Likewise.
6581         (SET_RESTORE_ROUND_NOEX): Likewise.
6582         (SET_RESTORE_ROUND_NOEXF): Likewise.
6583         (SET_RESTORE_ROUND_NOEXL): Likewise.
6584         (SET_RESTORE_ROUND_53BIT): Likewise.
6585         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6586         (libc_feresetround_noexf_ctx): Likewise.
6587         (libc_feresetround_noexl_ctx): Likewise.
6588         (libc_feholdsetround_53bit_ctx): Likewise.
6589         (libc_feresetround_53bit_ctx): Likewise.
6590         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6591         (libc_feholdexcept_setround_sse_ctx): New function.
6592         (libc_fesetenv_sse_ctx): Likewise.
6593         (libc_feupdateenv_sse_ctx): Likewise.
6594         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6595         (libc_feholdexcept_setround_387_ctx): Likewise.
6596         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6597         (libc_feholdsetround_387_prec_ctx): Likewise.
6598         (libc_feholdsetround_387_ctx): Likewise.
6599         (libc_feholdsetround_387_53bit_ctx): Likewise.
6600         (libc_feholdsetround_sse_ctx): Likewise.
6601         (libc_feresetround_sse_ctx): Likewise.
6602         (libc_feresetround_387_ctx): Likewise.
6603         (libc_feupdateenv_387_ctx): Likewise.
6604         (libc_feholdexcept_setroundf_ctx): Define macro.
6605         (libc_fesetenvf_ctx): Likewise.
6606         (libc_feupdateenvf_ctx): Likewise.
6607         (libc_feholdsetroundf_ctx): Likewise.
6608         (libc_feresetroundf_ctx): Likewise.
6609         (libc_feholdexcept_setround_ctx): Likewise.
6610         (libc_fesetenv_ctx): Likewise.
6611         (libc_feupdateenv_ctx): Likewise.
6612         (libc_feholdsetround_ctx): Likewise.
6613         (libc_feresetround_ctx): Likewise.
6614         (libc_feholdexcept_setroundl_ctx): Likewise.
6615         (libc_feupdateenvl_ctx): Likewise.
6616         (libc_feholdsetroundl_ctx): Likewise.
6617         (libc_feresetroundl_ctx): Likewise.
6618         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6619         (libc_feresetround_53bit_ctx): Likewise.
6621 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6623         * locale/iso-639.def: Convert to UTF-8.
6625 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6627         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6628         (EXCEPTION_TESTS_double): Likewise.
6629         (EXCEPTION_TESTS_long_double): Likewise.
6630         (EXCEPTION_TESTS): Likewise.
6631         * math/libm-test.inc (test_exceptions): Only test exceptions if
6632         EXCEPTION_TESTS (FLOAT).
6634 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6636         * benchtests/Makefile (string-bench): Add strcpy_chk and
6637         stpcpy_chk.
6638         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6639         * benchtests/bench-stpcpy_chk.c: New file.
6640         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6641         * benchtests/bench-strcpy_chk.c: New file.
6642         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6643         code.
6644         (do_test): Likewise.
6646 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6649         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6650         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6651         with tabs where appropriate.
6652         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6653         dl-procinfo.h.
6654         [PPC_PLATFORM_PPC440]: Likewise.
6655         [PPC_PLATFORM_PPC464]: Likewise.
6656         [PPC_PLATFORM_PPC476]: Likewise.
6657         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6658         ppc464, and ppc476 platform strings merging from ports/
6659         dl-procinfo.h.
6661 2013-06-11  Andreas Schwab  <schwab@suse.de>
6663         [BZ #14991]
6664         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6665         (from_ucs4_idx): Regenerate.
6666         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6667         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6668         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6669         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6670         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6671         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6672         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6673         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6674         from FROM_LOOP and TO_LOOP specific macros.
6675         (BODY): Handle combining characters.
6676         * iconvdata/BIG5HKSCS.irreversible: Update.
6677         * iconvdata/BIG5HKSCS.precomposed: New file.
6678         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6679         characters.
6680         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6682 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6684         * include/sys/time.h: Fix indentation and add copyright header.
6686         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6687         (do_test): Likewise.
6688         * string/test-memchr.c (do_one_test): Likewise.
6689         (do_test): Likewise.
6690         * string/test-memcmp.c (do_one_test): Likewise.
6691         (do_test): Likewise.
6692         * string/test-memcpy.c (do_one_test): Likewise.
6693         (do_test): Likewise.
6694         * string/test-memmem.c (do_one_test): Likewise.
6695         (do_test): Likewise.
6696         (do_random_tests): Likewise.
6697         * string/test-memmove.c (do_one_test): Likewise.
6698         (do_test): Likewise.
6699         * string/test-memset.c (do_one_test): Likewise.
6700         (do_test): Likewise.
6701         * string/test-rawmemchr.c (do_one_test): Likewise.
6702         (do_test): Likewise.
6703         * string/test-strcasecmp.c (do_one_test): Likewise.
6704         (do_test): Likewise.
6705         * string/test-strcasestr.c (do_one_test): Likewise.
6706         (do_test): Likewise.
6707         * string/test-strcat.c (do_one_test): Likewise.
6708         (do_test): Likewise.
6709         * string/test-strchr.c (do_one_test): Likewise.
6710         (do_test): Likewise.
6711         * string/test-strcmp.c (do_one_test): Likewise.
6712         (do_test): Likewise.
6713         * string/test-strcpy.c (do_one_test): Likewise.
6714         (do_test): Likewise.
6715         * string/test-string.h: Likewise.
6716         (test_init): Likewise.
6717         * string/test-strlen.c (do_one_test): Likewise.
6718         (do_test): Likewise.
6719         * string/test-strncasecmp.c (do_one_test): Likewise.
6720         (do_test): Likewise.
6721         * string/test-strncat.c (do_one_test): Likewise.
6722         (do_test): Likewise.
6723         * string/test-strncmp.c (do_one_test): Likewise.
6724         (do_test_limit): Likewise.
6725         (do_test): Likewise.
6726         * string/test-strncpy.c (do_one_test): Likewise.
6727         (do_test): Likewise.
6728         * string/test-strnlen.c (do_one_test): Likewise.
6729         (do_test): Likewise.
6730         * string/test-strpbrk.c (do_one_test): Likewise.
6731         (do_test): Likewise.
6732         * string/test-strrchr.c (do_one_test): Likewise.
6733         (do_test): Likewise.
6734         * string/test-strspn.c (do_one_test): Likewise.
6735         (do_test): Likewise.
6736         * string/test-strstr.c (do_one_test): Likewise.
6737         (do_test): Likewise.
6739         * benchtests/Makefile (string-bench): Add string benchmarks.
6740         * benchtests/bench-bcopy-ifunc.c: New file.
6741         * benchtests/bench-bcopy.c: New file.
6742         * benchtests/bench-bzero-ifunc.c: New file.
6743         * benchtests/bench-bzero.c: New file.
6744         * benchtests/bench-memccpy-ifunc.c: New file.
6745         * benchtests/bench-memccpy.c: New file.
6746         * benchtests/bench-memchr-ifunc.c: New file.
6747         * benchtests/bench-memchr.c: New file.
6748         * benchtests/bench-memcmp-ifunc.c: New file.
6749         * benchtests/bench-memcmp.c: New file.
6750         * benchtests/bench-memmem-ifunc.c: New file.
6751         * benchtests/bench-memmem.c: New file.
6752         * benchtests/bench-memmove-ifunc.c: New file.
6753         * benchtests/bench-memmove.c: New file.
6754         * benchtests/bench-mempcpy-ifunc.c: New file.
6755         * benchtests/bench-mempcpy.c: New file.
6756         * benchtests/bench-memset-ifunc.c: New file.
6757         * benchtests/bench-memset.c: New file.
6758         * benchtests/bench-rawmemchr-ifunc.c: New file.
6759         * benchtests/bench-rawmemchr.c: New file.
6760         * benchtests/bench-stpcpy-ifunc.c: New file.
6761         * benchtests/bench-stpcpy.c: New file.
6762         * benchtests/bench-stpncpy-ifunc.c: New file.
6763         * benchtests/bench-stpncpy.c: New file.
6764         * benchtests/bench-strcasecmp-ifunc.c: New file.
6765         * benchtests/bench-strcasecmp.c: New file.
6766         * benchtests/bench-strcasestr-ifunc.c: New file.
6767         * benchtests/bench-strcasestr.c: New file.
6768         * benchtests/bench-strcat-ifunc.c: New file.
6769         * benchtests/bench-strcat.c: New file.
6770         * benchtests/bench-strchr-ifunc.c: New file.
6771         * benchtests/bench-strchr.c: New file.
6772         * benchtests/bench-strchrnul-ifunc.c: New file.
6773         * benchtests/bench-strchrnul.c: New file.
6774         * benchtests/bench-strcmp-ifunc.c: New file.
6775         * benchtests/bench-strcmp.c: New file.
6776         * benchtests/bench-strcpy-ifunc.c: New file.
6777         * benchtests/bench-strcpy.c: New file.
6778         * benchtests/bench-strcspn-ifunc.c: New file.
6779         * benchtests/bench-strcspn.c: New file.
6780         * benchtests/bench-strlen-ifunc.c: New file.
6781         * benchtests/bench-strlen.c: New file.
6782         * benchtests/bench-strncasecmp-ifunc.c: New file.
6783         * benchtests/bench-strncasecmp.c: New file.
6784         * benchtests/bench-strncat-ifunc.c: New file.
6785         * benchtests/bench-strncat.c: New file.
6786         * benchtests/bench-strncmp-ifunc.c: New file.
6787         * benchtests/bench-strncmp.c: New file.
6788         * benchtests/bench-strncpy-ifunc.c: New file.
6789         * benchtests/bench-strncpy.c: New file.
6790         * benchtests/bench-strnlen-ifunc.c: New file.
6791         * benchtests/bench-strnlen.c: New file.
6792         * benchtests/bench-strpbrk-ifunc.c: New file.
6793         * benchtests/bench-strpbrk.c: New file.
6794         * benchtests/bench-strrchr-ifunc.c: New file.
6795         * benchtests/bench-strrchr.c: New file.
6796         * benchtests/bench-strspn-ifunc.c: New file.
6797         * benchtests/bench-strspn.c: New file.
6798         * benchtests/bench-strstr-ifunc.c: New file.
6799         * benchtests/bench-strstr.c: New file.
6801         * benchtests/Makefile: Disable parallel execution of targets.
6802         (string-bench): Add memcpy.
6803         (benchset): New variable to store a list of benchmark sets.
6804         (bench-func): Renamed from bench.
6805         (bench-set): New target.
6806         (bench): Depend on bench-func and bench-set.
6807         * benchtests/README: Add section on benchmark sets.
6808         * benchtests/bench-memcpy-ifunc.c: New file.
6809         * benchtests/bench-memcpy.c: New file.
6810         * benchtests/bench-string.h: New file.
6812 2013-06-11  Andreas Schwab  <schwab@suse.de>
6814         [BZ #15577]
6815         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6816         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6817         values in the triple.
6818         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6819         terminator in the group key.
6821 2013-06-11  Andreas Jaeger  <aj@suse.de>
6823         * po/zh_TW.po: Update Chinese (traditional) translation from
6824         translation project.
6826 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6828         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6829         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6830         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6831         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6832         (clock_getcpuclockid): Likewise.
6833         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6834         Add weak_alias and libc_hidden_def.
6835         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6836         * rt/clock_gettime.c (clock_gettime): Rename to
6837         __clock_gettime.  Add weak_alias and libc_hidden_def.
6838         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6839         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6840         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6841         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6842         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6843         Likewise.
6844         * rt/clock_settime.c (clock_settime): Rename to
6845         __clock_settime.  Add weak_alias and libc_hidden_def.
6846         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6848 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6850         * mach/err_boot.sub: Remove trailing whitespace.
6851         * mach/err_ipc.sub: Likewise.
6852         * mach/err_mach.sub: Likewise.
6854         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6855         (ROUNDING_TESTS_double): Likewise.
6856         (ROUNDING_TESTS_long_double): Likewise.
6857         (ROUNDING_TESTS): Likewise.
6858         * math/libm-test.inc: Include <math-tests.h>.
6859         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6860         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6861         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6862         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6864 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6866         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6867         of assigning.
6869 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6871         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6872         otherwise empty TRANS lines.
6873         * sysdeps/gnu/errlist.c: Regenerated.
6875         * catgets/gencat.c (error_print): Use (void) in function
6876         definition.
6877         * crypt/crypt_util.c (__init_des): Likewise.
6878         * crypt/speeds.c (Stop): Likewise.
6879         (main): Likewise.
6880         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6881         * inet/ruserpass.c (token): Likewise.
6882         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6883         * intl/localealias.c (extend_alias_table): Likewise.
6884         * intl/plural-exp.c (init_germanic_plural): Likewise.
6885         * libio/fcloseall.c (__fcloseall): Likewise.
6886         * libio/genops.c (_IO_flush_all): Likewise.
6887         (_IO_flush_all_linebuffered): Likewise.
6888         (_IO_cleanup): Likewise.
6889         (_IO_iter_begin): Likewise.
6890         (_IO_iter_end): Likewise.
6891         (_IO_list_lock): Likewise.
6892         (_IO_list_unlock): Likewise.
6893         (_IO_list_resetlock): Likewise.
6894         * libio/getchar.c (getchar): Likewise.
6895         * libio/getchar_u.c (getchar_unlocked): Likewise.
6896         * libio/getwchar.c (getwchar): Likewise.
6897         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6898         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6899         * login/getpt.c (__getpt): Likewise.
6900         * login/tst-utmp.c (main): Likewise.
6901         * malloc/hooks.c (__malloc_check_init): Likewise.
6902         * malloc/malloc.c (__malloc_stats): Likewise.
6903         * malloc/mtrace.c (tr_break): Likewise.
6904         (mtrace): Likewise.
6905         (muntrace): Likewise.
6906         * misc/fstab.c (endfsent): Likewise.
6907         * misc/getclktck.c (__getclktck): Likewise.
6908         * misc/getdtsz.c (__getdtablesize): Likewise.
6909         * misc/gethostid.c (gethostid): Likewise.
6910         * misc/getpagesize.c (__getpagesize): Likewise.
6911         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6912         (__get_nprocs): Likewise.
6913         (__get_phys_pages): Likewise.
6914         (__get_avphys_pages): Likewise.
6915         * misc/getttyent.c (getttyent): Likewise.
6916         (setttyent): Likewise.
6917         (endttyent): Likewise.
6918         * misc/getusershell.c (getusershell): Likewise.
6919         (endusershell): Likewise.
6920         (setusershell): Likewise.
6921         (initshells): Likewise.
6922         * misc/hsearch.c (__hdestroy): Likewise.
6923         * misc/sync.c (sync): Likewise.
6924         * misc/syslog.c (closelog_internal): Likewise.
6925         (closelog): Likewise.
6926         * misc/ttyslot.c (ttyslot): Likewise.
6927         * misc/vhangup.c (vhangup): Likewise.
6928         * posix/fork.c (__fork): Likewise.
6929         * posix/getegid.c (__getegid): Likewise.
6930         * posix/geteuid.c (__geteuid): Likewise.
6931         * posix/getgid.c (__getgid): Likewise.
6932         * posix/getpid.c (__getpid): Likewise.
6933         * posix/getppid.c (__getppid): Likewise.
6934         * posix/getuid.c (__getuid): Likewise.
6935         * posix/pause.c (pause): Likewise.
6936         * posix/setpgrp.c (setpgrp): Likewise.
6937         * posix/setsid.c (__setsid): Likewise.
6938         * posix/test-vfork.c (noop): Likewise.
6939         * resolv/gethnamaddr.c (_endhtent): Likewise.
6940         (_gethtent): Likewise.
6941         (ht_endhostent): Likewise.
6942         (gethostent): Likewise.
6943         (dns_service): Likewise.
6944         * stdlib/drand48.c (drand48): Likewise.
6945         * stdlib/lrand48.c (lrand48): Likewise.
6946         * stdlib/mrand48.c (mrand48): Likewise.
6947         * stdlib/rand.c (rand): Likewise.
6948         * stdlib/random.c (__random): Likewise.
6949         * stdlib/setenv.c (clearenv): Likewise.
6950         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6951         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6952         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6953         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6954         (__get_nprocs): Likewise.
6955         (__get_phys_pages): Likewise.
6956         (__get_avphys_pages): Likewise.
6957         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6958         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6959         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6960         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6961         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6962         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6963         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6964         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6965         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6966         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6967         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6968         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6969         * sysdeps/posix/clock.c (clock): Likewise.
6970         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6971         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6972         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6973         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6974         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6975         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6976         (__get_nprocs_conf): Likewise.
6977         (__get_phys_pages): Likewise.
6978         (__get_avphys_pages): Likewise.
6979         * time/clock.c (clock): Likewise.
6980         * time/tzset.c (__tzname_max): Likewise.
6982 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6984         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6985         (__bswap_32): Do not use "register".
6986         * crypt/crypt.c (_ufc_doit_r): Likewise.
6987         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6988         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6989         * gmon/gmon.c (__monstartup): Likewise.
6990         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6991         * hurd/hurdmalloc.c (more_memory): Likewise.
6992         (malloc): Likewise.
6993         (free): Likewise.
6994         (realloc): Likewise.
6995         (malloc_fork_prepare): Likewise.
6996         (malloc_fork_parent): Likewise.
6997         (malloc_fork_child): Likewise.
6998         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6999         (_svcauth_des): Likewise.
7000         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7001         * inet/inet_net.c (inet_network): Likewise.
7002         * inet/inet_netof.c (inet_netof): Likewise.
7003         * inet/rcmd.c (__validuser2_sa): Likewise.
7004         * io/fts.c (fts_open): Likewise.
7005         (fts_load): Likewise.
7006         (fts_close): Likewise.
7007         (fts_read): Likewise.
7008         (fts_children): Likewise.
7009         (fts_build): Likewise.
7010         (fts_stat): Likewise.
7011         (fts_sort): Likewise.
7012         (fts_alloc): Likewise.
7013         (fts_lfree): Likewise.
7014         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7015         (_IO_file_xsgetn): Likewise.
7016         (_IO_file_xsgetn_mmap): Likewise.
7017         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7018         (_IO_cookie_write): Likewise.
7019         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7020         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7021         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7022         * malloc/obstack.c (_obstack_begin): Likewise.
7023         (_obstack_begin_1): Likewise.
7024         (_obstack_newchunk): Likewise.
7025         (_obstack_allocated_p): Likewise.
7026         (obstack_free): Likewise.
7027         (_obstack_memory_used): Likewise.
7028         * misc/getttyent.c (getttynam): Likewise.
7029         (getttyent): Likewise.
7030         (skip): Likewise.
7031         (value): Likewise.
7032         * misc/getusershell.c (initshells): Likewise.
7033         * misc/syslog.c (__vsyslog_chk): Likewise.
7034         * misc/ttyslot.c (ttyslot): Likewise.
7035         * nis/nis_hash.c (__nis_hash): Likewise.
7036         * posix/fnmatch_loop.c (FCT): Likewise.
7037         * posix/getconf.c (print_all): Likewise.
7038         (main): Likewise.
7039         * posix/getopt.c (exchange): Likewise.
7040         * posix/glob.c (globfree): Likewise.
7041         (prefix_array): Likewise.
7042         (__glob_pattern_type): Likewise.
7043         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7044         (NS_GET32): Likewise.
7045         (NS_PUT16): Likewise.
7046         (NS_PUT32): Likewise.
7047         * resolv/gethnamaddr.c (getanswer): Likewise.
7048         (gethostbyname2): Likewise.
7049         (gethostbyaddr): Likewise.
7050         (_gethtent): Likewise.
7051         (_gethtbyname2): Likewise.
7052         (_gethtbyaddr): Likewise.
7053         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7054         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7055         * resolv/res_init.c (__res_vinit): Likewise.
7056         (net_mask): Likewise.
7057         * resolv/res_mkquery.c (outchar): Likewise.
7058         (PRINT): Likewise.
7059         * stdio-common/printf_fp.c (outchar): Likewise.
7060         (PRINT): Likewise.
7061         * stdio-common/printf_fphex.c (outchar): Likewise.
7062         (PRINT): Likewise.
7063         * stdio-common/printf_size.c (outchar): Likewise.
7064         (PRINT): Likewise.
7065         * stdio-common/test_rdwr.c (main): Likewise.
7066         * stdio-common/tfformat.c (matches): Likewise.
7067         * stdio-common/vfprintf.c (outchar): Likewise.
7068         (printf_unknown): Likewise.
7069         (buffered_vfprintf): Likewise.
7070         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7071         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7072         (ReadFile): Likewise.
7073         * stdlib/qsort.c (SWAP): Likewise.
7074         (_quicksort): Likewise.
7075         * stdlib/setenv.c (__add_to_environ): Likewise.
7076         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7077         * stdlib/strtol_l.c (__strtol_l): Likewise.
7078         * stdlib/tst-strtod.c (main): Likewise.
7079         * stdlib/tst-strtol.c (main): Likewise.
7080         * stdlib/tst-strtoll.c (main): Likewise.
7081         * string/bits/string2.h (__strcmp_cc): Likewise.
7082         (__strcmp_cg): Likewise.
7083         (__strcspn_c1): Likewise.
7084         (__strcspn_c2): Likewise.
7085         (__strcspn_c3): Likewise.
7086         (__strspn_c1): Likewise.
7087         (__strspn_c2): Likewise.
7088         (__strspn_c3): Likewise.
7089         (__strsep_1c): Likewise.
7090         (__strsep_2c): Likewise.
7091         (__strsep_3c): Likewise.
7092         * string/memccpy.c (__memccpy): Likewise.
7093         * string/stpcpy.c (__stpcpy): Likewise.
7094         * string/strcmp.c (strcmp): Likewise.
7095         * string/strrchr.c (strrchr): Likewise.
7096         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7097         Likewise.
7098         * sysdeps/mach/hurd/getcwd.c
7099         (_hurd_canonicalize_directory_name_internal): Likewise.
7100         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7101         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7102         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7103         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7104         Likewise, in both definitions.
7105         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7106         definitions.
7107         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7108         64] (__bswap_64): Likewise.
7109         * time/test_time.c (main): Likewise.
7110         * time/tzfile.c (__tzfile_read): Likewise.
7111         (__tzfile_compute): Likewise.
7112         * time/tzset.c (__tzset_parse_tz): Likewise.
7113         (tzset_internal): Likewise.
7114         (compute_change): Likewise.
7115         * wcsmbs/wcscat.c (__wcscat): Likewise.
7116         * wcsmbs/wcschr.c (wcschr): Likewise.
7117         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7118         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7119         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7120         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7121         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7122         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7123         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7124         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7125         * wcsmbs/wmemset.c (wmemset): Likewise.
7127 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7129         * scripts/config.guess: Update to version 2013-05-16.
7130         * scripts/config.sub: Update to version 2013-04-24.
7131         * scripts/install-sh: Update to version 2011-11-20.07.
7132         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7133         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7135 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7137         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7138         * elf/sln.c: Likewise.
7139         * hurd/hurd/ioctl.h: Likewise.
7140         * hurd/hurdmalloc.c: Likewise.
7141         * hurd/xattr.c: Likewise.
7142         * include/shlib-compat.h: Likewise.
7143         * inet/ruserpass.c: Likewise.
7144         * libio/iofgets_u.c: Likewise.
7145         * libio/iofgetws_u.c: Likewise.
7146         * locale/programs/ld-identification.c: Likewise.
7147         * locale/programs/ld-time.c: Likewise.
7148         * mach/msg-destroy.c: Likewise.
7149         * nss/nss_files/files-netgrp.c: Likewise.
7150         * resolv/res_data.c: Likewise.
7151         * soft-fp/op-1.h: Likewise.
7152         * soft-fp/op-2.h: Likewise.
7153         * soft-fp/op-4.h: Likewise.
7154         * soft-fp/op-common.h: Likewise.
7155         * stdio-common/printf_fphex.c: Likewise.
7156         * stdlib/strtod_l.c: Likewise.
7157         * sunrpc/rpc/clnt.h: Likewise.
7158         * sysdeps/generic/framestate.c: Likewise.
7159         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7160         * sysdeps/i386/bsd-setjmp.S: Likewise.
7161         * sysdeps/i386/__longjmp.S: Likewise.
7162         * sysdeps/i386/setjmp.S: Likewise.
7163         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7164         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7165         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7166         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7168         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7170         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7174         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7176         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7177         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7178         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7179         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7180         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7181         * sysdeps/ieee754/support.c: Likewise.
7182         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7183         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7184         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7185         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7186         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7187         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7188         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7189         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7190         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7191         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7192         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7193         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7194         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7195         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7196         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7197         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7198         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7201 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7203         * posix/transbug.c: Remove executable mode.
7205 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7207         * crypt/speeds.c: Remove trailing whitespace.
7208         * dlfcn/default.c: Likewise.
7209         * elf/ifuncdep2.c: Likewise.
7210         * elf/ifuncmain1.c: Likewise.
7211         * elf/ifuncmain1vis.c: Likewise.
7212         * elf/testobj.h: Likewise.
7213         * elf/tst-stackguard1.c: Likewise.
7214         * gmon/sys/gmon.h: Likewise.
7215         * hurd/hurdmsg.c: Likewise.
7216         * hurd/new-fd.c: Likewise.
7217         * hurd/ports-get.c: Likewise.
7218         * iconvdata/ibm1008_420.c: Likewise.
7219         * inet/tst-getni1.c: Likewise.
7220         * inet/tst-getni2.c: Likewise.
7221         * libio/ioungetc.c: Likewise.
7222         * libio/wfiledoalloc.c: Likewise.
7223         * manual/libm-err-tab.pl: Likewise.
7224         * math/w_dremf.c: Likewise.
7225         * misc/ftruncate.c: Likewise.
7226         * posix/bug-glob2.c: Likewise.
7227         * posix/tst-pcre.c: Likewise.
7228         * posix/wait4.c: Likewise.
7229         * resolv/README: Likewise.
7230         * resolv/res_debug.h: Likewise.
7231         * resolv/tst-inet_ntop.c: Likewise.
7232         * setjmp/bug269-setjmp.c: Likewise.
7233         * soft-fp/extended.h: Likewise.
7234         * soft-fp/op-1.h: Likewise.
7235         * soft-fp/op-2.h: Likewise.
7236         * soft-fp/op-4.h: Likewise.
7237         * soft-fp/op-8.h: Likewise.
7238         * soft-fp/testit.c: Likewise.
7239         * stdio-common/bug16.c: Likewise.
7240         * stdlib/random.c: Likewise.
7241         * sunrpc/rpcsvc/rquota.x: Likewise.
7242         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7243         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7245         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7246         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7247         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7248         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7249         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7250         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7251         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7252         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7253         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7254         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7255         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7256         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7257         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7258         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7259         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7260         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7261         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7262         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7263         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7264         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7265         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7266         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7269         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7270         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7271         * sysdeps/ieee754/s_lib_version.c: Likewise.
7272         * sysdeps/mach/hurd/check_fds.c: Likewise.
7273         * sysdeps/mach/hurd/getsockname.c: Likewise.
7274         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7275         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7276         * sysdeps/powerpc/bits/link.h: Likewise.
7277         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7278         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7279         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7280         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7281         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7282         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7283         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7284         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7285         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7286         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7287         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7288         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7289         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7290         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7291         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7292         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7293         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7294         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7295         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7296         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7297         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7298         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7299         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7300         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7301         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7302         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7303         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7304         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7305         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7306         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7307         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7308         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7310         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7311         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7312         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7314         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7315         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7316         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7317         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7318         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7319         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7320         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7321         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7322         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7323         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7324         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7325         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7326         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7327         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7328         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7329         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7330         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7331         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7332         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7333         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7334         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7335         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7336         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7337         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7338         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7339         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7340         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7341         * sysdeps/powerpc/sysdep.h: Likewise.
7342         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7343         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7344         * sysdeps/sh/dl-trampoline.S: Likewise.
7345         * sysdeps/sh/memset.S: Likewise.
7346         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7347         * sysdeps/sh/strlen.S: Likewise.
7348         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7349         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7350         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7351         * sysdeps/sparc/sparc32/rem.S: Likewise.
7352         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7353         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7354         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7355         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7356         * sysdeps/sparc/sparc32/urem.S: Likewise.
7357         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7358         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7359         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7360         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7361         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7362         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7363         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7364         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7365         * sysdeps/unix/bsd/times.c: Likewise.
7366         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7367         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7371         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7372         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7373         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7374         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7375         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7376         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7377         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7378         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7379         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7380         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7381         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7382         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7383         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7384         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7385         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7386         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7387         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7388         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7389         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7390         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7391         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7392         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7393         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7394         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7395         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7396         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7397         * sysdeps/x86_64/strcspn.S: Likewise.
7399 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7401         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7402         generated file.  Regenerate properly from gen-translit.pl.
7403         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7404         locale/C-translit.h.
7406 2013-06-05  Andreas Schwab  <schwab@suse.de>
7408         [BZ #15100]
7409         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7410         week as 6 instead of -1.
7411         * time/tst-strptime.c (day_tests): Add test case.
7413 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7415         * sysdeps/generic/math_private.h
7416         (libc_feholdexcept_setround_53bit): Replace with
7417         libc_feholdsetround_53bit.
7418         (libc_feupdateenv_53bit): Replace with
7419         libc_feresetround_53bit.
7420         (SET_RESTORE_ROUND_53BIT): Adjust.
7422 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7424         * string/test-strchrnul.c: Add copyright header.
7426         * posix/tst-getaddrinfo4.c: Increase test timeout.
7428 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7430         [BZ #15536]
7431         * math/libm-test.inc (MAX_EXP): Remove
7432         (MIN_EXP): Define.
7433         (ulp): Use MIN_EXP - MANT_DIG.
7434         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7436 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7438         * po/be.po: Revert last change.
7439         * po/zh_CN.po: Likewise.
7440         * po/header.pot: Likewise.
7442 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7444         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7445         link-libc-deps to empty as target-specific variable.
7446         * Makerules (link-libc-args): New variable.
7447         (libc-for-link): Likewise.
7448         (link-libc-deps): Likewise.
7449         (lib%.so): Depend on $(link-libc-deps).  Link with
7450         $(link-libc-args).
7451         (build-module): Link with $(link-libc-args).
7452         (build-module-asneeded): Likewise.
7453         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7454         list of objects.
7455         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7456         target-specific variable.
7457         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7458         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7459         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7460         libc.
7461         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7462         libc and ld.so.
7463         ($(objpfx)libpcprofile.so): Likewise.
7464         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7465         libc_nonshared.a.
7466         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7467         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7468         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7469         $(link-libc-deps).
7470         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7471         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7472         * login/Makefile ($(objpfx)libutil.so): Likewise.
7473         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7474         * math/Makefile ($(objpfx)libm.so): Likewise.
7475         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7476         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7477         variable instead of depending directly on libc.
7478         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7479         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7480         $(link-libc-deps).
7481         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7482         libc.
7483         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7484         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7485         ($(objpfx)libanl.so): Likewise.
7486         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7487         ld.so.
7488         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7489         $(link-libc-deps).
7490         * sysdeps/i386/fpu/Makefile: Remove file.
7491         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7492         ($(objpfx)libm.so): Remove dependency on ld.so.
7494 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7496         [BZ # 15553]
7497         * nis/yp_xdr.c (XDRMAXNAME): Define.
7498         (XDRMAXRECORD): Define.
7499         (xdr_domainname): Use XDRMAXNAME.
7500         (xdr_mapname): Likewise.
7501         (xdr_peername): Likewise.
7502         (xdr_keydat): Use XDRMAXRECORD.
7503         (xdr_valdat): Likewise.
7505 2013-05-30  Jeff Law  <law@redhat.com>
7507         [BZ #14256]
7508         * manual/errno.texi (ESTALE): Update to account for more than
7509         just NFS file systems.
7510         * sysdeps/gnu/errlist.c: Regenerated.
7512 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7514         [BZ #15465]
7515         * elf/Makefile (tests): Add tst-null-argv.
7516         (modules-names):  Add tst-null-argv-lib.
7517         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7518         (tst-null-argv-ENV): Set environment for tst-null-argv.
7519         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7520         (RTLD_PROGNAME): New macro.
7521         * elf/tst-null-argv.c: New test case.
7522         * elf/tst-null-argv-lib.c: Library for test case.
7523         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7524         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7525         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7526         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7527         * elf/dl-init.c (call_init): Likewise.
7528         (_dl_init): Likewise.
7529         * elf/dl-load.c (print_search_path): Likewise.
7530         (_dl_map_object): Likewise.
7531         * elf/dl-lookup.c (do_lookup_x): Likewise.
7532         (add_dependency): Likewise.
7533         (_dl_lookup_symbol_x): Likewise.
7534         (_dl_debug_bindings): Likewise.
7535         * elf/dl-open.c (_dl_show_scope): Likewise.
7536         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7537         * elf/dl-version.c (match_symbol): Likewise.
7538         (_dl_check_map_versions): Likewise.
7539         * elf/rtld.c (dl_main): Likewise.
7540         (print_unresolved): Use RTLD_PROGNAME.
7541         (print_missing_version): Likewise.
7542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7543         (elf_machine_rela): Likewise.
7544         * sysdeps/powerpc/powerpc32/dl-machine.c
7545         (__process_machine_rela): Likewise.
7546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7547         Likewise.
7548         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7549         Likewise.
7550         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7551         Likewise.
7552         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7554         Likewise.
7555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7556         Likewise.
7557         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7559 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7561         * po/be.po: Add descriptive title.
7562         * po/zh_CN.po: Likewise.
7563         * po/header.pot: Likewise.
7565 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7567         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7568         error message.
7569         (enlarge_archive): Likewise.
7571 2013-05-28  Ben North  <ben@redfrontdoor.org>
7573         * manual/arith.texi (frexp): It is the magnitude of the return
7574         value which lies in [0.5, 1), not the return value itself.
7576 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7580 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7582         * stdio-common/bug26.c (main): Correct fscanf template.
7584         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7585         declare _dl_skip_args.
7587         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7588         Don't declare.
7590         * manual/platform.texi: Add missing @end deftypefun.
7592 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7594         [BZ #15529]
7595         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7596         bit of mantissa of 2^16382.
7597         * math/libm-test.inc (hypot_test_data): Add more tests.
7599         * math/libm-test.inc: Add drem and pow10 to list of tested
7600         functions.
7601         (pow10_test): New function.
7602         (drem_test): Likewise.
7603         (drem_test_tonearest): Likewise.
7604         (drem_test_towardzero): Likewise.
7605         (drem_test_downward): Likewise.
7606         (drem_test_upward): Likewise.
7607         (main): Call the new functions.
7609         * math/libm-test.inc (finite_test_data): Remove.
7610         (finite_test): Run tests from isfinite_test_data.
7611         (gamma_test_data): Remove.
7612         (gamma_test): Run tests from lgamma_test_data.
7613         * sysdeps/i386/fpu/libm-test-ulps: Update.
7614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7616 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7618         * manual/platform.texi: Add PowerPC PPR function set documentation.
7619         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7620         implementation.
7622 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7624         * math/libm-test.inc (MAX_EXP): Define.
7625         (ULPDIFF): Define.
7626         (ulp): New function.
7627         (check_float_internal): Use ULPDIFF.
7628         (cpow_test): Disable failing test.
7629         (check_ulp): Test ulp() implemetnation.
7630         (main): Call check_ulp before starting tests.
7632 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7634         * math/gen-libm-test.pl (generate_testfile): Do not handle
7635         START_DATA and END_DATA.
7636         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7637         END_DATA.
7638         (acos_tonearest_test_data): Likewise.
7639         (acos_towardzero_test_data): Likewise.
7640         (acos_downward_test_data): Likewise.
7641         (acos_upward_test_data): Likewise.
7642         (acosh_test_data): Likewise.
7643         (asin_test_data): Likewise.
7644         (asin_tonearest_test_data): Likewise.
7645         (asin_towardzero_test_data): Likewise.
7646         (asin_downward_test_data): Likewise.
7647         (asin_upward_test_data): Likewise.
7648         (asinh_test_data): Likewise.
7649         (atan_test_data): Likewise.
7650         (atanh_test_data): Likewise.
7651         (atan2_test_data): Likewise.
7652         (cabs_test_data): Likewise.
7653         (cacos_test_data): Likewise.
7654         (cacosh_test_data): Likewise.
7655         (carg_test_data): Likewise.
7656         (casin_test_data): Likewise.
7657         (casinh_test_data): Likewise.
7658         (catan_test_data): Likewise.
7659         (catanh_test_data): Likewise.
7660         (cbrt_test_data): Likewise.
7661         (ccos_test_data): Likewise.
7662         (ccosh_test_data): Likewise.
7663         (ceil_test_data): Likewise.
7664         (cexp_test_data): Likewise.
7665         (cimag_test_data): Likewise.
7666         (clog_test_data): Likewise.
7667         (clog10_test_data): Likewise.
7668         (conj_test_data): Likewise.
7669         (copysign_test_data): Likewise.
7670         (cos_test_data): Likewise.
7671         (cos_tonearest_test_data): Likewise.
7672         (cos_towardzero_test_data): Likewise.
7673         (cos_downward_test_data): Likewise.
7674         (cos_upward_test_data): Likewise.
7675         (cosh_test_data): Likewise.
7676         (cosh_tonearest_test_data): Likewise.
7677         (cosh_towardzero_test_data): Likewise.
7678         (cosh_downward_test_data): Likewise.
7679         (cosh_upward_test_data): Likewise.
7680         (cpow_test_data): Likewise.
7681         (cproj_test_data): Likewise.
7682         (creal_test_data): Likewise.
7683         (csin_test_data): Likewise.
7684         (csinh_test_data): Likewise.
7685         (csqrt_test_data): Likewise.
7686         (ctan_test_data): Likewise.
7687         (ctan_tonearest_test_data): Likewise.
7688         (ctan_towardzero_test_data): Likewise.
7689         (ctan_downward_test_data): Likewise.
7690         (ctan_upward_test_data): Likewise.
7691         (ctanh_test_data): Likewise.
7692         (ctanh_tonearest_test_data): Likewise.
7693         (ctanh_towardzero_test_data): Likewise.
7694         (ctanh_downward_test_data): Likewise.
7695         (ctanh_upward_test_data): Likewise.
7696         (erf_test_data): Likewise.
7697         (erfc_test_data): Likewise.
7698         (exp_test_data): Likewise.
7699         (exp_tonearest_test_data): Likewise.
7700         (exp_towardzero_test_data): Likewise.
7701         (exp_downward_test_data): Likewise.
7702         (exp_upward_test_data): Likewise.
7703         (exp10_test_data): Likewise.
7704         (exp2_test_data): Likewise.
7705         (expm1_test_data): Likewise.
7706         (fabs_test_data): Likewise.
7707         (fdim_test_data): Likewise.
7708         (finite_test_data): Likewise.
7709         (floor_test_data): Likewise.
7710         (fma_test_data): Likewise.
7711         (fma_towardzero_test_data): Likewise.
7712         (fma_downward_test_data): Likewise.
7713         (fma_upward_test_data): Likewise.
7714         (fmax_test_data): Likewise.
7715         (fmin_test_data): Likewise.
7716         (fmod_test_data): Likewise.
7717         (fpclassify_test_data): Likewise.
7718         (frexp_test_data): Likewise.
7719         (gamma_test_data): Likewise.
7720         (hypot_test_data): Likewise.
7721         (ilogb_test_data): Likewise.
7722         (isfinite_test_data): Likewise.
7723         (isgreater_test_data): Likewise.
7724         (isgreaterequal_test_data): Likewise.
7725         (isinf_test_data): Likewise.
7726         (isless_test_data): Likewise.
7727         (islessequal_test_data): Likewise.
7728         (islessgreater_test_data): Likewise.
7729         (isnan_test_data): Likewise.
7730         (isnormal_test_data): Likewise.
7731         (issignaling_test_data): Likewise.
7732         (isunordered_test_data): Likewise.
7733         (j0_test_data): Likewise.
7734         (j1_test_data): Likewise.
7735         (jn_test_data): Likewise.
7736         (ldexp_test_data): Likewise.
7737         (lgamma_test_data): Likewise.
7738         (lrint_test_data): Likewise.
7739         (lrint_tonearest_test_data): Likewise.
7740         (lrint_towardzero_test_data): Likewise.
7741         (lrint_downward_test_data): Likewise.
7742         (lrint_upward_test_data): Likewise.
7743         (llrint_test_data): Likewise.
7744         (llrint_tonearest_test_data): Likewise.
7745         (llrint_towardzero_test_data): Likewise.
7746         (llrint_downward_test_data): Likewise.
7747         (llrint_upward_test_data): Likewise.
7748         (log_test_data): Likewise.
7749         (log10_test_data): Likewise.
7750         (log1p_test_data): Likewise.
7751         (log2_test_data): Likewise.
7752         (logb_test_data): Likewise.
7753         (logb_downward_test_data): Likewise.
7754         (lround_test_data): Likewise.
7755         (llround_test_data): Likewise.
7756         (modf_test_data): Likewise.
7757         (nearbyint_test_data): Likewise.
7758         (nextafter_test_data): Likewise.
7759         (nexttoward_test_data): Likewise.
7760         (pow_test_data): Likewise.
7761         (pow_tonearest_test_data): Likewise.
7762         (pow_towardzero_test_data): Likewise.
7763         (pow_downward_test_data): Likewise.
7764         (pow_upward_test_data): Likewise.
7765         (remainder_test_data): Likewise.
7766         (remainder_tonearest_test_data): Likewise.
7767         (remainder_towardzero_test_data): Likewise.
7768         (remainder_downward_test_data): Likewise.
7769         (remainder_upward_test_data): Likewise.
7770         (remquo_test_data): Likewise.
7771         (rint_test_data): Likewise.
7772         (rint_tonearest_test_data): Likewise.
7773         (rint_towardzero_test_data): Likewise.
7774         (rint_downward_test_data): Likewise.
7775         (rint_upward_test_data): Likewise.
7776         (round_test_data): Likewise.
7777         (scalb_test_data): Likewise.
7778         (scalbn_test_data): Likewise.
7779         (scalbln_test_data): Likewise.
7780         (signbit_test_data): Likewise.
7781         (sin_test_data): Likewise.
7782         (sin_tonearest_test_data): Likewise.
7783         (sin_towardzero_test_data): Likewise.
7784         (sin_downward_test_data): Likewise.
7785         (sin_upward_test_data): Likewise.
7786         (sincos_test_data): Likewise.
7787         (sinh_test_data): Likewise.
7788         (sinh_tonearest_test_data): Likewise.
7789         (sinh_towardzero_test_data): Likewise.
7790         (sinh_downward_test_data): Likewise.
7791         (sinh_upward_test_data): Likewise.
7792         (sqrt_test_data): Likewise.
7793         (tan_test_data): Likewise.
7794         (tan_tonearest_test_data): Likewise.
7795         (tan_towardzero_test_data): Likewise.
7796         (tan_downward_test_data): Likewise.
7797         (tan_upward_test_data): Likewise.
7798         (tanh_test_data): Likewise.
7799         (tgamma_test_data): Likewise.
7800         (trunc_test_data): Likewise.
7801         (y0_test_data): Likewise.
7802         (y1_test_data): Likewise.
7803         (yn_test_data): Likewise.
7804         (significand_test_data): Likewise.
7806         * math/gen-libm-test.pl (@functions): Remove variable.
7807         (generate_testfile): Don't handle START and END lines.
7808         * math/libm-test.inc (START): New macro.
7809         (END): Likewise.
7810         (END_COMPLEX): Likewise.
7811         (acos_test): Use END macro without arguments.
7812         (acos_test_tonearest): Likewise.
7813         (acos_test_towardzero): Likewise.
7814         (acos_test_downward): Likewise.
7815         (acos_test_upward): Likewise.
7816         (acosh_test): Likewise.
7817         (asin_test): Likewise.
7818         (asin_test_tonearest): Likewise.
7819         (asin_test_towardzero): Likewise.
7820         (asin_test_downward): Likewise.
7821         (asin_test_upward): Likewise.
7822         (asinh_test): Likewise.
7823         (atan_test): Likewise.
7824         (atanh_test): Likewise.
7825         (atan2_test): Likewise.
7826         (cabs_test): Likewise.
7827         (cacos_test): Use END_COMPLEX macro without arguments.
7828         (cacosh_test): Likewise.
7829         (carg_test): Use END macro without arguments.
7830         (casin_test): Use END_COMPLEX macro without arguments.
7831         (casinh_test): Likewise.
7832         (catan_test): Likewise.
7833         (catanh_test): Likewise.
7834         (cbrt_test): Use END macro without arguments.
7835         (ccos_test): Use END_COMPLEX macro without arguments.
7836         (ccosh_test): Likewise.
7837         (ceil_test): Use END macro without arguments.
7838         (cexp_test): Use END_COMPLEX macro without arguments.
7839         (cimag_test): Use END macro without arguments.
7840         (clog_test): Use END_COMPLEX macro without arguments.
7841         (clog10_test): Likewise.
7842         (conj_test): Likewise.
7843         (copysign_test): Use END macro without arguments.
7844         (cos_test): Likewise.
7845         (cos_test_tonearest): Likewise.
7846         (cos_test_towardzero): Likewise.
7847         (cos_test_downward): Likewise.
7848         (cos_test_upward): Likewise.
7849         (cosh_test): Likewise.
7850         (cosh_test_tonearest): Likewise.
7851         (cosh_test_towardzero): Likewise.
7852         (cosh_test_downward): Likewise.
7853         (cosh_test_upward): Likewise.
7854         (cpow_test): Use END_COMPLEX macro without arguments.
7855         (cproj_test): Likewise.
7856         (creal_test): Use END macro without arguments.
7857         (csin_test): Use END_COMPLEX macro without arguments.
7858         (csinh_test): Likewise.
7859         (csqrt_test): Likewise.
7860         (ctan_test): Likewise.
7861         (ctan_test_tonearest): Likewise.
7862         (ctan_test_towardzero): Likewise.
7863         (ctan_test_downward): Likewise.
7864         (ctan_test_upward): Likewise.
7865         (ctanh_test): Likewise.
7866         (ctanh_test_tonearest): Likewise.
7867         (ctanh_test_towardzero): Likewise.
7868         (ctanh_test_downward): Likewise.
7869         (ctanh_test_upward): Likewise.
7870         (erf_test): Use END macro without arguments.
7871         (erfc_test): Likewise.
7872         (exp_test): Likewise.
7873         (exp_test_tonearest): Likewise.
7874         (exp_test_towardzero): Likewise.
7875         (exp_test_downward): Likewise.
7876         (exp_test_upward): Likewise.
7877         (exp10_test): Likewise.
7878         (exp2_test): Likewise.
7879         (expm1_test): Likewise.
7880         (fabs_test): Likewise.
7881         (fdim_test): Likewise.
7882         (finite_test): Likewise.
7883         (floor_test): Likewise.
7884         (fma_test): Likewise.
7885         (fma_test_towardzero): Likewise.
7886         (fma_test_downward): Likewise.
7887         (fma_test_upward): Likewise.
7888         (fmax_test): Likewise.
7889         (fmin_test): Likewise.
7890         (fmod_test): Likewise.
7891         (fpclassify_test): Likewise.
7892         (frexp_test): Likewise.
7893         (gamma_test): Likewise.
7894         (hypot_test): Likewise.
7895         (ilogb_test): Likewise.
7896         (isfinite_test): Likewise.
7897         (isgreater_test): Likewise.
7898         (isgreaterequal_test): Likewise.
7899         (isinf_test): Likewise.
7900         (isless_test): Likewise.
7901         (islessequal_test): Likewise.
7902         (islessgreater_test): Likewise.
7903         (isnan_test): Likewise.
7904         (isnormal_test): Likewise.
7905         (issignaling_test): Likewise.
7906         (isunordered_test): Likewise.
7907         (j0_test): Likewise.
7908         (j1_test): Likewise.
7909         (jn_test): Likewise.
7910         (ldexp_test): Likewise.
7911         (lgamma_test): Likewise.
7912         (lrint_test): Likewise.
7913         (lrint_test_tonearest): Likewise.
7914         (lrint_test_towardzero): Likewise.
7915         (lrint_test_downward): Likewise.
7916         (lrint_test_upward): Likewise.
7917         (llrint_test): Likewise.
7918         (llrint_test_tonearest): Likewise.
7919         (llrint_test_towardzero): Likewise.
7920         (llrint_test_downward): Likewise.
7921         (llrint_test_upward): Likewise.
7922         (log_test): Likewise.
7923         (log10_test): Likewise.
7924         (log1p_test): Likewise.
7925         (log2_test): Likewise.
7926         (logb_test): Likewise.
7927         (logb_test_downward): Likewise.
7928         (lround_test): Likewise.
7929         (llround_test): Likewise.
7930         (modf_test): Likewise.
7931         (nearbyint_test): Likewise.
7932         (nextafter_test): Likewise.
7933         (nexttoward_test): Likewise.
7934         (pow_test): Likewise.
7935         (pow_test_tonearest): Likewise.
7936         (pow_test_towardzero): Likewise.
7937         (pow_test_downward): Likewise.
7938         (pow_test_upward): Likewise.
7939         (remainder_test): Likewise.
7940         (remainder_test_tonearest): Likewise.
7941         (remainder_test_towardzero): Likewise.
7942         (remainder_test_downward): Likewise.
7943         (remainder_test_upward): Likewise.
7944         (remquo_test): Likewise.
7945         (rint_test): Likewise.
7946         (rint_test_tonearest): Likewise.
7947         (rint_test_towardzero): Likewise.
7948         (rint_test_downward): Likewise.
7949         (rint_test_upward): Likewise.
7950         (round_test): Likewise.
7951         (scalb_test): Likewise.
7952         (scalbn_test): Likewise.
7953         (scalbln_test): Likewise.
7954         (signbit_test): Likewise.
7955         (sin_test): Likewise.
7956         (sin_test_tonearest): Likewise.
7957         (sin_test_towardzero): Likewise.
7958         (sin_test_downward): Likewise.
7959         (sin_test_upward): Likewise.
7960         (sincos_test): Likewise.
7961         (sinh_test): Likewise.
7962         (sinh_test_tonearest): Likewise.
7963         (sinh_test_towardzero): Likewise.
7964         (sinh_test_downward): Likewise.
7965         (sinh_test_upward): Likewise.
7966         (sqrt_test): Likewise.
7967         (tan_test): Likewise.
7968         (tan_test_tonearest): Likewise.
7969         (tan_test_towardzero): Likewise.
7970         (tan_test_downward): Likewise.
7971         (tan_test_upward): Likewise.
7972         (tanh_test): Likewise.
7973         (tgamma_test): Likewise.
7974         (trunc_test): Likewise.
7975         (y0_test): Likewise.
7976         (y1_test): Likewise.
7977         (yn_test): Likewise.
7978         (significand_test): Likewise.
7980 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7982         [BZ #15381]
7983         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7985 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7987         [BZ #14894]
7988         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7989         __ppc_mdoio and __ppc_mdoom.
7990         * manual/platform.texi: Document new functions __ppc_yield,
7991         __ppc_mdoio and __ppc_mdoom.
7993 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7995         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7996         (main): Mention "tls" pseudo-hwcap is legacy.
7997         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7999 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8001         * math/gen-libm-test.pl (parse_args): Output only string of
8002         arguments as text for test name, not full call or descriptions of
8003         tests for extra outputs.
8004         (generate_testfile): Do not pass function name to parse_args.
8005         Generate this_func variable from START.
8006         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8007         field to arg_str.
8008         (struct test_ff_f_data): Likewise.
8009         (test_ff_f_data_nexttoward): Likewise.
8010         (struct test_fi_f_data): Likewise.
8011         (struct test_fl_f_data): Likewise.
8012         (struct test_if_f_data): Likewise.
8013         (struct test_fff_f_data): Likewise.
8014         (struct test_c_f_data): Likewise.
8015         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8016         (struct test_fF_f1_data): Likewise.
8017         (struct test_ffI_f1_data): Likewise.
8018         (struct test_c_c_data): Rename test_name field to arg_str.
8019         (struct test_cc_c_data): Likewise.
8020         (struct test_f_i_data): Likewise.
8021         (struct test_ff_i_data): Likewise.
8022         (struct test_f_l_data): Likewise.
8023         (struct test_f_L_data): Likewise.
8024         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8025         and extra2_name.
8026         (COMMON_TEST_SETUP): New macro.
8027         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8028         (COMMON_TEST_CLEANUP): Likewise.
8029         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8030         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8031         macros.
8032         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8033         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8034         macros.
8035         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8036         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8037         cleanup macros.
8038         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8039         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8040         macros.
8041         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8042         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8043         macros.
8044         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8045         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8046         cleanup macros.
8047         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8048         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8049         cleanup macros.
8050         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8051         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8052         cleanup macros.
8053         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8054         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8055         macros.
8056         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8057         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8058         macros.
8059         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8060         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8061         macros.
8062         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8063         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8064         cleanup macros.
8065         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8066         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8067         cleanup macros.
8068         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8069         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8070         macros.
8071         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8072         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8073         cleanup macros.
8074         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8075         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8076         macros.
8077         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8078         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8079         macros.
8080         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8081         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8082         cleanup macros.
8083         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8085 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8087         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8088         to _sifields.sigfault.
8089         (si_addr_lsb): Define new macro.
8090         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8091         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8092         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8094 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8096         [BZ #15441]
8097         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8098         returns -1.
8099         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8100         null return -1.
8101         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8102         loading the domain.
8104 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8106         * math/gen-libm-test.pl (parse_args): Do not include expected
8107         result in test name.
8108         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8109         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8110         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8111         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8112         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8115 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8117         * benchtests/Makefile: Sort function entries.
8119         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8120         tanh, asinh, acosh, atanh.
8121         * benchtests/acos-inputs: New file.
8122         * benchtests/acosh-inputs: New file.
8123         * benchtests/asin-inputs: New file.
8124         * benchtests/asinh-inputs: New file.
8125         * benchtests/atanh-inputs: New file.
8126         * benchtests/cosh-inputs: New file.
8127         * benchtests/log-inputs: New file.
8128         * benchtests/sinh-inputs: New file.
8129         * benchtests/tanh-inputs: New file.
8131 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8133         [BZ #15339]
8134         * posix/tst-getaddrinfo4.c: New test.
8135         * posix/Makefile (tests): Add it.
8137 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8139         [BZ #15339]
8140         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8141         when no services were used.
8142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8143         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8145 2013-05-21  Andreas Schwab  <schwab@suse.de>
8147         [BZ #15014]
8148         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8149         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8150         successful.
8151         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8152         redundant variable declarations and reallocation of buffer when
8153         parsing as IPv6 address.  Always set NSS status when called from
8154         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8155         buffer too small.  Correct computation of needed size.
8156         * nss/Makefile (tests): Add test-digits-dots.
8157         * nss/test-digits-dots.c: New test.
8159 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8161         * benchtests/Makefile: Remove instructions for adding
8162         benchmark tests.
8163         * benchtests/README: New file to explain how to execute and
8164         enhance the benchmark tests.
8166 2013-05-21  Andreas Schwab  <schwab@suse.de>
8168         [BZ #15493]
8169         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8170         * setjmp/tst-sigsetjmp.c: New test.
8172 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8174         * sysdeps/x86_64/memset.S (memset): New implementation.
8175         (__bzero): Likewise.
8176         (__memset_tail): New function.
8178 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8180         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8181         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8182         __memcpy_sse2_unaligned ifunc selection.
8183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8184         Add memcpy-sse2-unaligned.S.
8185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8186         Add: __memcpy_sse2_unaligned.
8188 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8190         [BZ #15490]
8191         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8192         math_force_eval before restoring floating-point envrionment.
8193         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8194         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8195         Likewise.
8196         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8197         <math_private.h>.
8198         (__nearbyintl): Use math_force_eval before restoring
8199         floating-point environment.
8200         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8202         * math/gen-libm-test.pl (special_functions): Remove.
8203         (parse_args): Don't handle TEST_extra.  Handle functions with no
8204         return value.
8205         * math/libm-test.inc (struct test_sincos_data): Replace with
8206         struct test_fFF_11_data.
8207         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8208         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8209         (sincos_test_data): Change element type to struct
8210         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8211         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8212         RUN_TEST_LOOP_sincos.
8213         * math/README.libm-test: Don't mention special handling of
8214         individual functions.
8215         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8217         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8218         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8219         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8222         * math/gen-libm-test.pl (get_variable): Remove function.
8223         (parse_args): Don't show pointer parameters to call in test
8224         names.  Use "extra output N" in test names for extra outputs
8225         rather than naming variables.
8227 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8229         [BZ #15488]
8230         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8231         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8232         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8233         double tests.
8234         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8235         disable.
8236         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8237         check_long_double.
8239         * math/gen-libm-test.pl (@tests): Remove variable.
8240         ($count): Likewise.
8241         (new_test): Remove function.
8242         (show_exceptions): New function.
8243         (special_functions): Use show_exceptions instead of new_test.
8244         (parse_args): Likewise.
8245         (generate_testfile): Pass only function name in generated call to
8246         print_max_error or print_complex_max_error.
8247         (get_ulps): Do not handle complex tests specially.
8248         (output_test): Rename to ...
8249         (get_all_ulps_for_test): ... this.  Return a string rather than
8250         printing to a file.  Require ulps to be present.
8251         (output_ulps): Generate arrays rather than #defines.
8252         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8253         (struct ulp_data): New type.
8254         (BUILD_COMPLEX_ULP): Remove macro.
8255         (compare_ulp_data): New function.
8256         (find_ulps): Likewise.
8257         (find_test_ulps): Likewise.
8258         (find_function_ulps): Likewise.
8259         (find_complex_function_ulps): Likewise.
8260         (print_max_error): Determine allowed ulps using
8261         find_function_ulps.
8262         (print_complex_max_error): Determine allowed ulps using
8263         find_complex_function_ulps.
8264         (check_float_internal): Determine max ulps using find_test_ulps.
8265         (check_float): Do not take max_ulp parameter.  Update call to
8266         check_float_internal.
8267         (check_complex): Likewise.
8268         (check_int): Do not take max_ulp parameter.
8269         (check_long): Likewise.
8270         (check_bool): Likewise.
8271         (check_longlong): Likewise.
8272         (struct test_f_f_data): Remove max_ulp field.
8273         (struct test_ff_f_data): Likewise.
8274         (struct test_ff_f_data_nexttoward): Likewise.
8275         (struct test_fi_f_data): Likewise.
8276         (struct test_fl_f_data): Likewise.
8277         (struct test_if_f_data): Likewise.
8278         (struct test_fff_f_data): Likewise.
8279         (struct test_c_f_data): Likewise.
8280         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8281         (struct test_fF_f1_data): Likewise.
8282         (struct test_ffI_f1_data): Likewise.
8283         (struct test_c_c_data): Remove max_ulp field.
8284         (struct test_cc_c_data): Likewise.
8285         (struct test_f_i_data): Likewise.
8286         (struct test_ff_i_data): Likewise.
8287         (struct test_f_l_data): Likewise.
8288         (struct test_f_L_data): Likewise.
8289         (struct test_sincos_data): Likewise.
8290         (RUN_TEST_f_f): Do not handle ulps.
8291         (RUN_TEST_LOOP_f_f): Likewise.
8292         (RUN_TEST_2_f): Likewise.
8293         (RUN_TEST_LOOP_2_f): Likewise.
8294         (RUN_TEST_fff_f): Likewise.
8295         (RUN_TEST_LOOP_fff_f): Likewise.
8296         (RUN_TEST_c_f): Likewise.
8297         (RUN_TEST_LOOP_c_f): Likewise.
8298         (RUN_TEST_f_f1): Likewise.
8299         (RUN_TEST_LOOP_f_f1): Likewise.
8300         (RUN_TEST_fF_f1): Likewise.
8301         (RUN_TEST_LOOP_fF_f1): Likewise.
8302         (RUN_TEST_fI_f1): Likewise.
8303         (RUN_TEST_LOOP_fI_f1): Likewise.
8304         (RUN_TEST_ffI_f1): Likewise.
8305         (RUN_TEST_LOOP_ffI_f1): Likewise.
8306         (RUN_TEST_c_c): Likewise.
8307         (RUN_TEST_LOOP_c_c): Likewise.
8308         (RUN_TEST_cc_c): Likewise.
8309         (RUN_TEST_LOOP_cc_c): Likewise.
8310         (RUN_TEST_f_i): Likewise.
8311         (RUN_TEST_LOOP_f_i): Likewise.
8312         (RUN_TEST_f_i_tg): Likewise.
8313         (RUN_TEST_LOOP_f_i_tg): Likewise.
8314         (RUN_TEST_ff_i_tg): Likewise.
8315         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8316         (RUN_TEST_f_b): Likewise.
8317         (RUN_TEST_LOOP_f_b): Likewise.
8318         (RUN_TEST_f_b_tg): Likewise.
8319         (RUN_TEST_LOOP_f_b_tg): Likewise.
8320         (RUN_TEST_f_l): Likewise.
8321         (RUN_TEST_LOOP_f_l): Likewise.
8322         (RUN_TEST_f_L): Likewise.
8323         (RUN_TEST_LOOP_f_L): Likewise.
8324         (RUN_TEST_sincos): Likewise.
8325         (RUN_TEST_LOOP_sincos): Likewise.
8327 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8329         [BZ #15480]
8330         [BZ #15485]
8331         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8332         main case of finite arguments, set rounding mode to FE_TONEAREST
8333         and discard exceptions.
8334         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8335         exceptions.
8336         (remainder_tonearest_test_data): New variable.
8337         (remainder_test_tonearest): New function.
8338         (remainder_towardzero_test_data): New variable.
8339         (remainder_test_towardzero): New function.
8340         (remainder_downward_test_data): New variable.
8341         (remainder_test_downward): New function.
8342         (remainder_upward_test_data): New variable.
8343         (remainder_test_upward): New function.
8344         (main): Call the new test functions.
8346         * math/libm-test.inc (struct test_f_f1_data): Remove field
8347         extra_init.
8348         (struct test_fF_f1_data): Likewise.
8349         (struct test_ffI_f1_data): Likewise.
8350         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8351         based on value of EXTRA_EXPECTED.
8352         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8353         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8354         EXTRA_VAR based on value of EXTRA_EXPECTED.
8355         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8356         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8357         EXTRA_VAR based on value of EXTRA_EXPECTED.
8358         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8359         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8360         EXTRA_VAR based on value of EXTRA_EXPECTED.
8361         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8362         * math/gen-libm-test.pl (parse_args): Don't output initializers
8363         for extra output values.
8365         * math/libm-test.inc (check_int): Expect result to be exactly
8366         equal to expected value and do not handle ulps.
8367         (check_long): Likewise.
8368         (check_longlong): Likewise.
8370         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8371         exceptions.
8372         (cimag_test_data): Likewise.
8373         (conj_test_data): Likewise.
8374         (copysign_test_data): Likewise.
8375         (cproj_test_data): Likewise.
8376         (creal_test_data): Likewise.
8377         (fabs_test_data): Likewise.
8378         (fdim_test_data): Likewise.
8379         (finite_test_data): Likewise.
8380         (floor_test_data): Likewise.
8381         (fmax_test_data): Likewise.
8382         (fmin_test_data): Likewise.
8383         (fmod_test_data): Likewise.
8384         (fpclassify_test_data): Likewise.
8385         (frexp_test_data): Likewise.
8386         (ilogb_test_data): Likewise.
8387         (isfinite_test_data): Likewise.
8388         (isgreater_test_data): Likewise.
8389         (isgreaterequal_test_data): Likewise.
8390         (isinf_test_data): Likewise.
8391         (isless_test_data): Likewise.
8392         (islessequal_test_data): Likewise.
8393         (islessgreater_test_data): Likewise.
8394         (isnan_test_data): Likewise.
8395         (isnormal_test_data): Likewise.
8396         (issignaling_test_data): Likewise.
8397         (isunordered_test_data): Likewise.
8398         (ldexp_test_data): Likewise.
8399         (lrint_test_data): Likewise.
8400         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8401         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8402         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8403         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8404         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8405         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8406         test input.
8407         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8408         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8409         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8410         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8411         that test input.
8412         (lrint_downward_test_data): Test for "inexact" exceptions.
8413         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8414         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8415         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8416         test input.
8417         (lrint_upward_test_data): Test for "inexact" exceptions.
8418         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8419         test input.
8420         (llrint_test_data): Test for "inexact" exceptions.
8421         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8422         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8423         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8424         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8425         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8426         (llrint_downward_test_data): Test for "inexact" exceptions.
8427         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8428         (llrint_upward_test_data): Test for "inexact" exceptions.
8429         (logb_test_data): Likewise.
8430         (logb_downward_test_data): Likewise.
8431         (nextafter_test_data): Likewise.
8432         (nexttoward_test_data): Likewise.
8433         (remainder_test_data): Likewise.
8434         (remquo_test_data): Likewise.
8435         (scalbn_test_data): Likewise.
8436         (scalbln_test_data): Likewise.
8437         (signbit_test_data): Likewise.
8438         (sqrt_test_data): Likewise.
8439         (significand_test_data): Likewise.
8441 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8443         [BZ #15424]
8444         * benchtests/bench-modf.c (struct args): Mark arg0 as
8445         volatile.
8446         * scripts/bench.pl: Mark members of struct args as volatile.
8448 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8450         [BZ # 15497]
8451         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8452         negative infinity on POWER6 or lower.
8453         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8455 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8457         [BZ #15442]
8458         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8459         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8460         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8461         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8462         (_FP_SETQNAN): New macro.
8463         (_FP_SETQNAN_SEMIRAW): Likewise.
8464         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8465         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8466         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8467         (FP_EXTEND): Use _FP_FRAC_SNANP.
8468         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8469         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8470         into account.
8471         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8472         New macro.
8473         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8474         Likewise.
8476 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8478         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8479         with DIVIDE_BY_ZERO_EXCEPTION.
8480         (gamma_test_data): Likewise.
8481         (lgamma_test_data): Likewise.
8482         (log_test_data): Likewise.
8483         (log10_test_data): Likewise.
8484         (log2_test_data): Likewise.
8485         (tgamma_test_data): Likewise.
8487         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8488         (acos_test_tonearest): Likewise.
8489         (acos_test_towardzero): Likewise.
8490         (acos_test_downward): Likewise.
8491         (acos_test_upward): Likewise.
8492         (acosh_test): Likewise.
8493         (asin_test): Likewise.
8494         (asin_test_tonearest): Likewise.
8495         (asin_test_towardzero): Likewise.
8496         (asin_test_downward): Likewise.
8497         (asin_test_upward): Likewise.
8498         (asinh_test): Likewise.
8499         (atan_test): Likewise.
8500         (atanh_test): Likewise.
8501         (atan2_test): Likewise.
8502         (cabs_test): Likewise.
8503         (cacos_test): Likewise.
8504         (cacosh_test): Likewise.
8505         (casin_test): Likewise.
8506         (casinh_test): Likewise.
8507         (catan_test): Likewise.
8508         (catanh_test): Likewise.
8509         (cbrt_test): Likewise.
8510         (ccos_test): Likewise.
8511         (ccosh_test): Likewise.
8512         (cexp_test): Likewise.
8513         (clog_test): Likewise.
8514         (clog10_test): Likewise.
8515         (cos_test): Likewise.
8516         (cos_test_tonearest): Likewise.
8517         (cos_test_towardzero): Likewise.
8518         (cos_test_downward): Likewise.
8519         (cos_test_upward): Likewise.
8520         (cosh_test): Likewise.
8521         (cosh_test_tonearest): Likewise.
8522         (cosh_test_towardzero): Likewise.
8523         (cosh_test_downward): Likewise.
8524         (cosh_test_upward): Likewise.
8525         (cpow_test): Likewise.
8526         (csin_test): Likewise.
8527         (csinh_test): Likewise.
8528         (csqrt_test): Likewise.
8529         (ctan_test): Likewise.
8530         (ctan_test_tonearest): Likewise.
8531         (ctan_test_towardzero): Likewise.
8532         (ctan_test_downward): Likewise.
8533         (ctan_test_upward): Likewise.
8534         (ctanh_test): Likewise.
8535         (ctanh_test_tonearest): Likewise.
8536         (ctanh_test_towardzero): Likewise.
8537         (ctanh_test_downward): Likewise.
8538         (ctanh_test_upward): Likewise.
8539         (erf_test): Likewise.
8540         (erfc_test): Likewise.
8541         (exp_test): Likewise.
8542         (exp_test_tonearest): Likewise.
8543         (exp_test_towardzero): Likewise.
8544         (exp_test_downward): Likewise.
8545         (exp_test_upward): Likewise.
8546         (exp10_test): Likewise.
8547         (exp2_test): Likewise.
8548         (expm1_test): Likewise.
8549         (fmod_test): Likewise.
8550         (gamma_test): Likewise.
8551         (hypot_test): Likewise.
8552         (j0_test): Likewise.
8553         (j1_test): Likewise.
8554         (jn_test): Likewise.
8555         (lgamma_test): Likewise.
8556         (log_test): Likewise.
8557         (log10_test): Likewise.
8558         (log1p_test): Likewise.
8559         (log2_test): Likewise.
8560         (logb_test_downward): Likewise.
8561         (pow_test): Likewise.
8562         (pow_test_tonearest): Likewise.
8563         (pow_test_towardzero): Likewise.
8564         (pow_test_downward): Likewise.
8565         (pow_test_upward): Likewise.
8566         (remainder_test): Likewise.
8567         (remquo_test): Likewise.
8568         (sin_test): Likewise.
8569         (sin_test_tonearest): Likewise.
8570         (sin_test_towardzero): Likewise.
8571         (sin_test_downward): Likewise.
8572         (sin_test_upward): Likewise.
8573         (sincos_test): Likewise.
8574         (sinh_test): Likewise.
8575         (sinh_test_tonearest): Likewise.
8576         (sinh_test_towardzero): Likewise.
8577         (sinh_test_downward): Likewise.
8578         (sinh_test_upward): Likewise.
8579         (sqrt_test): Likewise.
8580         (tan_test): Likewise.
8581         (tan_test_tonearest): Likewise.
8582         (tan_test_towardzero): Likewise.
8583         (tan_test_downward): Likewise.
8584         (tan_test_upward): Likewise.
8585         (tanh_test): Likewise.
8586         (tgamma_test): Likewise.
8587         (y0_test): Likewise.
8588         (y1_test): Likewise.
8589         (yn_test): Likewise.
8591         * math/gen-libm-test.pl (adjust_arg): Remove function.
8592         (special_function): Remove argument $in_func.  Only handle
8593         generating output for tables of tests, not inside functions.
8594         (parse_args): Likewise.
8595         (generate_testfile): Remove variable $in_func.  Update call to
8596         parse_args.
8597         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8598         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8599         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8600         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8601         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8602         (MAX_VALUE_INIT): Rename macro to max_value.
8603         (MIN_VALUE_INIT): Rename macro to min_value.
8604         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8605         (plus_zero): Remove variable.
8606         (minus_zero): Likewise.
8607         (plus_infty): Likewise.
8608         (minus_infty): Likewise.
8609         (qnan_value): Likewise.
8610         (max_value): Likewise.
8611         (min_value): Likewise.
8612         (min_subnorm_value): Likewise.
8614 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8616         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8617         uint64_t or uint32_t usage.
8618         * crypt/sha256-block.c: Likewise.
8619         * crypt/sha256-crypt.c: Likewise.
8620         * crypt/sha256.c: Likewise.
8621         * crypt/sha512-block.c: Likewise.
8622         * crypt/sha512-crypt.c: Likewise.
8623         * crypt/sha512.c: Likewise.
8624         * debug/backtrace-tst.c: Likewise.
8625         * debug/pcprofiledump.c: Likewise.
8626         * elf/cache.c: Likewise.
8627         * elf/dl-cache.c: Likewise.
8628         * elf/dl-misc.c: Likewise.
8629         * elf/dl-profile.c: Likewise.
8630         * elf/dl-support.c: Likewise.
8631         * elf/ldconfig.c: Likewise.
8632         * elf/sprof.c: Likewise.
8633         * iconv/dummy-repertoire.c: Likewise.
8634         * iconv/iconv_charmap.c: Likewise.
8635         * iconv/skeleton.c: Likewise.
8636         * iconvdata/8bit-generic.c: Likewise.
8637         * iconvdata/cp737.h: Likewise.
8638         * iconvdata/cp775.h: Likewise.
8639         * iconvdata/ibm1008.h: Likewise.
8640         * iconvdata/ibm1025.h: Likewise.
8641         * iconvdata/ibm1046.h: Likewise.
8642         * iconvdata/ibm1097.h: Likewise.
8643         * iconvdata/ibm1112.h: Likewise.
8644         * iconvdata/ibm1122.h: Likewise.
8645         * iconvdata/ibm1123.h: Likewise.
8646         * iconvdata/ibm1124.h: Likewise.
8647         * iconvdata/ibm1129.h: Likewise.
8648         * iconvdata/ibm1130.h: Likewise.
8649         * iconvdata/ibm1132.h: Likewise.
8650         * iconvdata/ibm1133.h: Likewise.
8651         * iconvdata/ibm1137.h: Likewise.
8652         * iconvdata/ibm1140.h: Likewise.
8653         * iconvdata/ibm1141.h: Likewise.
8654         * iconvdata/ibm1142.h: Likewise.
8655         * iconvdata/ibm1143.h: Likewise.
8656         * iconvdata/ibm1144.h: Likewise.
8657         * iconvdata/ibm1145.h: Likewise.
8658         * iconvdata/ibm1146.h: Likewise.
8659         * iconvdata/ibm1147.h: Likewise.
8660         * iconvdata/ibm1148.h: Likewise.
8661         * iconvdata/ibm1149.h: Likewise.
8662         * iconvdata/ibm1153.h: Likewise.
8663         * iconvdata/ibm1154.h: Likewise.
8664         * iconvdata/ibm1155.h: Likewise.
8665         * iconvdata/ibm1156.h: Likewise.
8666         * iconvdata/ibm1157.h: Likewise.
8667         * iconvdata/ibm1158.h: Likewise.
8668         * iconvdata/ibm1160.h: Likewise.
8669         * iconvdata/ibm1161.h: Likewise.
8670         * iconvdata/ibm1162.h: Likewise.
8671         * iconvdata/ibm1163.h: Likewise.
8672         * iconvdata/ibm1164.h: Likewise.
8673         * iconvdata/ibm1166.h: Likewise.
8674         * iconvdata/ibm1167.h: Likewise.
8675         * iconvdata/ibm12712.h: Likewise.
8676         * iconvdata/ibm1390.h: Likewise.
8677         * iconvdata/ibm1399.h: Likewise.
8678         * iconvdata/ibm16804.h: Likewise.
8679         * iconvdata/ibm4517.h: Likewise.
8680         * iconvdata/ibm4899.h: Likewise.
8681         * iconvdata/ibm4909.h: Likewise.
8682         * iconvdata/ibm4971.h: Likewise.
8683         * iconvdata/ibm5347.h: Likewise.
8684         * iconvdata/ibm803.h: Likewise.
8685         * iconvdata/ibm856.h: Likewise.
8686         * iconvdata/ibm901.h: Likewise.
8687         * iconvdata/ibm902.h: Likewise.
8688         * iconvdata/ibm9030.h: Likewise.
8689         * iconvdata/ibm9066.h: Likewise.
8690         * iconvdata/ibm921.h: Likewise.
8691         * iconvdata/ibm922.h: Likewise.
8692         * iconvdata/ibm9448.h: Likewise.
8693         * iconvdata/isiri-3342.h: Likewise.
8694         * iconvdata/jis0201.h: Likewise.
8695         * include/link.h: Likewise.
8696         * include/netdb.h: Likewise.
8697         * inet/check_native.c: Likewise.
8698         * inet/check_pf.c: Likewise.
8699         * inet/getipv4sourcefilter.c: Likewise.
8700         * inet/getnameinfo.c: Likewise.
8701         * inet/getsourcefilter.c: Likewise.
8702         * inet/htonl.c: Likewise.
8703         * inet/setipv4sourcefilter.c: Likewise.
8704         * inet/setsourcefilter.c: Likewise.
8705         * inet/test-inet6_opt.c: Likewise.
8706         * inet/tst-network.c: Likewise.
8707         * locale/C-collate.c: Likewise.
8708         * locale/C-ctype.c: Likewise.
8709         * locale/C-time.c: Likewise.
8710         * locale/C-translit.h: Likewise.
8711         * locale/loadarchive.c: Likewise.
8712         * locale/programs/3level.h: Likewise.
8713         * locale/programs/charmap.c: Likewise.
8714         * locale/programs/charmap.h: Likewise.
8715         * locale/programs/ld-address.c: Likewise.
8716         * locale/programs/ld-collate.c: Likewise.
8717         * locale/programs/ld-ctype.c: Likewise.
8718         * locale/programs/ld-identification.c: Likewise.
8719         * locale/programs/ld-measurement.c: Likewise.
8720         * locale/programs/ld-messages.c: Likewise.
8721         * locale/programs/ld-monetary.c: Likewise.
8722         * locale/programs/ld-name.c: Likewise.
8723         * locale/programs/ld-numeric.c: Likewise.
8724         * locale/programs/ld-paper.c: Likewise.
8725         * locale/programs/ld-telephone.c: Likewise.
8726         * locale/programs/ld-time.c: Likewise.
8727         * locale/programs/linereader.c: Likewise.
8728         * locale/programs/locale.c: Likewise.
8729         * locale/programs/locarchive.c: Likewise.
8730         * locale/programs/locfile.h: Likewise.
8731         * locale/programs/repertoire.c: Likewise.
8732         * locale/programs/simple-hash.c: Likewise.
8733         * locale/programs/simple-hash.h: Likewise.
8734         * malloc/memusage.c: Likewise.
8735         * malloc/memusagestat.c: Likewise.
8736         * nis/nis_defaults.c: Likewise.
8737         * nis/nis_hash.c: Likewise.
8738         * nis/nis_print.c: Likewise.
8739         * nis/nis_xdr.c: Likewise.
8740         * nscd/connections.c: Likewise.
8741         * nscd/hstcache.c: Likewise.
8742         * nscd/nscd_gethst_r.c: Likewise.
8743         * nscd/nscd_getserv_r.c: Likewise.
8744         * nscd/nscd_helper.c: Likewise.
8745         * nscd/servicescache.c: Likewise.
8746         * nss/makedb.c: Likewise.
8747         * nss/nss_db/db-XXX.c: Likewise.
8748         * nss/nss_db/db-initgroups.c: Likewise.
8749         * nss/nss_db/db-netgrp.c: Likewise.
8750         * nss/nss_files/files-network.c: Likewise.
8751         * nss/nss_files/files-parse.c: Likewise.
8752         * posix/bug-regex5.c: Likewise.
8753         * posix/fnmatch_loop.c: Likewise.
8754         * posix/regcomp.c: Likewise.
8755         * posix/regexec.c: Likewise.
8756         * posix/tst-rfc3484-2.c: Likewise.
8757         * posix/tst-rfc3484-3.c: Likewise.
8758         * posix/tst-rfc3484.c: Likewise.
8759         * resolv/nss_dns/dns-canon.c: Likewise.
8760         * resolv/nss_dns/dns-network.c: Likewise.
8761         * resolv/res_init.c: Likewise.
8762         * resolv/res_mkquery.c: Likewise.
8763         * resolv/tst-aton.c: Likewise.
8764         * stdlib/cxa_atexit.c: Likewise.
8765         * stdlib/cxa_finalize.c: Likewise.
8766         * stdlib/gen-fpioconst.c: Likewise.
8767         * stdlib/strtol_l.c: Likewise.
8768         * string/tst-endian.c: Likewise.
8769         * sunrpc/auth_des.c: Likewise.
8770         * sunrpc/clnt_udp.c: Likewise.
8771         * sunrpc/rtime.c: Likewise.
8772         * sunrpc/svcauth_des.c: Likewise.
8773         * sunrpc/xdr.c: Likewise.
8774         * sunrpc/xdr_intXX_t.c: Likewise.
8775         * sunrpc/xdr_rec.c: Likewise.
8776         * sysdeps/generic/ldconfig.h: Likewise.
8777         * sysdeps/generic/ldsodefs.h: Likewise.
8778         * sysdeps/generic/memusage.h: Likewise.
8779         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8781         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8782         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8784         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8785         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8786         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8789         * sysdeps/posix/getaddrinfo.c: Likewise.
8790         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8791         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8792         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8793         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8794         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8795         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8796         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8797         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8798         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8799         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8800         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8801         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8802         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8803         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8804         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8805         * sysdeps/x86_64/dl-tls.h: Likewise.
8806         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8807         * time/alt_digit.c: Likewise.
8808         * time/era.c: Likewise.
8809         * wcsmbs/tst-c16c32-1.c: Likewise.
8811 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8813         * math/libm-test.inc (struct test_sincos_data): New type.
8814         (RUN_TEST_LOOP_sincos): New macro.
8815         (sincos_test_data): New variable.
8816         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8818 2013-05-16  Richard Henderson  <rth@redhat.com>
8820         * math/atest-exp2.c (LIMB64): New macro.
8821         (CONSTSZ): New macro.
8822         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8823         (hexdig): Move ...
8824         (print_mpn_fp): ... to function scope.
8825         (read_mpn_hex): Remove.
8826         (get_log2): Remove.
8827         (exp2_mpn): Use mp_log2.
8828         (main): Use mp_exp1.
8830 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8832         * math/libm-test.inc: Remove comment about not testing "inexact"
8833         exceptions.
8834         (INEXACT_EXCEPTION): New macro.
8835         (NO_INEXACT_EXCEPTION): Likewise.
8836         (INVALID_EXCEPTION_OK): Update value.
8837         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8838         (OVERFLOW_EXCEPTION_OK): Likewise.
8839         (UNDERFLOW_EXCEPTION_OK): Likewise.
8840         (IGNORE_ZERO_INF_SIGN): Likewise.
8841         (ERRNO_UNCHANGED): Likewise.
8842         (ERRNO_EDOM): Likewise.
8843         (ERRNO_ERANGE): Likewise.
8844         (test_exceptions): Handle testing "inexact" exceptions.
8845         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8846         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8847         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8848         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8849         INEXACT_EXCEPTION.
8850         (rint_towardzero_test_data): Likewise.
8851         (rint_downward_test_data): Likewise.
8852         (rint_upward_test_data): Likewise.
8854         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8855         with OVERFLOW_EXCEPTION.
8856         (exp10_test_data): Likewise.
8857         (exp2_test_data): Likewise.
8858         (expm1_test_data): Likewise.
8859         (lgamma_test_data): Likewise.
8860         (pow_test_data): Likewise.
8861         (tgamma_test_data): Likewise.
8862         (yn_test_data): Remove duplicate test of overflow.
8864         * math/libm-test.inc (struct test_cc_c_data): New type.
8865         (RUN_TEST_LOOP_cc_c): New macro.
8866         (cpow_test_data): New variable.
8867         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8869         * math/libm-test.inc (struct test_f_L_data): New type.
8870         (RUN_TEST_LOOP_f_L): New macro.
8871         (llrint_test_data): New variable.
8872         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8873         (llrint_tonearest_test_data): New variable.
8874         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8875         (llrint_towardzero_test_data): New variable.
8876         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8877         (llrint_downward_test_data): New variable.
8878         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8879         (llrint_upward_test_data): New variable.
8880         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8881         (llround_test_data): New variable.
8882         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8884 2013-05-13  Peter Collingbourne  <pcc@google.com>
8886         * math/atest-exp2.c (get_log2): Remove const attribute.
8888 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8890         * math/libm-test.inc (struct test_f_l_data): New type.
8891         (RUN_TEST_LOOP_f_l): New macro.
8892         (lrint_test_data): New variable.
8893         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8894         (lrint_tonearest_test_data): New variable.
8895         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8896         (lrint_towardzero_test_data): New variable.
8897         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8898         (lrint_downward_test_data): New variable.
8899         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8900         (lrint_upward_test_data): New variable.
8901         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8902         (lround_test_data): New variable.
8903         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8905 2013-05-15  Peter Collingbourne  <pcc@google.com>
8907         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8908         (EXTRACT_WORDS64) Use where appropriate.
8909         (INSERT_WORDS64) Likewise.
8911         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8912         constraints with x constraints.
8913         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8915         * malloc/obstack.c (_obstack_compat): Add initializer.
8917 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8920         si_trapno and add si_addr_lsb to _sifields.sigfault.
8921         (si_trapno): Remove macro.
8922         (si_addr_lsb): Define new macro.
8923         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8925 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8927         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8928         instead of TEST_f_l.
8929         (llrint_test_tonearest): Likewise.
8930         (llrint_test_towardzero): Likewise.
8931         (llrint_test_downward): Likewise.
8932         (llrint_test_upward): Likewise.
8933         (llround_test): Likewise.
8935         * math/libm-test.inc (struct test_f_i_data): Add comment.
8936         (RUN_TEST_LOOP_f_b): New macro.
8937         (RUN_TEST_LOOP_f_b_tg): Likewise.
8938         (finite_test_data): New variable.
8939         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8940         (isfinite_test_data): New variable.
8941         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8942         (isinf_test_data): New variable.
8943         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8944         (isnan_test_data): New variable.
8945         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8946         (isnormal_test_data): New variable.
8947         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8948         (issignaling_test_data): New variable.
8949         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8950         (signbit_test_data): New variable.
8951         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8953         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8954         with INVALID_EXCEPTION.
8955         (acosh_test_data): Likewise.
8956         (asin_test_data): Likewise.
8957         (atanh_test_data): Likewise.
8958         (fmod_test_data): Likewise.
8959         (log_test_data): Likewise.
8960         (log10_test_data): Likewise.
8961         (log2_test_data): Likewise.
8962         (pow_test_data): Likewise.
8963         (sqrt_test_data): Likewise.
8964         (y0_test_data): Likewise.
8965         (y1_test_data): Likewise.
8966         (yn_test_data): Likewise.
8968         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8969         function contents.
8971         * math/libm-test.inc (struct test_ff_i_data): New type.
8972         (RUN_TEST_LOOP_ff_i_tg): New macro.
8973         (isgreater_test_data): New variable.
8974         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8975         (isgreaterequal_test_data): New variable.
8976         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8977         (isless_test_data): New variable.
8978         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8979         (islessequal_test_data): New variable.
8980         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8981         (islessgreater_test_data): New variable.
8982         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8983         (isunordered_test_data): New variable.
8984         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8986 2013-05-14  David S. Miller  <davem@davemloft.net>
8988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8990 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8992         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8994         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8995         extra_test to int.
8996         (struct test_f_i_data): Change type of max_ulp to int.
8998         * math/libm-test.inc (test_ffI_f1_data): New type.
8999         (RUN_TEST_LOOP_ffI_f1): New macro.
9000         (remquo_test_data): New variable.
9001         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9003         * setjmp/tst-setjmp-fp.c: New file.
9004         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9005         (link-libm): New variable.
9006         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9008         * math/libm-test.inc (struct test_f_i_data): New type.
9009         (RUN_TEST_LOOP_f_i): New macro.
9010         (RUN_TEST_LOOP_f_i_tg): Likewise.
9011         (fpclassify_test_data): New variable.
9012         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9013         (ilogb_test_data): New variable.
9014         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9016         * math/libm-test.inc (scalbln_test): Correct function name in END
9017         call.
9019         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9020         (RUN_TEST_LOOP_fI_f1): New macro.
9021         (frexp_test_data): New variable.
9022         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9024         * math/libm-test.inc (struct test_fF_f1_data): New type.
9025         (RUN_TEST_LOOP_fF_f1): New macro.
9026         (modf_test_data): New variable.
9027         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9029         * math/libm-test.inc (struct test_f_f1_data): New type.
9030         (RUN_TEST_LOOP_f_f1): New macro.
9031         (gamma_test_data): New variable.
9032         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9033         (lgamma_test_data): New variable.
9034         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9036 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9039         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9040         (main): Comment "tls" pseudo-hwcap.
9042 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9044         * math/libm-test.inc (struct test_fl_f_data): New type.
9045         (RUN_TEST_LOOP_fl_f): New variable.
9046         (scalbln_test_data): New variable.
9047         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9049         * math/libm-test.inc (struct test_fi_f_data): New type.
9050         (RUN_TEST_LOOP_fi_f): New macro.
9051         (ldexp_test_data): New variable.
9052         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9053         (scalbn_test_data): New variable.
9054         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9056         * math/libm-test.inc (struct test_c_f_data): New type.
9057         (RUN_TEST_LOOP_c_f): New macro.
9058         (cabs_test_data): New variable.
9059         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9060         (carg_test_data): New variable.
9061         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9062         (cimag_test_data): New variable.
9063         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9064         (creal_test_data): New variable.
9065         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9067         * math/libm-test.inc (struct test_if_f_data): New type.
9068         (RUN_TEST_LOOP_if_f): New macro.
9069         (jn_test_data): New variable.
9070         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9071         (yn_test_data): New variable.
9072         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9074         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9076 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9078         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9079         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9081 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9083         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9084         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9085         (bench-deps): Add bench-timing.h.
9086         * benchtests-bench-skeleton.c: Include bench-timing.h.
9087         (main): Use TIMING_* macros instead of clock_gettime.
9088         * benchtests/bench-timing.h: New file.
9090         [BZ #14582]
9091         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9092         Renamed from _LIB_VERSION.
9093         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9095 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9097         * math/libm-test.inc (struct test_fff_f_data): New type.
9098         (RUN_TEST_LOOP_fff_f): New macro.
9099         (fma_test_data): New variable.
9100         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9101         (fma_towardzero_test_data): New variable.
9102         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9103         (fma_downward_test_data): New variable.
9104         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9105         (fma_upward_test_data): New variable.
9106         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9108         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9109         (struct test_c_c_data): New type.
9110         (RUN_TEST_LOOP_c_c): New macro.
9111         (cacos_test_data): New variable.
9112         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9113         (cacosh_test_data): New variable.
9114         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9115         (casin_test_data): New variable.
9116         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9117         (casinh_test_data): New variable.
9118         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9119         (catan_test_data): New variable.
9120         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9121         (catanh_test_data): New variable.
9122         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9123         (ccos_test_data): New variable.
9124         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9125         (ccosh_test_data): New variable.
9126         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9127         (cexp_test_data): New variable.
9128         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9129         (clog_test_data): New variable.
9130         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9131         (clog10_test_data): New variable.
9132         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9133         (conj_test_data): New variable.
9134         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9135         (cproj_test_data): New variable.
9136         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9137         (csin_test_data): New variable.
9138         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9139         (csinh_test_data): New variable.
9140         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9141         (csqrt_test_data): New variable.
9142         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9143         (ctan_test_data): New variable.
9144         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9145         (ctan_tonearest_test_data): New variable.
9146         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9147         (ctan_towardzero_test_data): New variable.
9148         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9149         (ctan_downward_test_data): New variable.
9150         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9151         (ctan_upward_test_data): New variable.
9152         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9153         (ctanh_test_data): New variable.
9154         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9155         (ctanh_tonearest_test_data): New variable.
9156         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9157         (ctanh_towardzero_test_data): New variable.
9158         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9159         (ctanh_downward_test_data): New variable.
9160         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9161         (ctanh_upward_test_data): New variable.
9162         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9163         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9164         of BUILD_COMPLEX.
9166         * math/libm-test.inc (struct test_ff_f_data): New type.
9167         (struct test_ff_f_data_nexttoward): Likewise.
9168         (RUN_TEST_LOOP_2_f): New macro.
9169         (RUN_TEST_LOOP_ff_f): Likewise.
9170         (atan2_test_data): New variable.
9171         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9172         (copysign_test_data): New variable.
9173         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9174         (fdim_test_data): New variable.
9175         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9176         (fmax_test_data): New variable.
9177         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9178         (fmin_test_data): New variable.
9179         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9180         (fmod_test_data): New variable.
9181         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9182         (hypot_test_data): New variable.
9183         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9184         (nextafter_test_data): New variable.
9185         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9186         (nexttoward_test_data): New variable.
9187         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9188         (pow_test_data): New variable.
9189         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9190         (pow_tonearest_test_data): New variable.
9191         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9192         (pow_towardzero_test_data): New variable.
9193         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9194         (pow_downward_test_data): New variable.
9195         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9196         (pow_upward_test_data): New variable.
9197         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9198         (remainder_test_data): New variable.
9199         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9200         (scalb_test_data): New variable.
9201         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9202         * sysdeps/i386/fpu/libm-test-ulps: Update.
9204 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9206         * math/libm-test.inc (fma_test): Use max_value instead of local
9207         variable fltmax.
9208         (nextafter_test): Likewise.
9210         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9211         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9212         (acos_downward_test_data): New variable.
9213         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9214         (acos_upward_test_data): New variable.
9215         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9216         (acosh_test_data): New variable.
9217         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9218         (asin_test_data): New variable.
9219         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9220         (asin_tonearest_test_data): New variable.
9221         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9222         (asin_towardzero_test_data): New variable.
9223         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9224         (asin_downward_test_data): New variable.
9225         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9226         (asin_upward_test_data): New variable.
9227         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9228         (asinh_test_data): New variable.
9229         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9230         (atan_test_data): New variable.
9231         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9232         (atanh_test_data): New variable.
9233         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9234         (cbrt_test_data): New variable.
9235         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9236         (ceil_test_data): New variable.
9237         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9238         (cos_test_data): New variable.
9239         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9240         (cos_tonearest_test_data): New variable.
9241         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9242         (cos_towardzero_test_data): New variable.
9243         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9244         (cos_downward_test_data): New variable.
9245         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9246         (cos_upward_test_data): New variable.
9247         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9248         (cosh_test_data): New variable.
9249         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9250         (cosh_tonearest_test_data): New variable.
9251         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9252         (cosh_towardzero_test_data): New variable.
9253         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9254         (cosh_downward_test_data): New variable.
9255         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9256         (cosh_upward_test_data): New variable.
9257         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9258         (erf_test_data): New variable.
9259         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9260         (erfc_test_data): New variable.
9261         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9262         (exp_test_data): New variable.
9263         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9264         (exp_tonearest_test_data): New variable.
9265         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9266         (exp_towardzero_test_data): New variable.
9267         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9268         (exp_downward_test_data): New variable.
9269         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9270         (exp_upward_test_data): New variable.
9271         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9272         (exp10_test_data): New variable.
9273         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9274         (exp2_test_data): New variable.
9275         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9276         (expm1_test_data): New variable.
9277         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9278         (fabs_test_data): New variable.
9279         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9280         (floor_test_data): New variable.
9281         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9282         (j0_test_data): New variable.
9283         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9284         (j1_test_data): New variable.
9285         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9286         (log_test_data): New variable.
9287         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9288         (log10_test_data): New variable.
9289         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9290         (log1p_test_data): New variable.
9291         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9292         (log2_test_data): New variable.
9293         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9294         (logb_test_data): New variable.
9295         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9296         (logb_downward_test_data): New variable.
9297         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9298         (nearbyint_test_data): New variable.
9299         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9300         (rint_test_data): New variable.
9301         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9302         (rint_tonearest_test_data): New variable.
9303         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9304         (rint_towardzero_test_data): New variable.
9305         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9306         (rint_downward_test_data): New variable.
9307         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9308         (rint_upward_test_data): New variable.
9309         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9310         (round_test_data): New variable.
9311         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9312         (sin_test_data): New variable.
9313         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9314         (sin_tonearest_test_data): New variable.
9315         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9316         (sin_towardzero_test_data): New variable.
9317         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9318         (sin_downward_test_data): New variable.
9319         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9320         (sin_upward_test_data): New variable.
9321         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9322         (sinh_test_data): New variable.
9323         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9324         (sinh_tonearest_test_data): New variable.
9325         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9326         (sinh_towardzero_test_data): New variable.
9327         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9328         (sinh_downward_test_data): New variable.
9329         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9330         (sinh_upward_test_data): New variable.
9331         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9332         (sqrt_test_data): New variable.
9333         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9334         (tan_test_data): New variable.
9335         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9336         (tan_tonearest_test_data): New variable.
9337         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9338         (tan_towardzero_test_data): New variable.
9339         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9340         (tan_downward_test_data): New variable.
9341         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9342         (tan_upward_test_data): New variable.
9343         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9344         (tanh_test_data): New variable.
9345         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9346         (tgamma_test_data): New variable.
9347         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9348         (trunc_test_data): New variable.
9349         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9350         (y0_test_data): New variable.
9351         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9352         (y1_test_data): New variable.
9353         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9354         (significand_test_data): New variable.
9355         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9357 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9359         [BZ #12387]
9360         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9362 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9364         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9366 2013-05-10  Andreas Jaeger  <aj@suse.de>
9368         [BZ #15448]
9369         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9370         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9372 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9374         * math/gen-libm-test.pl (adjust_arg): New function.
9375         (special_functions): Handle generating output in both functions
9376         and arrays.
9377         (parse_args): Likewise.
9378         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9379         $in_func argument to parse_args.
9380         * math/libm-test.inc (struct test_f_f_data): New type.
9381         (IF_ROUND_INIT_): New macro.
9382         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9383         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9384         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9385         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9386         (ROUND_RESTORE_): Likewise.
9387         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9388         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9389         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9390         (ROUND_RESTORE_FE_UPWARD): Likewise.
9391         (RUN_TEST_LOOP_f_f): New macro.
9392         (acos_test_data): New variable.
9393         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9394         (acos_tonearest_test_data): New variable.
9395         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9397 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9399         * benchtests/bench-skeleton.c (startup): Fix coding style.
9401 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9403         [BZ #6809]
9404         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9405         negative infinity argument.
9406         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9407         negative infinity argument.
9408         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9409         negative infinity argument.
9410         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9411         domain errors.
9413 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9415         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9416         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9417         * iconv/iconv_prog.c (main): Likewise.
9418         * locale/programs/charmap-dir.c (charmap_readdir)
9419         (fopen_uncompressed): Likewise.
9420         * locale/programs/locfile.c (siblings_uncached)
9421         (write_locale_data): Use lstat64 instead of lstat.
9422         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9423         stat.
9425 2013-05-10  Andreas Jaeger  <aj@suse.de>
9427         [BZ #15395]
9428         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9429         localization.
9430         Include <locale.h>.
9432 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9434         * elf/dl-close.c (_dl_close_worker): Add comments.
9436 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9438         [BZ #15359]
9439         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9440         high part of pi/2.
9441         (__ieee754_rem_pio2l): Update comments.
9443         [BZ #15429]
9444         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9445         high part of pi/2.
9446         (__ieee754_rem_pio2l): Update comments.
9448         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9449         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9451         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9452         M_PI_4l.
9454         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9455         (M_PI_34_LOG10El): Likewise.
9456         (M_PI2_LOG10El): Likewise.
9457         (M_PI4_LOG10El): Likewise.
9458         (M_PI_LOG10El): Likewise.
9460 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9464 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9466         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9467         (MINUS_ZERO_INIT): Likewise.
9468         (PLUS_INFTY_INIT): Likewise.
9469         (MINUS_INFTY_INIT): Likewise.
9470         (QNAN_VALUE_INIT): Likewise.
9471         (MAX_VALUE_INIT): Likewise.
9472         (MIN_VALUE_INIT): Likewise.
9473         (MIN_SUBNORM_VALUE_INIT): Likewise.
9474         (plus_zero): Initialize with PLUS_ZERO_INIT.
9475         (minus_zero): Initialize with MINUS_ZERO_INIT.
9476         (plus_infty): Initialize with PLUS_INFTY_INIT.
9477         (minus_infty): Initialize with MINUS_INFTY_INIT.
9478         (qnan_value): Initialize with QNAN_VALUE_INIT.
9479         (max_value): Initialize with MAX_VALUE_INIT.
9480         (min_value): Initialize with MIN_VALUE_INIT.
9481         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9483         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9484         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9485         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9486         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9488         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9489         (RUN_TEST_2_f): Likewise.
9490         (RUN_TEST_ff_f): Likewise.
9491         (RUN_TEST_fi_f): Likewise.
9492         (RUN_TEST_fl_f): Likewise.
9493         (RUN_TEST_fff_f): Likewise.
9494         (RUN_TEST_c_f): Likewise.
9495         (RUN_TEST_f_f1): Likewise.
9496         (RUN_TEST_fF_f1): Likewise.
9497         (RUN_TEST_fI_f1): Likewise.
9498         (RUN_TEST_ffI_f1): Likewise.
9499         (RUN_TEST_c_c): Likewise.
9500         (RUN_TEST_cc_c): Likewise.
9501         (RUN_TEST_f_i): Likewise.
9502         (RUN_TEST_f_i_tg): Likewise.
9503         (RUN_TEST_ff_i_tg): Likewise.
9504         (RUN_TEST_f_b): Likewise.
9505         (RUN_TEST_f_b_tg): Likewise.
9506         (RUN_TEST_f_l): Likewise.
9507         (RUN_TEST_f_L): Likewise.
9508         (RUN_TEST_sincos): Likewise.
9509         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9510         whether to show exceptions.  Do not include ");\n" in return
9511         value.
9512         (special_functions): Output call to RUN_TEST_sincos instead of
9513         check_float calls.  Update calls to new_test.
9514         (parse_args): Output call to single RUN_TEST_* macro instead of
9515         check_* calls and other assignments.  Update calls to new_test.
9517         [BZ #2546]
9518         [BZ #2560]
9519         [BZ #5159]
9520         [BZ #15426]
9521         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9522         input to result for tgamma overflow.
9523         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9524         (gamma_coeff): New variable.
9525         (NCOEFF): New macro.
9526         (gamma_positive): New function.
9527         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9528         underflow here.  Use gamma_positive instead of exp (lgamma) for
9529         other arguments.
9530         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9531         (gamma_coeff): New variable.
9532         (NCOEFF): New macro.
9533         (gammaf_positive): New function.
9534         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9535         underflow here.  Use gamma_positive instead of exp (lgamma) for
9536         other arguments.
9537         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9538         (gamma_coeff): New variable.
9539         (NCOEFF): New macro.
9540         (gammal_positive): New function.
9541         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9542         underflow here.  Use gamma_positive instead of exp (lgamma) for
9543         other arguments.
9544         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9545         (gamma_coeff): New variable.
9546         (NCOEFF): New macro.
9547         (gammal_positive): New function.
9548         (__ieee754_gammal_r): Handle positive infinity, overflow and
9549         underflow here.  Handle NaN the same as positive infinity.  Remove
9550         check x < 0xffffffff for negative integers.  Use gamma_positive
9551         instead of exp (lgamma) for other arguments.
9552         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9553         (gamma_coeff): New variable.
9554         (NCOEFF): New macro.
9555         (gammal_positive): New function.
9556         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9557         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9558         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9559         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9561         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9562         * sysdeps/generic/math_private.h (__gamma_productf): New
9563         prototype.
9564         (__gamma_product): Likewise.
9565         (__gamma_productl): Likewise.
9566         * math/Makefile (libm-calls): Add gamma_product.
9567         * math/libm-test.inc (tgamma_test): Add more tests.
9568         * sysdeps/i386/fpu/libm-test-ulps: Update.
9569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9571 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9573         * benchtests/bench-skeleton.c (main): Preheat CPU.
9575 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9577         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9579 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9581         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9582         and _dl_skip_args_internal.
9584 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9586         * manual/message.texi (Message Translation): Talk about users.
9587         Message to key mapping impacts design.
9589 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9591         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9593         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9595         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9596         * sysdeps/wordsize-64/glob64.c: ... here.
9598         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9599         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9600         New macros.
9602         * debug/getlogin_r_chk.c: Moved to ...
9603         * login/getlogin_r_chk.c: ... here.
9604         * debug/Makefile (routines): Move getlogin_r_chk to ...
9605         * login/Makefile (routines): ... here.
9606         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9607         * login/Versions (libc: GLIBC_2.4): ... here.
9609         * io/poll.c (__poll): Renamed from poll.
9610         Add libc_hidden_def.
9611         (poll): Define as weak alias.
9613         * debug/ptsname_r_chk.c: Moved to ...
9614         * login/ptsname_r_chk.c: ... here.
9615         * debug/Makefile (routines): Move ptsname_r_chk to ...
9616         * login/Makefile (routines): ... here.
9617         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9618         * login/Versions (libc: GLIBC_2.4): ... here.
9620         * posix/getlogin.c: Moved to ...
9621         * login/getlogin.c: ... here.
9622         * posix/getlogin_r.c: Moved to ...
9623         * login/getlogin_r.c: ... here.
9624         * posix/getlogin_r.c: Moved to ...
9625         * login/getlogin_r.c: ... here.
9626         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9627         * login/Makefile (routines): ... here.
9628         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9629         * login/Versions (libc: GLIBC_2.0): ... here.
9631         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9632         (setrlimit): Define as weak alias.
9634         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9635         Call __ names for open, ftruncate, and close.
9636         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9637         (truncate): Define as weak alias.
9639 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9641         * math/gen-libm-test.pl (parse_args): Initialize x before each
9642         test of frexp, modf and remquo.
9644         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9645         test signgam value.
9647 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9649         [BZ #15418]
9650         [BZ #15419]
9651         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9652         internal tests.
9653         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9655 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9657         * elf/dl-writev.h: New file.
9658         * elf/dl-misc.c: Include it.
9659         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9660         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9662 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9664         * math/libm-test.inc (noXFails): Remove variable.
9665         (noXPasses): Likewise.
9666         (BUILD_COMPLEX_INT): Remove macro.
9667         (print_screen): Remove xfail argument.
9668         (print_screen_max_error): Likewise.
9669         (update_stats): Likewise.
9670         (print_max_error): Likewise.  Update calls to other affected
9671         functions.
9672         (print_complex_max_error): Likewise.
9673         (test_single_exception): Update calls to print_screen.
9674         (test_single_errno): Likewise.
9675         (check_float_internal): Remove xfail argument.  Update calls to
9676         other affected functions.
9677         (check_float): Likewise.
9678         (check_complex): Likewise.
9679         (check_int): Likewise.
9680         (check_long): Likewise.
9681         (check_bool): Likewise.
9682         (check_longlong): Likewise.
9683         (main): Don't print noXFails and noXPasses.
9684         * math/gen-libm-test.pl (top level): Don't mention expected
9685         failure handling in comment.
9686         (new_test): Don't handle expected failures.
9687         (parse_args): Don't mention expected failure handling in comment.
9688         (generate_testfile): Don't handle expected failures.
9689         (parse_ulps): Likewise.
9690         (print_ulps_file): Likewise.
9691         (get_failure): Remove function.
9692         (output_test): Don't handle expected failures.
9693         * make/README.libm-test: Don't mention expected failure handling.
9695         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9696         (minus_zero): Likewise.
9697         (plus_infty): Likewise.
9698         (minus_infty): Likewise.
9699         (qnan_value): Likewise.
9700         (max_value): Likewise.
9701         (min_value): Likewise.
9702         (min_subnorm_value): Likewise.
9703         (initialize): Do not initialize those variables dynamically.
9705 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9707         * io/open.c (__open_2): Moved to ...
9708         * io/open_2.c: ... this new file.
9709         * io/open64.c (__open64_2): Moved to ...
9710         * io/open64_2.c: ... this new file.
9711         * io/openat.c (__openat_2): Moved to ...
9712         * io/openat_2.c: ... this new file.
9713         * io/openat64.c (__openat64_2): Moved to ...
9714         * io/openat64_2.c: ... this new file.
9715         * io/Makefile (routines): Add them.
9716         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9717         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9718         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9719         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9720         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9721         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9722         (__openat64): Add hidden_ver.
9723         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9724         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9726         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9727         Separately conditionalize setting of GLRO(dl_sysinfo) so
9728         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9729         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9731 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9733         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9734         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9735         definition.
9736         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9737         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9738         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9739         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9740         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9742 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9744         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9745         test signgam value.
9747         * math/libm-test.inc (hypot_test): Do not use
9748         IGNORE_ZERO_INF_SIGN.
9750 2013-05-03  Andreas Jaeger  <aj@suse.de>
9752         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9753         Linux 3.9.
9754         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9755         (PF_MAX): Adjust for VSOCK change.
9757 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9761 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9763         [BZ #15264]
9764         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9765         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9766         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9768 2013-05-02  David S. Miller  <davem@davemloft.net>
9770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9772 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9774         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9776 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9778         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9780 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9782         [BZ #14952]
9783         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9784         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9785         Use __attribute__ ((__gnu_inline__)).
9786         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9787         Don't use __attribute__ ((__gnu_inline__)).
9789 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9791         [BZ #15423]
9792         * math/s_catan.c (__catan): Handle small real or imaginary part of
9793         input specially to avoid spurious underflow.
9794         * math/s_catanf.c (__catanf): Likewise.
9795         * math/s_catanh.c (__catanh): Likewise.
9796         * math/s_catanhf.c (__catanhf): Likewise.
9797         * math/s_catanhl.c (__catanhl): Likewise.
9798         * math/s_catanl.c (__catanl): Likewise.
9799         * math/libm-test.inc (catan_test): Add more tests.
9800         (catanh_test): Likewise.
9801         * sysdeps/i386/fpu/libm-test-ulps: Update.
9802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9804 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9808 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9810         [BZ #15416]
9811         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9812         accurately for denominator in atan2.
9813         * math/s_catanf.c (__catanf): Likewise.
9814         * math/s_catanh.c (__catanh): Likewise.
9815         * math/s_catanhf.c (__catanhf): Likewise.
9816         * math/s_catanhl.c (__catanhl): Likewise.
9817         * math/s_catanl.c (__catanl): Likewise.
9818         * math/libm-test.inc (catan_test): Add more tests.
9819         (catanh_test): Likewise.
9820         * sysdeps/i386/fpu/libm-test-ulps: Update.
9821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9823 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9825         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9827         * benchtests/Makefile (bench): Remove slow benchmarks.
9828         * benchtests/atan-inputs: Add slow benchmark inputs.
9829         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9830         (BENCH_FUNC): Accept variant offset.
9831         (VARIANT): Define.
9832         * benchtests/bench-skeleton.c (main): Run benchmark for each
9833         variant.
9834         * benchtests/cos-inputs: Add slow benchmark inputs.
9835         * benchtests/exp-inputs: Likewise.
9836         * benchtests/pow-inputs: Likewise.
9837         * benchtests/sin-inputs: Likewise.
9838         * benchtests/slowatan-inputs: Remove.
9839         * benchtests/slowatan.c: Remove.
9840         * benchtests/slowcos-inputs: Remove.
9841         * benchtests/slowcos.c: Remove.
9842         * benchtests/slowexp-inputs: Remove.
9843         * benchtests/slowexp.c: Remove.
9844         * benchtests/slowpow-inputs: Remove.
9845         * benchtests/slowpow.c: Remove.
9846         * benchtests/slowsin-inputs: Remove.
9847         * benchtests/slowsin.c: Remove.
9848         * benchtests/slowtan-inputs: Remove.
9849         * benchtests/slowtan.c: Remove.
9850         * benchtests/tan-inputs: Add slow benchmark inputs.
9851         * scripts/bench.pl: Parse comments and directives.
9853         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9854         in CPPFLAGS.
9855         ($(objpfx)bench-%.c): Remove *-ITER.
9856         * benchtests/bench-modf.c: Remove definition of ITER.
9857         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9858         (main): Loop for DURATION seconds instead of fixed number of
9859         iterations.
9860         * scripts/bench.pl: Don't expect iterations in parameters.
9862 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9864         * io/fchdir.c (__fchdir): Renamed from fchdir.
9865         (fchdir): Define as weak alias.
9867 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9869         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9870         (ERRNO_EDOM): Likewise.
9871         (ERRNO_ERANGE): Likewise.
9872         (noErrnoTests): New variable.
9873         (init_max_error): Set errno to 0.
9874         (test_single_errno): New function.
9875         (test_errno): Likewise.
9876         (check_float_internal): Call test_errno.  Set errno to 0.
9877         (check_complex): Refer to errno tests in comment.
9878         (check_int): Call test_errno.  Set errno to 0.
9879         (check_long): Likewise.
9880         (check_bool): Likewise.
9881         (check_longlong): Likewise.
9882         (cos_test): Use ERRNO_* flags for errno tests instead of
9883         check_int.
9884         (expm1_test): Likewise.
9885         (fmod_test): Likewise.
9886         (ilogb_test): Likewise.
9887         (lgamma_test): Likewise.
9888         (pow_test): Likewise.
9889         (remainder_test): Likewise.
9890         (sin_test): Likewise.
9891         (tan_test): Likewise.
9892         (yn_test): Likewise.
9893         (initialize): Set errno to 0.
9894         (main): Print number of errno tests.
9895         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9897 2013-04-29  Andreas Jaeger  <aj@suse.de>
9899         [BZ #15084]
9900         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9901         and RES_USEVC.
9903         [BZ #15085]
9904         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9905         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9906         unimplemented.
9908         [BZ #15380]
9909         * stdlib/random.c (__initstate): Return NULL if
9910         __initstate fails.
9912         [BZ #15086]
9913         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9914         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9915         RES_SNGLKUPREOP.
9917 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9921 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9923         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9924         of individual tests.
9925         (casin_test): Likewise.
9926         (casinh_test): Likewise.
9928 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9930         [BZ #15409]
9931         * math/s_catan.c (__catan): Handle arguments with large real or
9932         imaginary part separately without squaring.
9933         * math/s_catanf.c (__catanf): Likewise.
9934         * math/s_catanh.c (__catanh): Likewise.
9935         * math/s_catanhf.c (__catanhf): Likewise.
9936         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9937         and redefine.
9938         (__catanhl): Handle arguments with large real or imaginary part
9939         separately without squaring.
9940         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9941         and redefine.
9942         (__catanl): Handle arguments with large real or imaginary part
9943         separately without squaring.
9944         * math/libm-test.inc (catan_test): Add more tests.
9945         (catanh_test): Likewise.
9946         * sysdeps/i386/fpu/libm-test-ulps: Update.
9947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9949 2013-04-27  Andreas Jaeger  <aj@suse.de>
9951         [BZ #15007]
9952         * stdlib/stdlib.h: Update guards for qecvt.
9953         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9954         <stdlib.h>.
9956 2013-04-27  Allan McRae  <allan@archlinux.org>
9958         * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #15406]
9963         * math/s_catan.c: Include <float.h>.
9964         (__catan): Ensure underflow exception occurs for underflowed
9965         result.
9966         * math/s_catanf.c: Include <float.h>.
9967         (__catanf): Ensure underflow exception occurs for underflowed
9968         result.
9969         * math/s_catanh.c: Include <float.h>.
9970         (__catanh): Ensure underflow exception occurs for underflowed
9971         result.
9972         * math/s_catanhf.c: Include <float.h>.
9973         (__catanhf): Ensure underflow exception occurs for underflowed
9974         result.
9975         * math/s_catanhl.c: Include <float.h>.
9976         (__catanhl): Ensure underflow exception occurs for underflowed
9977         result.
9978         * math/s_catanl.c: Include <float.h>.
9979         (__catanl): Ensure underflow exception occurs for underflowed
9980         result.
9981         * math/libm-test.inc (catan_test): Add more tests.
9982         (catanh_test): Likewise.
9984         [BZ #15405]
9985         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9986         underflowed result.
9987         * math/s_ccoshf.c (__ccoshf): Likewise.
9988         * math/s_ccoshl.c (__ccoshl): Likewise.
9989         * math/s_csin.c (__csin): Likewise.
9990         * math/s_csinf.c (__csinf): Likewise.
9991         * math/s_csinh.c (__csinh): Likewise.
9992         * math/s_csinhf.c (__csinhf): Likewise.
9993         * math/s_csinhl.c (__csinhl): Likewise.
9994         * math/s_csinl.c (__csinl): Likewise.
9995         * math/libm-test.inc (ccos_test): Add more tests.
9996         (ccosh_test): Likewise.
9997         (csin_test): Likewise.
9998         (csinh_test): Likewise.
10000 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10002         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10003         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10004         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10005         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10006         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10007         powerpc/power5+/fpu folders.
10008         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10011 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10015 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10017         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10018         additions to variable.
10019         [$(config-machine) = x86_64] (modules-names): Likewise.
10020         ($(objpfx)tst-audit3): Remove dependency.
10021         ($(objpfx)tst-audit3.out): Likewise.
10022         ($(objpfx)tst-audit4): Likewise.
10023         ($(objpfx)tst-audit4.out): Likewise.
10024         ($(objpfx)tst-audit5): Likewise.
10025         ($(objpfx)tst-audit5.out): Likewise.
10026         ($(objpfx)tst-audit6): Likewise.
10027         ($(objpfx)tst-audit6.out): Likewise.
10028         ($(objpfx)tst-audit7): Likewise.
10029         ($(objpfx)tst-audit7.out): Likewise.
10030         (tst-audit3-ENV): Remove variable.
10031         (tst-audit4-ENV): Likewise.
10032         (tst-audit5-ENV): Likewise.
10033         (tst-audit6-ENV): Likewise.
10034         (tst-audit7-ENV): Likewise.
10035         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10036         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10037         addition to variable.
10038         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10039         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10040         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10041         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10042         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10043         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10044         tst-audit3, tst-audit4 and tst-audit5.
10045         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10046         tst-audit6 and tst-audit7.
10047         [$(subdir) = elf] (modules-names): Add audit modules for those
10048         tests.
10049         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10050         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10051         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10052         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10053         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10054         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10055         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10056         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10057         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10058         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10059         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10060         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10061         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10062         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10063         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10064         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10065         Likewise.
10066         [$(subdir) = elf && $(config-cflags-avx) = yes]
10067         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10068         [$(subdir) = elf && $(config-cflags-avx) = yes]
10069         (CFLAGS-tst-auditmod4a.c): Likewise.
10070         [$(subdir) = elf && $(config-cflags-avx) = yes]
10071         (CFLAGS-tst-auditmod4b.c): Likewise.
10072         [$(subdir) = elf && $(config-cflags-avx) = yes]
10073         (CFLAGS-tst-auditmod6b.c): Likewise.
10074         [$(subdir) = elf && $(config-cflags-avx) = yes]
10075         (CFLAGS-tst-auditmod6c.c): Likewise.
10076         [$(subdir) = elf && $(config-cflags-avx) = yes]
10077         (CFLAGS-tst-auditmod7b.c): Likewise.
10078         * elf/tst-audit3.c: Move to ...
10079         * sysdeps/x86_64/tst-audit3.c: ... here.
10080         * elf/tst-audit4.c: Move to ...
10081         * sysdeps/x86_64/tst-audit4.c: ... here.
10082         * elf/tst-audit5.c: Move to ...
10083         * sysdeps/x86_64/tst-audit5.c: ... here.
10084         * elf/tst-audit6.c: Move to ...
10085         * sysdeps/x86_64/tst-audit6.c: ... here.
10086         * elf/tst-audit7.c: Move to ...
10087         * sysdeps/x86_64/tst-audit7.c: ... here.
10088         * elf/tst-auditmod3a.c: Move to ...
10089         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10090         * elf/tst-auditmod3b.c: Move to ...
10091         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10092         * elf/tst-auditmod4a.c: Move to ...
10093         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10094         * elf/tst-auditmod4b.c: Move to ...
10095         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10096         * elf/tst-auditmod5a.c: Move to ...
10097         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10098         * elf/tst-auditmod5b.c: Move to ...
10099         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10100         * elf/tst-auditmod6a.c: Move to ...
10101         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10102         * elf/tst-auditmod6b.c: Move to ...
10103         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10104         * elf/tst-auditmod6c.c: Move to ...
10105         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10106         * elf/tst-auditmod7a.c: Move to ...
10107         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10108         * elf/tst-auditmod7b.c: Move to ...
10109         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10111 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10113         [BZ #15366]
10114         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10115         define unconditionally.
10116         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10117         define unconditionally.
10118         (INT8_C, INT16_C, etc.): Likewise.
10120 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10122         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10123         __ehdr_start with hidden visibility.
10125         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10127 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10129         * math/libm-test.inc (cos_test): Use accurate hex constants.
10130         (sincost_test): Likewise.
10132 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10134         * math/libm-test.inc (catan_test): Add more tests.
10135         (catanh_test): Likewise.
10137         * math/s_catanf.c (__catanf): Use suffixed floating-point
10138         constants.
10139         * math/s_catanhf.c (__catanhf): Likewise.
10140         * math/s_catanhl.c (__catanhl): Likewise.
10141         * math/s_catanl.c (__catanl): Likewise.
10143         [BZ #15394]
10144         * math/s_catan.c (__catan): Calculate imaginary part of result
10145         with log1p not log unless computing log of number close to 0.
10146         * math/s_catanf.c (__catanf): Likewise.
10147         * math/s_catanl.c (__catanl): Likewise.
10148         * math/s_catanh.c (__catanh): Calculate real part of result with
10149         log1p not log unless computing log of number close to 0.
10150         * math/s_catanhf.c (__catanhf): Likewise.
10151         * math/s_catanhl.c (__catanhl): Likewise.
10152         * math/libm-test.inc (catan_test): Add more tests.
10153         (catanh_test): Likewise.
10154         * sysdeps/i386/fpu/libm-test-ulps: Update.
10155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10157 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10159         * benchtests/Makefile: Mention files in which fast and slow
10160         paths of math functions are implemented.
10162 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10164         * sysdeps/posix/timespec_get.c: New file.
10166 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10168         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10169         POWER.
10170         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10171         for POWER.
10172         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10173         powerpc/power5/fpu folders.
10174         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10175         * benchtests/Makefile: Add modf testcase.
10176         * benchtests/bench-modf.c: New file: Benchmark test for mo
10178 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10180         [BZ #14888]
10181         * time/Makefile (tests): Add tst-strptime-whitespace.
10182         * time/strptime_l.c (get_number): Use ISSPACE.
10183         (__strptime_internal): Likewise.
10184         * time/tst-strptime-whitespace.c: New test case.
10186 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10188         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10189         member.
10190         (_nss_files_init): Set it here.
10192 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10194         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10195         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10196         unsigned.
10198 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10200         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10202 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10204         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10205         size just once.
10207 2013-04-21  David S. Miller  <davem@davemloft.net>
10209         * po/ru.po: Update Russion translation from translation project.
10211 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10213         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10214         and setfsgid.
10216 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10218         * configure.in: Remove i386 configure warning. Remove i386 case.
10219         * configure: Regenerate.
10220         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10221         Add example to error message.
10222         * sysdeps/i386/configure: Regenerate.
10224 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10226         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10227         slowtan.
10228         * benchtests/cos-inputs: New file.
10229         * benchtests/slowcos-inputs: New file.
10230         * benchtests/slowcos.c: New file.
10231         * benchtests/slowtan-inputs: New file.
10232         * benchtests/slowtan.c: New file.
10233         * benchtests/tan-inputs: New file.
10235 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10237         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10238         considered kosher.
10240 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10242         * benchtests/Makefile: Include cppflags-iterator.mk to add
10243         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10245         * Makefile.in (bench-clean): New target.
10246         * benchtests/Makefile (bench-clean): Likewise.
10248 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10250         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10252 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10254         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10256 2013-04-15  Andreas Schwab  <schwab@suse.de>
10258         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10259         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10260         * nscd/pwdcache.c (cache_addpw): Likewise.
10261         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10262         more than recsize.
10264 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10266         * benchtests/Makefile (bench): Write all output to
10267         bench-out.tmp together.
10269 2013-04-15  Andreas Schwab  <schwab@suse.de>
10271         * nscd/nscd.c (main): Don't fork again after closing files.
10273 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10275         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10277         * benchtests/Rules (bench-deps): Collect dependencies into a
10278         single variable.  Add Makefile to dependencies.
10279         ($(objpfx)bench-%.c): Depend on bench-deps.
10281 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10282             Xavier Roche  <roche+kml2@exalead.com>
10284         [BZ #15361]
10285         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10286         just that it's a file descriptor.
10287         * manual/llio.texi (Synchronizing AIO Operations): Update description
10288         for EBADF error from aio_fsync.
10290 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292         * Rules (bench): Move target definition...
10293         * benchtests/Makefile: ... here.
10295 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10297         * math/libm-test.inc (cos_test): Fix PI/2 test.
10298         (sincos_test): Likewise.
10299         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10300         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10302 2013-04-11  Andreas Schwab  <schwab@suse.de>
10304         [BZ #13988]
10305         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10306         accept exponent character only when digits were seen.
10307         * stdio-common/Makefile (tests): Add bug26.
10308         * stdio-common/bug26.c: New file.
10310         [BZ #14293]
10311         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10312         non-freeable.
10314 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10316         * Makeconfig (rtld-prefix): Define built linker prefix.
10317         * Rules (run-bench): Use it.
10318         * math/Makefile (run-regen-ulps): Likewise.
10320         * Rules (bench): Remove eval.
10322 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10323             Roland McGrath  <roland@hack.frob.com>
10324             Ondrej Bilka  <neleai@seznam.cz>
10326         [BZ #15346]
10327         * time/getdate.c: Include ctype.h and alloca.h.
10328         (__getdate_r): Trim leading and trailing spaces of input.
10329         * time/tst-getdate.c (tests): Add tests with leading and
10330         trailing spaces.
10332 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10334         [BZ #14280]
10335         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10336         when computing value.
10338 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10340         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10341         Use testrun.sh to run libm tests.
10343         [BZ #15309]
10344         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10346 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10348         [BZ #15264]
10349         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10351 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10353         * Makefile.in (regen-ulps): New target.
10354         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10355         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10356         [ifneq (no,$(PERL)] (regen-ulps): New target.
10357         [ifeq (no,$(PERL)] (regen-ulps): New target.
10358         * math/libm-test.inc (ulps_file_name): Define.
10359         (output_dir): New variable.
10360         (options): Add "output-dir" option.
10361         (parse_opt): Handle 'o' case.
10362         (main): If output_dir is non-NULL use it as a prefix
10363         otherwise use "".
10364         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10366 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10368         [BZ #10060, #10062]
10369         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10370         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10371         fail configure if __sync_val_compare_and_swap is not inlined.
10372         * sysdeps/i386/configure: Regenerate.
10373         * configure.in: Build for i686 when configured for i386.
10374         * configure: Regenerate.
10375         * README: Remove i386 reference.
10377 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10379         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10380         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10382 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10384         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10385         (lmsnanval): New variables.
10386         (F): Add conversion tests.
10387         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10388         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10390         * stdio-common/tstdiomisc.c (F): Properly collect individual
10391         tests' results.
10393         [BZ #14686, #15336]
10394         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10395         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10396         Instead, use input NaN values or generate a qNaN by arithmetic
10397         operation.  Also fix bugs to comply with the standard.
10398         * math/libm-test.inc (remainder_test): Add more tests.
10400         [BZ #15335, #15342]
10401         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10403         input NaN values or generate a qNaN by arithmetic operation.
10405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10406         unreachable code.
10408         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10409         definitions.
10411 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10413         [BZ #14478]
10414         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10415         underflowed result.
10416         * math/s_cexpf.c (__cexpf): Likewise.
10417         * math/s_cexpl.c (__cexpl): Likewise.
10418         * math/libm-test.inc (cexp_test): Add more tests.
10420 2013-04-03  Andreas Schwab  <schwab@suse.de>
10422         [BZ #15330]
10423         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10424         order arrays from heap if bigger than alloca cutoff.
10426 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10428         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10429         (SNAN_TESTS_double): Refer to GCC PR56831.
10430         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10431         GCC PR56828.
10433 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10435         * Rules (bench): Move bench.out after the run is complete.
10437         * Rules (bench): Echo currently running benchmark.
10439         * benchtests/Makefile (bench): Add atan and slowatan.
10440         * benchtests/atan-inputs: New file.
10441         * benchtests/slowatan-inputs: New file.
10442         * benchtests/slowatan.c: New file.
10444         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10446         its value.
10448         [BZ #15305]
10449         * sysdeps/unix/sysv/linux/kernel-features.h
10450         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10451         __ASSUME_XFS_RESTRICTED_CHOWN.
10452         * sysdeps/unix/sysv/linux/pathconf.c
10453         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10454         Save and restore errno.
10456 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10458         [BZ #15327]
10459         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10460         arguments using __kernel_casinh.
10461         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10462         arguments using __kernel_casinhf.
10463         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10464         arguments using __kernel_casinhl.
10465         * math/libm-test.inc (cacosh_test): Add more tests.
10466         * sysdeps/i386/fpu/libm-test-ulps: Update.
10467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10469 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10471         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10474         * bench/Makefile (bench): Add sin and slowsin.
10475         * benchtests/sin-inputs: New file.
10476         * benchtests/slowsin-inputs: New file.
10477         * benchtests/slowsin.c: New file.
10479         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10480         (bench): Add slowexp and slowpow.
10481         (exp-ITER): Increase iterations.
10482         (pow-ITER): Likewise.
10483         * benchtests/exp-inputs: Change input.
10484         * benchtests/pow-inputs: Likewise.
10485         * benchtests/slowexp-inputs: New file.
10486         * benchtests/slowexp.c: New file.
10487         * benchtests/slowpow-inputs: New file.
10488         * benchtests/slowpow.c: New file.
10490 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10492         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10493         instructions.
10494         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10495         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10496         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10497         * benchtests/Makefile: Add rint benchtest.
10498         * benchtests/rint-inputs: Input for rint benchtest.
10500 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10502         * Versions.def (libm): Add GLIBC_2.18.
10503         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10504         hidden libm prototypes.
10505         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10506         * math/Makefile (libm-calls): Add s_issignaling.
10507         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10508         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10509         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10510         declaration.
10511         * math/math.h [__USE_GNU] (issignaling): New macro.
10512         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10513         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10514         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10515         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10518         * manual/arith.texi (issignaling): New section.
10519         * manual/libm-err-tab.pl (@all_functions): Update comment.
10520         * math/gen-libm-test.pl (parse_args): Apply special handling for
10521         issignaling.
10522         * math/libm-test.inc (print_float, issignaling_test): New
10523         functions.
10524         (check_float_internal): Add issignaling checks.
10525         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10526         default definition.
10527         * sysdeps/powerpc/math-tests.h: New file.
10528         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10529         tests.
10530         * math/test-snan.c (TEST_FUNC): Likewise.
10532 2013-03-30  David S. Miller  <davem@davemloft.net>
10534         * po/de.po: Update from translation team.
10536 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10538         [BZ #10357]
10539         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10540         imaginary part less than 1.0 and real part less than 0.5
10541         specially.
10542         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10543         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10544         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10545         (cacos_test): Add more tests.
10546         (casin_test): Likewise.
10547         (casinh_test): Likewise.
10548         * sysdeps/i386/fpu/libm-test-ulps: Update.
10549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10551 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10553         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10554         ONE with its value.
10556         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10557         (__pow_mp): Replace ONE and MONE with their values.
10558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10559         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10560         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10561         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10562         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10563         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10565         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10567         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10568         (__pow_mp): Replace ZERO and MZERO with their values.
10569         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10570         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10571         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10573         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10574         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10575         (__sqr): Likewise.
10577         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10579         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10581 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10583         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10584         Declare with __attribute__ ((weak)).
10585         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10586         Call __call_tls_dtors only if it's not NULL.
10588 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10590         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10591         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10592         magic __ehdr_start linker symbol if it's defined.
10593         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10594         them up here if it was already done.
10596         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10597         (_dl_aux_init): Use const in cast when setting it.
10598         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10599         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10600         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10602         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10603         Declare them here.
10604         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10605         * csu/libc-tls.c: Nor here.
10606         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10608         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10609         (__libc_message): Never call vsyslog.
10611 2013-03-28  Alan Modra  <amodra@gmail.com>
10613         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10614         Define as empty.
10615         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10616         Likewise.
10618 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10620         [BZ #15214]
10621         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10622         underflow.
10623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10625 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10627         [BZ #15304]
10628         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10629         Don't add gid passed as argument.
10631         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10633 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10635         [BZ #15307]
10636         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10637         imaginary part between 1.0 and 1.5 and real part less than 0.5
10638         specially.
10639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10641         * math/libm-test.inc (cacos_test): Add more tests.
10642         (casin_test): Likewise.
10643         (casinh_test): Likewise.
10644         * sysdeps/i386/fpu/libm-test-ulps: Update.
10645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10649         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10650         constants.
10651         (norm): Likewise.
10652         (denorm): Likewise.
10653         (__dbl_mp): Likewise.
10654         (add_magnitudes): Likewise.
10655         (sub_magnitudes): Likewise.
10656         (__add): Likewise.
10657         (__sub): Likewise.
10658         (__mul): Likewise.
10659         (__sqr): Likewise.
10660         (__inv): Likewise.
10661         (__dvd): Likewise.
10663         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10664         commented code.
10665         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10666         (__dubcos): Likewise.
10667         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10668         (__ieee754_acos): Likewise.
10669         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10670         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10671         (__exp1): Likewise.
10672         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10673         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10674         (log1): Likewise.
10675         (my_log2): Likewise.
10676         (checkint): Likewise.
10677         * sysdeps/ieee754/dbl-64/e_remainder.c
10678         (__ieee754_remainder): Likewise.
10679         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10680         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10681         (bsloww): Likewise.
10682         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10684         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10685         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10686         MANTISSA_STORE_T to store computations on mantissa.  Use
10687         macros for rounding and division.
10688         (denorm): Likewise.
10689         (__dbl_mp): Likewise.
10690         (add_magnitudes): Likewise.
10691         (sub_magnitudes): Likewise.
10692         (__mul): Likewise.
10693         (__sqr): Likewise.
10694         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10695         powers of two in terms of TWOPOW macro.
10696         (mp_no): Make type of mantissa as MANTISSA_T.
10697         [!RADIXI]: Define RADIXI.
10698         [!TWO52]: Define TWO52.
10699         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10701 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10703         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10704         llroundl symbol when building for PPC32.
10706 2013-03-24  Mark H Weaver  <mhw@netris.org>
10708         * manual/arith.texi (Normalization Functions): Fix prototypes for
10709         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10711 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10713         [BZ #13889]
10714         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10715         high value to check if expl overflow.
10716         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10717         to check for underflow and overflow.
10718         * math/libm-test.inc: Add exp test.
10720 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10722         [BZ #11120]
10723         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10724         with NOT_IN_libc.
10726 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10728         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10729         symbol.
10731 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10733         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10734         wrap blocks consisting of several statements.
10736         * sysdeps/generic/math-tests.h: New file.
10737         * sysdeps/i386/fpu/math-tests.h: Likewise.
10738         * math/test-snan.c: Include it.
10739         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10741 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10743         [BZ #15285]
10744         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10745         (__ieee754_j0l): Do not improve calculations using cos of twice
10746         input for inputs above LDBL_MAX / 2.0L.
10747         (__ieee754_y0l): Likewise.
10748         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10749         (__ieee754_j1l): Do not improve calculations using cos of twice
10750         input for inputs above LDBL_MAX / 2.0L.
10751         (__ieee754_y1l): Likewise.
10752         * math/libm-test.inc (j0_test): Add another test.
10753         (j1_test): Likewise.
10754         (y0_test): Likewise.
10755         (y1_test): Likewise.
10756         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10760         * Rules ($(objpfx)bench-%.c): Include code from a C source
10761         file.
10763 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10765         [BZ #15287]
10766         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10767         imaginary part 1.0 and real part less than 0.5 specially.
10768         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10769         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10770         * math/libm-test.inc (cacos_test): Add more tests.
10771         (casin_test): Likewise.
10772         (casinh_test): Likewise.
10773         * sysdeps/i386/fpu/libm-test-ulps: Update.
10774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10776 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10778         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10779         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10781 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10783         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10784         * config.make.in (config-cflags-sse4): Remove variable.
10785         (config-cflags-avx): Likewise.
10786         (config-cflags-sse2avx): Likewise.
10787         (config-cflags-novzeroupper): Likewise.
10788         (config-asflags-i686): Likewise.
10789         (have-mfma4): Likewise.
10790         (have-as-vis3): Likewise.
10791         (MIG): Likewise.
10792         * configure.in (MIG): Do not AC_SUBST.
10793         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10794         (libc_cv_cc_sse4): Do not AC_SUBST.
10795         (libc_cv_cc_avx): Likewise.
10796         (libc_cv_cc_sse2avx): Likewise.
10797         (libc_cv_cc_novzeroupper): Likewise.
10798         (libc_cv_cc_fma4): Likewise.
10799         (libc_cv_as_i686): Likewise.
10800         (libc_cv_sparc_as_vis3): Likewise.
10801         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10802         LIBC_CONFIG_VAR.
10803         (config-asflags-i686): Likewise.
10804         (config-cflags-avx): Likewise.
10805         (config-cflags-sse2avx): Likewise.
10806         (have-mfma4): Likewise.
10807         (config-cflags-novzeroupper): Likewise.
10808         * sysdeps/mach/configure.in (MIG): Likewise.
10809         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10810         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10811         LIBC_CONFIG_VAR.
10812         (config-cflags-avx): Likewise.
10813         (config-cflags-sse2avx): Likewise.
10814         (have-mfma4): Likewise.
10815         (config-cflags-novzeroupper): Likewise.
10816         * configure: Regenerated.
10817         * sysdeps/i386/configure: Likewise.
10818         * sysdeps/mach/configure: Likewise.
10819         * sysdeps/sparc/configure: Likewise.
10820         * sysdeps/x86_64/configure: Likewise.
10822 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10824         [BZ #14812]
10825         * locale/programs/localedef.c (options): Put N_ translation marker
10826         on argument names, not just descriptions.
10828 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10830         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10832 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10834         [BZ #14176]
10835         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10837 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10839         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10840         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10841         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10842         [!BEFORE_ABORT] (before_abort): New function.
10843         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10844         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10845         (writev_for_fatal): New function.
10846         (WRITEV_FOR_FATAL): New macro; call that.
10847         (backtrace_and_maps): New function.
10848         (BEFORE_ABORT): New macro; call that.
10849         (struct str_list): Type removed.
10850         (__libc_message, __libc_fatal): Functions removed.
10851         Include <sysdeps/posix/libc_fatal.c> instead.
10853 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10855         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10856         constants.
10857         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10858         double constants.
10860 2013-03-19  Andreas Schwab  <schwab@suse.de>
10862         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10863         * sysdeps/gnu/configure: Regenerate.
10865         * configure.in: Substitute libc_cv_rtlddir.
10866         * configure: Regenerate.
10867         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10868         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10869         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10870         * elf/Makefile (install-others, CFLAGS-interp.c)
10871         (ldso_install, common-ldd-rewrite): Likewise.
10872         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10873         $(inst_slibdir)/$(rtld-installed-name).
10874         * scripts/rellns-sh: Add -p option.
10875         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10876         for source.
10878 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10880         * manual/nptl.texi: Renamed to ...
10881         * manual/threads.texi: ... this.
10882         * manual/Makefile (chapters): Update.
10884 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10886         [BZ #14812]
10887         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10888         on argument names, not just descriptions.
10889         * malloc/memusagestat.c (options): Likewise.
10890         * nss/getent.c (options): Likewise.
10892 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10894         [BZ #14812]
10895         * iconv/iconv_prog.c (options): Put N_ translation marker
10896         on argument names, not just descriptions.
10897         * iconv/iconvconfig.c (options): Likewise.
10899 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10901         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10902         implementation which is faster on all x86_64 architectures.
10903         Tested on AMD, Intel Nehalem, SNB, IVB.
10904         * sysdeps/x86_64/strnlen.S: Likewise.
10906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10907         Remove all multiarch strlen and strnlen versions.
10908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10909         Remove strlen and strnlen related parts.
10911         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10912         Inline strlen part.
10913         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10915         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10916         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10917         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10918         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10919         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10920         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10922 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10924         * manual/memory.texi (Malloc Tunable Parameters):
10925         Sort parameters alphabetically. Add comments for missing entries.
10927 2013-03-17  David S. Miller  <davem@davemloft.net>
10929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10931 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10933         [BZ #15283]
10934         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10935         for arguments at most half maximum finite value.
10936         * math/libm-test.inc (j0_test): Add more tests.
10937         (j1_test): Likewise.
10938         (y0_test): Likewise.
10939         (y1_test): Likewise.
10940         * sysdeps/i386/fpu/libm-test-ulps: Update.
10941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943         [BZ #14155]
10944         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10945         1 / x and functions P and Q for arguments above 0x1p256L.
10946         (__ieee754_y0l): Likewise.
10947         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10948         (__ieee754_y1l): Likewise.
10949         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10950         (j1_test): Likewise.
10951         (y0_test): Likewise.
10952         (y1_test): Likewise.
10954 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10956         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10957         variable.
10959 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10961         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10962         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10963         zero since it's initialized to EXEC_PAGESIZE.
10965         * sysdeps/unix/sysv/linux/ldsodefs.h
10966         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10967         * sysdeps/generic/ldsodefs.h: ... here.
10969 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10971         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10973         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10974         math/test-snan.c.
10975         * math/test-snan.c: Renamed from
10976         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10977         * math/Makefile (tests): Add test-snan.
10978         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10979         test-powerpc-snan.
10981         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10982         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10983         functions.
10984         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10985         __builtin_nan family of functions.
10986         * math/libm-test.inc (initialize): Initialize qnan_value with
10987         __builtin_nan family of functions.
10988         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10989         Remove variables.
10990         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10991         Remove functions.
10992         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10993         storage class.  Initialize qNaN_var and sNaN_var with
10994         __builtin_nan and __builtin_nans families of functions,
10995         respectively.
10997         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10998         (sqrt_test): Remove duplicate test with qNaN input.
10999         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11000         (round_test, signbit_test, significand_test): Note missing +/-Inf
11001         as well as qNaN tests.
11003         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11004         qNaN_var.  Fix a few strings, too.
11005         * math/libm-test.inc (nan_value): Rename to qnan_value.
11006         * math/gen-libm-test.pl (%beautify): Adjust to that.
11007         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11008         * math/test-misc.c (main): Likewise.
11009         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11010         to __qnan_bytes, and __qnan_union, respectively.
11011         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11012         Likewise.
11013         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11014         and lqnanval, respectively.
11015         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11016         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11017         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11018         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11020         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11021         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11022         doubles.
11024         * math/test-misc.c (main): Fix copy'n'pastos.
11025         * misc/tst-efgcvt.c (special): Likewise.
11027         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11028         Remove declarations.
11030 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11032         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11033         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11034         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11035         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11037 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11040         macro to return vdso values correctly in IFUNC implementations.
11041         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11042         Optimization by using IFUNC.
11044 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11045             Richard Henderson  <rth@redhat.com>
11046             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11048         * Makefile.in (bench): New target.
11049         * NEWS: Mention the benchmark framework.
11050         * Rules (bench): Likewise.
11051         (binaries-bench): Generate binaries for functions to
11052         benchmark.
11053         * benchtests/Makefile: New makefile for benchmark tests.
11054         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11055         programs.
11056         * benchtests/exp-inputs: New input file for EXP function.
11057         * benchtests/pow-inputs: New input file for POW function.
11058         * scripts/bench.pl: New script to generate source files for
11059         benchmark programs.
11061 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11063         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11064         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11065         computations on mantissa.  Use macros for rounding and
11066         division.
11067         (denorm): Likewise.
11068         (__dbl_mp): Likewise.
11069         (add_magnitudes): Likewise.
11070         (sub_magnitudes): Likewise.
11071         (__mul): Likewise.
11072         (__sqr): Likewise.
11073         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11074         powers of two in terms of TWOPOW macro.
11075         (mp_no): Make type of mantissa as MANTISSA_T.
11076         [!RADIXI]: Define RADIXI.
11077         [!TWO52]: Define TWO52.
11078         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11080         * manual/nptl.texi (cindex): Modify threads to pthreads.
11082 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11084         * sysdeps/x86_64/preconfigure: Regenerated.
11086 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11088         [BZ #14155]
11089         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11090         0x1p28 and above.
11091         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11092         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11093         0x1p28 and above.
11094         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11095         * math/libm-test.inc (j0_test): Do not allow one spurious
11096         underflow exception.
11097         (y1_test): Likewise.
11099 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11101         * manual/Makefile (chapters): Add nptl.
11102         * manual/debug.texi (Debugging Support): Add link to Threads
11103         chapter.
11104         * manual/nptl.texi: New file.
11106         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11108 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11110         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11111         for non-NULL pointer before the memory validity test. Pointed
11112         out by Holger Brunck <holger.brunck@keymile.com>.
11114 2013-03-13  Andreas Schwab  <schwab@suse.de>
11116         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11117         instead of .os.
11119 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11121         * timezone/zic.c: Update from tzcode 2013b.
11123 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11125         * manual/install.texi (Configuring and compiling):
11126         Mention i686 and i586.
11127         * INSTALL: Regenerate.
11129 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11131         * sysdeps/init_array/elf-init.c: New file.
11132         * csu/elf-init.c
11133         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11134         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11136         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11137         __gmon_start__ as global, but as static with a .preinit_array pointer.
11138         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11139         * sysdeps/init_array/crti.S: New file, empty except for comments.
11140         * sysdeps/init_array/crtn.S: Likewise.
11142 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11144         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11145         definining bcopy.
11146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11147         Remove Prefer_SSE_for_memop.
11148         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11149         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11150         HAS_PREFER_SSE_FOR_MEMOP.
11151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11152         memset-x86-64.
11153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11154         Remove bzero, memset ifunc support.
11155         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11156         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11160 2013-03-11  Andreas Schwab  <schwab@suse.de>
11162         [BZ #15234]
11163         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11164         by SHLIB_COMPAT.
11165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11166         (GLIBC_2.16): Remove pthread_atfork.
11168 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11170         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11171         (ptestcases.h): Likewise.
11173 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11175         * Makeconfig ($(common-objpfx)config.status): Depend on
11176         sysdeps/*/preconfigure{,.in} too.
11178 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11180         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11181         (__free_hook): Use void * instead of __malloc_ptr_t.
11182         (__malloc_hook): Likewise.
11183         (__realloc_hook): Likewise.
11184         (__memalign_hook): Likewise.
11185         (__after_morecore_hook): Likewise.
11186         * malloc/arena.c (save_malloc_hook): Likewise.
11187         (save_free_hook): Likewise.
11188         * malloc/hooks.c (malloc_hook_ini): Likewise.
11189         (realloc_hook_ini): Likewise.
11190         (memalign_hook_ini): Likewise.
11191         * malloc/malloc.c (malloc_hook_ini): Likewise.
11192         (realloc_hook_ini): Likewise.
11193         (memalign_hook_ini): Likewise.
11194         (__free_hook): Likewise.
11195         (__malloc_hook): Likewise.
11196         (__realloc_hook): Likewise.
11197         (__memalign_hook): Likewise.
11198         (__libc_malloc): Likewise.
11199         (__libc_free): Likewise.
11200         (__libc_realloc): Likewise.
11201         (__libc_memalign): Likewise.
11202         (__libc_valloc): Likewise.
11203         (__libc_pvalloc): Likewise.
11204         (__libc_calloc): Likewise.
11205         (__posix_memalign): Likewise.
11206         * malloc/morecore.c (__sbrk): Likewise.
11207         (__default_morecore): Likewise.
11209         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11211         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11212         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11213         __malloc_ptrdiff_t.
11215         * malloc/malloc.h (__malloc_size_t): Remove macro.
11216         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11217         __malloc_size_t.
11218         (old_memalign_hook): Likewise.
11219         (old_realloc_hook): Likewise.
11220         (struct hdr): Likewise.
11221         (flood): Likewise.
11222         (mallochook): Likewise.
11223         (memalignhook): Likewise.
11224         (reallochook): Likewise.
11225         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11226         (tr_old_realloc_hook): Likewise.
11227         (tr_old_memalign_hook): Likewise.
11228         (tr_mallochook): Likewise.
11229         (tr_reallochook): Likewise.
11230         (tr_memalignhook): Likewise.
11232 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11235         default_ldbl_pack and using as default implementation.
11236         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11237         implementation.
11238         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11239         redundant definition.
11240         (ldbl_insert_mantissa): Likewise.
11241         (ldbl_canonicalize): Likewise.
11242         (ldbl_nearbyint): Likewise.
11243         (ldbl_pack): Rename to ldbl_pack_ppc.
11244         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11245         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11246         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11248 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11251         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11252         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11253         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11255         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11256         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11257         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11259 2013-03-07  Andreas Jaeger  <aj@suse.de>
11261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11262         bits/mman-linux.h.
11264 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11267         Include mpa.h and declare __MPEXP.
11268         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11269         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11270         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11271         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11272         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11273         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11274         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11276         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11277         (__slowpow): Use long double EXPL and LOGL functions to
11278         compute POW.
11279         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11280         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11281         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11282         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11283         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11284         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11287         intermediate variable to calculate exponent.
11288         (__sqr): Likewise.
11289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11290         Likewise.
11291         (__sqr): Likewise.
11293         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11294         [!NO__SQR]: Define __sqr.
11295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11296         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11297         sysdeps/ieee754/dbl-64/mpa.c.
11298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11300         [BZ #12723]
11301         * posix/Makefile (tests): Add tst-pathconf.
11302         * posix/tst-pathconf.c: New test case.
11303         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11304         _PC_PIPE_BUF.
11305         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11307 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11309         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11311 2013-03-06  Andreas Jaeger  <aj@suse.de>
11313         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11314         definition via __MAP_ANONYMOUS.
11316         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11317         it's not part of Linux headers.
11319         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11320         (MAP_HUGE_MASK): Define.
11322         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11323         Define.
11324         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11326         Define.
11327         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11328         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11329         Define.
11330         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11332         Define.
11333         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11335         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11336         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11337         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11338         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11339         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11340         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11342         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11343         Handle f2fs.
11345         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11346         Handle f2fs and efivarfs.
11348         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11349         f2fs.
11351         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11352         (EFIVARFS_MAGIC): Add.
11353         (F2FS_LINK_MAX): Add.
11355 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11357         * stdio-common/vfprintf.c: Replace __builtin_expect with
11358         __glibc_unlikely.
11360 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11362         [BZ #13550]
11363         * sysdeps/generic/bp-sym.h: Remove file.
11364         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11365         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11366         <bp-sym.h> and <bp-asm.h>.
11367         (__longjmp): Don't use BP_SYM.
11368         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11369         and <bp-asm.h>.
11370         (memcpy): Don't use BP_SYM.
11371         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11372         <bp-sym.h> and <bp-asm.h>.
11373         (memcpy): Don't use BP_SYM.
11374         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11375         <bp-asm.h>.
11376         (memcpy): Don't use BP_SYM.
11377         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11378         <bp-asm.h>.
11379         (memset): Don't use BP_SYM.
11380         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11381         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11382         (__bzero): Don't use BP_SYM.
11383         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11384         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11385         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11386         <bp-sym.h> and <bp-asm.h>.
11387         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11388         pointers.
11389         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11390         <bp-sym.h> and <bp-asm.h>.
11391         (memcpy): Don't use BP_SYM.
11392         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11393         <bp-sym.h> and <bp-asm.h>.
11394         (memset): Don't use BP_SYM.
11395         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11396         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11397         (__bzero): Don't use BP_SYM.
11398         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11399         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11400         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11401         <bp-sym.h> and <bp-asm.h>.
11402         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11403         pointers.
11404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11405         <bp-sym.h> and <bp-asm.h>.
11406         (memcpy): Don't use BP_SYM.
11407         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11408         <bp-sym.h> and <bp-asm.h>.
11409         (memset): Don't use BP_SYM.
11410         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11411         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11412         (__bzero): Don't use BP_SYM.
11413         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11414         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11416         <bp-sym.h> and <bp-asm.h>.
11417         (__memchr): Don't use BP_SYM.
11418         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11419         <bp-sym.h> and <bp-asm.h>.
11420         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11421         pointers.
11422         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11423         <bp-sym.h> and <bp-asm.h>.
11424         (memcpy): Don't use BP_SYM.
11425         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11426         <bp-sym.h> and <bp-asm.h>.
11427         (__mempcpy): Don't use BP_SYM.
11428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11429         <bp-sym.h> and <bp-asm.h>.
11430         (__memrchr): Don't use BP_SYM.
11431         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11432         <bp-sym.h> and <bp-asm.h>.
11433         (memset): Don't use BP_SYM.
11434         (__bzero): Likewise.
11435         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11436         <bp-sym.h> and <bp-asm.h>.
11437         (__rawmemchr): Don't use BP_SYM.
11438         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11439         <bp-sym.h> and <bp-asm.h>.
11440         (__STRCMP): Don't use BP_SYM.
11441         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11442         <bp-sym.h> and <bp-asm.h>.
11443         (strchr): Don't use BP_SYM.
11444         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11445         <bp-sym.h> and <bp-asm.h>.
11446         (__strchrnul): Don't use BP_SYM.
11447         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11448         <bp-sym.h> and <bp-asm.h>.
11449         (strlen): Don't use BP_SYM.
11450         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11451         <bp-sym.h> and <bp-asm.h>.
11452         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11453         pointers.
11454         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11455         <bp-sym.h> and <bp-asm.h>.
11456         (__strnlen): Don't use BP_SYM.
11457         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11458         <bp-sym.h> and <bp-asm.h>.
11459         (__GI__setjmp): Don't use BP_SYM.
11460         (_setjmp): Likewise.
11461         (__sigsetjmp): Likewise.
11462         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11463         (L(start_addresses)): Don't use BP_SYM.
11464         (_start): Likewise.
11465         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11466         <bp-asm.h>.
11467         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11468         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11469         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11470         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11471         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11472         <bp-asm.h>.
11473         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11474         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11475         about bounded pointers.
11476         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11477         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11478         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11479         <bp-asm.h>.
11480         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11481         about bounded pointers.  Remove GKM FIXME comments.
11482         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11483         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11484         <bp-asm.h>.
11485         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11486         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11487         Remove GKM FIXME comments.
11488         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11489         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11490         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11491         <bp-asm.h>.
11492         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11493         about bounded pointers.  Remove GKM FIXME comment.
11494         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11495         and <bp-asm.h>.
11496         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11497         pointers.
11498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11499         <bp-sym.h> and <bp-asm.h>.
11500         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11502         <bp-sym.h> and <bp-asm.h>.
11503         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11504         comment.
11506 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11508         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11509         call free(NULL).
11511 2013-03-05  David S. Miller  <davem@davemloft.net>
11513         * po/es.po: Update from translation team.
11515 2013-03-05  Andreas Jaeger  <aj@suse.de>
11517         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11518         <bits/mman-linux.h>.
11519         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11520         is fine.
11521         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11522         <bits/mman-linux.h> to end of file.
11523         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11524         is fine.
11525         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11526         <bits/mman-linux.h> to end of file.
11527         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11528         is fine.
11529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11530         <bits/mman-linux.h> to end of file.
11532         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11533         (MCL_CURRENT, MCL_FUTURE): Define here.
11535 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11537         [BZ #15232]
11538         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11539         attribute_hidden.
11540         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11542 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11545         fourth parameter needed for rt_sigprocmask syscall.
11546         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11547         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11548         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11549         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11550         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11551         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11553 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11555         [BZ #13550]
11556         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11557         comment about bounded pointers.
11558         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11559         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11561 2013-03-04  Andreas Jaeger  <aj@suse.de>
11563         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11564         common definitions.
11566         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11567         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11568         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11570         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11573 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11575         [BZ #15055]
11576         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11577         __ieee754_sqrl instead of __sqrl.
11579 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11581         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11582         * sysdeps/powerpc/fpu_control.h: ... here.
11583         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11584         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11585         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11586         * sysdeps/powerpc/bits/mathinline.h: ... here.
11588 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11590         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11591         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11592         to just [NEED_DL_SYSINFO_DSO].
11593         * elf/dl-support.c: Likewise.
11594         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11595         * elf/rtld.c (dl_main): Likewise.
11596         * elf/setup-vdso.h (setup_vdso): Likewise.
11597         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11598         * sysdeps/unix/sysv/linux/dl-sysdep.c
11599         (_dl_discover_osversion): Likewise.
11601 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11603         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11604         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11606 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11608         * NEWS: Mention libm performance improvements and non-x86 PI
11609         futex support.
11611         * csu/libc-start.c (__pthread_initialize_minimal): Change
11612         function arguments.
11613         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11615 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11617         [BZ #13550]
11618         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11619         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11620         <bp-sym.h> and <bp-asm.h>.
11621         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11622         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11623         and <bp-asm.h>.
11624         (memcpy): Don't use BP_SYM.
11625         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11626         <bp-asm.h>.
11627         (__mpn_add_n): Don't use BP_SYM.
11628         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11629         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11630         and <bp-asm.h>.
11631         (__mpn_addmul_1): Don't use BP_SYM.
11632         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11633         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11634         <bp-sym.h>.
11635         (_setjmp): Don't use BP_SYM.
11636         (__novmx_setjmp): Likewise.
11637         (__GI__setjmp): Likewise.
11638         (__vmx_setjmp): Likewise.
11639         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11640         <bp-sym.h>.
11641         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11642         (__bzero): Don't use BP_SYM.
11643         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11644         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11645         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11646         <bp-sym.h> and <bp-asm.h>.
11647         (memcpy): Don't use BP_SYM.
11648         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11649         <bp-sym.h> and <bp-asm.h>.
11650         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11651         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11652         <bp-sym.h> and <bp-asm.h>.
11653         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11654         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11655         <bp-asm.h>.
11656         (__mpn_lshift): Don't use BP_SYM.
11657         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11658         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11659         <bp-asm.h>.
11660         (memset): Don't use BP_SYM.
11661         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11662         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11663         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11664         <bp-asm.h>.
11665         (__mpn_mul_1): Don't use BP_SYM.
11666         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11667         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11668         <bp-sym.h> and <bp-asm.h>.
11669         (memcmp): Don't use BP_SYM.
11670         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11671         <bp-sym.h> and <bp-asm.h>.
11672         (memcpy): Don't use BP_SYM.
11673         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11674         <bp-sym.h> and <bp-asm.h>.
11675         (memset): Don't use BP_SYM.
11676         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11677         <bp-sym.h> and <bp-asm.h>.
11678         (strncmp): Don't use BP_SYM.
11679         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11680         <bp-sym.h> and <bp-asm.h>.
11681         (memcpy): Don't use BP_SYM.
11682         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11683         <bp-sym.h> and <bp-asm.h>.
11684         (memset): Don't use BP_SYM.
11685         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11686         <bp-sym.h> and <bp-asm.h>.
11687         (__memchr): Don't use BP_SYM.
11688         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11689         <bp-sym.h> and <bp-asm.h>.
11690         (memcmp): Don't use BP_SYM.
11691         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11692         <bp-sym.h> and <bp-asm.h>.
11693         (memcpy): Don't use BP_SYM.
11694         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11695         <bp-sym.h> and <bp-asm.h>.
11696         (__mempcpy): Don't use BP_SYM.
11697         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11698         <bp-sym.h> and <bp-asm.h>.
11699         (__memrchr): Don't use BP_SYM.
11700         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11701         <bp-sym.h> and <bp-asm.h>.
11702         (memset): Don't use BP_SYM.
11703         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11704         <bp-sym.h> and <bp-asm.h>.
11705         (__rawmemchr): Don't use BP_SYM.
11706         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11707         <bp-sym.h> and <bp-asm.h>.
11708         (__STRCMP): Don't use BP_SYM.
11709         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11710         <bp-sym.h> and <bp-asm.h>.
11711         (strchr): Don't use BP_SYM.
11712         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11713         <bp-sym.h> and <bp-asm.h>.
11714         (__strchrnul): Don't use BP_SYM.
11715         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11716         <bp-sym.h> and <bp-asm.h>.
11717         (strlen): Don't use BP_SYM.
11718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11719         <bp-sym.h> and <bp-asm.h>.
11720         (strncmp): Don't use BP_SYM.
11721         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11722         <bp-sym.h> and <bp-asm.h>.
11723         (__strnlen): Don't use BP_SYM.
11724         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11725         <bp-asm.h>.
11726         (__mpn_rshift): Don't use BP_SYM.
11727         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11728         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11729         <bp-sym.h> and <bp-asm.h>.
11730         (__sigsetjmp): Don't use BP_SYM.
11731         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11732         (L(start_addresses)): Don't use BP_SYM.
11733         (_start): Likewise.
11734         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11735         <bp-asm.h>.
11736         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11737         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11738         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11739         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11740         <bp-asm.h>.
11741         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11742         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11743         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11744         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11745         <bp-asm.h>.
11746         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11747         comments.
11748         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11749         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11750         <bp-asm.h>.
11751         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11752         FIXME comments.
11753         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11754         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11755         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11756         <bp-asm.h>.
11757         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11758         comment.
11759         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11760         and <bp-asm.h>.
11761         (strncmp): Don't use BP_SYM,
11762         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11763         <bp-asm.h>.
11764         (__mpn_sub_n): Don't use BP_SYM.
11765         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11766         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11767         and <bp-asm.h>.
11768         (__mpn_submul_1): Don't use BP_SYM.
11769         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11771         <bp-sym.h> and <bp-asm.h>.
11772         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11774         <bp-sym.h> and <bp-asm.h>.
11775         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11776         comment.
11778 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11781         Use ZK to minimize writes to Z.
11782         (sub_magnitudes): Simplify code a bit.
11783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11784         Use ZK to minimize writes to Z.
11785         (sub_magnitudes): Simplify code a bit.
11787 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11789         * csu/gmon-start.c: Add special exception to license text.
11791 2013-02-27  Richard Henderson  <rth@redhat.com>
11793         * scripts/config.guess: Update from config.git.
11794         * scripts/config.sub: Likewise.
11796 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11798         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11800         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11802         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11804         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11806         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11808 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11810         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11811         [$(build-shared = yes].
11813 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11815         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11816         (__mul): Reduce iterations for calculating mantissa.
11818         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11819         MPTWO.
11820         (__mpranred): Likewise.
11822         [BZ #15160]
11823         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11824         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11826 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11828         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11829         Define __attribute__.
11831 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11834         unused.
11835         * posix/regex_internal.h (__attribute): Remove.
11836         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11837         (re_string_context_at): Likewise.
11838         (bitset_not): Use __attribute__ and mark function as possibly
11839         unused.
11840         (bitset_merge): Likewise.
11841         (bitset_mask): Likewise.
11842         (re_string_char_size_at): Likewise.
11843         (re_string_wchar_at): Likewise.
11844         (re_string_elem_size_at): Likewise.
11846 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11849         code.
11850         (cc32): Likewise.
11852         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11853         (__acr): Likewise.
11854         (__cpy): Likewise.
11855         (norm): Likewise.
11856         (denorm): Likewise.
11857         (__dbl_mp): Likewise.
11858         (add_magnitudes): Likewise.
11859         (sub_magnitudes): Likewise.
11860         (__mul): Likewise.
11861         (__inv): Likewise.
11863         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11864         style.
11866         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11867         style.
11869         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11870         code.
11872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11873         up changes with default code.
11874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11875         Likewise.
11877 2013-02-24  Allan McRae  <allan@archlinux.org>
11879         * manual/socket.texi (The Internet Namespace): Order menu items
11880         to match that in the file.
11882         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11883         node listing of the info page menu.
11885 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11887         [BZ #13550]
11888         * sysdeps/i386/bp-asm.h: Remove file.
11889         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11890         (PARMS): Do not use macros from bp-asm.h.
11891         (S1): Likewise.
11892         (S2): Likewise.
11893         (SIZE): Likewise.
11894         (__mpn_add_n): Do not use BP_SYM
11895         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11896         "bp-asm.h".
11897         (PARMS): Do not use macros from bp-asm.h.
11898         (S1): Likewise.
11899         (SIZE): Likewise.
11900         (__mpn_addmul_1): Do not use BP_SYM
11901         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11902         "bp-asm.h".
11903         (PARMS): Do not use macros from bp-asm.h.
11904         (SIGMSK): Likewise.
11905         (_setjmp): Likewise.  Do not use BP_SYM.
11906         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11907         "bp-asm.h".
11908         (PARMS): Do not use macros from bp-asm.h.
11909         (SIGMSK): Likewise.
11910         (setjmp): Likewise.  Do not use BP_SYM.
11911         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11912         "bp-asm.h".
11913         (PARMS): Do not use macros from bp-asm.h.
11914         (__frexp): Do not use BP_SYM.
11915         (frexp): Likewise.
11916         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11917         "bp-asm.h".
11918         (PARMS): Do not use macros from bp-asm.h.
11919         (__frexpf): Do not use BP_SYM.
11920         (frexpf): Likewise.
11921         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11922         "bp-asm.h".
11923         (PARMS): Do not use macros from bp-asm.h.
11924         (__frexpl): Do not use BP_SYM.
11925         (frexpl): Likewise.
11926         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11927         "bp-asm.h".
11928         (PARMS): Do not use macros from bp-asm.h.
11929         (__remquo): Do not use BP_SYM.
11930         (remquo): Likewise.
11931         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11932         "bp-asm.h".
11933         (PARMS): Do not use macros from bp-asm.h.
11934         (__remquof): Do not use BP_SYM.
11935         (remquof): Likewise.
11936         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11937         "bp-asm.h".
11938         (PARMS): Do not use macros from bp-asm.h.
11939         (__remquol): Do not use BP_SYM.
11940         (remquol): Likewise.
11941         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11942         "bp-asm.h".
11943         (PARMS): Do not use macros from bp-asm.h.
11944         (DEST): Likewise.
11945         (SRC): Likewise.
11946         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11947         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11948         "bp-asm.h".
11949         (PARMS): Do not use macros from bp-asm.h.
11950         (strlen): Do not use BP_SYM.
11951         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11952         "bp-asm.h".
11953         (PARMS): Do not use macros from bp-asm.h.
11954         (S1): Likewise.
11955         (S2): Likewise.
11956         (SIZE): Likewise.
11957         (__mpn_add_n): Do not use BP_SYM.
11958         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11959         "bp-asm.h".
11960         (PARMS): Do not use macros from bp-asm.h.
11961         (S1): Likewise.
11962         (SIZE): Likewise.
11963         (__mpn_addmul_1): Do not use BP_SYM.
11964         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11965         weak_alias.
11966         (bzero): Likewise.
11967         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11968         "bp-asm.h".
11969         (PARMS): Do not use macros from bp-asm.h.
11970         (S): Likewise.
11971         (SIZE): Likewise.
11972         (__mpn_lshift): Do not use BP_SYM.
11973         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11974         "bp-asm.h".
11975         (PARMS): Do not use macros from bp-asm.h.
11976         (DEST): Likewise.
11977         (SRC): Likewise.
11978         (LEN): Likewise.
11979         (memcpy): Likewise.  Do not use BP_SYM.
11980         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11981         libc_hidden_def and weak_alias.
11982         (mempcpy): Do not use BP_SYM in weak_alias.
11983         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11984         "bp-asm.h".
11985         (PARMS): Do not use macros from bp-asm.h.
11986         (DEST): Likewise.
11987         (LEN): Likewise.
11988         [!BZERO_P] (CHR): Likewise.
11989         (memset): Likewise.  Do not use BP_SYM.
11990         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11991         "bp-asm.h".
11992         (PARMS): Do not use macros from bp-asm.h.
11993         (S1): Likewise.
11994         (SIZE): Likewise.
11995         (__mpn_mul_1): Do not use BP_SYM.
11996         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11997         "bp-asm.h".
11998         (PARMS): Do not use macros from bp-asm.h.
11999         (S): Likewise.
12000         (SIZE): Likewise.
12001         (__mpn_rshift): Do not use BP_SYM.
12002         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12003         "bp-asm.h".
12004         (PARMS): Do not use macros from bp-asm.h.
12005         (STR): Likewise.
12006         (CHR): Likewise.
12007         (strchr): Likewise.  Do not use BP_SYM.
12008         (index): Do not use BP_SYM in weak_alias.
12009         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12010         "bp-asm.h".
12011         (PARMS): Do not use macros from bp-asm.h.
12012         (DEST): Likewise.
12013         (SRC): Likewise.
12014         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12015         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12016         "bp-asm.h".
12017         (PARMS): Do not use macros from bp-asm.h.
12018         (strlen): Do not use BP_SYM.
12019         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12020         "bp-asm.h".
12021         (PARMS): Do not use macros from bp-asm.h.
12022         (S1): Likewise.
12023         (S2): Likewise.
12024         (SIZE): Likewise.
12025         (__mpn_sub_n): Do not use BP_SYM.
12026         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12027         "bp-asm.h".
12028         (PARMS): Do not use macros from bp-asm.h.
12029         (S1): Likewise.
12030         (SIZE): Likewise.
12031         (__mpn_submul_1): Do not use BP_SYM.
12032         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12033         "bp-asm.h".
12034         (PARMS): Do not use macros from bp-asm.h.
12035         (S1): Likewise.
12036         (S2): Likewise.
12037         (SIZE): Likewise.
12038         (__mpn_add_n): Do not use BP_SYM.
12039         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12040         weak_alias.
12041         (bzero): Likewise.
12042         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12043         "bp-asm.h".
12044         (PARMS): Do not use macros from bp-asm.h.
12045         (BLK2): Likewise.
12046         (LEN): Likewise.
12047         (memcmp): Do not use BP_SYM.
12048         (bcmp): Do not use BP_SYM in weak_alias.
12049         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12050         "bp-asm.h".
12051         (PARMS): Do not use macros from bp-asm.h.
12052         (DEST): Likewise.
12053         (SRC): Likewise.
12054         (LEN): Likewise.
12055         (memcpy): Likewise.  Do not use BP_SYM.
12056         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12057         "bp-asm.h".
12058         (PARMS): Do not use macros from bp-asm.h.
12059         (DEST): Likewise.
12060         (SRC): Likewise.
12061         (LEN): Likewise.
12062         (memmove): Likewise.  Do not use BP_SYM.
12063         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12064         "bp-asm.h".
12065         (PARMS): Do not use macros from bp-asm.h.
12066         (DEST): Likewise.
12067         (SRC): Likewise.
12068         (LEN): Likewise.
12069         (__mempcpy): Likewise.  Do not use BP_SYM.
12070         (mempcpy): Do not use BP_SYM in weak_alias.
12071         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12072         "bp-asm.h".
12073         (PARMS): Do not use macros from bp-asm.h.
12074         (DEST): Likewise.
12075         (LEN): Likewise.
12076         [!BZERO_P] (CHR): Likewise.
12077         (memset): Likewise.  Do not use BP_SYM.
12078         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12079         "bp-asm.h".
12080         (PARMS): Do not use macros from bp-asm.h.
12081         (STR2): Likewise.
12082         (strcmp): Do not use BP_SYM.
12083         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12084         "bp-asm.h".
12085         (PARMS): Do not use macros from bp-asm.h.
12086         (STR): Likewise.
12087         (DELIM): Likewise.
12088         [USE_AS_STRTOK_R] (SAVE): Likewise.
12089         (FUNCTION): Likewise.  Do not use BP_SYM.
12090         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12091         aliases.
12092         (strtok_r): Likewise.
12093         (__GI___strtok_r): Likewise.
12094         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12095         (PARMS): Do not use macros from bp-asm.h.
12096         (S): Likewise.
12097         (SIZE): Likewise.
12098         (__mpn_lshift): Do not use BP_SYM.
12099         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12100         (PARMS): Do not use macros from bp-asm.h.
12101         (STR): Likewise.
12102         (CHR): Likewise.
12103         (__memchr): Do not use BP_SYM.
12104         (memchr): Do not use BP_SYM in weak_alias.
12105         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12106         (PARMS): Do not use macros from bp-asm.h.
12107         (BLK2): Likewise.
12108         (LEN): Likewise.
12109         (memcmp): Do not use BP_SYM.
12110         (bcmp): Do not use BP_SYM in weak_alias.
12111         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12112         (PARMS): Do not use macros from bp-asm.h.
12113         (S1): Likewise.
12114         (SIZE): Likewise.
12115         (__mpn_mul_1): Do not use BP_SYM.
12116         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12117         "bp-asm.h".
12118         (PARMS): Do not use macros from bp-asm.h.
12119         (STR): Likewise.
12120         (CHR): Likewise.
12121         (__rawmemchr): Do not use BP_SYM.
12122         (rawmemchr): Do not use BP_SYM in weak_alias.
12123         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12124         (PARMS): Do not use macros from bp-asm.h.
12125         (S): Likewise.
12126         (SIZE): Likewise.
12127         (__mpn_rshift): Do not use BP_SYM.
12128         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12129         (PARMS): Do not use macros from bp-asm.h.
12130         (SIGMSK): Likewise.
12131         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12132         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12133         (_start): Do not use BP_SYM.
12134         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12135         (PARMS): Do not use macros from bp-asm.h.
12136         (DEST): Likewise.
12137         (SRC): Likewise.
12138         (__stpcpy): Likewise.  Do not use BP_SYM.
12139         (stpcpy): Do not use BP_SYM in weak_alias.
12140         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12141         "bp-asm.h".
12142         (PARMS): Do not use macros from bp-asm.h.
12143         (DEST): Likewise.
12144         (SRC): Likewise.
12145         (LEN): Likewise.
12146         (__stpncpy): Likewise.  Do not use BP_SYM.
12147         (stpncpy): Do not use BP_SYM in weak_alias.
12148         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12149         (PARMS): Do not use macros from bp-asm.h.
12150         (STR): Likewise.
12151         (CHR): Likewise.
12152         (strchr): Likewise.  Do not use BP_SYM.
12153         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12154         "bp-asm.h".
12155         (PARMS): Do not use macros from bp-asm.h.
12156         (STR): Likewise.
12157         (CHR): Likewise.
12158         (__strchrnul): Likewise.  Do not use BP_SYM.
12159         (strchrnul): Do not use BP_SYM in weak_alias.
12160         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12161         "bp-asm.h".
12162         (PARMS): Do not use macros from bp-asm.h.
12163         (STOP): Likewise.
12164         (strcspn): Do not use BP_SYM.
12165         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12166         "bp-asm.h".
12167         (PARMS): Do not use macros from bp-asm.h.
12168         (STR): Likewise.
12169         (STOP): Likewise.
12170         (strpbrk): Likewise.  Do not use BP_SYM.
12171         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12172         "bp-asm.h".
12173         (PARMS): Do not use macros from bp-asm.h.
12174         (STR): Likewise.
12175         (CHR): Likewise.
12176         (strrchr): Likewise.  Do not use BP_SYM.
12177         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12178         (PARMS): Do not use macros from bp-asm.h.
12179         (SKIP): Likewise.
12180         (strspn): Do not use BP_SYM.
12181         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12182         (PARMS): Do not use macros from bp-asm.h.
12183         (STR): Likewise.
12184         (DELIM): Likewise.
12185         (SAVE): Likewise.
12186         (FUNCTION): Likewise.  Do not use BP_SYM.
12187         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12188         aliases.
12189         (strtok_r): Likewise.
12190         (__GI___strtok_r): Likewise.
12191         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12192         (PARMS): Do not use macros from bp-asm.h.
12193         (S1): Likewise.
12194         (S2): Likewise.
12195         (SIZE): Likewise.
12196         (__mpn_sub_n): Do not use BP_SYM.
12197         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12198         "bp-asm.h".
12199         (PARMS): Do not use macros from bp-asm.h.
12200         (S1): Likewise.
12201         (SIZE): Likewise.
12202         (__mpn_submul_1): Do not use BP_SYM.
12203         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12204         <bp-sym.h>.
12205         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12206         and <bp-asm.h>.
12207         (PARMS): Do not use macros from bp-asm.h.
12208         (FLAGS): Likewise.
12209         (PTID): Likewise.
12210         (TLS): Likewise.
12211         (CTID): Likewise.
12212         (__clone): Do not use BP_SYM.
12213         (clone): Do not use BP_SYM in weak_alias.
12214         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12215         and <bp-asm.h>.
12216         (PARMS): Do not use macros from bp-asm.h.
12217         (LEN): Likewise.
12218         (__mmap64): Do not use BP_SYM.
12219         (mmap64): Do not use BP_SYM in weak_alias.
12220         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12221         <bp-sym.h> and <bp-asm.h>.
12222         (PARMS): Do not use macros from bp-asm.h.
12223         (__posix_fadvise64_l64): Do not use BP_SYM.
12224         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12225         (PARMS): Do not use macros from bp-asm.h.
12226         (NSOPS): Likewise.
12227         (semtimedop): Do not use BP_SYM.
12228         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12229         and <bp-asm.h>.
12231 2013-02-21  Allan McRae  <allan@archlinux.org>
12233         * manual/message.texi (Charset conversion in gettext):
12234         Move @end statement to beginning of line.
12236 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12239         static.
12240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12241         Likewise.
12243         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12244         (denorm): Likewise.
12245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12248 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12250         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12251         tail-call to the resolved function if pltexit isn't needed.
12253 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12256         or Y being zero as being unlikely.
12257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12258         Likewise.
12260 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12262         * manual/nss.texi (System Databases and Name Service Switch):
12263         Remove frobnicate @pxref.
12265 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12267         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12268         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12270 2013-02-20  Petr Machata  <pmachata@redhat.com>
12272         * elf/elf.h (R_ARM_TARGET1): New macro.
12273         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12274         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12275         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12276         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12277         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12278         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12279         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12280         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12281         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12282         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12283         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12284         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12285         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12286         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12287         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12288         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12289         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12290         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12291         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12292         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12293         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12294         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12295         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12296         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12297         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12298         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12299         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12300         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12301         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12302         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12303         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12304         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12305         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12306         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12307         (R_ARM_THM_GOT_BREL12): Likewise.
12308         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12309         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12310         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12311         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12312         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12313         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12314         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12315         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12316         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12318 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12320         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12321         __attribute_used__ to __attribute__ ((unused)).
12323 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12325         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12326         powerpc mpa.c.
12327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12328         comment formatting.
12329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12331 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12333         [BZ #13550]
12334         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12335         Remove macro.
12336         (ENTER): Remove both macro definitions.
12337         (LEAVE): Likewise.
12338         (CHECK_BOUNDS_LOW): Likewise.
12339         (CHECK_BOUNDS_HIGH): Likewise.
12340         (CHECK_BOUNDS_BOTH): Likewise.
12341         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12342         (RETURN_BOUNDED_POINTER): Likewise.
12343         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12344         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12345         (POP_ERRNO_LOCATION_RETURN): Likewise.
12346         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12347         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12348         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12349         macros.
12350         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12351         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12352         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12353         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12354         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12355         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12356         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12357         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12358         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12359         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12360         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12361         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12362         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12363         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12364         removed macros.
12365         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12366         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12367         macros.
12368         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12369         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12370         * sysdeps/i386/i586/memset.S (memset): Likewise.
12371         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12372         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12373         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12374         macros.
12375         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12376         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12377         Change uses of L(2) to L(out).
12378         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12379         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12380         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12381         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12382         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12383         removed macros.
12384         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12385         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12386         macros.
12387         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12388         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12389         (RETURN): Do not use macro LEAVE.
12390         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12391         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12392         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12393         * sysdeps/i386/i686/memset.S (memset): Likewise.
12394         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12395         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12396         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12397         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12398         Likewise.
12399         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12400         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12401         L(1_2) and L(1_3) into L(1).
12402         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12403         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12404         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12405         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12406         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12407         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12408         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12409         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12410         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12411         macros.
12412         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12413         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12414         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12415         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12416         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12417         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12418         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12419         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12420         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12421         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12422         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12423         * sysdeps/i386/strspn.S (strspn): Likewise.
12424         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12425         conditional code.
12426         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12427         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12428         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12429         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12430         L(1_3) into L(1_1).
12431         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12432         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12433         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12434         macros.
12435         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12437 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12439         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12440         macro.
12442 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12444         * math/atest-exp.c (exp_mpn): Remove ROUND.
12445         * math/atest-exp2.c (exp_mpn): Likewise.
12446         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12448         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12449         * stdlib/tst-tls-atexit-lib.c: Likewise.
12450         * stdlib/tst-tls-atexit.c: Likewise.
12452 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12454         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12455         and __attribute_alloc_size__.
12457 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12459         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12460         __attribute_alloc_size__.
12461         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12462         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12464 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12466         * include/programs/xmalloc.h: New file.
12467         * catgets/gencat.c: Include it.
12468         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12469         * elf/pldd.c: Likewise.
12470         * iconv/iconv_charmap.c: Likewise.
12471         * iconv/iconvconfig.c: Likewise.
12472         * iconv/strtab.c: Likewise.
12473         * locale/programs/locale.c: Likewise.
12474         * locale/programs/localedef.h: Likewise.
12475         * locale/programs/simple-hash.c: Likewise.
12476         * nscd/nscd.h: Likewise.
12477         * nss/makedb.c: Likewise.
12478         * sysdeps/generic/ldconfig.h: Likewise.
12480 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12482         * Versions.def: Add GLIBC_2.18.
12483         * include/link.h (struct link_map): New member l_tls_dtor_count.
12484         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12485         (__call_tls_dtors): Likewise.
12486         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12487         __cxa_thread_atexit_impl.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12489         Likewise.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12491         Likewise.
12492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12493         Likewise.
12494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12495         Likewise.
12496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12498         Likewise.
12499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12500         Likewise.
12501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12503         Likewise.
12504         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12505         (tests): Add test case tst-tls-atexit.
12506         (modules-names): Add shared library for tst-tls-atexit.
12507         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12508         (GLIBC_PRIVATE): Add __call_tls_dtors.
12509         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12510         for libstdc++.
12511         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12512         * stdlib/tst-tls-atexit.c: New test case.
12513         * stdlib/tst-tls-atexit-lib.c: New test case.
12515         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12517         * elf/Versions (ld): Add _dl_find_dso_for_object.
12518         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12519         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12520         (dl_open_worker): Use _dl_find_dso_for_object.
12521         * elf/dl-sym.c (do_sym): Likewise.
12522         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12524 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12526         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12527         Syntactic changes only.
12528         (_dl_runtime_profile): Do a tail-call to the resolved function.
12530 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #13550]
12533         * sysdeps/x86_64/bp-asm.h: Remove file.
12534         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12535         <bp-sym.h> and <bp-asm.h>.
12536         (__clone): Do not use BP_SYM.
12537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12538         <bp-sym.h> and <bp-asm.h>.
12539         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12540         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12541         "bp-asm.h".
12542         (_setjmp): Do not use BP_SYM.
12543         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12544         "bp-asm.h".
12545         (setjmp): Do not use BP_SYM.
12546         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12547         libc_hidden_def.
12548         (mempcpy): Do not use BP_SYM in weak_alias.
12549         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12550         "bp-asm.h".
12551         (strchr): Do not use BP_SYM.
12552         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12553         "bp-asm.h".
12554         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12555         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12556         (_start): Do not use BP_SYM.
12557         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12558         "bp-asm.h".
12559         (strcat): Do not use BP_SYM.
12560         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12561         "bp-asm.h".
12562         (STRCMP): Do not use BP_SYM.
12563         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12564         "bp-asm.h".
12565         (STRCPY): Do not use BP_SYM.
12566         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12567         "bp-asm.h".
12568         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12569         "bp-asm.h".
12570         (FUNCTION): Do not use BP_SYM.
12571         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12572         weak_alias.
12573         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12575 2013-02-17  Andreas Jaeger  <aj@suse.de>
12577         * time/Versions: Sort entries.
12578         * string/Versions: Likewise.
12579         * resolv/Versions: Likewise.
12580         * posix/Versions: Likewise.
12581         * iconv/Versions: Likewise.
12582         * elf/Versions: Likewise.
12583         * wcsmbs/Versions: Likewise.
12585 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12587         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12588         loop termination condition.
12590         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12591         variable to calculate EZ.
12592         (__sqr): Likewise.
12594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12595         the lower precision input.
12597 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12599         [BZ #13550]
12600         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12601         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12602         (run-via-rtld-prefix): Do not handle %-bp tests.
12603         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12604         (all-object-suffixes): Remove .ob.
12605         (bppfx): Remove variable.
12606         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12607         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12608         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12609         [$(build-bounded) = yes] (libtype.ob): Likewise.
12610         * Makerules (elide-routines.ob): Remove variable.
12611         (do-tests-clean): Do not handle *-bp.out.
12612         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12613         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12614         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12615         (tests): Do not include $(tests-bp.out).
12616         (xtests): Do not include $(xtests-bp.out).
12617         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12618         [$(build-bounded) = yes] ($(addprefix
12619         $(objpfx),$(binaries-bounded))): Remove rule.
12620         ($(objpfx)%-bp.out): Remove rule.
12621         * config.make.in (build-bounded): Remove variable.
12622         * crypt/Makefile [$(build-bounded) = yes]
12623         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12624         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12625         append to variable.
12626         [$(build-bounded) = yes] (install-lib): Likewise.
12627         [$(build-bounded) = yes] (generated): Likewise.
12628         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12629         Remove rule.
12630         * intl/Makefile [$(build-bounded) = yes]
12631         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12632         * math/Makefile [$(build-bounded) = yes]
12633         ($(tests:%=$(objpfx)%-bp): Likewise.
12634         * misc/Makefile [$(build-bounded) = yes]
12635         ($(objpfx)tst-tsearch-bp): Likewise.
12636         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12637         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12638         Remove dependency.
12639         * string/Makefile (o-objects.ob): Remove variable.
12640         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12641         (CFLAGS-.ob): Remove variable.
12642         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12643         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12644         both definitions of variable.
12645         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12646         (ASFLAGS-.ob): Remove variable.
12648 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12650         [BZ #13550]
12651         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12652         Remove __BOUNDED_POINTERS__ from condition.
12653         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12654         * string/bits/string2.h [!__NO_STRING_INLINES &&
12655         !__BOUNDED_POINTERS__]: Likewise.
12656         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12659         Remove conditional code.
12660         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12661         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12662         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12663         condition.
12665         [BZ #13550]
12666         * csu/libc-start.c: Do not include <bp-sym.h>.
12667         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12668         * elf/dl-open.c: Do not include <bp-sym.h>.
12669         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12670         * math/fegetenv.c: Do not include <bp-sym.h>.
12671         (fegetenv): Do not use BP_SYM in versioned symbols.
12672         * nptl/sysdeps/pthread/bits/libc-lockP.h
12673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12674         <bp-sym.h>.
12675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12676         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12678         (__pthread_mutex_destroy): Likewise.
12679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12680         (__pthread_mutex_lock): Likewise.
12681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12682         (__pthread_mutex_trylock): Likewise.
12683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12684         (__pthread_mutex_unlock): Likewise.
12685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12686         (__pthread_mutexattr_init): Likewise.
12687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12688         (__pthread_mutexattr_destroy): Likewise.
12689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12690         (__pthread_mutexattr_settype): Likewise.
12691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12692         (__pthread_rwlock_init): Likewise.
12693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12694         (__pthread_rwlock_destroy): Likewise.
12695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12696         (__pthread_rwlock_rdlock): Likewise.
12697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12698         (__pthread_rwlock_tryrdlock): Likewise.
12699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12700         (__pthread_rwlock_wrlock): Likewise.
12701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12702         (__pthread_rwlock_trywrlock): Likewise.
12703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12704         (__pthread_rwlock_unlock): Likewise.
12705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12706         (__pthread_key_create): Likewise.
12707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12708         (__pthread_setspecific): Likewise.
12709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12710         (__pthread_getspecific): Likewise.
12711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12712         Likewise.
12713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12714         (_pthread_cleanup_push_defer): Likewise.
12715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12716         (_pthread_cleanup_pop_restore): Likewise.
12717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12718         (pthread_setcancelstate): Likewise.
12719         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12720         <bp-sym.h>.
12721         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12722         (memchr): Do not use BP_SYM in weak_alias.
12723         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12724         (fegetenv): Do not use BP_SYM in versioned symbols.
12725         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12726         (fesetenv): Do not use BP_SYM in versioned symbols.
12727         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12728         (feupdateenv): Do not use BP_SYM in versioned symbols.
12729         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12730         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12731         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12732         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12733         (open64): Do not use BP_SYM in weak_alias.
12734         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12735         (fegetenv): Do not use BP_SYM in versioned symbols.
12736         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12737         (fesetenv): Do not use BP_SYM in versioned symbols.
12738         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12739         (feupdateenv): Do not use BP_SYM in versioned symbols.
12740         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12741         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12742         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12743         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12744         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12745         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12746         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12747         <bp-sym.h>.
12748         (__libc_start_main): Do not use BP_SYM.
12750 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12753         redundant return line.
12754         (norm): Likewise.
12755         (denorm): Likewise.
12756         (dbl_mp): Likewise.
12757         (sub_magnitudes): Likewise.
12758         (__add): Likewise.
12759         (__sub): Likewise.
12760         (__mul): Likewise.
12761         (__inv): Likewise.
12762         (__dvd): Likewise.
12763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12764         (norm): Likewise.
12765         (denorm): Likewise.
12766         (dbl_mp): Likewise.
12767         (sub_magnitudes): Likewise.
12768         (__add): Likewise.
12769         (__sub): Likewise.
12770         (__mul): Likewise.
12771         (__inv): Likewise.
12772         (__dvd): Likewise.
12774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12775         instead of __mul.
12776         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12777         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12778         (cc32): Likewise.
12780         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12781         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12783         of __mul for squares.
12784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12785         function
12786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12787         Likewise.
12788         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12791 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12793         [BZ #13550]
12794         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12795         code.
12796         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12797         prototype or function definition.  Rename ubp_* variables and
12798         parameters.  Remove argv definitions conditional on
12799         [__BOUNDED_POINTERS__].
12800         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12801         * elf/dl-runtime.c (_dl_fixup): Likewise.
12802         * include/set-hooks.h (RUN_HOOK): Likewise.
12803         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12804         definition.
12805         * string/strcpy.c (strcpy): Do not use __unbounded.
12806         * sysdeps/generic/frame.h (struct layout): Likewise.
12807         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12808         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12809         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12810         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12811         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12812         (__backtrace): Likewise.
12813         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12814         use __ptrvalue.
12815         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12816         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12817         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12820         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12821         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12822         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12823         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12824         Do not use __unbounded.
12825         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12826         Rename __unboundedrlimits parameter to rlimits in prototype.
12827         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12828         Do not use __unbounded.
12829         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12830         not use __ptrvalue.
12831         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12832         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12833         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12834         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12835         __ptrvalue or __unbounded.
12836         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12837         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12838         use __unbounded.
12839         (__new_msgctl): Do not use __ptrvalue.
12840         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12841         __unbounded.
12842         (__libc_msgrcv): Do not use __ptrvalue.
12843         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12844         startup_info): Do not use __unbounded.
12845         (__libc_start_main): Likewise.  Rename ubp_* variables and
12846         parameters.  Remove argv definitions conditional on
12847         [__BOUNDED_POINTERS__].
12848         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12849         __ptrvalue.
12850         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12851         use __unbounded.
12852         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12853         or __ptrvalue.
12854         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12855         use __unbounded.
12856         (__new_shmctl): Do not use __ptrvalue.
12857         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12858         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12859         Likewise.
12860         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12862         (__libc_sigaction): Likewise.
12863         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12864         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12865         Likewise.
12866         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12868 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12870         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12872         * string/mempcpy.c: Implement by calling memcpy.
12874 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12879         evaluation.
12881         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12882         values in the mantissa.
12884         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12885         minimize writes to Z.
12886         (sub_magnitudes): Simplify code a bit.
12888 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12890         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12891         from the message.  The linker prefixes all warnings with that already.
12893 2013-02-12  Andreas Schwab  <schwab@suse.de>
12895         [BZ #15078]
12896         * posix/regexec.c (extend_buffers): Add parameter min_len.
12897         (check_matching): Pass minimum needed length.
12898         (clean_state_log_if_needed): Likewise.
12899         (get_subexp): Likewise.
12900         * posix/Makefile (tests): Add bug-regex34.
12901         (bug-regex34-ENV): Define.
12902         * posix/bug-regex34.c: New file.
12904         [BZ #11561]
12905         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12906         elements compare against the byte sequence of it, not its name.
12907         * posix/Makefile (tests): Add bug-regex35.
12908         (bug-regex35-ENV): Define.
12909         * posix/bug-regex35.c: New file.
12911 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12913         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12914         comment.
12915         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12916         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12917         (CHECK_EOL): Add undef.
12919 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12921         * bits/stdlib-bsearch.h: New file.
12922         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12923         * stdlib/stdlib.h: Likewise.
12925 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12927         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12928         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12929         declaration.
12930         * manual/search.texi (Array Search Function): Add missing const in
12931         lfind prototype.
12932         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12933         declaration to use rlim_t.
12934         (Basic Scheduling Functions): Remove erroneous const from
12935         sched_getparam prototype.  Remove erroneous * from
12936         sched_get_priority_max and sched_get_priority_min prototypes.
12937         (Resource Usage): Fix summary @comment on vtimes to refer to
12938         sys/vtimes.h rather than vtimes.h.
12939         Add missing *s in vtimes prototype.
12940         (Limits on Resources): Fix ulimit prototype to return long int.
12941         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12942         prototypes to use long int rather than double.
12943         (BSD Random): Fix initstate and setstate to use char *, not void *.
12944         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12945         prototype to make second argument 'struct aiocb64 *const[]'.
12946         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12947         (Status of AIO Operations): Remove erroneous const in aio_return and
12948         aio_return64 prototypes.
12949         (Synchronizing I/O): Fix sync prototype to return void.
12950         * manual/startup.texi (Suboptions): Remove an erroneous const in
12951         getsubopt prototype.
12952         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12953         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12954         use size_t rather than int.
12955         (Scanning All Users): Likewise for getpwent_r.
12956         (Setting Groups): Add missing const to setgroups prototype.
12957         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12958         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12959         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12960         'const void *' rather than 'const char *'.
12961         (Host Address Functions): Likewise for inet_ntop.
12962         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12963         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12964         ssize_t for return value.
12965         (Sending Data): Likewise for send, sendto, sendmsg.
12966         (Socket Option Functions): Add a missing const in setsockopt prototype.
12967         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12968         use wchar_t for the argument.
12969         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12970         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12971         take no arguments.
12972         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12973         double/float/long double for second argument.
12974         Fix return types of significand, significandf, significandl.
12975         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12976         argument in fchmod prototype.
12977         (File Owner): Use uid_t and gid_t in fchown prototype.
12978         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12979         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12980         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12981         use 'const struct dirent **' as argument types to CMP function pointer
12982         argument.
12983         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12984         (File Times): Fix summary magic @comment for struct utimbuf and utime
12985         to refer to utime.h, not time.h.
12986         * manual/string.texi (Argz Functions): Add missing const in
12987         argz_extract and argz_next prototypes.
12988         (Finding Tokens in a String): Likewise for basename.
12989         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12990         (Copying and Concatenation): Fix typo in wmemmove prototype.
12991         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12992         (Signal Stack): Remove erroneous const in sigstack prototype.
12993         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12994         prototype.
12995         (Simple Calendar Time): Likewise for stime.
12996         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12997         prototype.
12998         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12999         say sys/sysctl.h instead.
13000         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13001         and vsyslog prototypes.
13003 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13005         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13006         Remove.
13008 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13010         * misc/sys/mman.h: Fix typo in mremap comment.
13012 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13014         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13015         the '\0' terminator.
13017 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13019         [BZ #13550]
13020         * debug/segfault.c: Don't include <bp-checks.h>.
13021         * sysdeps/generic/bp-checks.h: Remove file.
13022         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13023         (__GETDENTS): Don't use CHECK_N.
13024         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13025         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13026         (__getgroups): Don't use CHECK_N.
13027         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13028         (setgroups): Don't use CHECK_N.
13029         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13030         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13031         (__libc_msgrcv): Don't use CHECK_N.
13032         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13033         (__libc_msgsnd): Don't use CHECK_N.
13034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13035         <bp-checks.h>.
13036         (__libc_pread): Don't use CHECK_N.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13038         include <bp-checks.h>.
13039         (__libc_pread64): Don't use CHECK_N.
13040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13041         include <bp-checks.h>.
13042         (__libc_pwrite): Don't use CHECK_N.
13043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13044         include <bp-checks.h>.
13045         (__libc_pwrite64): Don't use CHECK_N.
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13047         <bp-checks.h>.
13048         (__libc_pread): Don't use CHECK_N.
13049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13050         include <bp-checks.h>.
13051         (__libc_pread64): Don't use CHECK_N.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13053         include <bp-checks.h>.
13054         (__libc_pwrite): Don't use CHECK_N.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13056         include <bp-checks.h>.
13057         (__libc_pwrite64): Don't use CHECK_N.
13058         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13059         (do_pread): Don't use CHECK_N.
13060         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13061         (do_pread64): Don't use CHECK_N.
13062         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13063         (do_pwrite): Don't use CHECK_N.
13064         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13065         (do_pwrite64): Don't use CHECK_N.
13066         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13067         (__libc_readv): Don't use CHECK_N.
13068         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13069         (semop): Don't use CHECK_N.
13070         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13071         <bp-checks.h>.
13072         (semtimedop): Don't use CHECK_N.
13073         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13074         (__libc_pread): Don't use CHECK_N.
13075         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13076         <bp-checks.h>.
13077         (__libc_pread64): Don't use CHECK_N.
13078         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13079         <bp-checks.h>.
13080         (__libc_pwrite): Don't use CHECK_N.
13081         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13082         <bp-checks.h>.
13083         (__libc_pwrite64): Don't use CHECK_N.
13084         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13085         <bp-checks.h>.
13086         (__libc_msgrcv): Don't use CHECK_N.
13087         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13088         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13089         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13090         (__libc_writev): Don't use CHECK_N.
13092 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13094         * string/strcpy.c: Removed unused variable.
13096         * Makeconfig (+sysdep-includes): Define with := rather than =.
13097         Use an existing include/ subdir of each sysdeps dir before it.
13099 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13101         * nscd/connection.c (register_traced_file): Comment function.
13102         [HAVE_INOTIFY] (union __inev): Define.
13103         [HAVE_INOTIFY] (inotify_check_files): New function.
13104         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13105         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13106         clear_db_cache.
13107         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13109 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13111         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13112         loaded if not already and that a failure is permanent.
13114 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13116         [BZ #15006]
13117         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13118         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13120 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13122         [BZ #13550]
13123         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13124         (CHECK_1_NULL_OK): Likewise.
13125         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13126         (__fxstat): Do not use CHECK_1.
13127         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13128         <bp-checks.h>.
13129         (___fxstat64): Do not use CHECK_1.
13130         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13131         <bp-checks.h>.
13132         (__fxstatat): Do not use CHECK_1.
13133         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13134         <bp-checks.h>.
13135         (__fxstatat64): Do not use CHECK_1.
13136         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13137         <bp-checks.h>.
13138         (__fxstat): Do not use CHECK_1.
13139         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13140         <bp-checks.h>.
13141         (__fxstatat): Do not use CHECK_1.
13142         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13143         <bp-checks.h>.
13144         (__getresgid): Do not use CHECK_1.
13145         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13146         <bp-checks.h>.
13147         (__getresuid): Do not use CHECK_1.
13148         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13149         <bp-checks.h>.
13150         (__lxstat): Do not use CHECK_1.
13151         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13152         <bp-checks.h>.
13153         (__old_msgctl): Do not use CHECK_1.
13154         (__new_msgctl): Likewise.
13155         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13156         <bp-checks.h>.
13157         (__new_setrlimit): Do not use CHECK_1.
13158         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13159         <bp-checks.h>.
13160         (__old_shmctl): Do not use CHECK_1.
13161         (__new_shmctl): Likewise.
13162         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13163         <bp-checks.h>.
13164         (__xstat): Do not use CHECK_1.
13165         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13166         (__lxstat): Do not use CHECK_1.
13167         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13168         <bp-checks.h>.
13169         (___lxstat64): Do not use CHECK_1.
13170         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13171         (__old_msgctl): Do not use CHECK_1.
13172         (__new_msgctl): Likewise.
13173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13174         <bp-checks.h>.
13175         (__gettimeofday): Do not use CHECK_1.
13176         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13177         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13178         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13179         <bp-checks.h>.
13180         (__gettimeofday): Do not use CHECK_1.
13181         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13182         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13183         (__new_shmctl): Do not use CHECK_1.
13184         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13185         <bp-checks.h>.
13186         (do_sigtimedwait): Do not use CHECK_1.
13187         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13188         <bp-checks.h>.
13189         (do_sigwaitinfo): Do not use CHECK_1.
13190         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13191         <bp-checks.h>.
13192         (msgctl): Do not use CHECK_1.
13193         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13194         <bp-checks.h>.
13195         (shmctl): Do not use CHECK_1.
13196         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13197         (ustat): Do not use CHECK_1.
13198         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13199         <bp-checks.h>.
13200         (__fxstat): Do not use CHECK_1.
13201         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13202         <bp-checks.h>.
13203         (__fxstatat): Do not use CHECK_1.
13204         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13205         <bp-checks.h>.
13206         (__lxstat): Do not use CHECK_1.
13207         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13208         <bp-checks.h>.
13209         (__xstat): Do not use CHECK_1.
13210         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13211         (__xstat): Do not use CHECK_1.
13212         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13213         (___xstat64): Do not use CHECK_1.
13215         [BZ #13550]
13216         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13217         definitions.
13218         (CHECK_BOUNDS_HIGH): Likewise.
13219         * string/strcpy.c: Do not include <bp-checks.h>.
13220         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13222 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13224         * nscd/nscd-client.h (__nscd_drop_map_ref):
13225         Add __attribute__ ((unused)).
13226         * nis/nss-nisplus.h (niserr2nss): Likewise.
13228         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13229         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13231         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13232         Remove inline keyword.
13233         * include/rounding-mode.h (round_away): Likewise.
13234         * libio/wfileops.c (adjust_wide_data): Likewise.
13235         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13236         (__m128i_strloadu_tolower): Likewise.
13237         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13238         (__m128i_strloadu_tolower): Likewise.
13239         * time/mktime.c (ydhms_diff): Likewise.
13240         * locale/elem-hash.h (elem_hash): Likewise.
13241         * locale/setlocale.c (setdata): Likewise.
13242         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13243         (re_string_wchar_at): Likewise.
13244         (bitset_not, bitset_merge, bitset_mask): Likewise.
13245         [!(__GNUC__ > 3)] (inline): Remove macro.
13246         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13247         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13248         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13249         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13250         * string/memcmp.c (memcmp_bytes): Likewise.
13251         * locale/programs/locarchive.c (compute_hashval): Likewise.
13252         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13253         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13254         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13255         * nss/getent.c (print_rpc, print_protocols): Likewise.
13256         (print_passwd, print_group, print_aliases): Likewise.
13257         * nis/nss-nisplus.h (niserr2nss): Likewise.
13258         * nscd/connections.c (restart_p): Likewise.
13259         Change return type to bool.
13261 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13263         * Makeconfig (all-Depend-files): Add existing
13264         $(sorted-subdirs:=/Depend) files.
13265         (all-subdirs): Remove nss.
13266         * sysdeps/unix/inet/Subdirs: Add it here instead.
13267         * hesiod/Depend: New file.
13269         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13270         instead of calling alloca.
13272         * io/lseek.c (__lseek): Rename to __libc_lseek.
13273         Define __lseek as an alias.
13275         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13277 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13279         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13280         else clause and remove check for non-standard endianness.
13282 2013-02-04  David S. Miller  <davem@davemloft.net>
13284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13286 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13288         [BZ #13550]
13289         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13290         (__ubp_memchr): Remove prototype.
13291         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13292         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13293         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13294         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13295         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13296         Remove alias.
13297         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13298         (__ubp_memchr): Likewise.
13299         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13300         (__ubp_memchr): Likewise.
13301         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13302         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13303         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13304         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13305         CHECK_STRING.
13306         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13307         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13308         (__getcwd): Do not use CHECK_STRING.
13309         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13310         <bp-checks.h>.
13311         (__real_chown): Do not use CHECK_STRING.
13312         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13313         <bp-checks.h>.
13314         (fchownat): Do not use CHECK_STRING.
13315         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13316         CHECK_STRING.
13317         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13318         <bp-checks.h>.
13319         (__lchown): Do not use CHECK_STRING.
13320         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13321         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13322         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13323         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13325         include <bp-checks.h>.
13326         (truncate64): Do not use CHECK_STRING.
13327         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13328         <bp-checks.h>.
13329         (__real_chown): Do not use CHECK_STRING.
13330         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13331         <bp-checks.h>.
13332         (__lchown): Do not use CHECK_STRING.
13333         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13334         <bp-checks.h>.
13335         (__chown): Do not use CHECK_STRING.
13336         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13337         <bp-checks.h>.
13338         (truncate64): Do not use CHECK_STRING.
13339         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13340         Likewise.
13341         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13342         (__xmknod): Do not use CHECK_STRING.
13343         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13344         <bp-checks.h>.
13345         (__xmknodat): Do not use CHECK_STRING.
13346         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13347         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13349 2013-02-04  Andreas Schwab  <schwab@suse.de>
13351         [BZ #14142]
13352         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13353         * include/netdb.h: Likewise for h_errno.
13354         * elf/tst-stackguard1.c: Include <tls.h>.
13356 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13358         * elf/link.h (struct link_map): Extend the l_addr comment.
13359         * include/link.h (struct link_map): Likewise.
13361 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13363         [BZ #13550]
13364         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13365         (BOUNDED_1): Remove macro.
13366         * debug/backtrace.c: Don't include <bp-checks.h>.
13367         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13368         (__backtrace): Likewise.
13369         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13370         <bp-checks.h>.
13371         (__backtrace): Don't use BOUNDED_1.
13372         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13373         <bp-checks.h>.
13374         (__backtrace): Don't use BOUNDED_1.
13375         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13376         (__backtrace): Don't use BOUNDED_1.
13377         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13378         (shmat): Don't use BOUNDED_N.
13380 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13382         [BZ #13550]
13383         * sysdeps/generic/bp-start.h: Remove file.
13384         * csu/libc-start.c: Don't include <bp-start.h>.
13385         (LIBC_START_MAIN): Set up __environ directly instead of using
13386         INIT_ARGV_and_ENVIRON.
13387         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13388         <bp-start.h>.
13390         [BZ #13550]
13391         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13392         definitions.
13393         (CHECK_FCNTL): Likewise.
13394         (CHECK_N_PAGES): Likewise.
13396         [BZ #13550]
13397         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13398         definitions.
13399         (CHECK_SIGSET_NULL_OK): Likewise.
13400         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13401         <bp-checks.h>.
13402         (sigpending): Don't use CHECK_SIGSET.
13403         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13404         <bp-checks.h>.
13405         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13406         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13407         <bp-checks.h>.
13408         (do_sigsuspend): Don't use CHECK_SIGSET.
13409         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13410         use CHECK_SIGSET.
13411         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13412         (do_sigwait): Don't use CHECK_SIGSET.
13413         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13414         use CHECK_SIGSET.
13415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13416         include <bp-checks.h>.
13417         (sigpending): Don't use CHECK_SIGSET.
13418         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13419         include <bp-checks.h>.
13420         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13421         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13422         <bp-checks.h>.
13423         (sigpending): Don't use CHECK_SIGSET.
13424         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13425         <bp-checks.h>.
13426         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13428         [BZ #13550]
13429         * sysdeps/generic/bp-semctl.h: Remove file.
13430         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13431         <bp-checks.h> and <bp-semctl.h>.
13432         (__old_semctl): Don't use CHECK_SEMCTL.
13433         (__new_semctl): Likewise.
13434         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13435         and <bp-semctl.h>.
13436         (__old_semctl): Don't use CHECK_SEMCTL.
13437         (__new_semctl): Likewise.
13438         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13439         <bp-checks.h> and <bp-semctl.h>.
13440         (__old_semctl): Don't use CHECK_SEMCTL.
13441         (__new_semctl): Likewise.
13442         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13443         <bp-checks.h> and <bp-semctl.h>.
13444         (semctl): Don't use CHECK_SEMCTL.
13446         [BZ #13550]
13447         * Makerules (elide-bp-thunks): Remove variable.
13448         (elide-routines.oS): Don't use $(elide-bp-thunks).
13449         (elide-routines.os): Likewise.
13450         (elide-routines.o): Likewise.
13451         (elide-routines.op): Likewise.
13452         (elide-routines.og): Likewise.
13453         (objects): Don't use $(bp-thunks).
13454         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13455         include.
13456         (common-generated): Do not add s-proto-bp.d.
13457         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13458         (int): Likewise.
13459         (typ): Likewise.
13460         Do not generate makefile rules for bounded-pointer thunks.
13461         * sysdeps/generic/bp-thunks.h: Remove file.
13462         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13463         * sysdeps/unix/s-proto-bp.S: Likewise.
13465         [BZ #15062]
13466         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13467         parts of result separately when argument is not close to line from
13468         -i to i and one part of argument is small.
13469         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13470         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13471         * math/libm-test.inc (cacos_test): Add more tests.
13472         (casin_test): Likewise.
13473         (casinh_test): Likewise.
13474         * sysdeps/i386/fpu/libm-test-ulps: Update.
13475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13477 2013-01-31  David S. Miller  <davem@davemloft.net>
13479         * po/de.po: Update from translation team.
13481 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13483         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13485 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13487         * configure.in (_AC_PROG_CC_C89): New definition.
13488         * configure: Regenerate.
13490         * configure.in (AC_PROG_CPP): New definition.
13491         * configure: Regenerate.
13493 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13495         * debug/tst-backtrace.h: New file.
13496         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13497         (ret): Remove variable.
13498         (x): Likewise.
13499         (FAIL): Remove macro.
13500         (NO_INLINE): Likewise.
13501         (fn1): Use match function instead of strstr.
13502         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13503         (ret): Remove variable.
13504         (x): Likewise.
13505         (FAIL): Remove macro.
13506         (NO_INLINE): Likewise.
13507         (fn): Use match function instead of strstr.
13508         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13509         (ret): Remove variable.
13510         (x): Likewise.
13511         (FAIL): Remove macro.
13512         (NO_INLINE): Likewise.
13513         (handle_signal): Use match function instead of strstr.
13514         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13515         (ret): Remove variable.
13516         (x): Likewise.
13517         (FAIL): Remove macro.
13518         (NO_INLINE): Likewise.
13519         (handle_signal): Use match function instead of strstr.
13521 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13523         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13525 2013-01-23  David S. Miller  <davem@davemloft.net>
13527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13528         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13529         argument of CAS if possible.
13530         * sysdeps/sparc/sparc64/bits/atomic.h
13531         (__arch_compare_and_exchange_val_32_acq): Likewise.
13532         (__arch_compare_and_exchange_val_64_acq): Likewise.
13534 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13536         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13537         * sysdeps/posix/ulimit.c: ... this.
13538         Include <limits.h>.
13539         * sysdeps/unix/bsd/ulimit.c: Remove file.
13541 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13543         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13544         (LDFLAGS-tst-array5): Likewise.
13546 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13548         [BZ #15036]
13549         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13550         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13551         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13552         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13554 2013-01-21  David S. Miller  <davem@davemloft.net>
13556         * sysdeps/sparc/backtrace.c: New file.
13557         * sysdeps/sparc/sparc32/backtrace.h: New file.
13558         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13559         * sysdeps/sparc/sparc64/backtrace.h: New file.
13560         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13561         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13562         -funwind-tables.
13564 2013-01-21  Andreas Schwab  <schwab@suse.de>
13566         [BZ #15020]
13567         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13568         closed its stdout.
13570 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13573         "mpa2.h".
13574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13576 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13577             Mark Mitchell  <mark@codesourcery.com>
13578             Tom de Vries  <tom@codesourcery.com>
13579             Paul Pluzhnikov  <ppluzhnikov@google.com>
13581         * debug/tst-backtrace2.c: New file.
13582         * debug/tst-backtrace3.c: Likewise.
13583         * debug/tst-backtrace4.c: Likewise.
13584         * debug/tst-backtrace5.c: Likewise.
13585         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13586         (CFLAGS-tst-backtrace3.c): Likewise.
13587         (CFLAGS-tst-backtrace4.c): Likewise.
13588         (CFLAGS-tst-backtrace5.c): Likewise.
13589         (LDFLAGS-tst-backtrace2): Likewise.
13590         (LDFLAGS-tst-backtrace3): Likewise.
13591         (LDFLAGS-tst-backtrace4): Likewise.
13592         (LDFLAGS-tst-backtrace5): Likewise.
13593         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13594         tst-backtrace4 and tst-backtrace5.
13596 2013-01-18  Anton Blanchard  <anton@samba.org>
13597             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13600         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13601         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13602         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13604         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13605         "+r" and remove output regs list as redundant.  Add explicit inline
13606         asm to specify register of return val to work around compiler codegen
13607         bug.  Remove (int) cast on return value.  Add return type parameter to
13608         use in macro so that this macro does not truncate return value for
13609         64-bit values.
13610         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13611         pass to INTERNAL_VSYSCALL_NCS.
13612         (INLINE_VSYSCALL): Add 'long int' as return type to
13613         INTERNAL_VSYSCALL_NCS macro invocation.
13614         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13615         INTERNAL_VSYSCALL_NCS macro invocation.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13618 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         [BZ #14496]
13621         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13622         Fix application of SIMD FP exception mask.
13624         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13625         mp_no from a power of two.
13626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13627         __mpexp_twomm1.  Use __pow_mp.
13629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13630         multiplication.
13632 2013-01-17  David S. Miller  <davem@davemloft.net>
13634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13636 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13638         [BZ #15023]
13639         * include/complex.h: Condition contents on [!_COMPLEX_H].
13640         (__kernel_casinhf): New prototype.
13641         (__kernel_casinh): Likewise.
13642         (__kernel_casinhl): Likewise.
13643         * math/Makefile (libm_calls): Add k_casinh.
13644         * math/k_casinh.c: New file.
13645         * math/k_casinhf.c: Likewise.
13646         * math/k_casinhl.c: Likewise.
13647         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13648         finite nonzero arguments.
13649         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13650         finite nonzero arguments.
13651         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13652         finite nonzero arguments.
13653         * math/s_casinh.c: Do not include <float.h>.
13654         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13655         * math/s_casinhf.c: Do not include <float.h>.
13656         (__casinhf): Move code for finite nonzero arguments to
13657         k_casinhf.c.
13658         * math/s_casinhl.c: Do not include <float.h>.
13659         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13660         redefine.
13661         (__casinhl): Move code for finite nonzero arguments to
13662         k_casinhl.c.
13663         * math/libm-test.inc (cacos_test): Add more tests.
13664         * sysdeps/i386/fpu/libm-test-ulps: Update.
13665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13667 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13669         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13670         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13671         [!HAVE_MREMAP]: Remove [defined linux] case.
13672         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13674 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13676         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13678 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13680         * elf/elf.h (R_386_SIZE32): New relocation.
13681         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13682         R_386_SIZE32.
13683         (elf_machine_rela): Likewise.
13684         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13685         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13687 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13689         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13690         (FP_FAST_FMA): Do not define.
13691         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13692         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13693         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13694         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13695         !_SOFT_FLOAT]: Likewise.
13696         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13697         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13698         value.
13699         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13700         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13701         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13702         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13703         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13704         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13705         file.
13707 2013-01-16  Andreas Schwab  <schwab@suse.de>
13709         [BZ #14327]
13710         * include/stdlib.h (__mktemp): Add declaration.
13711         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13712         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13714 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13717         definitions.
13718         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13719         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13720         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13721         definitions here.
13722         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13723         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13724         definitions.
13725         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13726         and ONE.
13727         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13728         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13729         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13730         definitions.
13731         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13732         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13733         definitions.
13734         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13736         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13738 2013-01-15  David S. Miller  <davem@davemloft.net>
13740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13741         trunc{,f} to libm-sysdep_routes.
13742         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13744         file.
13745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13747         file.
13748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13749         file.
13750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13752         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13753         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13754         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13755         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13756         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13757         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13760         nearbyint{,f} to libm-sysdep_routes.
13761         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13763         New file.
13764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13765         file.
13766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13767         New file.
13768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13769         file.
13770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13772         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13773         file.
13774         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13775         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13776         file.
13777         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13778         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13779         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13781         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13782         libc_feholdexcept and libc_fesetenv.
13784 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13786         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13788 2013-01-14  David S. Miller  <davem@davemloft.net>
13790         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13791         (SPARC_ASM_VIS2_IFUNC): Likewise.
13792         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13794         use of 'siam' instruction.
13795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13796         Likewise.
13797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13798         Likewise.
13799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13800         Likewise.
13801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13806         file.
13807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13808         file.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13810         file.
13811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13812         file.
13813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13815         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13818         new VIS2 routines.
13819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13822         Likewise.
13823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13828         routines to libm-sysdep_routines.
13829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13832         fdim/fdimf to libm-sysdep_routines.
13833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13834         file.
13835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13837         file.
13838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13841         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13842         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13843         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13844         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13846 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13849         to optimize copies.
13851         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13856         local variable MPTWO.
13857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13858         Likewise.
13860 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13862         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13863         GLOB_NOESCAPE.
13865 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13867         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13869 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13871         * manual/pattern.texi (glob_t): Document gl_flags.
13872         (glob64_t): Likewise.
13874 2013-01-11  David S. Miller  <davem@davemloft.net>
13876         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13877         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13878         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13879         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13880         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13881         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13882         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13883         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13884         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13885         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13886         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13887         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13888         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13890         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13891         sparc V9 rather than using V8 code.
13892         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13893         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13895         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13896         Move to...
13897         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13898         Here.
13900 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13902         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13903         not in the main loop.
13904         * configure: Regenerated.
13906 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13908         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13909         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13910         to just #else.
13911         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13912         [!__GLIBC_HAVE_LONG_LONG] case.
13913         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13914         condition to just #else.
13915         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13916         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13917         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13918         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13919         unconditional.
13920         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13921         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13922         #elif condition to just #else.
13923         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13924         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13925         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13926         #elif condition to just #else.
13928 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13930         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13931         (EF_MIPS_ARCH_64): Fix value.
13932         (EF_MIPS_ARCH_32R2): New.
13933         (EF_MIPS_ARCH_64R2): New.
13935 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13937         * Makeconfig (+link-pie-before-libc): New.
13938         (+link-pie-after-libc): Likewise.
13939         (+link-pie-tests): Likewise.
13940         (+link-pie): Rewritten.
13941         (link-before-libc): Remove $(config-LDFLAGS).
13942         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13943         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13944         (config-LDFLAGS): Renamed to ...
13945         (rtld-LDFLAGS): This.
13946         (rtld-tests-LDFLAGS): New macro.
13947         (link-libc-rpath-link): Likewise.
13948         (link-libc-tests-rpath-link): Likewise.
13949         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13950         (link-libc): Prepand $(link-libc-rpath-link).
13951         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13952         (test-program-prefix): New macro.
13953         (test-via-rtld-prefix): Likewise.
13954         (test-program-cmd): Likewise.
13955         (host-test-program-cmd): Likewise.
13956         * Makefile ($(common-objpfx)testrun.sh): Replace
13957         $(run-program-prefix) with $(test-program-prefix).
13958         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13959         $(rtld-LDFLAGS).
13960         ($(common-objpfx)shlib.lds): Likewise.
13961         (build-module-helper): Likewise.
13962         ($(common-objpfx)format.lds): Likewise.
13963         * Rules (binaries-pie-tests): New.
13964         (binaries-pie-notests): Likewise.
13965         (binaries-pie): Rewritten.
13966         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13967         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13968         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13969         (make-test-out): Replace $(host-built-program-cmd) with
13970         $(host-test-program-cmd).
13971         * config.make.in (build-hardcoded-path-in-tests): New variable.
13972         * configure.in (--enable-hardcoded-path-in-tests): New configure
13973         option.
13974         (hardcoded_path_in_tests): New AC_SUBST.
13975         * configure: Regenerated.
13976         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13977         $(built-program-cmd) with $(test-program-cmd).
13978         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13979         (test_program_cmd): This.
13980         * elf/Makefile ($(objpfx)order.out): Run test with
13981         $(test-program-prefix).
13982         ($(objpfx)order2.out): Likewise.
13983         ($(objpfx)tst-initorder.out): Likewise.
13984         ($(objpfx)tst-initorder2.out): Likewise.
13985         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13986         $(test-program-cmd).
13987         ($(objpfx)tst-array1-static.out): Likewise.
13988         ($(objpfx)tst-array2.out): Likewise.
13989         ($(objpfx)tst-array3.out): Likewise.
13990         ($(objpfx)tst-array4.out): Likewise.
13991         ($(objpfx)tst-array5.out): Likewise.
13992         ($(objpfx)tst-array5-static.out): Likewise.
13993         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13994         $(test-program-cmd).
13995         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13996         $(run-program-prefix) with $(test-program-prefix).
13997         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13998         (test_program_prefix): This.
13999         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14000         $(run-program-prefix) with $(test-program-prefix).
14001         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14002         (test_program_prefix): This.
14003         * iconvdata/tst-tables.sh: Likewise.
14004         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14005         $(run-program-prefix) with $(test-program-prefix).
14006         ($(objpfx)tst-translit.out): Likewise.
14007         ($(objpfx)tst-gettext2.out): Likewise.
14008         ($(objpfx)tst-gettext4.out): Likewise.
14009         ($(objpfx)tst-gettext6.out): Likewise.
14010         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14011         (test_program_prefix): This.
14012         * intl/tst-gettext2.sh: Likewise.
14013         * intl/tst-gettext4.sh  Likewise.
14014         * intl/tst-gettext6.sh: Likewise.
14015         * intl/tst-translit.sh: Likewise.
14016         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14017         with $(test-program-cmd).
14018         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14019         $(run-program-prefix) with $(test-program-prefix).
14020         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14021         (test_program_prefix): This.
14022         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14023         $(run-program-prefix) with $(test-program-prefix).
14024         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14025         (test_program_prefix): This.
14026         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14027         * posix/Makefile ($(objpfx)globtest.out): Replace
14028         $(run-via-rtld-prefix) and $(test-wrapper) with
14029         $(test-program-prefix) and $(test-via-rtld-prefix).
14030         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14031         $(test-program-prefix).
14032         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14033         $(host-test-program-cmd).
14034         (tst-spawn-ARGS): Likewise.
14035         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14036         $(test-program-prefix).
14037         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14038         (test_via_rtld_prefix): This.
14039         (test_wrapper): Renamed to ...
14040         (test_program_prefix): This.
14041         (run_program_prefix): Replaced by test_program_prefix.
14042         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14043         (test_program_prefix): This.
14044         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14045         with $(host-test-program-cmd).
14046         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14047         $(run-program-prefix) with $(test-program-prefix).
14048         ($(objpfx)tst-printf.out): Likewise.
14049         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14050         $(test-program-cmd).
14051         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14052         (test_program_prefix): This.
14053         * stdio-common/tst-unbputc.sh: Likewise.
14054         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14055         $(run-program-prefix) with $(test-program-prefix).
14056         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14057         (test_program_prefix): This.
14058         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14059         $(built-program-cmd) with $(test-program-cmd).
14061 2013-01-11  Andreas Jaeger  <aj@suse.de>
14063         [BZ #15003]
14064         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14065         value. Sync with Linux 3.7.
14067 2013-01-10  David S. Miller  <davem@davemloft.net>
14069         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14070         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14071         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14073 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14075         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14076         never set.
14077         * configure: Regenerated.
14079 2013-01-10  David S. Miller  <davem@davemloft.net>
14081         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14082         sparc V9 rather than using V8 code.
14083         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14084         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14086 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14088         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14089         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14090         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14091         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14092         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14093         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14094         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14095         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14096         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14097         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14098         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14099         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14100         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14101         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14102         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14103         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14104         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14105         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14106         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14107         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14108         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14109         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14110         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14111         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14112         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14113         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14114         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14116 2013-01-10  David S. Miller  <davem@davemloft.net>
14118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14120 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14122         * posix/Makefile (tests-static): New variable.
14123         (tests): Add $(tests-static).
14124         (tst-exec-static-ARGS): New variable.
14125         (tst-spawn-static-ARGS): Likewise.
14126         * posix/tst-exec-static.c: New file.
14127         * posix/tst-spawn-static.c: Likewise.
14128         * posix/tst-exec.c: Support run directly.
14129         * posix/tst-spawn.c: Likewise.
14131 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14133         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14134         long.
14135         * math/bits/mathcalls.h (llrint): Likewise.
14136         (llround): Likewise.
14137         * stdlib/stdlib.h (struct drand48_data): Likewise.
14138         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14139         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14140         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14141         Likewise.
14142         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14143         Likewise.
14144         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14145         (elf_greg_t): Likewise.
14146         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14147         (__jmp_buf): Likewise.
14148         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14149         definitions.
14150         (llrint): Likewise, for all definitions.
14151         (llrintl): Likewise.
14153         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14154         Remove [__GNUC__] condition.
14155         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14156         condition to just [__USE_ISOC99].
14157         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14159 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14161         [BZ #14200]
14162         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14163         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14164         defined.
14165         (_POSIX_V6_ILP32_OFF32): Likewise.
14166         (_XBS5_ILP32_OFF32): Likewise.
14167         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14168         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14170 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14172         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14175         doubles __mpexp_twomm1.  Adjust usage.
14176         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14177         Remove.
14179 2013-01-10  Andreas Schwab  <schwab@suse.de>
14181         [BZ #14964]
14182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14183         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14185 2013-01-09  David S. Miller  <davem@davemloft.net>
14187         [BZ #15003]
14188         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14189         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14190         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14191         TCP_FASTOPEN): Define.
14192         (tcp_repair_opt): New structure.
14193         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14194         enum values.
14195         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14196         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14197         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14198         (tcp_cookie_transactions): New structure.
14200 2013-01-09  Anton Blanchard  <anton@samba.org>
14202         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14203         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14205         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14207 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14209         * include/features.h (__USE_ANSI): Remove.
14211 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14213         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14215         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14217 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14219         * sysdeps/s390/fpu/libm-test-ulps: Update.
14221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14223         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14224         (__acr): Likewise.
14225         (__cpy): Likewise.
14226         (norm): Likewise.
14227         (denorm): Likewise.
14228         (__mp_dbl): Likewise.
14229         (__dbl_mp): Likewise.
14230         (add_magnitudes): Likewise.
14231         (sub_magnitudes): Likewise.
14232         (__add): Likewise.
14233         (__sub): Likewise.
14234         (__mul): Likewise.
14235         (__inv): Likewise.
14236         (__dvd): Likewise.
14237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14238         (__acr): Likewise.
14239         (__cpy): Likewise.
14240         (norm): Likewise.
14241         (denorm): Likewise.
14242         (__mp_dbl): Likewise.
14243         (__dbl_mp): Likewise.
14244         (add_magnitudes): Likewise.
14245         (sub_magnitudes): Likewise.
14246         (__add): Likewise.
14247         (__sub): Likewise.
14248         (__mul): Likewise.
14249         (__inv): Likewise.
14250         (__dvd): Likewise.
14251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14252         (__acr): Likewise.
14253         (__cpy): Likewise.
14254         (norm): Likewise.
14255         (denorm): Likewise.
14256         (__mp_dbl): Likewise.
14257         (__dbl_mp): Likewise.
14258         (add_magnitudes): Likewise.
14259         (sub_magnitudes): Likewise.
14260         (__add): Likewise.
14261         (__sub): Likewise.
14262         (__mul): Likewise.
14263         (__inv): Likewise.
14264         (__dvd): Likewise.
14266 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14268         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14269         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14270         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14271         2 && __USE_EXTERN_INLINES]: Likewise.
14273 2013-01-08  Andreas Jaeger  <aj@suse.de>
14275         [BZ# 14985]
14276         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14277         Remove.
14278         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14279         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14281 2013-01-07  Anton Blanchard  <anton@samba.org>
14283         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14284         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14285         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14286         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14287         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14288         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14289         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14290         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14292         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14293         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14294         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14295         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14297         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14298         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14299         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14300         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14301         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14302         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14303         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14304         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14306         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14307         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14308         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14309         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14310         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14312         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14313         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14315         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14317         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14318         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14320         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14323         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14325         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14327 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14329         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14330         (__MALLOC_PMT): Likewise.
14331         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14332         [__GNUC__], only on [_LIBC].
14333         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14334         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14335         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14336         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14337         forward declaration.
14338         (realloc_hook_ini): Likewise.
14339         (memalign_hook_ini): Likewise.
14340         (__libc_memalign): Do not use __MALLOC_PMT in variable
14341         declaration.
14342         (__libc_valloc): Likewise.
14343         (__libc_pvalloc): Likewise.
14344         (__libc_calloc): Likewise.
14345         (__posix_memalign): Likewise.
14347         [BZ #14996]
14348         * math/s_casinh.c: Include <float.h>.
14349         (__casinh): Do not do computation with squaring and square root
14350         for large arguments.
14351         * math/s_casinhf.c: Include <float.h>.
14352         (__casinhf): Do not do computation with squaring and square root
14353         for large arguments.
14354         * math/s_casinhl.c: Include <float.h>.
14355         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14356         (__casinhl): Do not do computation with squaring and square root
14357         for large arguments.
14358         * math/libm-test.inc (casin_test): Add more tests.
14359         (casinh_test): Likewise.
14360         * sysdeps/i386/fpu/libm-test-ulps: Update.
14361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14363 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14365         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14366         (__x86_64_raw_data_cache_size): Likewise.
14367         (__x86_64_data_cache_size_half): Likewise.
14368         (__x86_64_raw_data_cache_size_half): Likewise.
14369         (__x86_64_shared_cache_size): Likewise.
14370         (__x86_64_raw_shared_cache_size): Likewise.
14371         (__x86_64_shared_cache_size_half): Likewise.
14372         (__x86_64_raw_shared_cache_size_half): Likewise.
14373         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14374         to ...
14375         (__x86_data_cache_size): This.
14376         (__x86_64_raw_data_cache_size): Renamed to ...
14377         (__x86_raw_data_cache_size): This.
14378         (__x86_64_data_cache_size_half): Renamed to ...
14379         (__x86_data_cache_size_half): This.
14380         (__x86_64_raw_data_cache_size_half): Renamed to ...
14381         (__x86_raw_data_cache_size_half): This.
14382         (__x86_64_shared_cache_size): Renamed to ...
14383         (__x86_shared_cache_size): This.
14384         (__x86_64_raw_shared_cache_size): Renamed to ...
14385         (__x86_raw_shared_cache_size): This.
14386         (__x86_64_shared_cache_size_half): Renamed to ...
14387         (__x86_shared_cache_size_half): This.
14388         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14389         (__x86_raw_shared_cache_size_half): This.
14390         * sysdeps/x86_64/memcpy.S: Updated.
14391         * sysdeps/x86_64/memset.S: Likewise.
14392         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14393         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14394         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14396 2013-01-04  David S. Miller  <davem@davemloft.net>
14398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14400 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14402         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14403         1 to avoid redefinition warning.
14404         (__USE_GNU): Don't define.
14405         (init_signaling_nan): Protoize.
14407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14409 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14411         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14413         (__cpymn): Likewise.
14414         (norm): Remove commented code.
14415         (denorm): Likewise.
14416         (__mp_dbl): Likewise.
14417         (__inv): Likewise.
14418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14419         (__cpymn): Likewise.
14420         (norm): Remove commented code.
14421         (denorm): Likewise.
14422         (__mp_dbl): Likewise.
14423         (__inv): Likewise.
14425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14426         mp_no value for 1.0 and 2.0.
14427         (norm): Use RADIXI instead of radixi.d.
14428         (denorm): Likewise.
14429         (__mul): Use 0.0 instead of zero.d.
14430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14431         mp_no value for 1.0 and 2.0.
14432         (norm): Use RADIXI instead of radixi.d.
14433         (denorm): Likewise.
14434         (__mul): Use 0.0 instead of zero.d.
14436 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #14994]
14439         * math/s_casinh.c (__casinh): Reduce finite argument to first
14440         quadrant then set signs of results at the end.
14441         * math/s_casinhf.c (__casinhf): Likewise.
14442         * math/s_casinhl.c (__casinhl): Likewise.
14443         * math/libm-test.inc (casin_test): Add more tests.
14444         (casinh_test): Likewise.
14445         * sysdeps/i386/fpu/libm-test-ulps: Update.
14446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14448 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14452         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14454         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14455         declarations.
14456         (denorm): Likewise.
14457         (__mp_dbl): Likewise.
14458         (__inv): Likewise.
14460         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14461         and adjust the header comment.
14463         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14464         variable name from declaration.
14466 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14469         Initialize COMMON_CPUID_INDEX_7 element.
14470         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14471         (CPUID_RTM): Likewise.
14472         (HAS_RTM): Likewise.
14473         (COMMON_CPUID_INDEX_7): New enum.
14475 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14477         [BZ #14981]
14478         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14479         size is zero, record memory as freed.
14481 2013-01-03  Andreas Jaeger  <aj@suse.de>
14483         * po/ia.po: Add new Interlingua translation.
14485 2012-01-03  Allan McRae  <allan@archlinux.org>
14487         * locale/programs/localedef.c: Fix description of '--posix' flag.
14489 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14491         * NEWS: Update dates in second copyright notice.
14492         * README: Update copyright dates in example.
14493         * manual/libc.texinfo: Update copyright dates.
14494         * scripts/test-installation.pl: Update copyright date in --version
14495         output.
14497         * hurd/ctty-input.c: Fix copyright notice formatting.
14498         * hurd/ctty-output.c: Likewise.
14499         * hurd/dtable.c: Likewise.
14500         * hurd/hurd-raise.c: Likewise.
14501         * hurd/hurdprio.c: Likewise.
14502         * hurd/msgportdemux.c: Likewise.
14503         * misc/sys/file.h: Likewise.
14504         * misc/sys/ioctl.h: Likewise.
14505         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14506         * sysdeps/mach/hurd/chdir.c: Likewise.
14507         * sysdeps/mach/hurd/fchdir.c: Likewise.
14508         * sysdeps/mach/hurd/rename.c: Likewise.
14509         * sysdeps/mach/hurd/rmdir.c: Likewise.
14510         * sysdeps/mach/hurd/seekdir.c: Likewise.
14511         * sysdeps/mach/hurd/setsid.c: Likewise.
14512         * sysdeps/posix/wait3.c: Likewise.
14514         * All files with FSF copyright notices: Update copyright dates
14515         using scripts/update-copyrights.
14516         * intl/plural.c: Regenerated.
14517         * locale/programs/charmap-kw.h: Likewise.
14518         * locale/programs/locfile-kw.h: Likewise.
14520 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14522         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14523         four values.
14525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14526         calculation loop and add branch prediction.
14528         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14529         check access beyond bounds of m1np.
14531         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14532         MPTWO.
14533         (__inv): Remove local variable MPTWO to use the global
14534         constant.
14535         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14536         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14537         variable MPTWO.
14538         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14539         MP3HALFS static const.
14541 2013-01-01  David S. Miller  <davem@davemloft.net>
14543         * po/ca.po: Update from translation team.
14545 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14547         * scripts/update-copyrights: New file.
14548         * Makeconfig: Reformat copyright notice.
14549         * ctype/ctype.h: Likewise.
14550         * debug/swprintf_chk.c: Likewise.
14551         * elf/dl-cache.c: Likewise.
14552         * elf/dl-debug.c: Likewise.
14553         * elf/dl-object.c: Likewise.
14554         * grp/initgroups.c: Likewise.
14555         * hurd/Makefile: Likewise.
14556         * hurd/hurd/signal.h: Likewise.
14557         * hurd/hurdfault.c: Likewise.
14558         * hurd/hurdioctl.c: Likewise.
14559         * hurd/hurdlookup.c: Likewise.
14560         * hurd/intr-msg.c: Likewise.
14561         * iconv/gconv_open.c: Likewise.
14562         * libio/swprintf.c: Likewise.
14563         * locale/lc-ctype.c: Likewise.
14564         * locale/nl_langinfo.c: Likewise.
14565         * mach/Machrules: Likewise.
14566         * mach/Makefile: Likewise.
14567         * malloc/obstack.h: Likewise.
14568         * manual/Makefile: Likewise.
14569         * manual/tsort.awk: Likewise.
14570         * misc/bits/stab.def: Likewise.
14571         * nis/nis_print_group_entry.c: Likewise.
14572         * nis/nis_table.c: Likewise.
14573         * nis/nss_compat/compat-pwd.c: Likewise.
14574         * nis/nss_compat/compat-spwd.c: Likewise.
14575         * po/Makefile: Likewise.
14576         * posix/fnmatch.c: Likewise.
14577         * posix/regex.h: Likewise.
14578         * resolv/Makefile: Likewise.
14579         * resolv/nss_dns/dns-network.c: Likewise.
14580         * resolv/res_hconf.c: Likewise.
14581         * scripts/gen-sorted.awk: Likewise.
14582         * soft-fp/soft-fp.h: Likewise.
14583         * stdio-common/printf.h: Likewise.
14584         * stdlib/monetary.h: Likewise.
14585         * stdlib/random.c: Likewise.
14586         * stdlib/random_r.c: Likewise.
14587         * sysdeps/generic/Makefile: Likewise.
14588         * sysdeps/gnu/Makefile: Likewise.
14589         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14601         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14602         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14603         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14604         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14605         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14607         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14608         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14609         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14610         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14611         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14612         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14613         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14615         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14616         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14617         * sysdeps/mach/hurd/errnos.awk: Likewise.
14618         * sysdeps/mach/hurd/fork.c: Likewise.
14619         * sysdeps/mach/hurd/getcwd.c: Likewise.
14620         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14621         * sysdeps/mach/hurd/mmap.c: Likewise.
14622         * sysdeps/mach/hurd/utimes.c: Likewise.
14623         * sysdeps/mach/hurd/xmknod.c: Likewise.
14624         * sysdeps/posix/profil.c: Likewise.
14625         * sysdeps/posix/readdir_r.c: Likewise.
14626         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14627         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14628         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14629         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14631         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14632         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14633         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14635         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14636         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14637         * sysdeps/pthread/lio_listio.c: Likewise.
14638         * sysdeps/sparc/dl-procinfo.h: Likewise.
14639         * sysdeps/unix/i386/sysdep.S: Likewise.
14640         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14641         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14642         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14643         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14645         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14646         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14647         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14648         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14649         * sysdeps/wordsize-32/divdi3.c: Likewise.
14650         * time/sys/time.h: Likewise.
14651         * wcsmbs/Makefile: Likewise.
14653 2013-01-01  David S. Miller  <davem@davemloft.net>
14655         * po/fr.po: Update from translation team.
14657         * catgets/gencat.c: Update copyright year.
14658         * csu/version.c: Likewise.
14659         * debug/catchsegv.sh: Likewise.
14660         * debug/pcprofiledump.c: Likewise.
14661         * debug/xtrace.sh: Likewise.
14662         * elf/ldconfig.c: Likewise.
14663         * elf/ldd.bash.in: Likewise.
14664         * elf/pldd.c: Likewise.
14665         * elf/sotruss.ksh: Likewise.
14666         * elf/sprof.c: Likewise.
14667         * iconv/iconv_prog.c: Likewise.
14668         * iconv/iconvconfig.c: Likewise.
14669         * locale/programs/locale.c: Likewise.
14670         * locale/programs/localedef.c: Likewise.
14671         * login/programs/pt_chown.c: Likewise.
14672         * malloc/memusage.sh: Likewise.
14673         * malloc/memusagestat.c: Likewise.
14674         * malloc/mtrace.pl: Likewise.
14675         * nscd/nscd.c: Likewise.
14676         * nss/getent.c: Likewise.
14677         * nss/makedb.c: Likewise.
14678         * posix/getconf.c: Likewise.
14680 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14682         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14683         numbers.
14685 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14687         * math/bits/mathcalls.h (modf): Use __nonnull.
14689 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14691         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14692         (split): Use macro CN instead of the bare value.
14693         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14694         could be used.
14695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14696         instead of the bare value.
14697         (power1): Likewise.
14699 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14701         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14702         __ATAN_TWOM.
14703         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14705         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14706         their values.
14707         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14708         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14709         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14710         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14712 2012-12-28  Andreas Jaeger  <aj@suse.de>
14714         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14715         values are from Linux 3.7.
14717         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14718         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14720 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14722         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14723         TRUE case.
14725         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14726         (norm): Likewise.
14727         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14728         variables with preprocessor constants.
14729         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14730         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14731         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14733 2012-12-27  Bruno Haible  <bruno@clisp.org>
14735         [BZ #14317]
14736         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14737         only if needed.
14739 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14742         and use variable directly.
14743         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14745         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14746         MPONE.
14747         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14749         variable MPONE.
14750         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14752         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14753         include directive.  Remove local variable MPONE.
14754         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14755         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14756         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14758 2012-12-25  David S. Miller  <davem@davemloft.net>
14760         * version.h (RELEASE): Set to "development".
14761         (VERSION): Set to "2.17.90".
14762         * NEWS: Add 2.18 section.
14764 2012-12-21  David S. Miller  <davem@davemloft.net>
14766         * po/hr.po: Update from translation team.
14768 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14770         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14772 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14774         * NEWS:  Mention new memcpy for MIPS.
14776 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14778         * manual/contrib.texi (Contributors): Spelling correction.
14780 2012-12-15  David S. Miller  <davem@davemloft.net>
14782         * po/ru.po: Update from translation team.
14784 2012-12-13  David S. Miller  <davem@davemloft.net>
14786         * NEWS: Mention IFUNC testsuite enhancements.
14788         * po/pl.po: Update from translation team.
14789         * po/bg.po: Likewise.
14791         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14792         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14794 2012-12-11  David S. Miller  <davem@davemloft.net>
14796         * po/sv.po: Update from translation team.
14798         * po/vi.po: Update from translation team.
14800         * po/cs.po: Update from translation team.
14802         * po/de.po: Update from translation team.
14803         * po/eo.po: Likewise.
14804         * po/nl.po: Likewise.
14806 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808         [BZ #14246]
14809         * manual/argp.texi (Argp Helper Functions): Move node to follow
14810         Argp Parsing State.
14812         [BZ #14872]
14813         * manual/conf.texi (Limits on File System Capacity): Mention if
14814         terminating null is included in the max size.
14816 2012-12-10  Andreas Jaeger  <aj@suse.de>
14818         * po/cs.po: Update from translation team.
14820 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14822         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14823         void pointer and cast to uintptr_t.
14824         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14825         path.
14826         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14827         * sysdeps/s390/s390-64/memset.S: Likewise.
14829 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14831         [BZ #14833]
14832         * menual/message.texi (Message Translation): Fix typos.
14833         (Helper programs for gettext): Likewise.
14835 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14837         [BZ #14898]
14838         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14839         Change to -1.
14841 2012-12-07  David S. Miller  <davem@davemloft.net>
14843         * po/libc.pot: Update.
14845 2012-12-07  Richard Henderson  <rth@redhat.com>
14847         [BZ #10114]
14848         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14849         normal/normal case to before the switch.
14850         (_FP_DIV): Likewise.
14852 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14853             Mike Frysinger  <vapier@gentoo.org>
14855         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14856         check for __NR_fadvise64_64.
14858 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14860         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14861         0, not just to plain "0" as a statement.
14862         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14863         with cw.
14865 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14867         * NEWS: Use sourceware.org in Bugzilla URL.
14869 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14872         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14874         * stdio-common/tst-put-error.c (do_test): Add newline to the
14875         padded test to ensure flush.
14877 2012-12-05  Jeff Law  <law@redhat.com>
14879         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14881 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14883         * README: Don't refer to ports add-on as distributed separately.
14884         Mention AArch64 in list of systems supported in the ports add-on.
14886         * LICENSES: Add more non-FSF copyright and license notices.
14888         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14889         ((unused)).
14891         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14893         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14894         10000 as width of padded output.
14896 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14898         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14900         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14901         variable LX with __attribute__ ((unused)).
14902         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14903         Likewise.
14904         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14907         with __attribute__ ((unused)).
14909 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14911         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14913 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14915         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14916         (CFLAGS-nldbl-acos.c): New variable.
14917         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14918         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14919         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14920         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14921         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14922         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14923         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14924         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14925         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14926         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14927         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14928         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14929         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14930         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14931         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14932         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14933         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14934         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14935         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14936         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14937         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14938         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14939         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14940         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14941         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14942         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14943         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14944         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14945         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14946         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14947         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14948         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14949         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14950         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15016         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15018         [BZ #14914]
15019         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15020         whole low double instead of just low 47 bits when splitting values
15021         into two parts.
15023 2012-12-03  Allan McRae  <allan@archlinux.org>
15025         * manual/stdio.texi (Predefined Printf Handlers): Remove
15026         @hsep and @vsep usage.
15028 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15030         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15031         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15033 2012-12-03  Jeff Law  <law@redhat.com>
15035         * time/sys/time.h (settimeofday): Do not mark TV argument
15036         as __nonnull.
15038 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15040         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15041         when currently writing and seek to current position when not.
15042         * libio/Makefile (tests): Remove bug-fclose1.
15043         * libio/bug-fclose1.c: Delete.
15045 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15047         * manual/arith.texi (feenableexcept): Fix typo.
15048         (fedisableexcept): Likewise.
15050 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15052         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15053         second, differently-typed declaration, rather than a cast.
15055 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15057         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15058         * include/rpc/svc.h: ... here.
15060 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15062         [BZ #13013]
15063         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15064         depending n and resplen2 to catch cases where answer
15065         equals answerp2.
15067 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15069         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15070         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15072 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15074         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15076 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15078         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15080 2012-11-28  Jeff Law  <law@redhat.com>
15082         [BZ #13761]
15083         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15084         dataset_temporary.  Track alloca usage into alloca_used.
15085         If dataset is large allocate and release it via malloc/free.
15087 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15089         [BZ #14197]
15090         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15092 2012-11-28  David S. Miller  <davem@davemloft.net>
15094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15096 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15098         [BZ #14803]
15099         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15100         of pi/2 rounded to nearest to 64 bits.
15101         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15102         nearest to 64 bits.
15103         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15104         bits.
15106 2012-11-28  Jeff Law <law@redhat.com>
15107             Martin Osvald <mosvald@redhat.com>
15109         [BZ #14889]
15110         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15111         * sunrpc/svc.c: Include time.h.
15112         (__svc_accept_failed): New function.
15113         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15114         any reason other than EINTR, call __svc_accept_failed.
15115         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15116         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15118 2012-11-28  Andreas Schwab  <schwab@suse.de>
15120         * scripts/abilist.awk: Also handle indirect functions in .opd
15121         section.
15123 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15125         [BZ #13881]
15126         * sysdeps/x86/fpu/powl_helper.c: New file.
15127         * sysdeps/x86/fpu/Makefile: Likewise.
15128         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15129         (p3): New object.
15130         (__ieee754_powl): Use __powl_helper for finite arguments except
15131         integer exponents below 8.
15132         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15133         (p3): New object.
15134         (__ieee754_powl): Use __powl_helper for finite arguments except
15135         integer exponents below 8.
15136         * math/libm-test.inc (pow_test): Add more tests and enable some
15137         previously disabled tests.
15138         * sysdeps/i386/fpu/libm-test-ulps: Update.
15139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15142             Carlos O'Donell  <carlos_odonell@mentor.com>
15144         * nss/makedb.c (is_prime): Assert that input is odd and greater
15145         than 4.  Note that fact in a comment too.
15146         (next_prime): Add 4 to input.
15148 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15150         [BZ #11741]
15151         * libio/Makefile (tests): Add test case tst-fwrite-error.
15152         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15153         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15154         * libio/tst-fwrite-error.c: New test case.
15156 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15158         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15159         before casting to void *.
15160         * include/libc-internal.h (__pointer_type): New macro.
15161         (__integer_if_pointer_type_sub): Likewise.
15162         (__integer_if_pointer_type): Likewise.
15163         (cast_to_integer): Likewise.
15164         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15165         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15166         before casting to atomic64_t.
15167         (atomic_exchange_acq): Likewise.
15168         (__arch_exchange_and_add_body): Likewise.
15169         (__arch_add_body): Likewise.
15170         (atomic_add_negative): Likewise.
15171         (atomic_add_zero): Likewise.
15173 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15175         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15176         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15177         (add_fdes): Likewise.
15178         (linear_search_fdes): Likewise.
15179         (binary_search_unencoded_fdes): Likewise.
15181 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15183         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15185 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15187         * configure.in: Autodetect C++ header directories.
15188         * configure: Regenerated.
15190 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15192         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15194 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15198 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15200         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15201         LDBL_MANT_DIG == 106]: Disable some tests.
15202         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15203         Likewise.
15204         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15205         Likewise.
15207         [BZ #14871]
15208         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15209         input for small inputs.  Return +/- pi/2 for large inputs.
15210         * math/libm-test.inc (atan_test): Add more tests.
15212         * sysdeps/generic/unwind-dw2-fde-glibc.c
15213         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15214         __attribute__ ((unused)).
15216         [BZ #14645]
15217         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15218         x * y if x and y are nonzero and z is zero.
15220         [BZ #14811]
15221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15222         nonzero exponents with absolute value below 0x1p-117 to +/-
15223         0x1p-117.
15225         [BZ #14869]
15226         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15227         up arguments below 2**-450, not just those below 2**-500.
15228         * math/libm-test.inc (hypot_test): Add another test.
15230         [BZ #14868]
15231         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15232         Return a+b for ratio over 2**120, not 2**60.
15233         * math/libm-test.inc (hypot_test): Add another test.
15235         * math/libm-test.inc (clog_test): Use
15236         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15237         (clog10_test): Likewise.
15239         [BZ #6778]
15240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15242 2012-11-22  Andreas Schwab  <schwab@suse.de>
15244         * sysdeps/i386/fpu/libm-test-ulps: Update.
15246 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15248         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15249         printf output with newline.
15251 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15253         [BZ #14865]
15254         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15255         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15256         -z nodlopen, -z initfirst and -z execstack support.
15257         * configure: Regenerated.
15259         * elf/elf.h (DF_1_NODIRECT): New macro.
15260         (DF_1_IGNMULDEF): Likewise.
15261         (DF_1_NOKSYMS): Likewise.
15262         (DF_1_NOHDR): Likewise.
15263         (DF_1_EDITED): Likewise.
15264         (DF_1_NORELOC): Likewise.
15265         (DF_1_SYMINTPOSE): Likewise.
15266         (DF_1_GLOBAUDIT): Likewise.
15267         (DF_1_SINGLETON): Likewise.
15268         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15269         DT_1_SUPPORTED_MASK bits.
15270         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15272 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15274         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15276 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15278         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15279         macro.
15281         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15282         (sendmmsg): Move declarations...
15283         * socket/sys/socket.h: ... here.
15284         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15285         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15286         include it from...
15287         * socket/recvmmsg.c: ... this new file.
15288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15289         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15290         definition of __sendmmsg hidden.
15291         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15292         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15293         Move ENOSYS stub into and include it from...
15294         * socket/sendmmsg.c: ... this new file.
15295         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15296         (sysdep_routines): Move recvmmsg and sendmmsg...
15297         * socket/Makefile (routines): ... here.
15298         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15299         (GLIBC_PRIVATE): Add __sendmmsg.
15300         * include/sys/socket.h (__sendmmsg): Add declarations.
15301         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15302         sendmmsg.
15304 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15306         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15307         variable I1 with __attribute__ ((unused)).
15308         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15310 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15312         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15313         DUMMY variables with __attribute__ ((unused)).
15315         * bits/byteswap.h: Include <bits/types.h>.
15316         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15318 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15320         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15321         string_t.  Do not manually set errno.
15322         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15323         length with __strnlen.  Make sure to both set errno and return it on
15324         failure.
15326 2012-11-19  David S. Miller  <davem@davemloft.net>
15328         With help from Joseph Myers.
15329         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15330         very large arguments properly.
15331         * math/libm-test.inc (atan_test): New tests.
15332         (atan2_test): New tests.
15333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15336 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #14856]
15339         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15340         Define to 3.
15342         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15343         [POSIX] (EADDRNOTAVAIL): Likewise.
15344         [POSIX] (EAFNOSUPPORT): Likewise.
15345         [POSIX] (EALREADY): Likewise.
15346         [POSIX] (ECONNABORTED): Likewise.
15347         [POSIX] (ECONNREFUSED): Likewise.
15348         [POSIX] (ECONNRESET): Likewise.
15349         [POSIX] (EDESTADDRREQ): Likewise.
15350         [POSIX] (EDQUOT): Likewise.
15351         [POSIX] (EHOSTUNREACH): Likewise.
15352         [POSIX] (EIDRM): Likewise.
15353         [POSIX] (EISCONN): Likewise.
15354         [POSIX] (ELOOP): Likewise.
15355         [POSIX] (EMULTIHOP): Likewise.
15356         [POSIX] (ENETDOWN): Likewise.
15357         [POSIX] (ENETUNREACH): Likewise.
15358         [POSIX] (ENOBUFS): Likewise.
15359         [POSIX] (ENODATA): Likewise.
15360         [POSIX] (ENOLINK): Likewise.
15361         [POSIX] (ENOMSG): Likewise.
15362         [POSIX] (ENOPROTOOPT): Likewise.
15363         [POSIX] (ENOSR): Likewise.
15364         [POSIX] (ENOSTR): Likewise.
15365         [POSIX] (ENOTCONN): Likewise.
15366         [POSIX] (ENOTSOCK): Likewise.
15367         [POSIX] (EOPNOTSUPP): Likewise.
15368         [POSIX] (EOVERFLOW): Likewise.
15369         [POSIX] (EPROTO): Likewise.
15370         [POSIX] (EPROTONOSUPPORT): Likewise.
15371         [POSIX] (EPROTOTYPE): Likewise.
15372         [POSIX] (ESTALE): Likewise.
15373         [POSIX] (ETIME): Likewise.
15374         [POSIX] (ETXTBSY): Likewise.
15375         [POSIX] (EWOULDBLOCK): Likewise.
15376         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15377         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15378         [POSIX] (SEEK_CUR): Likewise.
15379         [POSIX] (SEEK_END): Likewise.
15380         [POSIX || UNIX98] (mode_t): Do not require.
15381         [POSIX] (off_t): Likewise.
15382         [POSIX] (pid_t): Likewise.
15383         [POSIX] (sys/stat.h): Do not allow header.
15384         [POSIX] (unistd.h): Likewise.
15385         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15386         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15387         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15388         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15389         require.
15390         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15391         sigevent): Specify elements.
15392         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15393         entry.
15394         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15395         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15397         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15398         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15399         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15400         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15401         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15402         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15403         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15404         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15405         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15406         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15407         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15408         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15409         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15410         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15411         Likewise.
15412         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15413         Likewise.
15414         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15415         Likewise.
15416         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15417         Likewise.
15418         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15419         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15420         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15421         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15422         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15423         Specify lower bound on value.
15424         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15425         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15427         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15428         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15429         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15430         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15431         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15432         value.
15433         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15434         as optional.
15435         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15436         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15442         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15443         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15448         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15449         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15450         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15451         entry.
15452         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15453         optional.
15454         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15460         Likewise.
15461         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15463         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15464         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15465         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15466         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15467         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15468         as optional.
15469         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15473         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15474         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15475         specify as optional.
15476         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15479         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15480         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15481         [XPG3] (NL_LANGMAX): Likewise.
15482         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15483         [POSIX || XPG3] (NL_NMAX): Likewise.
15484         [POSIX || XPG3] (NL_SETMAX): Likewise.
15485         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15486         [XPG3] (NZERO): Likewise.
15487         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15488         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15489         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15490         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15491         (REG_ERANGE): Expect.
15492         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15493         optional-constant.
15494         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15495         Use (void) in prototype.
15496         [POSIX] (*_t): Allow.
15497         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15498         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15499         (WRDE_BADVAL): Expect.
15501         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15502         expect.
15503         [XPG3 || XPG4] (O_RSYNC): Likewise.
15504         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15505         Likewise.
15506         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15507         [XPG3 || XPG4] (sigqueue): Likewise.
15508         [XPG3 || XPG4] (sigtimedwait): Likewise.
15509         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15510         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15511         [XPG3 || XPG4] (vsnprintf): Likewise.
15512         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15513         Likewise.
15514         [XPG3 || XPG4] (blksize_t): Likewise.
15515         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15516         Likewise.
15517         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15518         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15519         [XPG3 || XPG4] (struct itimerspec): Likewise.
15520         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15521         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15522         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15523         [XPG3 || XPG4] (clockid_t): Likewise.
15524         [XPG3 || XPG4] (timer_t): Likewise.
15525         [XPG3 || XPG4] (clock_getres): Likewise.
15526         [XPG3 || XPG4] (clock_gettime): Likewise.
15527         [XPG3 || XPG4] (clock_settime): Likewise.
15528         [XPG3 || XPG4] (nanosleep): Likewise.
15529         [XPG3 || XPG4] (timer_create): Likewise.
15530         [XPG3 || XPG4] (timer_delete): Likewise.
15531         [XPG3 || XPG4] (timer_gettime): Likewise.
15532         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15533         [XPG3 || XPG4] (timer_settime): Likewise.
15534         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15535         [XPG3 || XPG4] (getlogin_r): Likewise.
15536         [XPG3 || XPG4] (pread): Likewise.
15537         [XPG3 || XPG4] (pthread_atfork): Likewise.
15538         [XPG3 || XPG4] (pwrite): Likewise.
15540         [BZ #14835]
15541         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15542         <bits/siginfo.h>.
15544 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15546         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15547         finalizing MALLSTREAM.
15549         * sysdeps/mach/hurd/syncfs.c: New file.
15551 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15553         [BZ #14719]
15554         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15555         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15556         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15557         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15558         (_nss_dns_gethostbyname4_r): Likewise.
15559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15560         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15562 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15564         [BZ #13763]
15565         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15567 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15569         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15570         * elf/cache.c (print_entry): Print ",AArch64" for
15571         FLAG_AARCH64_LIB64
15573         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15574         * elf/cache.c (print_entry): Print ",hard-float" for
15575         FLAG_ARM_LIBHF.
15577 2012-11-18  David S. Miller  <davem@davemloft.net>
15579         With help from Joseph Myers.
15580         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15581         cutoff to 2**-13.
15582         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15583         cutoff to 2**-25.
15584         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15585         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15586         small.
15587         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15588         * math/libm-test.inc (y0_test): New tests.
15589         (y1_test): New tests.
15590         * sysdeps/i386/fpu/libm-test-ulps: Update.
15591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15594 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15596         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15597         64-bit targets.
15598         * configure: Regenerated.
15600 2012-11-17  David S. Miller  <davem@davemloft.net>
15602         [BZ #14811]
15603         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15604         nonzero exponents with absolute value below 0x1p-128 to +/-
15605         0x1p-128.
15607 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15609         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15611         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15613         * posix/getconf-speclist.c: New file.
15614         * posix/posix-envs.def: Likewise.
15615         * posix/confstr.c (START_ENV_GROUP): New macro.
15616         (END_ENV_GROUP): Likewise.
15617         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15618         (KNOWN_PRESENT_ENV_STRING): Likewise.
15619         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15620         (UNKNOWN_ENVIRONMENT): Likewise.
15621         (confstr): Include posix-envs.def instead of handling
15622         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15623         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15624         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15625         (END_ENV_GROUP): Likewise.
15626         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15627         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15628         (UNKNOWN_ENVIRONMENT): Likewise.
15629         (__sysconf): Include posix-envs.def instead of handling associated
15630         cases directly here.
15631         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15632         preprocessing getconf-speclist.c rather than running getconf or
15633         generating empty file.
15635 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15637         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15639 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15641         [BZ #14672]
15642         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15644 2012-11-16  David S. Miller  <davem@davemloft.net>
15646         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15647         smaller than LDBL_EPSILON/2.0L, just return xm1.
15649 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15651         * elf/tst-array1.c (init): Set constructor priority to 1000.
15652         (fini): Set destructor priority to 1000.
15653         * elf/tst-array2dep.c: Likewise.
15655 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15657         [BZ #11741]
15658         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15659         (_IO_new_file_xsputn): Also return EOF if none of the input
15660         data was written when overflow failed.
15661         * libio/iopadn.c (_IO_padn): Likewise.
15662         * libio/iowpadn.c (_IO_wpadn): Likewise.
15663         * stdio-common/tst-put-error.c: Add copyright notice.
15664         (do_test): Add case for printing padded string.
15665         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15666         _IO_padn returned error.
15667         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15668         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15669         return EOF.
15671 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15673         * libio/libioP.h: Add comment note that the references to C++
15674         bits are now obsolete.
15676 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15678         * math/libm-test.inc (check_complex): Use asprintf.
15680 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15682         * debug/pcprofiledump.c (print_version): Update copyright year.
15683         * malloc/memusagestat.c (print_version): Likewise.
15685 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15687         [BZ #14831]
15688         * elf/Makefile (tests): Add tst-audit8.
15689         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15690         ($(objpfx)tst-audit8.out): New target.
15691         (tst-audit8-ENV): New variable.
15692         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15693         audit if l_reloc_result is NULL.
15694         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15695         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15696         * elf/tst-audit8.c: New file.
15698 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15700         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15701         * misc/Makefile (CFLAGS-select.c): Define.
15702         * posix/Makefile (CFLAGS-pause.c): Define.
15704 2012-11-13  David S. Miller  <davem@davemloft.net>
15706         * crypt/Makefile: Move test targets after toplevel Rules
15707         inclusion.  Grab any necessary sysdep routines when linking.
15708         * crypt/md5.c (md5_process_block): Remove define, we will always
15709         name it __md5_process_block.
15710         (md5_finish_ctx): Update md5_process_block call.
15711         (md5_stream): Likewise.
15712         (md5_process_bytes): Likewise.
15713         (md5_process_block): Rename to __md5_process_block and move to ...
15714         * crypt/md5-block.c: ... here.
15715         * crypt/sha256.c (sha256_process_block): Move to ...
15716         * crypt/sha256-block.c: ... here.
15717         * crypt/sha512.c (sha512_process_block): Move to ...
15718         * crypt/sha512-block.c: ... here.
15719         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15720         path.
15721         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15722         * sysdeps/sparc/sparc64/multiarch/Makefile
15723         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15724         crypt subdir.
15725         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15726         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15727         multiarch changes.
15728         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15729         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15730         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15731         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15732         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15733         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15734         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15735         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15736         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15737         file.
15738         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15739         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15740         file.
15741         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15743 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15745         * timezone/tzselect.ksh: Update from tzcode git revision
15746         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15747         * timezone/zdump.c: Likewise.
15748         * timezone/zic.c: Likewise.
15749         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15750         in TZVERSION setting, not $(PKGVERSION).
15751         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15752         REPORT_BUGS_TO settings.
15754         [BZ #14838]
15755         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15756         macro.
15758 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15760         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15761         detection to immediately after _FP_ROUND().
15762         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15763         bits are 0.
15765 2012-11-11  David S. Miller  <davem@davemloft.net>
15767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15768         inttypes.h
15769         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15770         __close rather than their public counterparts.
15772 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15774         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15775         file.
15776         [UNIX98] (sem_timedwait): Do not expect.
15777         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15778         [XPG4 || UNIX98] (sockatmark): Do not expect.
15779         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15780         (clock_getcpuclockid): Do not expect.
15781         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15782         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15783         Do not expect.
15784         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15785         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15786         [UNIX98] (vwscanf): Likewise.
15787         [UNIX98] (vswscanf): Likewise.
15789 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15791         * timezone/version.h: Remove file.
15792         * timezone/README: Do not refer to version.h.
15793         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15794         $(objpfx)version.h.
15795         ($(objpfx)zdump.o): Likewise.
15796         ($(objpfx)version.h): New target.
15798         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15799         2012i.
15800         * timezone/README: Don't mention modification to tzselect.ksh.
15801         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15802         work on unmodified tzselect.ksh.  Substitute version numbers in
15803         tzselect.ksh.
15805         * Makefile (format-me): Remove.
15806         (INSTALL): Adjust indentation.  Use commands directly instead of
15807         using $(format-me).
15809         * aclocal.m4 (ACX_PKGVERSION): New macro.
15810         (ACX_BUGURL): Likewise.
15811         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15812         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15813         (REPORT_BUGS_TO): Likewise.
15814         * configure: Regenerated.
15815         * config.h.in (PKGVERSION): New macro.
15816         (REPORT_BUGS_TO): Likewise.
15817         * config.make.in (PKGVERSION): New variable.
15818         (PKGVERSION_TEXI): Likewise.
15819         (REPORT_BUGS_TO): Likewise.
15820         (REPORT_BUGS_TEXI): Likewise.
15821         * Makefile (format-me): Use -I$(common-objpfx)manual.
15822         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15823         ($(common-objpfx)manual/%): New target.
15824         (manual/%): Remove target.
15825         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15826         (print_version): Use PKGVERSION.
15827         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15828         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15829         and REPORT_BUGS_TO.
15830         ($(objpfx)xtrace): Likewise.
15831         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15832         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15833         (print_version): Use PKGVERSION.
15834         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15835         (do_version): Use PKGVERSION.
15836         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15837         REPORT_BUGS_TO.
15838         (common-ldd-rewrite): Likewise.
15839         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15840         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15841         (print_version): Use PKGVERSION.
15842         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15843         * elf/pldd.c (argp_program_bug_address): Remove variable.
15844         (more_help): New function.
15845         (argp): Use more_help.
15846         (print_version): Use PKGVERSION.
15847         * elf/sln.c (main): Use PKGVERSION.
15848         (usage): Use REPORT_BUGS_TO.
15849         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15850         (top level): Use PKGVERSION.
15851         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15852         (print_version): Use PKGVERSION.
15853         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15854         (print_version): Use PKGVERSION.
15855         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15856         (print_version): Use PKGVERSION.
15857         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15858         (print_version): Use PKGVERSION.
15859         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15860         (print_version): Use PKGVERSION.
15861         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15862         (print_version): Use PKGVERSION.
15863         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15864         and BUGURL.
15865         ($(objpfx)memusage): Likewise.
15866         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15867         (do_version): Use PKGVERSION.
15868         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15869         (print_version): Use PKGVERSION.
15870         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15871         ($PKGVERSION): New variable.
15872         ($REPORT_BUGS_TO): Likewise.
15873         (usage): Use $REPORT_BUGS_TO.
15874         (top level): Use $PKGVERSION.
15875         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15876         ($(objpfx)pkgvers.texi): New rule.
15877         ($(objpfx)stamp-pkgvers): Likewise.
15878         * manual/install.texi: Include pkgvers.texi.
15879         (--with-pkgversion): Document new configure option.
15880         (--with-bugurl): Likewise.
15881         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15882         than necessarily for this particular distribution.  Use
15883         REPORT_BUGS_TO for where to report bugs.
15884         * INSTALL: Regenerated.
15885         * manual/libc.texinfo: Include pkgvers.texi.
15886         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15887         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15888         (print_version): Use PKGVERSION.
15889         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15890         (print_version): Use PKGVERSION.
15891         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15892         (print_version): Use PKGVERSION.
15893         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15894         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15895         macro.
15896         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15897         (print_version): Use PKGVERSION.
15898         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15899         (print_version): Use PKGVERSION.
15900         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15901         and PKGVERSION.
15903         * timezone/checktab.awk: Update from tzcode 2012i.
15904         * timezone/ialloc.c: Likewise.
15905         * timezone/private.h: Likewise.
15906         * timezone/scheck.c: Likewise.
15907         * timezone/tzfile.h: Likewise.
15908         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15909         (TZVERSION): Hardcode tzcode version number.
15910         * timezone/zdump.c: Update from tzcode 2012i.
15911         * timezone/zic.c: Likewise.
15912         * timezone/version.h: New file.
15913         * timezone/README: Describe version.h.  Update upstream location.
15915         [BZ #14824]
15916         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15917         (mktemp): Enable declaration.
15918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15922         Likewise.
15923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15924         Likewise.
15925         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15926         Likewise.
15927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15928         Likewise.
15929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15930         Likewise.
15931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15932         Likewise.
15934         [BZ #14821]
15935         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15936         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15937         for copies of such integer values.
15938         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15939         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15941 2012-11-09  Andreas Jaeger  <aj@suse.de>
15943         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15944         definitions and declarations that are provided by
15945         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15947 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15949         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15950         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15951         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15952         definition.
15954 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15956         * elf/elf.h: Update comment before AArch64 relocations.
15958 2012-11-07  David S. Miller  <davem@davemloft.net>
15960         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15961         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15962         (__start_context): Declare.
15963         (__makecontext_ret): Delete.
15964         (__makecontext): Hook up __start_context instead of
15965         __makecontext_ret.
15966         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15967         (sysdep_routines): Add __start_context when in stdlib.
15969 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15971         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15972         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15973         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15974         hardcoded "nm".
15975         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15976         (READELF): New variable.  Use it instead of hardcoded "readelf".
15978 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15980         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15981         * sysdeps/x86/Makefile: Here.
15982         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15983         * sysdeps/x86/tst-xmmymm.sh: This.
15985 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15987         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15988         expectations.
15989         [UNIX98] (pthread_barrier_t): Do not expect.
15990         [UNIX98] (pthread_barrierattr_t): Likewise.
15991         [UNIX98] (pthread_spinlock_t): Likewise.
15992         [UNIX98] (pthread_barrier_destroy): Likewise.
15993         [UNIX98] (pthread_barrier_init): Likewise.
15994         [UNIX98] (pthread_barrier_wait): Likewise.
15995         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15996         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15997         [UNIX98] (pthread_barrierattr_init): Likewise.
15998         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15999         [UNIX98] (pthread_getcpuclockid): Likewise.
16000         [UNIX98] (pthread_mutex_timedlock): Likewise.
16001         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16002         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16003         [UNIX98] (pthread_sigmask): Likewise.
16004         [UNIX98] (pthread_spin_destroy): Likewise.
16005         [UNIX98] (pthread_spin_init): Likewise.
16006         [UNIX98] (pthread_spin_lock): Likewise.
16007         [UNIX98] (pthread_spin_trylock): Likewise.
16008         [UNIX98] (pthread_spin_unlock): Likewise.
16009         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16010         Do not expect.
16011         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16012         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16013         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16014         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16015         [XPG3 || XPG4] (pthread_key_t): Likewise.
16016         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16017         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16018         [XPG3 || XPG4] (pthread_once_t): Likewise.
16019         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16020         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16021         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16022         [XPG3 || XPG4] (pthread_t): Likewise.
16024         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16025         not expect.
16026         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16028         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16029         Change function return type to int.
16031         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16032         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16033         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16034         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16035         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16036         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16037         [!POSIX] (posix_madvise): Likewise.
16038         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16039         && !UNIX98].
16040         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16041         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16042         (mode_t): Likewise.
16043         (posix_mem_offset): Likewise.
16044         (posix_typed_mem_get_info): Likewise.
16045         (posix_typed_mem_open): Likewise.
16047         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16048         Change condition to [XOPEN2K8].
16050         * conform/conformtest.pl: Preprocess allow-header data with -x c
16051         instead of from stdin.
16052         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16053         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16054         [C99-based standards] (cerfc): Likewise.
16055         [C99-based standards] (cexp2): Likewise.
16056         [C99-based standards] (cexpm1): Likewise.
16057         [C99-based standards] (clog10): Likewise.
16058         [C99-based standards] (clog1p): Likewise.
16059         [C99-based standards] (clog2): Likewise.
16060         [C99-based standards] (clgamma): Likewise.
16061         [C99-based standards] (ctgamma): Likewise.
16062         [C99-based standards] (cerff): Likewise.
16063         [C99-based standards] (cerfcf): Likewise.
16064         [C99-based standards] (cexp2f): Likewise.
16065         [C99-based standards] (cexpm1f): Likewise.
16066         [C99-based standards] (clog10f): Likewise.
16067         [C99-based standards] (clog1pf): Likewise.
16068         [C99-based standards] (clog2f): Likewise.
16069         [C99-based standards] (clgammaf): Likewise.
16070         [C99-based standards] (ctgammaf): Likewise.
16071         [C99-based standards] (cerfl): Likewise.
16072         [C99-based standards] (cerfcl): Likewise.
16073         [C99-based standards] (cexp2l): Likewise.
16074         [C99-based standards] (cexpm1l): Likewise.
16075         [C99-based standards] (clog10l): Likewise.
16076         [C99-based standards] (clog1pl): Likewise.
16077         [C99-based standards] (clog2l): Likewise.
16078         [C99-based standards] (clgammal): Likewise.
16079         [C99-based standards] (ctgammal): Likewise.
16080         * conform/data/inttypes.h-data [C99-based standards]: Include
16081         stdint.h-data.  Remove all expectations for stdint.h contents.
16082         [C99-based standards] (PRI*): Do not allow.
16083         [C99-based standards] (SCN*): Likewise.
16084         [C99-based standards] (*_t): Likewise.
16085         [C99-based-standards] (PRId8): Expect macro.
16086         [C99-based-standards] (PRIi8): Likewise.
16087         [C99-based-standards] (PRIo8): Likewise.
16088         [C99-based-standards] (PRIu8): Likewise.
16089         [C99-based-standards] (PRIx8): Likewise.
16090         [C99-based-standards] (PRIX8): Likewise.
16091         [C99-based-standards] (SCNd8): Likewise.
16092         [C99-based-standards] (SCNi8): Likewise.
16093         [C99-based-standards] (SCNo8): Likewise.
16094         [C99-based-standards] (SCNu8): Likewise.
16095         [C99-based-standards] (SCNx8): Likewise.
16096         [C99-based-standards] (PRIdLEAST8): Likewise.
16097         [C99-based-standards] (PRIiLEAST8): Likewise.
16098         [C99-based-standards] (PRIoLEAST8): Likewise.
16099         [C99-based-standards] (PRIuLEAST8): Likewise.
16100         [C99-based-standards] (PRIxLEAST8): Likewise.
16101         [C99-based-standards] (PRIXLEAST8): Likewise.
16102         [C99-based-standards] (SCNdLEAST8): Likewise.
16103         [C99-based-standards] (SCNiLEAST8): Likewise.
16104         [C99-based-standards] (SCNoLEAST8): Likewise.
16105         [C99-based-standards] (SCNuLEAST8): Likewise.
16106         [C99-based-standards] (SCNxLEAST8): Likewise.
16107         [C99-based-standards] (PRIdFAST8): Likewise.
16108         [C99-based-standards] (PRIiFAST8): Likewise.
16109         [C99-based-standards] (PRIoFAST8): Likewise.
16110         [C99-based-standards] (PRIuFAST8): Likewise.
16111         [C99-based-standards] (PRIxFAST8): Likewise.
16112         [C99-based-standards] (PRIXFAST8): Likewise.
16113         [C99-based-standards] (SCNdFAST8): Likewise.
16114         [C99-based-standards] (SCNiFAST8): Likewise.
16115         [C99-based-standards] (SCNoFAST8): Likewise.
16116         [C99-based-standards] (SCNuFAST8): Likewise.
16117         [C99-based-standards] (SCNxFAST8): Likewise.
16118         [C99-based-standards] (PRId16): Likewise.
16119         [C99-based-standards] (PRIi16): Likewise.
16120         [C99-based-standards] (PRIo16): Likewise.
16121         [C99-based-standards] (PRIu16): Likewise.
16122         [C99-based-standards] (PRIx16): Likewise.
16123         [C99-based-standards] (PRIX16): Likewise.
16124         [C99-based-standards] (SCNd16): Likewise.
16125         [C99-based-standards] (SCNi16): Likewise.
16126         [C99-based-standards] (SCNo16): Likewise.
16127         [C99-based-standards] (SCNu16): Likewise.
16128         [C99-based-standards] (SCNx16): Likewise.
16129         [C99-based-standards] (PRIdLEAST16): Likewise.
16130         [C99-based-standards] (PRIiLEAST16): Likewise.
16131         [C99-based-standards] (PRIoLEAST16): Likewise.
16132         [C99-based-standards] (PRIuLEAST16): Likewise.
16133         [C99-based-standards] (PRIxLEAST16): Likewise.
16134         [C99-based-standards] (PRIXLEAST16): Likewise.
16135         [C99-based-standards] (SCNdLEAST16): Likewise.
16136         [C99-based-standards] (SCNiLEAST16): Likewise.
16137         [C99-based-standards] (SCNoLEAST16): Likewise.
16138         [C99-based-standards] (SCNuLEAST16): Likewise.
16139         [C99-based-standards] (SCNxLEAST16): Likewise.
16140         [C99-based-standards] (PRIdFAST16): Likewise.
16141         [C99-based-standards] (PRIiFAST16): Likewise.
16142         [C99-based-standards] (PRIoFAST16): Likewise.
16143         [C99-based-standards] (PRIuFAST16): Likewise.
16144         [C99-based-standards] (PRIxFAST16): Likewise.
16145         [C99-based-standards] (PRIXFAST16): Likewise.
16146         [C99-based-standards] (SCNdFAST16): Likewise.
16147         [C99-based-standards] (SCNiFAST16): Likewise.
16148         [C99-based-standards] (SCNoFAST16): Likewise.
16149         [C99-based-standards] (SCNuFAST16): Likewise.
16150         [C99-based-standards] (SCNxFAST16): Likewise.
16151         [C99-based-standards] (PRId32): Likewise.
16152         [C99-based-standards] (PRIi32): Likewise.
16153         [C99-based-standards] (PRIo32): Likewise.
16154         [C99-based-standards] (PRIu32): Likewise.
16155         [C99-based-standards] (PRIx32): Likewise.
16156         [C99-based-standards] (PRIX32): Likewise.
16157         [C99-based-standards] (SCNd32): Likewise.
16158         [C99-based-standards] (SCNi32): Likewise.
16159         [C99-based-standards] (SCNo32): Likewise.
16160         [C99-based-standards] (SCNu32): Likewise.
16161         [C99-based-standards] (SCNx32): Likewise.
16162         [C99-based-standards] (PRIdLEAST32): Likewise.
16163         [C99-based-standards] (PRIiLEAST32): Likewise.
16164         [C99-based-standards] (PRIoLEAST32): Likewise.
16165         [C99-based-standards] (PRIuLEAST32): Likewise.
16166         [C99-based-standards] (PRIxLEAST32): Likewise.
16167         [C99-based-standards] (PRIXLEAST32): Likewise.
16168         [C99-based-standards] (SCNdLEAST32): Likewise.
16169         [C99-based-standards] (SCNiLEAST32): Likewise.
16170         [C99-based-standards] (SCNoLEAST32): Likewise.
16171         [C99-based-standards] (SCNuLEAST32): Likewise.
16172         [C99-based-standards] (SCNxLEAST32): Likewise.
16173         [C99-based-standards] (PRIdFAST32): Likewise.
16174         [C99-based-standards] (PRIiFAST32): Likewise.
16175         [C99-based-standards] (PRIoFAST32): Likewise.
16176         [C99-based-standards] (PRIuFAST32): Likewise.
16177         [C99-based-standards] (PRIxFAST32): Likewise.
16178         [C99-based-standards] (PRIXFAST32): Likewise.
16179         [C99-based-standards] (SCNdFAST32): Likewise.
16180         [C99-based-standards] (SCNiFAST32): Likewise.
16181         [C99-based-standards] (SCNoFAST32): Likewise.
16182         [C99-based-standards] (SCNuFAST32): Likewise.
16183         [C99-based-standards] (SCNxFAST32): Likewise.
16184         [C99-based-standards] (PRId64): Likewise.
16185         [C99-based-standards] (PRIi64): Likewise.
16186         [C99-based-standards] (PRIo64): Likewise.
16187         [C99-based-standards] (PRIu64): Likewise.
16188         [C99-based-standards] (PRIx64): Likewise.
16189         [C99-based-standards] (PRIX64): Likewise.
16190         [C99-based-standards] (SCNd64): Likewise.
16191         [C99-based-standards] (SCNi64): Likewise.
16192         [C99-based-standards] (SCNo64): Likewise.
16193         [C99-based-standards] (SCNu64): Likewise.
16194         [C99-based-standards] (SCNx64): Likewise.
16195         [C99-based-standards] (PRIdLEAST64): Likewise.
16196         [C99-based-standards] (PRIiLEAST64): Likewise.
16197         [C99-based-standards] (PRIoLEAST64): Likewise.
16198         [C99-based-standards] (PRIuLEAST64): Likewise.
16199         [C99-based-standards] (PRIxLEAST64): Likewise.
16200         [C99-based-standards] (PRIXLEAST64): Likewise.
16201         [C99-based-standards] (SCNdLEAST64): Likewise.
16202         [C99-based-standards] (SCNiLEAST64): Likewise.
16203         [C99-based-standards] (SCNoLEAST64): Likewise.
16204         [C99-based-standards] (SCNuLEAST64): Likewise.
16205         [C99-based-standards] (SCNxLEAST64): Likewise.
16206         [C99-based-standards] (PRIdFAST64): Likewise.
16207         [C99-based-standards] (PRIiFAST64): Likewise.
16208         [C99-based-standards] (PRIoFAST64): Likewise.
16209         [C99-based-standards] (PRIuFAST64): Likewise.
16210         [C99-based-standards] (PRIxFAST64): Likewise.
16211         [C99-based-standards] (PRIXFAST64): Likewise.
16212         [C99-based-standards] (SCNdFAST64): Likewise.
16213         [C99-based-standards] (SCNiFAST64): Likewise.
16214         [C99-based-standards] (SCNoFAST64): Likewise.
16215         [C99-based-standards] (SCNuFAST64): Likewise.
16216         [C99-based-standards] (SCNxFAST64): Likewise.
16217         [C99-based-standards] (PRIdMAX): Likewise.
16218         [C99-based-standards] (PRIiMAX): Likewise.
16219         [C99-based-standards] (PRIoMAX): Likewise.
16220         [C99-based-standards] (PRIuMAX): Likewise.
16221         [C99-based-standards] (PRIxMAX): Likewise.
16222         [C99-based-standards] (PRIXMAX): Likewise.
16223         [C99-based-standards] (SCNdMAX): Likewise.
16224         [C99-based-standards] (SCNiMAX): Likewise.
16225         [C99-based-standards] (SCNoMAX): Likewise.
16226         [C99-based-standards] (SCNuMAX): Likewise.
16227         [C99-based-standards] (SCNxMAX): Likewise.
16228         [C99-based-standards] (PRIdPTR): Likewise.
16229         [C99-based-standards] (PRIiPTR): Likewise.
16230         [C99-based-standards] (PRIoPTR): Likewise.
16231         [C99-based-standards] (PRIuPTR): Likewise.
16232         [C99-based-standards] (PRIxPTR): Likewise.
16233         [C99-based-standards] (PRIXPTR): Likewise.
16234         [C99-based-standards] (SCNdPTR): Likewise.
16235         [C99-based-standards] (SCNiPTR): Likewise.
16236         [C99-based-standards] (SCNoPTR): Likewise.
16237         [C99-based-standards] (SCNuPTR): Likewise.
16238         [C99-based-standards] (SCNxPTR): Likewise.
16239         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16240         allow.
16241         * conform/data/stdint.h-data: Update comments to clarify
16242         requirements.
16243         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16244         type.
16245         [C99-based standards] (INT8_MAX): Likewise.
16246         [C99-based standards] (INT16_MIN): Likewise.
16247         [C99-based standards] (INT16_MAX): Likewise.
16248         [C99-based standards] (INT32_MIN): Likewise.
16249         [C99-based standards] (INT32_MAX): Likewise.
16250         [C99-based standards] (INT64_MIN): Likewise.
16251         [C99-based standards] (INT64_MAX): Likewise.
16252         [C99-based standards] (UINT8_MAX): Likewise.
16253         [C99-based standards] (UINT16_MAX): Likewise.
16254         [C99-based standards] (UINT32_MAX): Likewise.
16255         [C99-based standards] (UINT64_MAX): Likewise.
16256         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16257         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16258         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16259         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16260         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16261         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16262         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16263         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16264         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16265         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16266         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16267         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16268         [C99-based standards] (INT_FAST8_MIN): Likewise.
16269         [C99-based standards] (INT_FAST8_MAX): Likewise.
16270         [C99-based standards] (INT_FAST16_MIN): Likewise.
16271         [C99-based standards] (INT_FAST16_MAX): Likewise.
16272         [C99-based standards] (INT_FAST32_MIN): Likewise.
16273         [C99-based standards] (INT_FAST32_MAX): Likewise.
16274         [C99-based standards] (INT_FAST64_MIN): Likewise.
16275         [C99-based standards] (INT_FAST64_MAX): Likewise.
16276         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16277         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16278         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16279         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16280         [C99-based standards] (INTPTR_MIN): Likewise.
16281         [C99-based standards] (INTPTR_MAX): Likewise.
16282         [C99-based standards] (UINTPTR_MAX): Likewise.
16283         [C99-based standards] (INTMAX_MIN): Likewise.
16284         [C99-based standards] (INTMAX_MAX): Likewise.
16285         [C99-based standards] (UINTMAX_MAX): Likewise.
16286         [C99-based standards] (PTRDIFF_MIN): Likewise.
16287         [C99-based standards] (PTRDIFF_MAX): Likewise.
16288         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16289         [C99-based standards] (SIZE_MAX): Likewise.
16290         [C99-based standards] (WCHAR_MAX): Likewise.
16291         [C99-based standards] (WINT_MAX): Likewise.
16292         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16293         constraint on value.
16294         [C99-based standards] (WCHAR_MIN): Likewise.
16295         [C99-based standards] (WINT_MIN): Likewise.
16296         [C99-based standards] (*_t): Allow.
16297         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16298         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16299         Include math.h-data and complex.h-data.  Remove all expectations
16300         of math.h and complex.h contents.
16301         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16302         at end of line.
16303         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16304         (struct tm): Expect tag.
16305         [C99-based-standards] (wcstof): Expect function.
16306         [C99-based-standards] (wcstold): Likewise.
16307         [C99-based-standards] (wcstoll): Likewise.
16308         [C99-based-standards] (wcstoull): Likewise.
16309         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16310         macro-int-constant.  Specify type.
16311         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16312         constraint on value.
16313         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16314         Specify type.
16315         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16316         Specify value.
16317         [ISO C standards]: Do not allow headers.
16318         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16319         wcs[abcdefghijklmnopqrstuvwxyz]*.
16320         [ISO C standards] (*_t): Do not allow.
16321         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16322         Expect function.
16323         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16324         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16325         Specify type.
16326         [ISO C standards]: Do not allow headers.
16327         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16328         is[abcdefghijklmnopqrstuvwxyz]*.
16329         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16330         to[abcdefghijklmnopqrstuvwxyz]*.
16331         [ISO C standards] (*_t): Do not allow.
16332         * conform/data/stdalign.h-data: New file.
16333         * conform/data/stdbool.h-data: Likewise.
16334         * conform/data/stdnoreturn.h-data: Likewise.
16336 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16338         [BZ #14815]
16339         * manual/filesys.texi (Directory Entries): Typo fix.
16340         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16342 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16344         * elf/elf.h (EM_AARCH64): New macro.
16345         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16346         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16347         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16348         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16349         (R_AARCH64_TLSDESC): Likewise.
16350         (NT_ARM_TLS): Likewise.
16351         (NT_ARM_HW_BREAK): Likewise.
16352         (NT_ARM_HW_WATCH): Likewise.
16354 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16356         [BZ #14811]
16357         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16358         (__ieee754_powl): Saturate nonzero exponents with absolute value
16359         below 0x1p-79 to +/- 0x1p-79.
16360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16361         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16362         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16363         nonzero exponents with absolute value below 0x1p-32 to +/-
16364         0x1p-32.
16365         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16366         (__ieee754_powl): Saturate nonzero exponents with absolute value
16367         below 0x1p-79 to +/- 0x1p-79.
16368         * math/libm-test.inc (pow_test): Add more tests.
16370 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16372         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16373         _dl_s390_cap_flags with kernel. Increase string length.
16374         (_dl_s390_platforms): Add z196 and zEC12.
16376 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16378         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16379         Change XOPEN21K to XOPEN2K.
16381 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16383         * string/memmove.c: Use memcpy when possible.
16385 2012-11-06  Andreas Jaeger  <aj@suse.de>
16387         * po/eo.po: Update from translation team.
16389 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #14793]
16392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16393         exponent and small x and y exponents, scale x or y up.  Increase
16394         by 2 the exponent used in scaling up.
16395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16396         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16397         * math/libm-test.inc (fma_test): Add more tests.
16398         (fma_test_towardzero): Likewise.
16399         (fma_test_downward): Likewise.
16400         (fma_test_upward): Likewise.
16402 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16404         [BZ #14805]
16405         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16406         fenv_t *.
16408         [BZ #14801]
16409         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16410         namespace for names of struct fields.
16411         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16412         fenv_t fields.
16413         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16414         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16416 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16418         [BZ #3665]
16419         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16421 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16423         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16424         PTR_DEMANGLE.
16426         [BZ #5246]
16427         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16428         PTR_DEMANGLE.
16430 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #14797]
16433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16434         definitely overflow as x * y not x * y + z.
16435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16437         * math/libm-test.inc (fma_test): Add more tests.
16438         (fma_test_towardzero): Likewise.
16439         (fma_test_downward): Likewise.
16440         (fma_test_upward): Likewise.
16442 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16444         [BZ #157]
16446         * include/stub-tag.h: Remove file.
16447         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16448         '#include' of it.
16449         * manual/maint.texi (Porting): Don't reference it.
16450         * Makerules ($(objpfx)stubs): Likewise.
16451         * dirent/closedir.c: Don't include <stub-tag.h>.
16452         * dirent/dirfd.c: Likewise.
16453         * dirent/fdopendir.c: Likewise.
16454         * dirent/getdents.c: Likewise.
16455         * dirent/getdents64.c: Likewise.
16456         * dirent/opendir.c: Likewise.
16457         * dirent/readdir.c: Likewise.
16458         * dirent/readdir64.c: Likewise.
16459         * dirent/readdir64_r.c: Likewise.
16460         * dirent/readdir_r.c: Likewise.
16461         * dirent/rewinddir.c: Likewise.
16462         * dirent/seekdir.c: Likewise.
16463         * dirent/telldir.c: Likewise.
16464         * gmon/profil.c: Likewise.
16465         * grp/setgroups.c: Likewise.
16466         * inet/if_index.c: Likewise.
16467         * io/access.c: Likewise.
16468         * io/chdir.c: Likewise.
16469         * io/chmod.c: Likewise.
16470         * io/chown.c: Likewise.
16471         * io/close.c: Likewise.
16472         * io/dup.c: Likewise.
16473         * io/dup2.c: Likewise.
16474         * io/dup3.c: Likewise.
16475         * io/euidaccess.c: Likewise.
16476         * io/faccessat.c: Likewise.
16477         * io/fchdir.c: Likewise.
16478         * io/fchmod.c: Likewise.
16479         * io/fchmodat.c: Likewise.
16480         * io/fchown.c: Likewise.
16481         * io/fchownat.c: Likewise.
16482         * io/fcntl.c: Likewise.
16483         * io/flock.c: Likewise.
16484         * io/fstatfs.c: Likewise.
16485         * io/fstatfs64.c: Likewise.
16486         * io/fstatvfs.c: Likewise.
16487         * io/fstatvfs64.c: Likewise.
16488         * io/futimens.c: Likewise.
16489         * io/fxstat.c: Likewise.
16490         * io/fxstat64.c: Likewise.
16491         * io/fxstatat.c: Likewise.
16492         * io/fxstatat64.c: Likewise.
16493         * io/getcwd.c: Likewise.
16494         * io/isatty.c: Likewise.
16495         * io/lchmod.c: Likewise.
16496         * io/lchown.c: Likewise.
16497         * io/link.c: Likewise.
16498         * io/linkat.c: Likewise.
16499         * io/lseek.c: Likewise.
16500         * io/lseek64.c: Likewise.
16501         * io/lxstat64.c: Likewise.
16502         * io/mkdir.c: Likewise.
16503         * io/mkdirat.c: Likewise.
16504         * io/mkfifo.c: Likewise.
16505         * io/mkfifoat.c: Likewise.
16506         * io/open.c: Likewise.
16507         * io/open64.c: Likewise.
16508         * io/openat.c: Likewise.
16509         * io/openat64.c: Likewise.
16510         * io/pipe.c: Likewise.
16511         * io/pipe2.c: Likewise.
16512         * io/poll.c: Likewise.
16513         * io/posix_fadvise.c: Likewise.
16514         * io/posix_fadvise64.c: Likewise.
16515         * io/posix_fallocate.c: Likewise.
16516         * io/posix_fallocate64.c: Likewise.
16517         * io/read.c: Likewise.
16518         * io/readlink.c: Likewise.
16519         * io/readlinkat.c: Likewise.
16520         * io/rmdir.c: Likewise.
16521         * io/sendfile.c: Likewise.
16522         * io/sendfile64.c: Likewise.
16523         * io/statfs.c: Likewise.
16524         * io/statfs64.c: Likewise.
16525         * io/statvfs.c: Likewise.
16526         * io/statvfs64.c: Likewise.
16527         * io/symlink.c: Likewise.
16528         * io/symlinkat.c: Likewise.
16529         * io/ttyname.c: Likewise.
16530         * io/ttyname_r.c: Likewise.
16531         * io/umask.c: Likewise.
16532         * io/unlink.c: Likewise.
16533         * io/unlinkat.c: Likewise.
16534         * io/utime.c: Likewise.
16535         * io/utimensat.c: Likewise.
16536         * io/write.c: Likewise.
16537         * io/xmknod.c: Likewise.
16538         * io/xmknodat.c: Likewise.
16539         * io/xstat.c: Likewise.
16540         * io/xstat64.c: Likewise.
16541         * login/getpt.c: Likewise.
16542         * login/grantpt.c: Likewise.
16543         * login/unlockpt.c: Likewise.
16544         * math/e_acoshl.c: Likewise.
16545         * math/e_acosl.c: Likewise.
16546         * math/e_asinl.c: Likewise.
16547         * math/e_atan2l.c: Likewise.
16548         * math/e_atanhl.c: Likewise.
16549         * math/e_coshl.c: Likewise.
16550         * math/e_expl.c: Likewise.
16551         * math/e_fmodl.c: Likewise.
16552         * math/e_gammal_r.c: Likewise.
16553         * math/e_hypotl.c: Likewise.
16554         * math/e_j0l.c: Likewise.
16555         * math/e_j1l.c: Likewise.
16556         * math/e_jnl.c: Likewise.
16557         * math/e_lgammal_r.c: Likewise.
16558         * math/e_log10l.c: Likewise.
16559         * math/e_log2l.c: Likewise.
16560         * math/e_logl.c: Likewise.
16561         * math/e_powl.c: Likewise.
16562         * math/e_rem_pio2l.c: Likewise.
16563         * math/e_sinhl.c: Likewise.
16564         * math/e_sqrtl.c: Likewise.
16565         * math/fclrexcpt.c: Likewise.
16566         * math/fedisblxcpt.c: Likewise.
16567         * math/feenablxcpt.c: Likewise.
16568         * math/fegetenv.c: Likewise.
16569         * math/fegetexcept.c: Likewise.
16570         * math/fegetround.c: Likewise.
16571         * math/feholdexcpt.c: Likewise.
16572         * math/fesetenv.c: Likewise.
16573         * math/fesetround.c: Likewise.
16574         * math/feupdateenv.c: Likewise.
16575         * math/fgetexcptflg.c: Likewise.
16576         * math/fraiseexcpt.c: Likewise.
16577         * math/fsetexcptflg.c: Likewise.
16578         * math/ftestexcept.c: Likewise.
16579         * math/k_cosl.c: Likewise.
16580         * math/k_rem_pio2l.c: Likewise.
16581         * math/k_sinl.c: Likewise.
16582         * math/k_tanl.c: Likewise.
16583         * math/s_asinhl.c: Likewise.
16584         * math/s_atanl.c: Likewise.
16585         * math/s_cbrtl.c: Likewise.
16586         * math/s_erfl.c: Likewise.
16587         * math/s_expm1l.c: Likewise.
16588         * math/s_log1pl.c: Likewise.
16589         * math/s_tanhl.c: Likewise.
16590         * misc/acct.c: Likewise.
16591         * misc/brk.c: Likewise.
16592         * misc/chflags.c: Likewise.
16593         * misc/chroot.c: Likewise.
16594         * misc/fchflags.c: Likewise.
16595         * misc/fgetxattr.c: Likewise.
16596         * misc/flistxattr.c: Likewise.
16597         * misc/fremovexattr.c: Likewise.
16598         * misc/fsetxattr.c: Likewise.
16599         * misc/fsync.c: Likewise.
16600         * misc/ftruncate.c: Likewise.
16601         * misc/futimes.c: Likewise.
16602         * misc/futimesat.c: Likewise.
16603         * misc/getdomain.c: Likewise.
16604         * misc/getdtsz.c: Likewise.
16605         * misc/gethostid.c: Likewise.
16606         * misc/gethostname.c: Likewise.
16607         * misc/getloadavg.c: Likewise.
16608         * misc/getpagesize.c: Likewise.
16609         * misc/getsysstats.c: Likewise.
16610         * misc/getxattr.c: Likewise.
16611         * misc/gtty.c: Likewise.
16612         * misc/ioctl.c: Likewise.
16613         * misc/lgetxattr.c: Likewise.
16614         * misc/listxattr.c: Likewise.
16615         * misc/llistxattr.c: Likewise.
16616         * misc/lremovexattr.c: Likewise.
16617         * misc/lsetxattr.c: Likewise.
16618         * misc/lutimes.c: Likewise.
16619         * misc/madvise.c: Likewise.
16620         * misc/mincore.c: Likewise.
16621         * misc/mlock.c: Likewise.
16622         * misc/mlockall.c: Likewise.
16623         * misc/mmap.c: Likewise.
16624         * misc/mprotect.c: Likewise.
16625         * misc/msync.c: Likewise.
16626         * misc/munlock.c: Likewise.
16627         * misc/munlockall.c: Likewise.
16628         * misc/munmap.c: Likewise.
16629         * misc/preadv.c: Likewise.
16630         * misc/preadv64.c: Likewise.
16631         * misc/ptrace.c: Likewise.
16632         * misc/pwritev.c: Likewise.
16633         * misc/pwritev64.c: Likewise.
16634         * misc/readv.c: Likewise.
16635         * misc/reboot.c: Likewise.
16636         * misc/remap_file_pages.c: Likewise.
16637         * misc/removexattr.c: Likewise.
16638         * misc/revoke.c: Likewise.
16639         * misc/select.c: Likewise.
16640         * misc/setdomain.c: Likewise.
16641         * misc/setegid.c: Likewise.
16642         * misc/seteuid.c: Likewise.
16643         * misc/sethostid.c: Likewise.
16644         * misc/sethostname.c: Likewise.
16645         * misc/setregid.c: Likewise.
16646         * misc/setreuid.c: Likewise.
16647         * misc/setxattr.c: Likewise.
16648         * misc/sstk.c: Likewise.
16649         * misc/stty.c: Likewise.
16650         * misc/swapoff.c: Likewise.
16651         * misc/swapon.c: Likewise.
16652         * misc/sync.c: Likewise.
16653         * misc/syncfs.c: Likewise.
16654         * misc/syscall.c: Likewise.
16655         * misc/truncate.c: Likewise.
16656         * misc/ualarm.c: Likewise.
16657         * misc/usleep.c: Likewise.
16658         * misc/ustat.c: Likewise.
16659         * misc/utimes.c: Likewise.
16660         * misc/vhangup.c: Likewise.
16661         * misc/writev.c: Likewise.
16662         * posix/_exit.c: Likewise.
16663         * posix/alarm.c: Likewise.
16664         * posix/execve.c: Likewise.
16665         * posix/fexecve.c: Likewise.
16666         * posix/fork.c: Likewise.
16667         * posix/fpathconf.c: Likewise.
16668         * posix/getaddrinfo.c: Likewise.
16669         * posix/getegid.c: Likewise.
16670         * posix/geteuid.c: Likewise.
16671         * posix/getgid.c: Likewise.
16672         * posix/getgroups.c: Likewise.
16673         * posix/getlogin.c: Likewise.
16674         * posix/getlogin_r.c: Likewise.
16675         * posix/getpgid.c: Likewise.
16676         * posix/getpid.c: Likewise.
16677         * posix/getppid.c: Likewise.
16678         * posix/getresgid.c: Likewise.
16679         * posix/getresuid.c: Likewise.
16680         * posix/getsid.c: Likewise.
16681         * posix/getuid.c: Likewise.
16682         * posix/glob64.c: Likewise.
16683         * posix/nanosleep.c: Likewise.
16684         * posix/pathconf.c: Likewise.
16685         * posix/pause.c: Likewise.
16686         * posix/posix_madvise.c: Likewise.
16687         * posix/pread.c: Likewise.
16688         * posix/pread64.c: Likewise.
16689         * posix/pwrite.c: Likewise.
16690         * posix/pwrite64.c: Likewise.
16691         * posix/sched_getaffinity.c: Likewise.
16692         * posix/sched_getp.c: Likewise.
16693         * posix/sched_gets.c: Likewise.
16694         * posix/sched_primax.c: Likewise.
16695         * posix/sched_primin.c: Likewise.
16696         * posix/sched_rr_gi.c: Likewise.
16697         * posix/sched_setaffinity.c: Likewise.
16698         * posix/sched_setp.c: Likewise.
16699         * posix/sched_sets.c: Likewise.
16700         * posix/sched_yield.c: Likewise.
16701         * posix/setgid.c: Likewise.
16702         * posix/setlogin.c: Likewise.
16703         * posix/setpgid.c: Likewise.
16704         * posix/setresgid.c: Likewise.
16705         * posix/setresuid.c: Likewise.
16706         * posix/setsid.c: Likewise.
16707         * posix/setuid.c: Likewise.
16708         * posix/sleep.c: Likewise.
16709         * posix/spawni.c: Likewise.
16710         * posix/sysconf.c: Likewise.
16711         * posix/times.c: Likewise.
16712         * posix/wait.c: Likewise.
16713         * posix/wait3.c: Likewise.
16714         * posix/wait4.c: Likewise.
16715         * posix/waitpid.c: Likewise.
16716         * resolv/gai_sigqueue.c: Likewise.
16717         * resource/getpriority.c: Likewise.
16718         * resource/getrlimit.c: Likewise.
16719         * resource/getrusage.c: Likewise.
16720         * resource/nice.c: Likewise.
16721         * resource/setpriority.c: Likewise.
16722         * resource/setrlimit.c: Likewise.
16723         * resource/ulimit.c: Likewise.
16724         * rt/aio_cancel.c: Likewise.
16725         * rt/aio_fsync.c: Likewise.
16726         * rt/aio_read.c: Likewise.
16727         * rt/aio_sigqueue.c: Likewise.
16728         * rt/aio_suspend.c: Likewise.
16729         * rt/aio_write.c: Likewise.
16730         * rt/clock_getres.c: Likewise.
16731         * rt/clock_gettime.c: Likewise.
16732         * rt/clock_nanosleep.c: Likewise.
16733         * rt/clock_settime.c: Likewise.
16734         * rt/lio_listio.c: Likewise.
16735         * rt/mq_close.c: Likewise.
16736         * rt/mq_getattr.c: Likewise.
16737         * rt/mq_notify.c: Likewise.
16738         * rt/mq_open.c: Likewise.
16739         * rt/mq_receive.c: Likewise.
16740         * rt/mq_send.c: Likewise.
16741         * rt/mq_setattr.c: Likewise.
16742         * rt/mq_timedreceive.c: Likewise.
16743         * rt/mq_timedsend.c: Likewise.
16744         * rt/mq_unlink.c: Likewise.
16745         * rt/shm_open.c: Likewise.
16746         * rt/shm_unlink.c: Likewise.
16747         * rt/timer_create.c: Likewise.
16748         * rt/timer_delete.c: Likewise.
16749         * rt/timer_getoverr.c: Likewise.
16750         * rt/timer_gettime.c: Likewise.
16751         * rt/timer_settime.c: Likewise.
16752         * setjmp/__longjmp.c: Likewise.
16753         * setjmp/setjmp.c: Likewise.
16754         * signal/kill.c: Likewise.
16755         * signal/killpg.c: Likewise.
16756         * signal/raise.c: Likewise.
16757         * signal/sigaction.c: Likewise.
16758         * signal/sigaltstack.c: Likewise.
16759         * signal/sigblock.c: Likewise.
16760         * signal/sigignore.c: Likewise.
16761         * signal/sigintr.c: Likewise.
16762         * signal/signal.c: Likewise.
16763         * signal/sigpause.c: Likewise.
16764         * signal/sigpending.c: Likewise.
16765         * signal/sigqueue.c: Likewise.
16766         * signal/sigreturn.c: Likewise.
16767         * signal/sigset.c: Likewise.
16768         * signal/sigsetmask.c: Likewise.
16769         * signal/sigstack.c: Likewise.
16770         * signal/sigsuspend.c: Likewise.
16771         * signal/sigtimedwait.c: Likewise.
16772         * signal/sigvec.c: Likewise.
16773         * signal/sigwait.c: Likewise.
16774         * signal/sigwaitinfo.c: Likewise.
16775         * signal/sysv_signal.c: Likewise.
16776         * socket/accept.c: Likewise.
16777         * socket/accept4.c: Likewise.
16778         * socket/bind.c: Likewise.
16779         * socket/connect.c: Likewise.
16780         * socket/getpeername.c: Likewise.
16781         * socket/getsockname.c: Likewise.
16782         * socket/getsockopt.c: Likewise.
16783         * socket/isfdtype.c: Likewise.
16784         * socket/listen.c: Likewise.
16785         * socket/recv.c: Likewise.
16786         * socket/recvfrom.c: Likewise.
16787         * socket/recvmsg.c: Likewise.
16788         * socket/send.c: Likewise.
16789         * socket/sendmsg.c: Likewise.
16790         * socket/sendto.c: Likewise.
16791         * socket/setsockopt.c: Likewise.
16792         * socket/shutdown.c: Likewise.
16793         * socket/sockatmark.c: Likewise.
16794         * socket/socket.c: Likewise.
16795         * socket/socketpair.c: Likewise.
16796         * stdio-common/ctermid.c: Likewise.
16797         * stdio-common/cuserid.c: Likewise.
16798         * stdio-common/remove.c: Likewise.
16799         * stdio-common/rename.c: Likewise.
16800         * stdio-common/renameat.c: Likewise.
16801         * stdio-common/tempname.c: Likewise.
16802         * stdlib/getcontext.c: Likewise.
16803         * stdlib/makecontext.c: Likewise.
16804         * stdlib/setcontext.c: Likewise.
16805         * stdlib/swapcontext.c: Likewise.
16806         * stdlib/system.c: Likewise.
16807         * streams/fattach.c: Likewise.
16808         * streams/fdetach.c: Likewise.
16809         * streams/getmsg.c: Likewise.
16810         * streams/getpmsg.c: Likewise.
16811         * streams/putmsg.c: Likewise.
16812         * streams/putpmsg.c: Likewise.
16813         * sysdeps/unix/bsd/getpt.c: Likewise.
16814         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16815         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16816         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16818         Likewise.
16819         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16820         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16821         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16822         * sysvipc/msgctl.c: Likewise.
16823         * sysvipc/msgget.c: Likewise.
16824         * sysvipc/msgrcv.c: Likewise.
16825         * sysvipc/msgsnd.c: Likewise.
16826         * sysvipc/semctl.c: Likewise.
16827         * sysvipc/semget.c: Likewise.
16828         * sysvipc/semop.c: Likewise.
16829         * sysvipc/semtimedop.c: Likewise.
16830         * sysvipc/shmat.c: Likewise.
16831         * sysvipc/shmctl.c: Likewise.
16832         * sysvipc/shmdt.c: Likewise.
16833         * sysvipc/shmget.c: Likewise.
16834         * termios/tcdrain.c: Likewise.
16835         * termios/tcflow.c: Likewise.
16836         * termios/tcflush.c: Likewise.
16837         * termios/tcgetattr.c: Likewise.
16838         * termios/tcgetpgrp.c: Likewise.
16839         * termios/tcsendbrk.c: Likewise.
16840         * termios/tcsetattr.c: Likewise.
16841         * termios/tcsetpgrp.c: Likewise.
16842         * time/adjtime.c: Likewise.
16843         * time/clock.c: Likewise.
16844         * time/getitimer.c: Likewise.
16845         * time/gettimeofday.c: Likewise.
16846         * time/setitimer.c: Likewise.
16847         * time/settimeofday.c: Likewise.
16848         * time/stime.c: Likewise.
16849         * time/time.c: Likewise.
16851 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16853         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16854         /usr/old/bin.
16856         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16857         instead of spaces.
16858         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16860 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16862         [BZ #14796]
16863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16864         FE_TONEAREST before applying Dekker multiplication and Knuth
16865         addition.  Clear inexact exceptions and check for exact zero
16866         results afterwards.
16867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16868         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16870         * math/libm-test.inc (fma_test): Add more tests.
16871         (fma_test_towardzero): Likewise.
16872         (fma_test_downward): Likewise.
16873         (fma_test_upward): Likewise.
16874         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16875         function.
16876         (libc_fesetround): New macro.
16877         (libc_fesetroundf): Likewise.
16878         (libc_fesetroundl): Likewise.
16879         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16880         function.
16881         (libc_fesetround_387): Likewise.
16882         (libc_fesetroundf): New macro.
16883         (libc_fesetround): Likewise.
16884         (libc_fesetroundl): Likewise.
16885         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16886         function.
16887         (libc_fesetroundf): New macro.
16888         (libc_fesetround): Likewise.
16889         (libc_fesetroundl): Likewise.
16890         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16891         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16892         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16893         libm_hidden_ver.
16894         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16895         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16896         libm_hidden_def.
16897         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16898         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16899         libm_hidden_ver.
16900         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16901         libm_hidden_def.
16903         [BZ #3439]
16904         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16905         integer constant usable in #if and use that to give value to enum
16906         constant.
16907         (FE_DIVBYZERO): Likewise.
16908         (FE_UNDERFLOW): Likewise.
16909         (FE_OVERFLOW): Likewise.
16910         (FE_INVALID): Likewise.
16911         (FE_INVALID_SNAN): Likewise.
16912         (FE_INVALID_ISI): Likewise.
16913         (FE_INVALID_IDI): Likewise.
16914         (FE_INVALID_ZDZ): Likewise.
16915         (FE_INVALID_IMZ): Likewise.
16916         (FE_INVALID_COMPARE): Likewise.
16917         (FE_INVALID_SOFTWARE): Likewise.
16918         (FE_INVALID_SQRT): Likewise.
16919         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16920         (FE_TONEAREST): Likewise.
16921         (FE_TOWARDZERO): Likewise.
16922         (FE_UPWARD): Likewise.
16923         (FE_DOWNWARD): Likewise.
16924         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16925         (FE_DIVBYZERO): Likewise.
16926         (FE_OVERFLOW): Likewise.
16927         (FE_UNDERFLOW): Likewise.
16928         (FE_INEXACT): Likewise.
16929         (FE_TONEAREST): Likewise.
16930         (FE_DOWNWARD): Likewise.
16931         (FE_UPWARD): Likewise.
16932         (FE_TOWARDZERO): Likewise.
16933         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16934         (FE_UNDERFLOW): Likewise.
16935         (FE_OVERFLOW): Likewise.
16936         (FE_DIVBYZERO): Likewise.
16937         (FE_INVALID): Likewise.
16938         (FE_TONEAREST): Likewise.
16939         (FE_TOWARDZERO): Likewise.
16940         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16941         (FE_OVERFLOW): Likewise.
16942         (FE_UNDERFLOW): Likewise.
16943         (FE_DIVBYZERO): Likewise.
16944         (FE_INEXACT): Likewise.
16945         (FE_TONEAREST): Likewise.
16946         (FE_TOWARDZERO): Likewise.
16947         (FE_UPWARD): Likewise.
16948         (FE_DOWNWARD): Likewise.
16949         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16950         (FE_DIVBYZERO): Likewise.
16951         (FE_OVERFLOW): Likewise.
16952         (FE_UNDERFLOW): Likewise.
16953         (FE_INEXACT): Likewise.
16954         (FE_TONEAREST): Likewise.
16955         (FE_DOWNWARD): Likewise.
16956         (FE_UPWARD): Likewise.
16957         (FE_TOWARDZERO): Likewise.
16959 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16961         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16963 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16965         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16966         commands.  Quote $PWD.
16967         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16968         -x" by "export".
16969         (remove_newlines): Remove.
16971 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16973         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16974         * stdlib/stdlib.h (atof): Moved to ...
16975         * include/bits/stdlib-float.h: Here.  New file.
16976         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16977         * stdlib/bits/stdlib-float.h: New file.
16978         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16979         -mno-sse -mno-mmx.
16980         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16981         <xmmintrin.h>.
16983 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16985         * conform/conformtest.pl (@headers): Add fenv.h.
16986         * conform/data/fenv.h-data: New file.
16987         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16988         include of <math/fenv.h>.
16990         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16991         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16992         && !UNIX98].  Enables tests for XOPEN2K8.
16993         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16994         POSIX2008]: Likewise.
16996         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16997         (struct rusage): Do not expect type or its members.
16999         [BZ #3439]
17000         * math/math.h (FP_NAN): Define macro to integer constant usable in
17001         #if and use that to give value to enum constant.
17002         (FP_INFINITE): Likewise.
17003         (FP_ZERO): Likewise.
17004         (FP_SUBNORMAL): Likewise.
17005         (FP_NORMAL): Likewise.
17007 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17009         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17010         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17011         arguments.
17013 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17015         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17016         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17017         autoconf-time if not.
17018         * configure.in: Remove AC_PREREQ.
17020 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17022         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17023         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17024         of the internal implementation.
17026 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17028         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17029         except include of <misc/sys/syslog.h>.
17031 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17034         function returns with a NULL context exit with zero.
17036 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17038         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17040 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17042         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17043         (run_program_cmd): This.
17044         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17045         (tst_langinfo): New variable.  Use it.
17047 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17049         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17050         floating point opcodes.
17052 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17054         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17055         variable.
17057         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17059         * sysdeps/mach/hurd/powerpc: Remove directory.
17060         * sysdeps/mach/powerpc: Likewise.
17062 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17064         * scripts/check-local-headers.sh: Ignore c++ headers.
17066 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17068         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17069         __libc_cleanup_region_start argument.
17071 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17073         [BZ #14784]
17074         [BZ #14785]
17075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17076         x * y using scaling, not as x * y + z.
17077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17079         * math/libm-test.inc (fma_test): Add more tests.
17080         (fma_test_towardzero): Likewise.
17081         (fma_test_downward): Likewise.
17082         (fma_test_upward): Likewise.
17084 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17086         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17088 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17090         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17091         New variable.
17093 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17095         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17097 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17100         Fix sort order.
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17102         Likewise.
17104 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17107         Fix the order of the list for glibc 2.17.
17108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17109         Likewise.
17111 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17115 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17117         [BZ #14610]
17118         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17119         for low part of x being zero before using __atanl (y).
17120         * math/libm-test.inc (atan2_test): Add another test.
17122         * manual/install.texi (Configuring and compiling): Document
17123         general use of test-wrapper and test-wrapper-env.
17124         * INSTALL: Regenerated.
17126         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17127         (__fma): Do not extract and scale down low bits on after-rounding
17128         systems when result rounded to normal precision would have normal
17129         exponent.
17130         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17131         (__fmal): Do not extract and scale down low bits on after-rounding
17132         systems when result rounded to normal precision would have normal
17133         exponent.
17134         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17135         (__fmal): Do not extract and scale down low bits on after-rounding
17136         systems when result rounded to normal precision would have normal
17137         exponent.
17138         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17139         macro.
17140         (fma_test): Add more tests.
17141         (fma_test_towardzero): Likewise.
17142         (fma_test_downward): Likewise.
17143         (fma_test_upward): Likewise.
17145 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17147         * sysdeps/i386/tininess.h: Renamed to ...
17148         * sysdeps/x86/tininess.h: This.
17149         * sysdeps/x86_64/tininess.h: Removed.
17151 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17153         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17154         input.  Use $(build-program-cmd).
17155         ($(objpfx)tst-array1-static.out): Likewise.
17156         ($(objpfx)tst-array2.out): Likewise.
17157         ($(objpfx)tst-array3.out): Likewise.
17158         ($(objpfx)tst-array4.out): Likewise.
17159         ($(objpfx)tst-array5.out): Likewise.
17160         ($(objpfx)tst-array5-static.out): Likewise.
17162 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17164         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17165         if defined.
17167         * nss/nsswitch.h (nss_interface_function): Provide new
17168         macro for use with NSS functions.
17169         * grp/initgroups.c: Use new macro.
17170         * nss/getXXbyYY.c: Likewise.
17171         * nss/getXXbyYY_r.c: Likewise.
17172         * nss/getXXent.c: Likewise.
17173         * nss/getXXent_r.c: Likewise.
17174         * sysdeps/posix/getaddrinfo.c: Likewise.
17176 2012-10-30  Andreas Jaeger  <aj@suse.de>
17178         * po/ru.po: Update Russion translation from translation project.
17180 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17182         [BZ #14152]
17183         [BZ #14783]
17184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17185         result and shift together with sticky bit instead of replicating
17186         round-to-nearest rounding.
17187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17189         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17190         missing underflow exceptions.
17191         (fma_test_towardzero): Add more tests.
17192         (fma_test_downward): Likewise.
17193         (fma_test_upward): Likewise.
17195         [BZ #14047]
17196         * sysdeps/generic/tininess.h: New file.
17197         * sysdeps/i386/tininess.h: Likewise.
17198         * sysdeps/sh/tininess.h: Likewise.
17199         * sysdeps/x86_64/tininess.h: Likewise.
17200         * stdlib/tst-strtod-underflow.c: Likewise.
17201         * stdlib/tst-tininess.c: Likewise.
17202         * stdlib/strtod_l.c: Include <tininess.h>.
17203         (round_and_return): Do not set errno for exact underflow cases.
17204         Force an underflow exception when setting errno for underflow.
17205         Determine underflow based on rounding to normal precision if
17206         TININESS_AFTER_ROUNDING.
17207         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17208         ERANGE for exact underflow cases.
17209         * stdlib/Makefile (tests): Add tst-tininess and
17210         tst-strtod-underflow.
17211         ($(objpfx)tst-tininess): Use $(link-libm).
17212         ($(objpfx)tst-strtod-underflow): Likewise.
17214 2012-10-30  Andreas Jaeger  <aj@suse.de>
17216         [BZ#14767]
17217         * elf/Makefile (tests): Remove conditional for have-initfini-array
17218         since this is now always required and the variable does not exist
17219         anymore.
17220         (tests-static): Likewise.
17221         (modules-names): Likewise.
17223         * po/eo.po: Add Esperanto translation from translation project.
17225         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17226         merged with constructor/destructor.
17227         (init_array): Likewise.
17228         * elf/tst-array2dep.c (fini_array): Likewise.
17229         (init_array): Likewise.
17231 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17233         * manual/message.texi: Delete @cartouche tags.
17235 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17237         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17238         EOPNOTSUPP.
17239         * sysdeps/mach/hurd/fsync.c: Likewise.
17241         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17242         [_POSIX_REALTIME_SIGNALS]: Change condition to
17243         [_POSIX_REALTIME_SIGNALS > 0].
17245 2012-10-27  Andreas Jaeger  <aj@suse.de>
17247         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17248         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17250         [__WORDSIZE != 64]: Likewise.
17252 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17254         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17255         *  iconvdata/tst-tables.sh: Likewise.
17257 2012-10-25  David S. Miller  <davem@davemloft.net>
17259         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17260         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17261         of strtoull.
17263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17264         ifunc-impl-list.c
17265         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17266         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17267         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17268         file.
17270 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17272         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17273         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17274         __getdirentries.
17276 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17277             Jim Blandy  <jimb@codesourcery.com>
17279         * scripts/cross-test-ssh.sh: New file.
17280         * manual/install.texi (Configuring and compiling): Document use of
17281         cross-test-ssh.sh.
17282         * INSTALL: Regenerated.
17284 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17286         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17287         EOPNOTSUPP.
17289 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17291         * Makeconfig (run-program-prefix): Fix comment.
17293 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17294             Jim Blandy  <jimb@codesourcery.com>
17296         * Makeconfig (test-wrapper): New variable,
17297         (test-wrapper-env): Likewise.
17298         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17299         (run-built-tests): Define to yes.
17300         (run-program-prefix): Use $(test-wrapper).
17301         (built-program-cmd): Likewise.
17302         * Rules (make-test-out): Use $(test-wrapper-env) and
17303         $(host-built-program-cmd).
17304         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17305         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17306         tst-pathopt.sh.
17307         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17308         $(test-wrapper-env) to tst-rtld-load-self.sh.
17309         ($(objpfx)order2.out): Use $(test-wrapper).
17310         ($(objpfx)tst-initorder.out): Likewise.
17311         ($(objpfx)tst-initorder2.out): Likewise.
17312         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17313         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17314         (test_wrapper_env): New variable.  Use it to run ld.so.
17315         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17316         Use it to run ld.so.
17317         (test_wrapper_env): Likewise.
17318         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17319         $(test-wrapper) to run-iconv-test.sh.
17320         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17321         (ICONV): Use $test_wrapper.
17322         * posix/Makefile ($(objpfx)globtest.out): Pass
17323         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17324         globtest.sh, not $(run-program-prefix).
17325         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17326         (test_wrapper): Likewise.
17327         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17328         set together with run_via_rtld_prefix.
17329         (run_program_prefix): Define in terms of test_wrapper and
17330         run_via_rtld_prefix.
17332 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17334         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17335         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17336         Targets removed.
17338         [BZ #14743]
17339         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17340         Declare __clock_getres, __clock_gettime, __clock_settime,
17341         __clock_nanosleep, and __clock_getcpuclockid.
17342         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17343         Remove librt_hidden_def (clock_gettime).
17344         * sysdeps/unix/clock_gettime.c: Likewise.
17345         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17346         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17347         * rt/clock_getres.c: Define __clock_getres as an alias.
17348         * sysdeps/posix/clock_getres.c: Likewise.
17349         * rt/clock_settime.c: Define __clock_settime as an alias.
17350         * sysdeps/unix/clock_settime.c: Likewise.
17351         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17352         * sysdeps/unix/clock_nanosleep.c: Likewise.
17353         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17354         * rt/clock-compat.c: New file.
17355         * rt/Makefile (librt-routines): Add clock-compat and move
17356         $(clock-routines) to ...
17357         (routines): ... here, new variable.
17358         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17359         Don't add get_clockfreq here.
17360         * rt/Versions (libc: GLIBC_2.17): New version set.
17361         Add clock_* symbols here.
17362         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17363         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17364         (GLIBC_2.17): Add clock_* symbols.
17365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17369         Likewise.
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17376         * NEWS: Mention the move.
17378         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17379         Use __open, __read, __close rather than their public counterparts.
17380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17381         (__get_clockfreq_via_cpuinfo): Likewise.
17382         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17383         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17385         * config.h.in (HAVE_IFUNC): New #undef.
17386         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17387         was successful.
17388         * configure: Regenerated.
17390 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17392         * configure.in: Move READELF check to start of file.
17393         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17394         libc_cv_asm_gnu_indirect_function in the process.
17395         * configure: Regenerated.
17397 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17399         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17400         send the output to /dev/null.
17401         (libc_cv_cc_with_libunwind): Likewise.
17402         (libc_cv_as_noexecstack): Likewise.
17403         * configure: Regenerate.
17405 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17407         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17409         * posix/globtest.sh (TMPDIR): Do not set.
17410         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17411         (testout): Likewise.
17413 2012-10-24  Andreas Jaeger  <aj@suse.de>
17415         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17416         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17417         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17418         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17419         posix_fadvise64, posix_fallocate64.
17421         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17422         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17423         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17424         Likewise.
17425         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17426         Likewise.
17427         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17430         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17431         <bits/fcntl-linux.h>.
17432         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17435         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17436         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17437         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17438         [__WORDSIZE != 64]: Likewise.
17440 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17442         * Makeconfig (run-built-tests): New variable.
17443         * Rules [$(cross-compiling) = yes]: Change condition to
17444         [$(run-built-tests) = no].
17445         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17446         to [$(run-built-tests) = yes].
17447         * elf/Makefile [$(cross-compiling) = no]: Likewise
17448         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17449         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17450         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17451         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17452         * io/Makefile [$(cross-compiling) = no]: Likewise.
17453         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17454         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17455         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17456         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17457         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17458         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17459         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17460         * string/Makefile [$(cross-compiling) = no]: Likewise.
17462         * posix/Makefile ($(objpfx)globtest.out): Pass
17463         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17464         $(rtld-installed-name).
17465         * posix/globtest.sh (elf_objpfx): Remove variable.
17466         (rtld_installed_name): Likewise.
17467         (library_path): Likewise.
17468         (run_program_prefix): New variable.  Use for running globtest
17469         binary.
17471 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17472             Joseph Myers  <joseph@codesourcery.com>
17474         * Makeconfig (host-built-program-cmd): New variable.
17475         * elf/Makefile (tst-stackguard1-ARGS): Use
17476         $(host-built-program-cmd).
17477         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17478         (tst-spawn-ARGS): Likewise.
17479         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17481 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17482             Jim Blandy  <jimb@codesourcery.com>
17484         * Makeconfig (run-via-rtld-prefix): New variable.
17485         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17486         (built-program-cmd): Likewise.
17488 2012-10-22  Andreas Jaeger  <aj@suse.de>
17490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17491         __O_RSYNC if it exists, otherwise to O_SYNC.
17493 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17494             Joseph Myers  <joseph@codesourcery.com>
17496         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17497         /dev/null.
17498         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17499         from /dev/null
17500         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17501         /dev/null.
17503 2012-10-22  Andreas Jaeger  <aj@suse.de>
17505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17506         Define always.
17507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17510         bits/fcntl-linux.h.
17512         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17513         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17516         to __O_LARGEFILE.
17517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17518         to __O_LARGEFILE.
17520 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17521             Joseph Myers  <joseph@codesourcery.com>
17523         * config.make.in (NM): New variable.
17525 2012-10-21  Andreas Jaeger  <aj@suse.de>
17527         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17528         definitions and declarations that are provided by
17529         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17531 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17533         [BZ #14683]
17534         * elf/Makefile (tests-static): Add tst-leaks1-static.
17535         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17536         ($(objpfx)tst-leaks1-static): New rule.
17537         ($(objpfx)tst-leaks1-static-mem): Likewise.
17538         (tst-leaks1-static-ENV): New macro.
17539         * elf/dl-open.c (dl_open_worker): Check the main application
17540         only if SHARED is defined.
17541         * elf/tst-leaks1-static.c: New file.
17543 2012-10-20  Andreas Jaeger  <aj@suse.de>
17545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17546         generic values for Linux.
17547         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17548         and declarations that are provided by <bits/fcntl-linux.h> and
17549         include <bits/fcntl-linux.h>.
17550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17553 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17555         * io/fcntl.h: Move include of <bits/types.h> to the top and
17556         include it unconditionally.
17558 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17560         * wcsmbs/Makefile (tests-ifunc): New variable.
17561         (tests): Add $(tests-ifunc).
17562         * wcsmbs/test-wcschr-ifunc.c: New file.
17563         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17564         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17565         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17566         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17567         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17569         * string/Makefile (tests-ifunc): New variable.
17570         (tests): Add $(tests-ifunc).
17571         * string/test-memccpy.c (TEST_NAME): New macro.
17572         * string/test-memchr.c (TEST_NAME): Likewise.
17573         * string/test-memcmp.c (TEST_NAME): Likewise.
17574         * string/test-memcpy.c (TEST_NAME): Likewise.
17575         * string/test-memmem.c (TEST_NAME): Likewise.
17576         * string/test-memmove.c (TEST_NAME): Likewise.
17577         * string/test-memset.c (TEST_NAME): Likewise.
17578         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17579         * string/test-stpcpy.c (TEST_NAME): Likewise.
17580         * string/test-stpncpy.c (TEST_NAME): Likewise.
17581         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17582         * string/test-strcasestr.c (TEST_NAME): Likewise.
17583         * string/test-strcat.c (TEST_NAME): Likewise.
17584         * string/test-strchr.c (TEST_NAME): Likewise.
17585         * string/test-strcmp.c(TEST_NAME): Likewise.
17586         * string/test-strcpy.c (TEST_NAME): Likewise.
17587         * string/test-strcspn.c (TEST_NAME): Likewise.
17588         * string/test-strlen.c (TEST_NAME): Likewise.
17589         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17590         * string/test-strncmp.c (TEST_NAME): Likewise.
17591         * string/test-strncpy.c (TEST_NAME): Likewise.
17592         * string/test-strnlen.c (TEST_NAME): Likewise.
17593         * string/test-strpbrk.c (TEST_NAME): Likewise.
17594         * string/test-strrchr.c (TEST_NAME): Likewise.
17595         * string/test-strspn.c (TEST_NAME): Likewise.
17596         * string/test-strstr.c (TEST_NAME): Likewise.
17597         * string/test-bcopy-ifunc.c: New file.
17598         * string/test-bzero-ifunc.c: Likewise.
17599         * string/test-memccpy-ifunc.c: Likewise.
17600         * string/test-memchr-ifunc.c: Likewise.
17601         * string/test-memcmp-ifunc.c: Likewise.
17602         * string/test-memcpy-ifunc.c: Likewise.
17603         * string/test-memmem-ifunc.c: Likewise.
17604         * string/test-memmove-ifunc.c: Likewise.
17605         * string/test-mempcpy-ifunc.c: Likewise.
17606         * string/test-memset-ifunc.c: Likewise.
17607         * string/test-rawmemchr-ifunc.c: Likewise.
17608         * string/test-stpcpy-ifunc.c: Likewise.
17609         * string/test-stpncpy-ifunc.c: Likewise.
17610         * string/test-strcasecmp-ifunc.c: Likewise.
17611         * string/test-strcasestr-ifunc.c: Likewise.
17612         * string/test-strcat-ifunc.c: Likewise.
17613         * string/test-strchr-ifunc.c: Likewise.
17614         * string/test-strchrnul-ifunc.c: Likewise.
17615         * string/test-strcmp-ifunc.c: Likewise.
17616         * string/test-strcpy-ifunc.c: Likewise.
17617         * string/test-strcspn-ifunc.c: Likewise.
17618         * string/test-strlen-ifunc.c: Likewise.
17619         * string/test-strncasecmp-ifunc.c: Likewise.
17620         * string/test-strncat-ifunc.c: Likewise.
17621         * string/test-strncmp-ifunc.c: Likewise.
17622         * string/test-strncpy-ifunc.c: Likewise.
17623         * string/test-strnlen-ifunc.c: Likewise.
17624         * string/test-strpbrk-ifunc.c: Likewise.
17625         * string/test-strrchr-ifunc.c: Likewise.
17626         * string/test-strspn-ifunc.c: Likewise.
17627         * string/test-strstr-ifunc.c: Likewise.
17629         * debug/Makefile (tests-ifunc): New variable.
17630         (tests): Add $(tests-ifunc).
17631         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17632         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17633         * debug/test-stpcpy_chk-ifunc.c: New file.
17634         * debug/test-strcpy_chk-ifunc.c: Likewise.
17636 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17638         [BZ #13601]
17639         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17640         header is not read in.
17642 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17644         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17645         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17646         directly.  Pass built executable to script as
17647         $(built-program-cmd).
17648         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17649         $testprogram without using LD_LIBRARY_PATH and $ldso.
17651         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17652         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17653         $(rtld-installed-name).
17654         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17655         (rtld_installed_name): Likewise.
17656         (library_path): Likewise.
17657         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17658         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17659         $(run-program-prefix) to tst-tables.sh.
17660         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17661         it to run tst-table-from and tst-table-to.
17662         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17663         Pass it to tst-table.sh.
17664         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17665         $(run-program-prefix) to tst-gettext.sh.
17666         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17667         tst-translit.sh.
17668         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17669         tst-gettext2.sh.
17670         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17671         to run tst-gettext.
17672         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17673         to run tst-gettext2.
17674         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17675         to run tst-translit.
17676         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17677         $(run-program-prefix) to tst-mtrace.sh.
17678         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17679         to run tst-mtrace.
17680         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17681         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17682         $(rtld-installed-name).
17683         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17684         (rtld_installed_name): Likewise.
17685         (run_program_prefix): New variable.  Use it to run wordexp-test.
17687         * Makeconfig (ARCH): Remove all definitions.
17688         (machine): Likewise.
17689         [ARCH]: Remove conditional code.
17690         [!objdir]: Give error.
17691         [!objdir] (objpfx): Remove.
17692         [!objdir] (common-objpfx): Likewise.
17693         [!objdir] (common-objdir): Likewise.
17694         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17695         AC_CONFIG_FILES call.
17696         * configure: Regenerated.
17698         [BZ #13888]
17699         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17700         or TMPDIR.
17701         (testout): Likewise.
17703         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17704         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17705         $(rtld-installed-name).
17706         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17707         (rtld_installed_name): Likwise.
17708         (runit): Remove function.
17709         (run_getconf): New variable,  Use it for running getconf binary.
17711 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17713         [BZ #14716]
17714         * string/test-memmem.c (check_result): New function.
17715         (do_one_test): Use it.
17716         (check1): New function.
17717         (test_main): Use it.
17719 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17721         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17723 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17725         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17726         (_G_LSEEK64): Likewise.
17727         (_G_MMAP64): Likewise.
17728         (_G_FSTAT64): Likewise.
17729         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17730         (_G_LSEEK64): Likewise.
17731         (_G_MMAP64): Likewise.
17732         (_G_FSTAT64): Likewise.
17733         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17734         unconditional.  Call __mmap64 directly.
17735         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17736         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17737         __lseek64 directly.
17738         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17739         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17740         __mmap64 directly.
17741         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17742         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17743         __lseek64 directly.
17744         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17745         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17746         __lseek64 directly.
17747         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17748         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17749         __lseek64 directly.
17750         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17751         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17752         __fxstat64 directly.
17753         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17754         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17755         unconditional.
17756         (freopen64) [!_G_OPEN64]: Remove conditional code.
17757         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17758         unconditional.
17759         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17760         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17761         unconditional.
17762         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17763         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17764         unconditional.
17765         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17766         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17767         unconditional.
17768         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17769         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17770         unconditional.
17771         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17772         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17773         unconditional.
17774         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17775         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17776         unconditional.
17777         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17779 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17781         [BZ #12140]
17782         * manual/memory.texi (Malloc Tunable Parameters): Add note
17783         about free list pointers overwriting some perturb bytes.
17784         Wording suggested by Roland McGrath.
17786 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17788         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17789         (lgamma_test): Likewise.
17790         (tgamma_test): Likewise.
17792 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17794         [BZ #14700]
17795         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17796         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17798 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17800         * NEWS: Mention BZ #14716.
17801         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17802         when removing AVAILABLE1_USES_J macro.
17804 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17806         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17807         (__bswap_64): __uint64_t for unsigned 64-bit int.
17809 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17811         * include/string.h (memmem): Declare libc hidden alias.
17812         * string/memmem.c (memmem): Define libc hidden alias.
17813         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17814         __read, __close instead of open, read, close.
17816 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17819         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17820         global and hidden.
17821         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17822         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17823         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17824         Likewise.
17825         (__rawmemchr_sse2): Likewise.
17826         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17827         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17828         (__strchr_sse2): Likewise.
17829         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17830         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17831         (__strcasecmp_sse2): Likewise.
17832         (__strncasecmp_sse2): Likewise.
17833         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17834         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17835         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17836         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17837         (__strrchr_sse2): Likewise.
17838         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17839         ifunc-impl-list.c.
17840         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17841         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17842         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17843         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17844         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17846         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17847         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17848         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17849         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17850         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17851         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17852         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17853         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17854         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17855         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17856         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17857         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17858         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17859         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17860         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17861         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17862         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17863         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17864         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17865         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17866         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17867         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17868         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17869         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17871         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17872         global and hidden.
17873         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17874         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17875         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17876         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17877         Likewise.
17878         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17879         Likewise.
17880         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17881         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17882         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17883         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17884         ifunc-impl-list.c.
17885         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17886         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17887         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17888         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17889         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17890         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17891         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17892         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17893         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17894         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17895         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17896         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17897         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17898         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17899         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17900         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17901         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17902         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17903         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17905         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17906         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17907         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17908         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17909         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17910         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17911         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17912         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17913         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17914         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17915         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17916         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17917         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17918         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17919         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17920         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17927         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17928         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17929         * include/ifunc-impl-list.h: New file.
17930         * misc/ifunc-impl-list.c: Likewise.
17931         * misc/Makefile (routines): Add ifunc-impl-list.
17932         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17933         * string/test-string.h: Include <ifunc-impl-list.h>.
17934         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17935         impl_array): New variables.
17936         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17937         are defined.
17938         (test_init): Call __libc_ifunc_impl_list to initialize
17939         func_list if TEST_IFUNC and TEST_NAME are defined.
17941         * string/Makefile (strop-tests): Add bcopy and bzero.
17942         * string/test-bcopy.c: New file.
17943         * string/test-bzero.c: Likewise.
17944         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17945         defined.
17946         * string/test-memset.c: Support bzero test if TEST_BZERO is
17947         defined.
17948         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17949         __libc_memmove.
17950         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17951         __libc_memset.
17952         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17953         of memset.
17955 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17957         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17958         * configure: Regenerated.
17960         * Makeconfig (+link-static-before-libc): Don't include
17961         $(link-static-libc).
17963         * libio/libio.h (_IO_pos_t): Remove.
17965 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17967         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17968         McGrath.
17970 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17972         * crypt/crypt-entry.c: Include fips-private.h.
17973         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17974         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17975         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17976         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17978 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17980         * crypt/crypt-private.h: Include stdbool.h.
17981         (_ufc_setup_salt_r): Return bool.
17982         * crypt/crypt-entry.c: Include errno.h.
17983         (__crypt_r): Return NULL with EINVAL for bad salt.
17984         * crypt/crypt_util.c (bad_for_salt): New.
17985         (_ufc_setup_salt_r): Check that salt is long enough and within
17986         the specified alphabet.
17987         * crypt/badsalttest.c: New file.
17988         * crypt/Makefile (tests): Add it.
17989         ($(objpfx)badsalttest): New.
17991 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17993         * NEWS: Add entry for BZ #14602.
17995 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17997         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17998         type-generic.
17999         * math/libm-test.inc: Update comment listing what functions and
18000         macros are tested.
18001         (isgreater_test): New function.
18002         (isgreaterequal_test): Likewise.
18003         (isless_test): Likewise.
18004         (islessequal_test): Likewise.
18005         (islessgreater_test): Likewise.
18006         (isunordered_test): Likewise.
18007         (main): Call the new functions.
18009 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18011         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18012         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18013         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18014         * sysdeps/i386/configure: Regenerated.
18015         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18016         * sysdeps/mach/configure: Regenerated.
18017         * sysdeps/mach/hurd/configure: Regenerated.
18018         * sysdeps/powerpc/configure: Regenerated.
18019         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18020         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18021         * sysdeps/s390/s390-32/configure: Regenerated.
18022         * sysdeps/s390/s390-64/configure: Regenerated.
18023         * sysdeps/sh/configure: Regenerated.
18024         * sysdeps/sparc/configure: Regenerated.
18025         * sysdeps/unix/sysv/linux/configure: Regenerated.
18026         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18027         * sysdeps/x86_64/configure: Regenerated.
18029         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18030         defined.  Don't check if MAP is NULL.
18032 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18034         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18035         (_G_stat64): Likewise.
18036         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18037         (_G_stat64): Likewise.
18038         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18039         instead of struct _G_stat64.
18040         * libio/fileops.c (mmap_remap_check): Likewise.
18041         (decide_maybe_mmap): Likewise.
18042         (_IO_new_file_seekoff): Likewise.
18043         (_IO_file_stat): Likewise.
18044         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18045         _G_off64_t.
18046         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18047         instead of struct _G_stat64.
18048         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18050 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18052         [BZ #14602]
18053         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18054         Replace with ...
18055         (CHECK_EOL): New macro.
18056         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18057         CHECK_EOL.
18058         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18059         Replace with CHECK_EOL.
18060         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18061         Replace with CHECK_EOL.
18063 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18065         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18066         type-generic.
18067         * math/libm-test.inc: Update comment listing what functions and
18068         macros are tested.
18069         (finite_test): New function.
18070         (isinf_test): Likewise.
18071         (isnan_test): Likewise.
18072         (fpclassify_test): Test subnormal input.
18073         (isfinite_test): Likewise.
18074         (isnormal_test): Likewise.
18075         (main): Call the new functions.
18077 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18079         [BZ #14660]
18080         * Makerules (%.dynsym): Force C locale when running
18081         $(OBJDUMP) --dynamic-syms.
18083 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18085         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18086         <stdint.h>.
18088 2012-10-06  David S. Miller  <davem@davemloft.net>
18090         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18091         upper 32-bits of the length value in %o2 since we use branch-on-register
18092         tests which consider the entire 64-bit register.
18094 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18096         * string/test-strstr.c (check2): Add a test for page boundary.
18098 2012-10-05  David S. Miller  <davem@davemloft.net>
18100         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18101         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18102         file.
18103         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18104         sysdep_routines.
18105         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18106         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18107         and bzero when HWCAP_SPARC_CRYPTO is present.
18109 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18111         [BZ #14602]
18112         * string/test-strstr.c (check2): New function.
18113         (test_main): Call check2.
18115         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18116         and bug-strchr1.
18117         * string/bug-strcasestr1.c (do_test): Moved to ...
18118         * string/test-strcasestr.c (check1): Here.  New function.
18119         (do_one_test): Break out result checking code into ...
18120         (check_result): This.  New function.
18121         (do_one_test): Call check_result.
18122         (test_main): Call check1.
18123         * string/bug-strchr1.c (do_test): Moved to ...
18124         * string/test-strchr.c (check1): Here.  New function.
18125         (do_one_test): Break out result checking code into ...
18126         (check_result): This.  New function.
18127         (do_one_test): Call check_result.
18128         (test_main): Call check1.
18129         * string/bug-strstr1.c (main): Moved to ...
18130         * string/test-strstr.c (check1): Here.  New function.
18131         (do_one_test): Break out result checking code into ...
18132         (check_result): This.  New function.
18133         (do_one_test): Call check_result.
18134         (test_main): Call check1.
18135         * string/bug-strcasestr1.c: Removed.
18136         * string/bug-strchr1.c: Likewise.
18137         * string/bug-strstr1.c: Likewise.
18139         * elf/Makefile (dl-routines): Add hwcaps.
18140         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18141         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18142         (_dl_important_hwcaps): Moved to ...
18143         * elf/dl-hwcaps.c: Here.  New file.
18144         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18146         [BZ #14557]
18147         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18148         if IS_IN_rtld isn't defined.
18150         * elf/dl-support.c (_dl_sysinfo_map): New.
18151         Include "get-dynamic-info.h" and "setup-vdso.h".
18152         (_dl_non_dynamic_init): Call setup_vdso.
18153         * elf/dynamic-link.h: Don't include <assert.h>.
18154         (elf_get_dynamic_info): Moved to ...
18155         * elf/get-dynamic-info.h: Here.  New file.
18156         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18157         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18158         * elf/setup-vdso.h: Here.  New file.
18159         * elf/rtld.c: Include "setup-vdso.h".
18160         (dl_main): Call setup_vdso.
18162 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18164         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18165         creal in comment listing functions tested.  List finite, isinf,
18166         isnan, isless, islessequal, isgreater, isgreaterequal,
18167         islessgreater, isunordered, lgamma_r and pow10 as functions and
18168         macros not tested.  Mention which functions not tested are aliases
18169         for other functions.  Fix typo.  Note that signs of NaNs are not
18170         tested.
18172         * scripts/config.guess: Update from config.git.
18173         * scripts/config.sub: Likewise.
18175 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18177         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18178         * misc/madvise.c (madvise): Renamed to __madvise.
18179         Make madvise a weak alias.
18180         * include/sys/mman.h: Declare __madvise.
18181         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18182         * sysdeps/unix/syscalls.list
18183         (madvise): Make __madvise the strong name, and madvise a weak alias.
18184         * sysdeps/unix/sysv/linux/syscalls.list
18185         (madvise, mmap): Remove redundant entries.
18186         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18187         * malloc/malloc.c (mtrim): Likewise.
18188         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18190 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18192         * sysdeps/mach/hurd/dl-cache.c: File removed.
18193         * config.h.in (USE_LDCONFIG): New #undef.
18194         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18195         * configure: Regenerated.
18196         * elf/Makefile (dl-routines): Add dl-cache only under
18197         [$(use-ldconfig) = yes].
18198         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18199         cache on [USE_LDCONFIG].
18200         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18201         [USE_LDCONFIG].
18202         * elf/rtld.c (dl_main): Likewise.
18204 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18206         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18207         _SC_LEVEL4_CACHE_LINESIZE.
18209 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18211         * sysdeps/unix/bsd/confstr.h: File removed.
18213 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18215         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18216         sys/sdt-config.h.
18218 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18220         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18221         Make 'mapoff' field ElfW(Off) rather than off_t.
18223 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18225         * nscd/Makefile: Remove nscd-cflags and all its users.
18226         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18227         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18229         [BZ #10631]
18230         * malloc.c (malloc_printerr): Clarify error message.
18232 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18234         [BZ #14648]
18235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18236         Set bit_FMA_Usable if FMA is supported.
18237         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18238         macro.
18239         (bit_FMA4_Usable): Updated.
18240         (index_FMA_Usable): New macro.
18241         (CPUID_FMA): Likewise
18242         (HAS_FMA): Defined with bit_FMA_Usable.
18244 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18246         * bits/types.h (__swblk_t): Type removed.
18247         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18248         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18250         (__SWBLK_T_TYPE): Likewise.
18251         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18252         (__SWBLK_T_TYPE): Likewise.
18253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18254         (__SWBLK_T_TYPE): Likewise.
18255         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18256         (__SWBLK_T_TYPE): Likewise.
18258 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18259             Honza Horak <hhorak@redhat.com>
18261         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18262         (xdr_mapname): Use YPMAXMAP as maxsize.
18263         (xdr_peername): Use YPMAXPEER as maxsize.
18264         (xdr_keydat): Use YPAXRECORD as maxsize.
18265         (xdr_valdat): Use YPMAXRECORD as maxsize.
18267 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18269         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18271         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18272         * csu/init-first.c: ... here.
18273         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18274         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18275         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18276         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18277         * sysdeps/i386/init-first.c: File removed.
18278         * sysdeps/sh/init-first.c: File removed.
18280 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18282         [BZ #14645]
18283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18284         if x * y might underflow to zero and z is zero.
18285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18287         * math/libm-test.inc (min_subnorm_value): New variable.
18288         (fma_test): Add more tests.
18289         (fma_test_towardzero): Likewise.
18290         (fma_test_downward): Likewise
18291         (fma_test_upward): Likewise.
18292         (initialize): Set min_subnorm_value.
18294 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18296         [BZ #14638]
18297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18298         0 + 0.
18299         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18300         mode for addition resulting in exact zero.
18301         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18303         exact 0 + 0.
18304         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18306         * math/libm-test.inc (fma_test): Add more tests.
18307         (fma_test_towardzero): New function.
18308         (fma_test_downward): Likewise.
18309         (fma_test_upward): Likewise.
18310         (main): Call the new functions.
18312 2012-09-28  David S. Miller  <davem@davemloft.net>
18314         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18316 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18318         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18319         instead of SIGALRM.
18321         * sysdeps/gnu/_G_config.h: Moved to ...
18322         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18323         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18324         * sysdeps/generic/_G_config.h: ... here.
18326         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18328         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18330         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18331         Conditionalize target on [libnss_test1.so-version].
18333         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18335         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18336         (elfobjdir): Move out of conditionals.
18338         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18339         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18340         (__nss_lookup_function): Conditionalize label remove_from_tree on
18341         [!DO_STATIC_NSS || SHARED], matching its only use.
18343 2012-09-28  David S. Miller  <davem@davemloft.net>
18345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18346         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18347         file.
18348         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18349         sysdep_routines.
18350         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18352         when HWCAP_SPARC_CRYPTO is present.
18354 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18356         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18358 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18360         [BZ #6530]
18361         * stdio-common/vfprintf.c (process_string_arg): Revert
18362         2000-07-22 change.
18364 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18366         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18367         for testcase.
18368         * stdio-common/tst-sprintf.c: Include <locale.h>
18369         (main): Test sprintf's handling of incomplete multibyte
18370         characters.
18372 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18374         * elf/dl-runtime.c (VERSYMIDX): Removed.
18375         * elf/dl-version.c (VERSYMIDX): Likewise.
18376         * elf/do-rel.h (VERSYMIDX): Likewise.
18377         (VALIDX): Likewise.
18378         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18379         * elf/rtld.c (VALIDX): Likewise.
18380         (ADDRIDX): Likewise.
18381         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18382         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18383         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18384         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18385         (VALIDX): Likewise.
18386         (ADDRIDX): Likewise.
18388 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18390         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18392 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18394         [BZ #11438]
18395         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18396         to global scope.
18397         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18398         addresses are in the same scope as 192.0.2/24.
18399         * posix/gai.conf: Document new scope table defaults.
18401 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18403         [BZ #5298]
18404         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18405         for ftell.  Compute offsets from write pointers instead.
18406         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18408 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410         [BZ #14543]
18411         * libio/Makefile (tests): New test case tst-fseek.
18412         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18413         combination works in wide mode.
18414         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18415         state when the external buffer state changes.
18417 2012-09-27  David S. Miller  <davem@davemloft.net>
18419         [BZ #14376]
18420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18421         pass reloc->r_addend in as the 'high' argument to
18422         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18426 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18428         * rt/tst-aio2.c: Include <pthread.h>.
18429         * rt/tst-aio3.c: Likewise.
18431 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18433         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18435 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18437         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18438         contents on [SHARED].
18440 2012-09-26  Marek Polacek  <polacek@redhat.com>
18442         [BZ #14530]
18443         [BZ #13741]
18444         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18445         for C++ and GCC <4.3 as well as for non GCC compilers.
18447 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18451 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18453         * Makefile.in (all, install): Declare with .PHONY.
18454         Reported by Michael Hope <michael.hope@linaro.org>.
18456 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18458         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18459         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18460         system header.
18461         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18462         Likewise.
18463         (sydep_routines): Add the new and the internal functions.
18464         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18465         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18467         (GLIBC_2.17): Add the new function.
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18469         (GLIBC_2.17): Likewise.
18470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18471         (GLIBC_2.17): Likewise.
18472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18473         (GLIBC_2.17): Likewise.
18474         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18476 2012-09-25  Alan Modra  <amodra@gmail.com>
18478         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18479         Add release barrier before setting once_control to say
18480         initialisation is done.  Add hints on lwarx.  Use macro in
18481         place of isync.
18482         (clear_once_control): Add release barrier.
18484 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18486         [BZ #13629]
18487         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18488         specially.
18489         * math/s_clog10.c (__clog10): Likewise.
18490         * math/s_clog10f.c (__clog10f): Likewise.
18491         * math/s_clog10l.c (__clog10l): Likewise.
18492         * math/s_clogf.c (__clogf): Likewise.
18493         * math/s_clogl.c (__clogl): Likewise.
18494         * math/Makefile (libm-calls): Add x2y2m1.
18495         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18496         (__x2y2m1): Likewise.
18497         (__x2y2m1l): Likewise.
18498         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18499         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18500         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18501         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18504         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18505         * sysdeps/i386/fpu/libm-test-ulps: Update.
18506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18508         [BZ #14621]
18509         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18510         int as type of variable DEPTH.
18511         (glob): Use size_t instead of int as type of variables NEWCOUNT
18512         and OLD_PATHC.
18514 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18516         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18517         Add s_sincosf-sse2.
18518         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18519         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18520         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18521         macros for using routine as __sincosf_ia32.
18522         Use macro for function declaration and weak_alias.
18523         * sysdeps/i386/fpu/libm-test-ulps: Update.
18525         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18528         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18529         subnormal argument.
18530         * math/s_cexpf.c (__cexpf): Likewise.
18531         * math/s_csinf.c (__csinf): Likewise.
18532         * math/s_csinhf.c (__csinhf): Likewise.
18533         * math/s_ctanf.c (__ctanf): Likewise.
18534         * math/s_ctanhf.c (__ctanhf): Likewise.
18535         * math/s_ccosh.c (__ccoshf): Likewise.
18536         * math/s_cexp.c (__cexpl): Likewise.
18537         * math/s_csin.c (__csin): Likewise.
18538         * math/s_csinh.c (__csinh): Likewise.
18539         * math/s_ctan.c (__ctan): Likewise.
18540         * math/s_ctanh.c (ctanh): Likewise.
18541         * math/s_ccoshl.c (__ccoshl): Likewise.
18542         * math/s_cexpl.c (__cexpl): Likewise.
18543         * math/s_csinl.c (__csinl): Likewise.
18544         * math/s_csinhl.c (__csinhl): Likewise.
18545         * math/s_ctanl.c (__ctanl): Likewise.
18546         * math/s_ctanhl.c (__ctanhl): Likewise.
18548 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18550         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18551         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18552         (_IO_off_t): Define to __off_t, not _G_off_t.
18553         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18554         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18555         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18556         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18557         type of __dummy and __dummy2 fields.
18558         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18559         (_G_ssize_t): Likewise.
18560         (_G_off_t): Likewise.
18561         (_G_pid_t): Likewise.
18562         (_G_uid_t): Likewise.
18563         (_G_wchar_t): Likewise.
18564         (_G_wint_t): Likewise.
18565         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18566         (_G_ssize_t): Likewise.
18567         (_G_off_t): Likewise.
18568         (_G_pid_t): Likewise.
18569         (_G_uid_t): Likewise.
18570         (_G_wchar_t): Likewise.
18571         (_G_wint_t): Likewise.
18572         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18573         (_G_ssize_t): Likewise.
18574         (_G_off_t): Likewise.
18575         (_G_pid_t): Likewise.
18576         (_G_uid_t): Likewise.
18577         (_G_wchar_t): Likewise.
18578         (_G_wint_t): Likewise.
18580 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18582         * malloc/arena.c: Include malloc-sysdep.h.
18583         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18584         is sufficient to shrink the heap or an unmap is needed.
18585         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18586         new function check_may_shrink_heap.
18587         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18588         new function check_may_shrink_heap.
18590 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18593         comments.
18595 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18597         * catgets/test-gencat.sh: Add "set -e".
18598         * elf/tst-pathopt.sh: Likewise.
18599         * grp/tst_fgetgrent.sh: Likewise.
18600         * iconvdata/run-iconv-test.sh: Likewise.
18601         * intl/tst-gettext.sh: Likewise.
18602         * intl/tst-gettext2.sh: Likewise.
18603         * intl/tst-gettext4.sh: Likewise.
18604         * intl/tst-gettext6.sh: Likewise.
18605         * intl/tst-translit.sh: Likewise.
18606         * io/ftwtest-sh: Likewise.
18607         * libio/test-freopen.sh: Likewise.
18608         * malloc/tst-mtrace.sh: Likewise.
18609         * posix/globtest.sh: Likewise.
18610         * posix/tst-getconf.sh: Likewise.
18611         * posix/wordexp-tst.sh: Likewise.
18612         * stdio-common/tst-printf.sh: Likewise.
18613         * stdio-common/tst-unbputc.sh: Likewise.
18614         * stdlib/tst-fmtmsg.sh: Likewise.
18615         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18616         * catgets/Makefile: Do not specify -e option when running
18617         testsuite shell scripts.
18618         * elf/Makefile: Likewise.
18619         * grp/Makefile: Likewise.
18620         * iconvdata/Makefile: Likewise.
18621         * intl/Makefile: Likewise.
18622         * io/Makefile: Likewise.
18623         * libio/Makefile: Likewise.
18624         * malloc/Makefile: Likewise.
18625         * posix/Makefile: Likewise.
18626         * stdio-common/Makefile: Likewise.
18627         * stdlib/Makefile: Likewise.
18628         * sysdeps/x86_64/Makefile: Likewise.
18630         * io/ftwtest-sh: Add copyright header.
18631         * posix/globtest.sh: Likewise.
18632         * posix/tst-getconf.sh: Likewise.
18633         * posix/wordexp-tst.sh: Likewise.
18634         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18636 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18638         [BZ #13679]
18639         * Makeconfig (+link): Defined as $(+link-static) if
18640         $(build-shared) isn't yes.
18641         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18642         isn't yes.
18643         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18645         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18647         [BZ #14562]
18648         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18649         new chunk size with MALLOC_ALIGN_MASK.
18651 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18653         [BZ #5044]
18654         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18655         <rounding-mode.h>.
18656         (__printf_fphex): Determine rounding using get_rounding_mode and
18657         round_away.
18658         * stdio-common/tst-printf-round.c (struct hex_test): New
18659         structure.
18660         (hex_tests): New variable.
18661         (test_hex_in_one_mode): New function.
18662         (do_test): Also run tests for hex float output.
18664 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18666         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18667         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18668         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18669         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18670         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18671         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18672         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18673         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18675 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18677         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18678         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18679         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18680         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18682 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18684         [BZ #14579]
18685         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18686         mode only.
18687         * elf/tst-rtld-load-self.sh: New test.
18688         * elf/Makefile: Run it.
18690 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18692         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18693         (tst-writev-ENV): Remove.
18694         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18696 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18698         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18700 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18702         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18703         unconditional.
18704         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18705         Likewise.
18706         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18707         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18708         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18709         Likewise.
18711 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18713         [BZ #14587]
18714         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18715         * config.make.in (have-cpp-asm-debuginfo): Removed.
18716         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18717         * configure: Regenerated.
18719 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18721         [BZ #5044]
18722         * stdio-common/printf_fp.c: Include <stdbool.h> and
18723         <rounding-mode.h>.
18724         (___printf_fp): Determine rounding using get_rounding_mode and
18725         round_away.
18726         * stdio-common/tst-printf-round.c: New file.
18727         * stdio-common/Makefile (tests): Add tst-printf-round.
18728         (link-libm): New variable.
18729         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18731 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18733         [BZ #14576]
18734         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18735         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18736         Likewise.
18737         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18738         Likewise.
18740 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18742         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18743         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18744         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18745         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18747 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #14518]
18750         * include/rounding-mode.h: New file.
18751         * sysdeps/generic/get-rounding-mode.h: Likewise.
18752         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18753         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18754         (MAX_VALUE): New macro.
18755         (MIN_VALUE): Likewise.
18756         (overflow_value): New function.
18757         (underflow_value): Likewise.
18758         (round_and_return): Use overflow_value and underflow_value to
18759         determine return values in overflow and underflow cases.  Use
18760         round_away to determine rounding depending on rounding mode.
18761         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18762         determine return values in overflow and underflow cases.
18763         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18764         (struct test_results): New structure.
18765         (struct test): Use struct test_results to store expected results
18766         for all rounding modes.
18767         (TEST): Include expected results for all rounding modes.
18768         (test_in_one_mode): New function.
18769         (do_test): Use test_in_one_mode to compute and check results.
18770         Check results for all rounding modes.
18771         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18772         $(link-libm).
18774 2012-12-09  Allan McRae  <allan@archlinux.org>
18776         * sysdeps/i386/fpu/libm-test-ulps: Update
18778 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18780         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18781         (_G_int32_t): Likewise.
18782         (_G_uint16_t): Likewise.
18783         (_G_uint32_t): Likewise.
18784         (_G_HAVE_BOOL): Likewise.
18785         (_G_HAVE_ATEXIT): Likewise.
18786         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18787         (_G_HAVE_IO_FILE_OPEN): Likewise.
18788         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18789         (_G_int32_t): Likewise.
18790         (_G_uint16_t): Likewise.
18791         (_G_uint32_t): Likewise.
18792         (_G_HAVE_BOOL): Likewise.
18793         (_G_HAVE_ATEXIT): Likewise.
18794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18795         (_G_HAVE_IO_FILE_OPEN): Likewise.
18796         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18797         (_G_int32_t): Likewise.
18798         (_G_uint16_t): Likewise.
18799         (_G_uint32_t): Likewise.
18800         (_G_HAVE_BOOL): Likewise.
18801         (_G_HAVE_ATEXIT): Likewise.
18802         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18803         (_G_HAVE_IO_FILE_OPEN): Likewise.
18805 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18807         * csu/libc-tls.c: Update copyright years.
18809 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18811         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18812         [!_G_USING_THUNKS]: Remove conditional code.
18813         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18814         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18816         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18817         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18818         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18819         (_G_VTABLE_LABEL_PREFIX): Likewise.
18820         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18821         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18822         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18823         (_G_VTABLE_LABEL_PREFIX): Likewise.
18824         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18825         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18826         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18827         (_G_VTABLE_LABEL_PREFIX): Likewise.
18828         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18830 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18832         * libio/Makefile: Include ../Makeconfig before tests.
18833         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18834         only if $(build-shared) is yes.
18836         * iconv/gconv_db.c: Update copyright years.
18838 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18840         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18841         unwind info if defined PIC. Fix special cases description.
18842         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18844         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18845         DP_HI_MASK entry.
18846         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18848 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18850         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18852         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18853         is NULL.
18855         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18856         (LDLIBS-tst-chk4): This.
18857         (LDFLAGS-tst-chk5): Renamed to ...
18858         (LDLIBS-tst-chk5): This.
18859         (LDFLAGS-tst-chk6): Renamed to ...
18860         (LDLIBS-tst-chk6): This.
18861         (LDFLAGS-tst-lfschk4): Renamed to ...
18862         (LDLIBS-tst-lfschk4): This.
18863         (LDFLAGS-tst-lfschk5): Renamed to ...
18864         (LDLIBS-tst-lfschk5): This.
18865         (LDFLAGS-tst-lfschk6): Renamed to ...
18866         (LDLIBS-tst-lfschk6): This.
18868         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18869         on $(common-objpfx)soversions.mk.
18871 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18873         [BZ #10014]
18874         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18875         example host name.
18877 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18879         * malloc/arena.c (arena_get_retry): New function that gets
18880         another arena for the caller to try its request on.
18881         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18882         current arena cannot fulfill the request.
18883         (__libc_memalign): Likewise.
18884         (__libc_memalign): Likewise.
18885         (__libc_pvalloc): Likewise.
18886         (__libc_calloc): Likewise.
18888 2012-09-05  John Tobey  <john.tobey@gmail.com>
18890         [BZ #13542]
18891         * manual/arith.texi (Operations on Complex): Fix description
18892         of carg branch cut.
18894 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18896         [BZ #10014]
18897         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18898         host name.
18900         [BZ #10038]
18901         * manual/memory.texi (Memory): Make order of menu items match
18902         order of sections.
18904 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18906         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18907         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18908         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18910 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18912         * csu/libc-tls.c (static_dtv): Renamed to ...
18913         (_dl_static_dtv): This.  Make it global.
18914         (_dl_initial_dtv): Removed.
18915         (__libc_setup_tls): Updated.
18916         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18917         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18918         DL_INITIAL_DTV.
18920 2012-09-06  Petr Machata  <pmachata@redhat.com>
18922         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18923         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18924         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18925         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18927 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18929         [BZ #14545]
18930         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18931         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18932         freeing dtv[-1].
18934 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18936         [BZ #14544]
18937         * Makeconfig (link-static-before-libc): Replace $(+prector)
18938         with $(+prectorT).
18939         (link-static-after-libc): Replace $(+postctor) with
18940         $(+postctorT).
18941         (link-bounded): Replace $(+prector)/$(+postctor) with
18942         $(+prectorT)/$(+postctorT).
18943         (+prectorT): New macro.
18944         (+postctorT): Likewise.
18946 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18948         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18949         (round_str): Handle values above the maximum for IBM long double
18950         as inexact.
18951         * stdlib/tst-strtod-round.c (tests): Regenerated.
18953 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18955         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18956         assembler flag.
18957         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18958         zarch_nohighgprs around the zarch optimized routines.
18959         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18960         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18961         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18962         for zarch.
18964 2012-09-05  David S. Miller  <davem@davemloft.net>
18966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18968         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18969         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18970         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18971         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18972         entries.
18974 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18976         * malloc/arena.c: Fold copyright years.
18977         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18979 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18981         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18983 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18985         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18989         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18990         change internal state upon failure.
18992 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18994         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18995         * malloc/memusage.c (mmap): Likewise.
18996         (mmap64, mremap): Likewise.  Adjust name in comment.
18998 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19000         * libio/fileops.c: Fix typos in comments.
19001         * libio/oldfileops.c: Likewise.
19002         * libio/wfileops.c: Likewise.
19004 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19006         [BZ #1349]
19007         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19008         (tst-malloc-usable-ENV): Set environment for test case.
19009         * malloc/hooks.c (malloc_check_get_size): New function to get
19010         requested size.
19011         * malloc/malloc.c (musable): Use malloc_check_get_size.
19012         * malloc/tst-malloc-usable.c: New test case.
19014 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19016         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19018 2012-09-05  Allan McRae  <allan@archlinux.org>
19020         [BZ #13966]
19021         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19022         determine header location.
19023         * configure: Regenerated.
19025 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19027         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19028         float format.
19029         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19030         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19031         format.
19032         (test): Regenerate.
19034 2012-09-04  David S. Miller  <davem@davemloft.net>
19036         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19037         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19038         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19040 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19042         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19043         failures.
19045         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19047 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19049         [BZ #9914]
19050         * libio/iogetdelim.c: Include <limits.h>.
19051         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19052         + len + 1 would overflow.
19054 2012-09-03  Andreas Jaeger  <aj@suse.de>
19056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19057         * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19061         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19062         Add s_sinf-sse2, s_conf-sse2.
19064         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19065         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19066         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19067         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19069         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19070         for using routine as __sinf_ia32.
19071         Use macro for function declaration and weak_alias.
19072         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19073         for using routine as __cosf_ia32.
19074         Use macro for function declaration and weak_alias.
19076         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19077         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19079         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19080         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19083         * math/libm-test.inc (cos_test): Add more test cases.
19084         (sin_test): Likewise.
19085         (sincos_test): Likewise.
19087 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19090         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19091         hidden.
19092         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19094 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19096         [BZ #14538]
19097         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19098         first element of the GOT.
19099         (elf_machine_load_address): Return the difference between
19100         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19102 2012-09-01  Allan McRae  <allan@archlinux.org>
19104         [BZ #13412]
19105         * configure.in (AWK): Require gawk version 3.0 or later.
19106         * configure: Regenerated.
19108 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19110         * sysdeps/unix/sysv/linux/kernel-features.h
19111         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19112         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19113         [__NR_clock_getres]: Make code unconditional.
19114         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19115         (clock_getcpuclockid): Remove code left unreachable by removal of
19116         conditionals.
19117         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19118         code unconditional.
19119         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19120         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19121         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19122         Make code unconditional.
19123         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19124         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19125         * sysdeps/unix/sysv/linux/clock_settime.c
19126         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19127         conditional code.
19128         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19129         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19131 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19133         [BZ #14476]
19134         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19135         scripts/test-installation.pl.
19137         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19138         and $ld_so_version if it is set.
19140 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19142         [BZ #14516]
19143         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19144         failure if reading from procfs failed.
19145         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19147 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19149         * sysdeps/unix/sysv/linux/kernel-features.h
19150         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19151         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19152         Remove conditional code.
19153         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19154         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19155         Remove conditional code.
19156         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19157         * sysdeps/unix/sysv/linux/i386/fxstat.c
19158         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19160         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19161         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19163         * sysdeps/unix/sysv/linux/i386/lxstat.c
19164         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19165         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19166         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19167         Remove conditional code.
19168         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19169         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19170         Remove conditional code.
19171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19172         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19173         <kernel-features.h>.
19174         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19175         Remove.
19176         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19177         Remove conditional code.
19178         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19179         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19180         Remove conditional.
19182 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19184         [BZ #5400]
19185         * NEWS: Add fixed bug number.
19187 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19189         [BZ #14519]
19190         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19191         underflowing exponent in case of negative sign.
19192         * stdlib/tst-strtod-round-data: Add more tests.
19193         * stdlib/tst-strtod-round.c (tests): Regenerated.
19195         [BZ #3479]
19196         * stdlib/strtod_l.c (NDIG): Remove.
19197         (HEXNDIG): Likewise.
19198         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19199         smallest representable value.
19200         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19201         lie within an exact representation of 1/2 ulp of the result.
19202         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19203         unconditionally.
19204         (TENS_P9_IDX): Define unconditionally.
19205         (TENS_P9_SIZE): Likewise.
19206         (TENS_P10_IDX): Likewise.
19207         (TENS_P10_SIZE): Likewise.
19208         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19209         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19210         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19211         entries for 10^2^13 and 10^2^14.
19212         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19213         (TENS_P13_IDX): Define.
19214         (TENS_P13_SIZE): Likewise.
19215         (TENS_P14_IDX): Likewise.
19216         (TENS_P14_SIZE): Likewise.
19217         (_fpioconst_pow10): Change array size to
19218         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19219         unconditional.
19220         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19221         1024]: Add entries for 10^2^13 and 10^2^14.
19222         [LAST_POW10 > _LAST_POW10]: Remove #error.
19223         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19224         (_fpioconst_pow10): Change array size to
19225         FPIOCONST_POW10_ARRAY_SIZE.
19226         * stdlib/gen-fpioconst.c: New file.
19227         * stdlib/gen-tst-strtod-round.c: Likewise.
19228         * stdlib/tst-strtod-round-data: Likewise.
19229         * stdlib/tst-strtod-round.c: Likewise.
19230         * stdlib/Makefile (tests): Add tst-strtod-round.
19232         [BZ #14459]
19233         * stdlib/strtod_l.c: Include <stdint.h>.
19234         (NDEBUG): Do not define.
19235         (round_and_return): Change EXPONENT parameter to type intmax_t.
19236         Rearrange calculations to avoid internal overflow possibilities.
19237         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19238         Rearrange calculations to avoid internal overflow possibilities.
19239         Assert that number fits inside MPNSIZE limbs.
19240         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19241         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19242         calculations and add assertions to avoid internal overflow
19243         possibilities.  Add casts to avoid signed/unsigned operations.
19244         * stdlib/tst-strtod-overflow.c: New file.
19245         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19247 2012-08-25  Marek Polacek  <polacek@redhat.com>
19249         * time/time.h: Fix some typos in comments.
19251 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19253         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19254         * posix/tst-rfc3484-2.c: Likewise.
19255         * posix/tst-rfc3484-3.c: Likewise.
19257 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19259         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19260         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19262 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19264         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19265         #include of fxstatat64.c.
19267 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19269         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19270         * shadow/getspent_r.c: Likewise.
19271         * shadow/getspnam.c: Likewise.
19272         * shadow/getspnam_r.c: Likewise.
19273         * gshadow/getsgent.c: Likewise.
19274         * gshadow/getsgent_r.c: Likewise.
19275         * gshadow/getsgnam.c: Likewise.
19276         * gshadow/getsgnam_r.c: Likewise.
19277         * inet/getnetbyad.c: Likewise.
19278         * inet/getnetbyad_r.c: Likewise.
19279         * inet/getnetbynm.c: Likewise.
19280         * inet/getnetbynm_r.c: Likewise.
19281         * inet/getnetent.c: Likewise.
19282         * inet/getnetent_r.c: Likewise.
19283         * inet/getproto.c: Likewise.
19284         * inet/getproto_r.c: Likewise.
19285         * inet/getprtent.c: Likewise.
19286         * inet/getprtent_r.c: Likewise.
19287         * inet/getprtname.c: Likewise.
19288         * inet/getprtname_r.c: Likewise.
19289         * inet/getrpcbyname.c: Likewise.
19290         * inet/getrpcbyname_r.c: Likewise.
19291         * inet/getrpcbynumber.c: Likewise.
19292         * inet/getrpcbynumber_r.c: Likewise.
19293         * inet/getrpcent.c: Likewise.
19294         * inet/getrpcent_r.c: Likewise.
19295         * inet/getaliasent.c: Likewise.
19296         * inet/getaliasent_r.c: Likewise.
19297         * inet/getaliasname.c: Likewise.
19298         * inet/getaliasname_r.c: Likewise.
19299         * nscd/getgrgid_r.c: Likewise.
19300         * nscd/getgrnam_r.c: Likewise.
19301         * nscd/gethstbyad_r.c: Likewise.
19302         * nscd/gethstbynm3_r.c: Likewise.
19303         * nscd/getpwnam_r.c: Likewise.
19304         * nscd/getpwuid_r.c: Likewise.
19305         * nscd/getsrvbynm_r.c: Likewise.
19306         * nscd/getsrvbypt_r.c: Likewise.
19307         * nscd/gai.c: Likewise.
19309         * configure.in (build_nscd): New substituted variable, set
19310         by --disable-build-nscd and defaults to $use_nscd.
19311         * configure: Regenerated.
19312         * config.make.in (build-nscd): New substituted variable.
19313         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19314         Change conditional to require [$(build-nscd) = yes] as well.
19315         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19317         [BZ# 13696]
19318         * configure.in (use_nscd): New substituted variable, set by
19319         --disable-nscd.  If enabled, define USE_NSCD.
19320         * configure: Regenerated.
19321         * config.h.in: Add USE_NSCD.
19322         * config.make.in (use-nscd): New substituted variable.
19323         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19324         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19325         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19326         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19327         (CFLAGS-getgrnam_r.c): Likewise.
19328         (CFLAGS-initgroups.c): Likewise.
19329         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19330         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19331         Variables removed.
19332         * inet/getnetgrent_r.c
19333         (nscd_setnetgrent): New function, broken out of ...
19334         (setnetgrent): ... here.  Call it.
19335         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19336         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19337         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19338         * nscd/Makefile (routines, aux): Move definitions after include of
19339         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19340         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19341         Conditionalize on [USE_NSCD].
19342         (is_nscd, nscd_init_cb): Likewise.
19343         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19344         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19345         * nss/nss_db/db-init.c: Likewise.
19346         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19347         [USE_NSCD].
19348         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19349         (make_request): Use it.
19350         (cache_valid_p): New function.
19351         (__check_pf): Use it.
19352         * NEWS: Add item for --disable-nscd.
19354 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19356         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19357         to support sed >= 4.2.1-20-ga9bf076.
19358         * configure: Regenerated.
19360 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19362         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19363         Conditionalize whole body on [IREL].
19365 2012-08-22  Jeff Law <law@redhat.com>
19367         [BZ #14505]
19368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19369         if the family is PF_UNSPEC.
19371 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19373         * Makerules (lib-version): Rename from V.
19374         (install-lib-nosubdir): Change V to lib-version.
19376 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19378         [BZ #14252]
19379         * powerpc32/power6/wcschr.c: New file.
19380         * powerpc32/power6/wcscpy.c: New file.
19381         * powerpc32/power6/wcsrchr.c: New file.
19382         * powerpc64/power6/wcschr.c: New file.
19383         * powerpc64/power6/wcscpy.c: New file.
19384         * powerpc64/power6/wcsrchr.c: New file.
19386 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19388         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19389         (two_way_short_needle): Use it.
19390         * string/strstr.c (AVAILABLE1_USES_J): Define.
19391         * string/strcasestr.c: Likewise.
19393         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19394         array references.
19395         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19397         [BZ #11607]
19398         * NEWS: Add an entry.
19399         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19400         define their defaults.
19401         (two_way_short_needle): Detect end-of-string on-the-fly.
19402         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19403         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19404         * string/bug-strcasestr1.c: New test.
19405         * string/Makefile: Run it.
19407 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19409         [BZ #11607]
19410         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19411         the first character.
19413 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19415         * csu/elf-init.c (__libc_csu_irel): Function removed.
19416         * csu/libc-start.c (apply_irel): New function.
19417         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19419 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19421         * sysdeps/unix/sysv/linux/kernel-features.h
19422         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19423         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19424         <kernel-features.h>.
19425         [__NR_fadvise64_64]: Make code unconditional.
19426         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19427         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19428         !__NR_fadvise64_64)]: Likewise.
19429         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19430         !__NR_fadvise64_64))]: Likewise.
19431         [__NR_fadvise64]: Make code unconditional.
19432         [!__NR_fadvise64]: Remove conditional code.
19433         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19434         <kernel-features.h>.
19435         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19436         unconditional.
19437         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19438         conditional code.
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19440         not include <kernel-features.h>.
19441         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19442         unconditional.
19443         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19444         conditional code.
19445         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19446         include <kernel-features.h>.
19447         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19448         unconditional.
19449         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19450         conditional code.
19452 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19454         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19455         slight instruction rearrangements per scrollpipe analysis.
19456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19458 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19460         * manual/syslog.texi (syslog; vsyslog, closelog):
19461         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19462         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19464         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19465         DSOCAPS to match condition on defining it.
19467 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19469         * sysdeps/unix/sysv/linux/kernel-features.h
19470         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19472         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19473         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19475         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19476         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19478         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19479         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19481         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19482         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19484         * sysdeps/unix/sysv/linux/kernel-features.h
19485         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19486         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19487         unconditional.
19488         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19489         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19490         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19491         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19492         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19493         Make code unconditional.
19494         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19495         (__mmap64) [!__NR_mmap2]: Likewise.
19496         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19497         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19498         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19499         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19500         [__NR_mmap2]: Make code unconditional.
19501         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19502         (__mmap64) [!__NR_mmap2]: Likewise.
19504 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19506         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19508 2012-08-18  Andreas Jaeger  <aj@suse.de>
19510         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19512 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19514         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19515         * include/unistd.h (__have_sock_cloexec): Likewise.
19516         (__have_pipe2): Likewise.
19517         (__have_dup3): Likewise.
19519 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19521         [BZ #9685]
19522         * include/unistd.h (__have_pipe2): Change define into an extern int.
19523         (__have_dup3): Likewise.
19524         * socket/have_sock_cloexec.c: Include fcntl.h.
19525         (__have_pipe2): New variable.
19526         (__have_dup3): Likewise.
19528 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19530         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19532 2012-08-17  Marek Polacek  <polacek@redhat.com>
19534         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19535         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19537 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19539         * configure.in: Add AC_SUBST for sysheaders.
19540         * configure: Regenerated.
19541         * config.make.in (sysheaders): New substituted variable.
19543         * sysdeps/unix/mkfifo.c: Moved ...
19544         * sysdeps/posix/mkfifo.c: ... here.
19545         * sysdeps/unix/mkfifoat.c: Moved ...
19546         * sysdeps/posix/mkfifoat.c: ... here.
19548         * sysdeps/unix/utime.c: Moved ...
19549         * sysdeps/posix/utime.c: ... here.
19551         * sysdeps/unix/time.c: Moved ...
19552         * sysdeps/posix/time.c: ... here.
19553         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19554         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19556         * sysdeps/unix/nice.c: Moved ...
19557         * sysdeps/posix/nice.c: ... here.
19559         * sysdeps/unix/alarm.c: Moved ...
19560         * sysdeps/posix/alarm.c: ... here.
19562         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19564 2012-08-17  Jeff Law <law@redhat.com>
19566         * intl/Makefile (codeset_mo): New variable.
19567         ($(codeset_mo)): New target.
19568         (tst-codeset.out): Depend on that.  Remove explicit rule.
19569         (tst-gettext3.out, tst-gettext5.out): Likewise.
19570         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19571         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19572         * intl/tst-codeset.sh: Remove.
19573         * intl/tst-gettext3.sh: Likewise.
19574         * intl/tst-gettext5.sh: Likewise.
19576 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19578         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19579         * sysdeps/unix/syscalls.list: ... here.
19581         * sysdeps/posix/getaddrinfo.c
19582         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19583         (gaiconf_init, gaiconf_reload): Use them.
19584         [!_STATBUF_ST_NSEC]
19585         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19586         Define using time_t rather than struct timespec.
19588         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19589         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19590         Macros removed.
19591         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19592         [!NO_THREADS].
19593         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19594         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19595         Likewise.
19597         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19598         __libc_cleanup_push argument.
19600         * bits/param.h: New file.
19601         * misc/sys/param.h: New file.
19602         * include/sys/param.h: New file.
19603         * misc/Makefile (headers): Add bits/param.h.
19604         * sysdeps/generic/sys/param.h: File removed.
19605         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19606         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19607         * sysdeps/mach/hurd/bits/param.h: New file.
19608         * sysdeps/mach/hurd/sys/param.h: File removed.
19610         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19611         last change.
19613         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19614         [_IO_MTSAFE_IO].
19615         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19616         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19617         New macros.
19619         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19620         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19621         rather than -D_IO_MTSAFE_IO conditionally.
19622         * stdio-common/Makefile (CPPFLAGS): Likewise.
19623         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19624         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19625         Use $(libio-mtsafe).
19626         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19627         of -D_IO_MTSAFE_IO.
19628         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19629         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19630         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19631         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19632         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19633         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19634         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19635         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19636         (CFLAGS-fread_u_chk.c): Likewise.
19637         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19638         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19639         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19640         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19641         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19642         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19643         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19644         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19645         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19647         * libio/Makefile: Test [$(libc-reentrant) = yes]
19648         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19650         * Makeconfig
19651         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19652         * sysdeps/pthread/configure: File removed.
19653         * sysdeps/pthread/Makeconfig: New file.
19654         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19655         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19657 2012-08-16  Gary Benson  <gbenson@redhat.com>
19659         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19660         unmapping the first object in a namespace.
19662 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19664         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19665         (__internal_setnetgrent): ... this.  Add internal_function to
19666         definition.  Add libc_hidden_def.
19667         (setnetgrent): Update caller.
19668         (internal_endnetgrent): Renamed to ...
19669         (__internal_endnetgrent): ... this.  Add internal_function to
19670         definition.  Add libc_hidden_def.
19671         (endnetgrent): Update caller.
19672         (internal_getnetgrent_r): Renamed to ...
19673         (__internal_getnetgrent_r): ... this.  Add internal_function to
19674         definition.  Add libc_hidden_def.
19675         (__getnetgrent_r): Update caller.
19676         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19678 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19680         * stdlib/longlong.h: Update from GCC.
19682 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19684         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19685         on _QL, which is set by umul_ppmm but never used.
19686         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19687         variables, which are set by GMP macros but never used.
19688         * stdio-common/_itowa.c (_itowa): Likewise.
19689         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19690         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19692 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19694         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19695         struct La_sh_regs is not constant.
19696         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19697         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19698         and struct La_sparc64_regs are not constant.
19700 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19702         * sysdeps/unix/sysv/linux/kernel-features.h
19703         (__ASSUME_POSIX_TIMERS): Remove.
19704         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19705         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19706         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19707         Make code unconditional.
19708         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19709         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19710         Make code unconditional.
19711         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19712         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19713         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19714         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19715         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19716         Make code unconditional.
19717         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19718         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19719         (__libc_missing_posix_timers): Remove.
19721 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19723         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19724         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19726         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19728         * elf/dl-sym.c: Include <stdlib.h>.
19730         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19731         constants, which avoids warnings in 32-bit builds.
19733         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19734         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19736         * misc/lseek.c: File moved to ...
19737         * io/lseek.c: ... here.
19739         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19741         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19742         shifting LEN more than 31 bits at once.
19744 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19746         [BZ #14195]
19747         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19748         segmentation fault for a case of two empty input strings.
19749         * string/test-strncasecmp.c (check1): Renamed to...
19750         (bz12205): ...this.
19751         (bz14195): Add new testcase for two empty input strings and N > 0.
19752         (test_main): Call new testcase, adapt for renamed function.
19754 2012-08-15  Andreas Jaeger  <aj@suse.de>
19756         [BZ #14090]
19757         * crypt/md5test2.c: New test, based on test supplied by Serge
19758         Belyshev <belyshev@depni.sinp.msu.ru>.
19759         * crypt/Makefile (xtests): Add md5test-giant..
19760         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19762 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19764         [BZ #14090]
19765         * crypt/md5.c (md5_process_block): Don't assume the buffer
19766         length is less than 2**32.
19767         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19768         length is less than 2**64.
19770 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19772         * string/str-two-way.h: Include <sys/param.h>.
19773         (MAX): Macro removed.
19775         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19776         Move #define and #undef of memmove to just before and after
19777         including <string.h>.
19779         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19780         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19781         and after including <string.h>.  Move declarations of
19782         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19783         to before #include "string/memmove.c".
19785         * include/dirent.h: Declare __getdirentries.
19787         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19788         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19790 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19792         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19793         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19794         * sysdeps/i386/configure: Regenerated.
19795         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19796         STABS_CURRENT_FILE, and STABS_FUN.
19797         (END): Remove call to STABS_FUN_END.
19798         (STABS_CURRENT_FILE1): Delete.
19799         (STABS_CURRENT_FILE): Likewise.
19800         (STABS_FUN): Likewise.
19801         (STABS_FUN_END): Likewise.
19802         (STABS_FUN2): Likewise.
19803         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19804         * sysdeps/x86_64/configure: Regenerated.
19806 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19808         * elf/dl-open.c: Include <atomic.h>.
19809         * elf/dl-lookup.c: Likewise.
19811 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19813         * sysdeps/unix/sysv/linux/kernel-features.h
19814         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19815         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19816         unconditionally.
19817         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19818         unconditionally.
19819         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19820         condition on __ASSUME_CLONE_THREAD_FLAGS.
19822 2012-08-14  Andreas Jaeger  <aj@suse.de>
19824         * sysdeps/i386/fpu/libm-test-ulps: Update.
19826 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19828         * include/atomic.h (atomic_exchange_and_add): Split into ...
19829         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19830         New atomic macros.
19832 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19836 2012-08-13  Jeff Law <law@redhat.com>
19838         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19839         null byte in the output string.
19841 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19843         * sysdeps/unix/sysv/linux/kernel-features.h
19844         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19845         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19846         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19847         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19848         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19849         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19850         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19852 2012-08-09  Jeff Law <law@redhat.com>
19854         [BZ #13939]
19855         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19856         When avoid_arena is set, don't retry in the that arena.  Pick the
19857         next one, whatever it might be.
19858         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19859         (arena_lock): Pass in new parameter to arena_get2.
19860         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19861         arena_get2.
19862         (__libc_malloc): Unify retrying after main arena failure with
19863         __libc_memalign version.
19864         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19866 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19868         [BZ #14166]
19869         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19870         to __redirect_strstr.
19871         (__strstr_sse42): Use typeof __redirect_strstr.
19872         (__strstr_ia32): Likewise.
19873         (__libc_strstr): New prototype.
19874         (strstr): Renamed to ...
19875         (__libc_strstr): This.
19876         (strstr): New strong alias of __libc_strstr.
19877         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19878         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19879         __redirect_time.
19880         Include <time.h>.
19881         (__libc_time): New prototype.
19882         (time_ifunc): Replace time with __libc_time.
19883         (time): New strong alias and hidden definition of __libc_time.
19884         (__GI_time): Remove strong alias.
19885         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19886         Include <stddef.h>.
19887         (memmove): Redefined to __redirect_memmove.
19888         (__memmove_sse2): Use typeof __redirect_memmove.
19889         (__memmove_ssse3): Likewise.
19890         (__memmove_ssse3_back): Likewise.
19891         (__libc_memmove): New prototype.
19892         (memmove): Renamed to ...
19893         (__libc_memmove): This.
19894         (memmove): New strong alias of __libc_memmove.
19896 2012-08-08  Mark Salter  <msalter@redhat.com>
19898         * elf/elf.h
19899         (R_MN10300_TLS_GD): Define.
19900         (R_MN10300_TLS_LD): Likewise.
19901         (R_MN10300_TLS_LDO): Likewise.
19902         (R_MN10300_TLS_GOTIE): Likewise.
19903         (R_MN10300_TLS_IE): Likewise.
19904         (R_MN10300_TLS_LE): Likewise.
19905         (R_MN10300_TLS_DTPMOD): Likewise.
19906         (R_MN10300_TLS_DTPOFF): Likewise.
19907         (R_MN10300_TLS_TPOFF): Likewise.
19908         (R_MN10300_SYM_DIFF): Likewise.
19909         (R_MN10300_ALIGN): Likewise.
19910         (R_MN10300_NUM): Update.
19912 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19914         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19915         Remove.
19917 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19919         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19921         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19922         sysdeps/unix -> sysdeps/posix move.
19923         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19925 2012-08-07      Allan McRae     <allan@archlinux.org>
19927         [BZ #14303]
19928         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19929         (SUNOS_CPP): Likewise.
19930         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19931         not found.
19932         (open_input): Call CPP using execvp.
19934 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19936         * sysdeps/unix/sysv/linux/kernel-features.h
19937         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19938         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19939         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19940         (__ASSUME_WAITID_SYSCALL): Likewise.
19941         * sysdeps/unix/sysv/linux/dl-execstack.c
19942         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19943         code unconditional.
19944         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19945         conditional code.
19946         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19947         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19948         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19949         code.
19950         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19951         unconditional.
19952         [__ASSUME_WAITID_SYSCALL]: Likewise.
19953         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19955 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19957         * sysdeps/unix/closedir.c: Renamed to ...
19958         * sysdeps/posix/closedir.c: ... here.
19959         * sysdeps/unix/dirfd.c: Renamed to ...
19960         * sysdeps/posix/dirfd.c: ... here.
19961         * sysdeps/unix/dirstream.h: Renamed to ...
19962         * sysdeps/posix/dirstream.h: ... here.
19963         * sysdeps/unix/fdopendir.c: Renamed to ...
19964         * sysdeps/posix/fdopendir.c: ... here.
19965         * sysdeps/unix/opendir.c: Renamed to ...
19966         * sysdeps/posix/opendir.c: ... here.
19967         * sysdeps/unix/readdir.c: Renamed to ...
19968         * sysdeps/posix/readdir.c: ... here.
19969         * sysdeps/unix/readdir_r.c: Renamed to ...
19970         * sysdeps/posix/readdir_r.c: ... here.
19971         * sysdeps/unix/rewinddir.c: Renamed to ...
19972         * sysdeps/posix/rewinddir.c: ... here.
19973         * sysdeps/unix/seekdir.c: Renamed to ...
19974         * sysdeps/posix/seekdir.c: ... here.
19975         * sysdeps/unix/telldir.c: Renamed to ...
19976         * sysdeps/posix/telldir.c: ... here.
19977         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19978         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19979         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19980         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19982         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19983         * bits/fcntl.h: ... here.
19985         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19986         not 0.
19987         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19988         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19989         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19990         (struct flock): Move l_start, l_len to the beginning.
19991         Use __pid_t for l_pid.
19992         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19993         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19994         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19995         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19996         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19997         [__USE_LARGEFILE64] (struct flock64): New type.
19998         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20000         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20001         * bits/dirent.h: ... here.
20003         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20004         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20006 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20008         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20009         Change from 2.6.0 to 2.6.16.
20010         * sysdeps/unix/sysv/linux/configure: Regenerated.
20011         * sysdeps/unix/sysv/linux/kernel-features.h
20012         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20013         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20014         version.
20015         (__ASSUME_UTIMES): Likewise.
20016         (__ASSUME_CLONE_STOPPED): Remove.
20017         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20018         architectures, not kernel version.
20019         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20020         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20021         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20022         (__ASSUME_WAITID_SYSCALL): Likewise.
20023         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20024         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20025         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20026         refer to older versions.
20028 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20030         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20031         Define alphasort64 as an alias.
20032         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20033         Define versionsort64 as an alias.
20034         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20035         Define scandir64 as an alias.
20036         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20037         Define scandirat64 as an alias.
20038         * dirent/alphasort64.c (alphasort64):
20039         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20040         * dirent/versionsort64.c: Likewise.
20041         * dirent/scandir64.c: Likewise.
20042         * dirent/scandirat64.c: Likewise.
20043         * sysdeps/wordsize-64/alphasort.c: File removed.
20044         * sysdeps/wordsize-64/alphasort64.c: File removed.
20045         * sysdeps/wordsize-64/scandir.c: File removed.
20046         * sysdeps/wordsize-64/scandir64.c: File removed.
20047         * sysdeps/wordsize-64/scandirat.c: File removed.
20048         * sysdeps/wordsize-64/scandirat64.c: File removed.
20049         * sysdeps/wordsize-64/versionsort.c: File removed.
20050         * sysdeps/wordsize-64/versionsort64.c: File removed.
20051         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20052         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20053         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20054         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20055         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20056         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20057         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20058         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20060         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20062         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20064         [defined __arch64__ || defined __sparcv9]
20065         (__INO_T_MATCHES_INO64_T): New macro.
20066         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20067         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20068         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20069         * sysdeps/unix/sysv/linux/bits/dirent.h
20070         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20071         (_DIRENT_MATCHES_DIRENT64): New macro.
20073         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20074         Define lockf64 as an alias.
20075         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20076         Define fseeko64 as an alias.
20077         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20078         Define ftello64 as an alias.
20079         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20080         Define _IO_fgetpos64 and fgetpos64 as aliases.
20081         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20082         Define _IO_fsetpos64 and fsetpos64 as aliases.
20083         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20084         Conditionalize body on this.
20085         * libio/fseeko64.c: Likewise.
20086         * libio/ftello64.c: Likewise.
20087         * libio/iofgetpos64.c: Likewise.
20088         * libio/iofsetpos64.c: Likewise.
20089         * sysdeps/wordsize-64/lockf.c: File removed.
20090         * sysdeps/wordsize-64/lockf64.c: File removed.
20091         * sysdeps/wordsize-64/fseeko.c: File removed.
20092         * sysdeps/wordsize-64/fseeko64.c: File removed.
20093         * sysdeps/wordsize-64/ftello.c: File removed.
20094         * sysdeps/wordsize-64/ftello64.c: File removed.
20095         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20096         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20097         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20098         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20099         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20100         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20101         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20102         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20103         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20104         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20105         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20106         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20107         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20108         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20110         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20111         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20112         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20113         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20114         [defined __arch64__ || defined __sparcv9]
20115         (__OFF_T_MATCHES_OFF64_T): New macro.
20116         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20117         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20118         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20119         (__OFF_T_MATCHES_OFF64_T): New macro.
20121 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20123         * stdlib/secure-getenv.c (__secure_getenv): Replace
20124         GLIBC_2_16 with GLIBC_2_17.
20126 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20128         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20131 2012-08-03  David S. Miller  <davem@davemloft.net>
20133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20135 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20137         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20138         Remove.
20139         (__ASSUME_CORRECT_SI_PID): Likewise.
20140         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20141         (__ASSUME_TMPFS_NAME): Likewise.
20142         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20143         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20144         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20145         (HAVE_AUX_SECURE): Make definition unconditional.
20146         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20147         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20149 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20151         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20152         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20153         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20154         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20155         __eloop_threshold instead of SYMLOOP_MAX.
20157         * sysdeps/generic/eloop-threshold.h: New file.
20158         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20159         of MAXSYMLINKS.
20160         * elf/chroot_canon.c (chroot_canon): Likewise.
20162 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20164         [BZ #13717]
20165         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20166         Change to 2.6.0 everywhere.
20167         * sysdeps/unix/sysv/linux/configure: Regenerated.
20168         * sysdeps/unix/sysv/linux/kernel-features.h
20169         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20170         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20171         kernel versions.
20172         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20173         (__ASSUME_FUTEX_REQUEUE): Remove.
20174         (__ASSUME_STATFS64): Define unconditionally.
20175         (__ASSUME_AT_SECURE): Likewise.
20176         (__ASSUME_CORRECT_SI_PID): Likewise.
20177         (__ASSUME_TGKILL): Define without depending on kernel version for
20178         i386.
20179         (__ASSUME_UTIMES): Likewise.
20180         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20181         kernel version.
20182         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20183         (__ASSUME_TMPFS_NAME): Likewise.
20184         * README: Update reference to Linux kernel versions.
20186 2012-08-02  Marek Polacek  <polacek@redhat.com>
20188         [BZ# 14150]
20189         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20190         libc_cv_asm_type_prefix with %.
20191         * configure: Regenerated.
20192         * include/libc-symbols.h: Remove comment about
20193         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20194         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20195         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20196         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20197         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20198         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20199         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20200         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20201         * elf/tst-unique2mod1.c: Likewise.
20202         * elf/tst-unique1mod2.c: Likewise.
20203         * elf/tst-unique1mod1.c: Likewise.
20204         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20205         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20206         Replace ASM_TYPE_DIRECTIVE with .type.
20207         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20208         * sysdeps/i386/sysdep.h: Likewise.
20209         * sysdeps/x86_64/sysdep.h: Likewise.
20210         * sysdeps/sh/sysdep.h: Likewise.
20211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20212         Do not define ASM_TYPE_DIRECTIVE.
20213         * sysdeps/powerpc/sysdep.h: Likewise.
20214         * sysdeps/powerpc/powerpc32/sysdep.h:
20215         Replace ASM_TYPE_DIRECTIVE with .type.
20216         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20217         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20218         * sysdeps/i386/fpu/e_powf.S: Likewise.
20219         * sysdeps/i386/fpu/e_expl.S: Likewise.
20220         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20221         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20222         * sysdeps/i386/fpu/e_pow.S: Likewise.
20223         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20224         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20225         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20226         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20227         * sysdeps/i386/fpu/e_log2.S: Likewise.
20228         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20229         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20230         * sysdeps/i386/fpu/e_powl.S: Likewise.
20231         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20232         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20233         * sysdeps/i386/fpu/e_logl.S: Likewise.
20234         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20235         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20236         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20237         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20238         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20239         * sysdeps/i386/fpu/e_log.S: Likewise.
20240         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20241         * sysdeps/i386/fpu/e_logf.S: Likewise.
20242         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20243         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20244         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20245         * sysdeps/i386/fpu/e_log10.S: Likewise.
20246         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20247         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20248         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20249         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20250         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20251         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20252         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20253         * sysdeps/i386/i686/strtok.S: Likewise.
20254         * sysdeps/i386/i386-mcount.S: Likewise.
20255         * sysdeps/i386/strtok.S: Likewise.
20256         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20257         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20258         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20259         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20260         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20261         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20262         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20263         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20264         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20265         * sysdeps/x86_64/_mcount.S: Likewise.
20266         * sysdeps/x86_64/strtok.S: Likewise.
20267         * sysdeps/sh/_mcount.S: Likewise.
20269 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20271         * libio/iofopen.c: Include <fcntl.h>.
20272         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20273         (_IO_fopen64, fopen64): Define as aliases.
20274         * libio/iofopen64.c: Include <fcntl.h>.
20275         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20276         Conditionalize body on this.
20277         * sysdeps/wordsize-64/iofopen.c: File removed.
20278         * sysdeps/wordsize-64/iofopen64.c: File removed.
20280 2012-08-01  Marek Polacek  <polacek@redhat.com>
20282         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20283         Use dlfcn directly instead of a variable.
20284         (binfmt-subdir): Do not define.
20285         (dlfcn): Likewise.
20287 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20289         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20290         Remove all definitions.
20291         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20292         <kernel-features.h>.
20293         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20294         (miss_F_GETOWN_EX): Remove all definitions.
20295         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20296         macro definition.
20297         [!__ASSUME_FCNTL64]: Remove conditional code.
20298         [__ASSUME_FCNTL64]: Make code unconditional.
20299         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20300         <kernel-features.h>.
20301         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20302         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20303         (lockf64) [__NR_fcntl64]: Make code unconditional.
20304         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20306         * sysdeps/unix/sysv/linux/kernel-features.h
20307         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20308         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20309         Make code unconditional.
20310         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20311         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20313         [__NR_vfork]: Make code unconditional.
20314         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20315         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20317         [__NR_vfork]: Make code unconditional.
20318         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20319         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20321 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20323         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20324         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20326         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20327         Define mkstemp64 as an alias.
20328         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20329         Define mkstemps64 as an alias.
20330         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20331         Define mkostemp64 as an alias.
20332         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20333         Define mkostemps64 as an alias.
20334         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20335         Conditionalize body on this.
20336         * misc/mkostemp64.c: Likewise.
20337         * misc/mkostemps64.c: Likewise.
20338         * misc/mkstemps64.c: Likewise.
20339         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20340         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20341         * sysdeps/wordsize-64/mkostemp.c: File removed.
20342         * sysdeps/wordsize-64/mkstemp.c: File removed.
20343         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20344         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20345         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20346         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20348         [BZ #14138]
20349         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20350         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20351         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20352         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20354         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20355         compat_symbol macros from <shlib-compat.h> rather than the underlying
20356         default_symbol_version and symbol_version macros, so that DEFAULT
20357         lines in shlib-versions are respected.
20358         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20360 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20362         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20363         Declare with warn_unused_result.
20364         (setgid, setregid, setegid, setresgid): Likewise.
20365         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20366         Likewise.
20367         * WUR-REPORT: Remove set*id functions.
20369 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20371         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20373 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20375         [BZ #10191]
20376         * include/sys/socket.h (__libc_accept, __libc_accept4):
20377         Add attribute_hidden.
20378         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20380         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20381         use of PTR_MANGLE.
20382         * inet/getnetgrent_r.c (setup): Likewise.
20384         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20386 2012-07-31  David S. Miller  <davem@davemloft.net>
20388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20390 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20392         [BZ #13629]
20393         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20394         value between 1.0 and 2.0 and smaller part has absolute value less
20395         than 1.0.
20396         * math/s_clog10.c (__clog10): Likewise.
20397         * math/s_clog10f.c (__clog10f): Likewise.
20398         * math/s_clog10l.c (__clog10l): Likewise.
20399         * math/s_clogf.c (__clogf): Likewise.
20400         * math/s_clogl.c (__clogl): Likewise.
20401         * math/libm-test.inc (clog_test): Add more tests.
20402         (clog10_test): Likewise.
20403         * sysdeps/i386/fpu/libm-test-ulps: Update.
20404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20408         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20409         Exit with zero in case no suitable GID is found, and write a
20410         message to standard error.
20412 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20414         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20415         rather than to 1.
20416         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20417         (MAXPATHLEN): Removed.
20418         (NOGROUP, NODEV): New macros.
20419         (setbit, clrbit, isset, isclr): New macros.
20420         (howmany, roundup, powerof2): New macros.
20421         (DEV_BSIZE): New macro.
20423         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20424         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20426         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20427         definition on [!__NO_LONG_DOUBLE_MATH].
20429         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20430         PTR_MANGLE and PTR_DEMANGLE.
20432         * socket/accept4.c (accept4): Rename to __libc_accept4.
20433         Define accept4 as a weak alias.
20435         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20436         on [_DIRENT_HAVE_D_TYPE].
20437         * io/ftw.c (ftw_dir): Likewise.
20439         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20441         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20443         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20444         Use the BSD numbers rather than the arbitrary ones we had.
20445         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20446         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20447         (SIGXCPU, SIGXFSZ): New macros.
20448         (_NSIG): Now 32.
20450         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20451         initializer on [_LIBC_REENTRANT].
20453         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20454         definitions inside [_POSIX_MAPPED_FILES].
20456         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20458         * dirent/opendir.c: Include <fcntl.h>.
20460         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20461         (__libc_getspecific): Likewise.
20462         (__libc_key_create): Likewise.
20464         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20465         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20466         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20467         (tmpfile64): Define as alias.
20468         * sysdeps/wordsize-64/tmpfile.c: File removed.
20469         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20470         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20471         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20473         * stdio-common/vfscanf.c: Include <stdbool.h>.
20474         * nss/makedb.c: Likewise.
20475         * stdio-common/_i18n_number.h: Likewise.
20476         * argp/argp-help.c: Likewise.
20477         * posix/wordexp.c: Likewise.
20478         * sysdeps/posix/spawni.c: Likewise.
20479         * nss/nss_files/files-initgroups.c: Likewise.
20480         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20481         * nss/nss_files/files-initgroups.c: Likewise.
20482         * nss/nss_db/db-netgrp.c: Likewise.
20483         * nss/nss_db/db-initgroups.c: Likewise.
20484         * io/fchmodat.c: Include <sys/stat.h>.
20486         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20487         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20489         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20490         [HAVE_MMAP].
20492         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20493         Add multiple inclusion protection.
20495 2012-07-27  David S. Miller  <davem@davemloft.net>
20497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20499 2012-07-27  Gary Benson  <gbenson@redhat.com>
20501         [BZ #14298]
20502         * elf/rtld.c: Include <stap-probe.h>.
20503         (dl_main): Added static probes "init_start" and "init_complete".
20504         * elf/dl-load.c: Include <stap-probe.h>.
20505         (lose): Take new parameter "nsid".
20506         Added static probe "map_failed".
20507         (_dl_map_object_from_fd): Pass namespace id to lose.
20508         Added static probe "map_start".
20509         (open_verify): Pass namespace id to lose.
20510         * elf/dl-open.c: Include <stap-probe.h>.
20511         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20512         and "reloc_complete".
20513         * elf/dl-close.c: Include <stap-probe.h>.
20514         (_dl_close_worker): Added static probes "unmap_start" and
20515         "unmap_complete".
20516         * elf/rtld-debugger-interface.txt: New file documenting the above.
20518 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20520         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20521         rather than a string variable.
20522         * sunrpc/rpc_main.c (h_output): Likewise.
20523         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20525 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20527         * inet/check_native.c: New file.
20529 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20531         [BZ #13629]
20532         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20533         if larger part has absolute value 1.0.
20534         * math/s_clog10.c (__clog10): Likewise.
20535         * math/s_clog10f.c (__clog10f): Likewise.
20536         * math/s_clog10l.c (__clog10l): Likewise.
20537         * math/s_clogf.c (__clogf): Likewise.
20538         * math/s_clogl.c (__clogl): Likewise.
20539         * math/libm-test.inc (clog_test): Add more tests.
20540         (clog10_test): Likewise.
20541         * sysdeps/i386/fpu/libm-test-ulps: Update.
20542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20545         (pltexit): Likewise.
20546         (La_regs): Likewise.
20547         (La_retval): Likewise.
20548         (int_retval): Likewise.
20549         Update #error for removed macros to refer only to definitions in
20550         tst-audit.h.
20551         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20552         macro.
20553         (pltexit): Likewise.
20554         (La_regs): Likewise.
20555         (La_retval): Likewise.
20556         (int_retval): Likewise.
20557         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20558         macro.
20559         (pltexit): Likewise.
20560         (La_regs): Likewise.
20561         (La_retval): Likewise.
20562         (int_retval): Likewise.
20563         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20564         macro.
20565         (pltexit): Likewise.
20566         (La_regs): Likewise.
20567         (La_retval): Likewise.
20568         (int_retval): Likewise.
20569         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20570         macro.
20571         (pltexit): Likewise.
20572         (La_regs): Likewise.
20573         (La_retval): Likewise.
20574         (int_retval): Likewise.
20575         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20576         macro.
20577         (pltexit): Likewise.
20578         (La_regs): Likewise.
20579         (La_retval): Likewise.
20580         (int_retval): Likewise.
20581         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20582         macro.
20583         (pltexit): Likewise.
20584         (La_regs): Likewise.
20585         (La_retval): Likewise.
20586         (int_retval): Likewise.
20587         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20588         macro definitions in tst-audit.h.
20589         * sysdeps/i386/tst-audit.h: New file.
20590         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20591         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20592         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20593         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20594         * sysdeps/sh/tst-audit.h: Likewise.
20595         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20596         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20597         * sysdeps/x86_64/tst-audit.h: Likewise.
20599 2012-07-26  Andreas Jaeger  <aj@suse.de>
20601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20602         ptrace.
20604         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20605         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20606         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20607         PTRACE_O_MASK.
20608         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20609         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20610         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20612         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20613         value.
20615         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20616         _sigsys.
20617         (si_call_addr, si_syscall, si_arch): Define new macro.
20618         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20619         _sigsys.
20620         (si_call_addr, si_syscall, si_arch): Define new marcro.
20621         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20622         _sigsys.
20623         (si_call_addr, si_syscall, si_arch): Define new macro.
20624         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20625         _sigsys.
20626         (si_call_addr, si_syscall, si_arch): Define new macro.
20628 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20630         [BZ #13717]
20631         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20632         Change to 2.4.21 where previously 2.4.1.
20633         * sysdeps/unix/sysv/linux/configure: Regenerated.
20634         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20635         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20636         Linux kernel version.
20637         (__ASSUME_STD_AUXV): Remove.
20638         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20639         kernel version.
20640         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20641         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20642         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20643         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20644         (__ASSUME_NETLINK_SUPPORT): Likewise.
20645         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20646         (__no_netlink_support): Remove conditional definition.
20647         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20648         Remove.
20649         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20650         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20651         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20652         (if_nameindex_ioctl): Remove.
20653         (if_nameindex_netlink): Do not handle __no_netlink_support.
20654         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20655         code.
20656         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20657         Remove conditional code.
20658         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20659         code.
20660         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20661         unconditional.
20662         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20663         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20664         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20665         Remove.
20666         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20667         [!__ASSUME_STD_AUXV]: Remove conditional code.
20668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20669         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20670         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20672         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20673         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20674         code.
20675         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20677         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20678         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20679         conditional code.
20680         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20682         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20683         code.
20684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20685         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20686         conditional code.
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20688         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20689         code unconditional.
20690         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20691         conditional code.
20692         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20693         unconditional.
20694         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20695         conditional code.
20696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20697         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20698         unconditional.
20699         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20700         conditional code.
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20702         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20703         code unconditional.
20704         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20705         conditional code.
20706         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20707         unconditional.
20708         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20709         conditional code.
20710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20711         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20712         code unconditional.
20713         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20714         conditional code.
20715         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20716         unconditional.
20717         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20718         conditional code.
20720 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20722         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20723         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20724         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20725         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20726         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20727         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20728         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20729         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20730         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20731         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20732         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20733         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20734         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20735         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20736         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20737         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20738         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20739         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20740         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20741         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20742         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20743         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20746 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20748         * Versions.def: Add GLIBC_2.17.
20749         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20750         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20751         Introduce __libc_secure_getenv.
20752         * stdlib/Versions (2.17): Add secure_getenv
20753         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20754         * stdlib/secure-getenv.c: Rename __secure_getenv to
20755         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20756         symbol __secure_getenv for GLIBC_2.0.
20757         * stdlib/tst-secure-getenv.c: New.
20758         * stdlib/Makefile (tests): Add testcase.
20759         * manual/startup.texi (Environment Access): Document
20760         secure_getenv.
20761         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20762         __libc_secure_getenv.
20763         * inet/ruserpass.c (ruserpass): Likewise.
20764         * malloc/mtrace.c (mtrace): Likewise.
20765         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20766         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20767         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20768         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20769         HAVE_SECURE_GETENV.
20770         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20771         __secure_getenv to __libc_secure_getenv.
20772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20774         Likewise.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20776         Likewise.
20777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20779         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20785 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20787         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20788         (struct La_i86_retval): Likewise.
20789         (struct La_x86_64_regs): Likewise.
20790         (struct La_x86_64_retval): Likewise.
20791         (struct La_x32_regs): Likewise.
20792         (struct La_x32_retval): Likewise.
20793         (struct La_ppc32_regs): Likewise.
20794         (struct La_ppc32_retval): Likewise.
20795         (struct La_ppc64_regs): Likewise.
20796         (struct La_ppc64_retval): Likewise.
20797         (struct La_sh_regs): Likewise.
20798         (struct La_sh_retval): Likewise.
20799         (struct La_s390_32_regs): Likewise.
20800         (struct La_s390_32_retval): Likewise.
20801         (struct La_s390_64_regs): Likewise.
20802         (struct La_s390_64_retval): Likewise.
20803         (struct La_sparc32_regs): Likewise.
20804         (struct La_sparc32_retval): Likewise.
20805         (struct La_sparc64_regs): Likewise.
20806         (struct La_sparc64_retval): Likewise.
20807         (struct audit_ifaces): Remove architecture-specific pltenter and
20808         pltexit members.
20809         * sysdeps/i386/ldsodefs.h: New file.
20810         * sysdeps/powerpc/ldsodefs.h: Likewise.
20811         * sysdeps/s390/ldsodefs.h: Likewise.
20812         * sysdeps/sh/ldsodefs.h: Likewise.
20813         * sysdeps/sparc/ldsodefs.h: Likewise.
20814         * sysdeps/x86_64/ldsodefs.h: Likewise.
20816 2012-07-25  Marek Polacek  <polacek@redhat.com>
20818         [BZ #6808]
20819         * math/libm-test.inc (yn_test): Add another test.
20820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20821         to ERANGE when the result is +-Inf.
20822         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20823         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20824         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20825         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20827 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20829         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20830         equal to 0.
20831         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20832         clock_t.
20833         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20835 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20837         * configure.in <sysdeps resolving>: Correct printing
20838         Implies_before.
20839         * configure: Regenerate.
20841 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20843         * math/w_ilogb.c: Include <limits.h>.
20844         * math/w_ilogbl.c: Likewise.
20846 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20848         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20849         va_copy.  Document allowing for unavailable va_copy only as
20850         pre-C99 compatibility.
20851         * manual/string.texi (Copying and Concatenation): Use va_copy
20852         instead of __va_copy in concat example.
20854 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20856         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20857         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20858         it if not null.
20860         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20861         with O_NOLINK passed to __file_name_lookup.
20863         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20864         with O_NOLINK passed to __file_name_lookup.
20866         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20867         negative N or less than NGIDS.
20869         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20870         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20871         enough.  Use memcpy instead of strncpy.
20873 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20875         * elf/Makefile (check-data): Remove.
20876         (localplt.data): New vpath directive.
20877         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20878         instead of $(check-data).
20879         * scripts/data/localplt-generic.data: Move to ...
20880         * sysdeps/generic/localplt.data: ... here.
20881         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20882         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20883         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20885         ... here.
20886         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20888         ... here.
20889         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20891         ... here.
20892         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20894         ... here.
20895         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20897         ... here.
20898         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20900         ... here.
20902 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20904         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20905         PPC32 and PPC64 files.
20906         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20907         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20909 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20911         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20912         __makecontext_ret to ...
20913         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20914         ... here and call exit if uc_link is NULL.  New file.
20915         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20916         __makecontext_ret.S.
20917         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20918         __makecontext_ret to ...
20919         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20920         ... here and call exit if uc_link is NULL.  New file.
20921         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20922         __makecontext_ret.S.
20924 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20926         * elf/elf.h (R_390_IRELATIVE): New definition.
20927         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20928         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20929         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20930         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20931         (elf_machine_lazy_rel): Likewise.
20932         * sysdeps/s390/dl-irel.h: New file.
20933         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20934         * sysdeps/s390/s390-64/memset.S: New asm code.
20935         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20936         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20937         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20938         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20939         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20940         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20941         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20942         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20943         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20944         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20945         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20946         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20947         * sysdeps/s390/s390-32/memset.S: New asm code.
20948         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20950 2012-07-17  Marek Polacek  <polacek@redhat.com>
20952         [BZ #14349]
20953         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20954         * sysdeps/s390/s390-64/configure.in: Likewise.
20955         * sysdeps/sparc/configure.in: Likewise.
20956         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20957         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20958         * sysdeps/i386/configure.in: Likewise.
20959         * sysdeps/x86_64/configure.in: Likewise.
20960         * sysdeps/sh/configure.in: Likewise.
20961         * sysdeps/s390/s390-32/configure: Regenerated.
20962         * sysdeps/s390/s390-64/configure: Likewise.
20963         * sysdeps/x86_64/configure: Likewise.
20964         * sysdeps/sh/configure: Likewise.
20965         * sysdeps/powerpc/powerpc64/configure: Likewise.
20966         * sysdeps/powerpc/powerpc32/configure: Likewise.
20967         * sysdeps/sparc/configure: Likwise.
20968         * sysdeps/i386/configure: Likewise.
20970         * elf/dl-open.c: Comment fixes.
20972 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20974         * Makefile [CXX] (check-data): Remove.
20975         [CXX] (c++-types.data): New vpath directive.
20976         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20977         vpath.  Do not allow for C++ type data being missing.
20978         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20979         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20980         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20981         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20982         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20983         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20984         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20986         ... here.
20987         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20989         ... here.
20990         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20992         ... here.
20993         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20995         ... here.
20996         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20998         ... here.
20999         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21001         ... here.
21002         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21004         ... here.
21005         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21008         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21009         definitions to architecture-specific files.
21010         (TLS_IE): Likewise.
21011         (TLS_LD): Likewise.
21012         (TLS_GD): Likewise.
21013         * sysdeps/i386/tls-macros.h: New file.
21014         * sysdeps/powerpc/tls-macros.h: Likewise.
21015         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21016         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21017         * sysdeps/sh/tls-macros.h: Likewise.
21018         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21019         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21020         * sysdeps/x86_64/tls-macros.h: Likewise.
21022 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21024         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21025         zero value for regular exit case.
21027         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21028         (__start_context): Preserve zero value for regular exit case.
21030 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21031             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21033         * manual/setjmp.texi (setcontext): Clarify normal process
21034         termination when uc_link is the null pointer.
21035         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21036         exit call.
21038 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21040         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21041         preprocessor.  Test for each exception mask separately.
21043 2012-07-16  Andreas Jaeger  <aj@suse.de>
21045         * po/ru.po: Update from translation team.
21047 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21049         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21050         equal to 0.
21051         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21052         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21053         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21054         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21055         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21057 2012-07-13  Andreas Jaeger  <aj@suse.de>
21059         * po/fr.po: Update from translation team.
21061 2012-07-12  Marek Polacek  <polacek@redhat.com>
21063         [BZ #14173]
21064         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21065         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21066         loop condition.
21068 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21070         [BZ #13717]
21071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21072         Change to 2.4.1 where previously 2.4.0.
21073         * sysdeps/unix/sysv/linux/configure: Regenerated.
21074         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21075         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21076         version.
21077         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21078         (__ASSUME_AT_CLKTCK): Remove.
21079         (__ASSUME_AT_PAGESIZE): Likewise.
21080         (__ASSUME_AT_XID): Likewise.
21081         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21082         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21083         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21084         unconditionally.
21085         (HAVE_AUX_PAGESIZE): Likewise.
21086         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21087         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21088         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21090 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21092         [BZ #14307]
21093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21094         the temporary buffer used to invoke __gethostbyname2_r,
21095         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21096         host_data / struct gaih_addrtuple.
21097         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21098         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21099         header file nss/nsswitch.h.
21100         * nss/nsswitch.h (global scope): Add definition of implementation
21101         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21102         resolv/nss_dns/dns-host.c).
21104 2012-07-11  Andreas Jaeger  <aj@suse.de>
21106         * po/fr.po: Update from translation team.
21108         * po/sv.po: Update from translation team
21109         * po/fr.po: Another update from translation team.
21111 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21113         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21114         for subnormals or multiply small sinh result by itself.
21115         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21118 2012-07-11  David S. Miller  <davem@davemloft.net>
21120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21122 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21124         [BZ #14347]
21125         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21126         (INTERNAL_MARK): Shift it here.
21128 2012-07-10  Marek Polacek  <polacek@redhat.com>
21130         [BZ #14151]
21131         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21132         libc_cv_asm_global_directive with .globl.
21133         * configure: Regenerated.
21134         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21135         with .globl.
21136         * sysdeps/i386/configure: Regenerated.
21137         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21138         with .globl.
21139         * sysdeps/x86_64/configure: Regenerated.
21140         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21141         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21142         * elf/tst-unique2mod2.c: Likewise.
21143         * elf/tst-unique2mod1.c: Likewise.
21144         * elf/tst-unique1mod2.c: Likewise.
21145         * elf/tst-unique1mod1.c: Likewise.
21146         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21147         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21148         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21149         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21150         * sysdeps/mach/sysdep.h: Likewise.
21151         * sysdeps/i386/sysdep.h: Likewise.
21152         * sysdeps/i386/i386-mcount.S: Likewise.
21153         * sysdeps/x86_64/_mcount.S: Likewise.
21154         * sysdeps/x86_64/sysdep.h: Likewise.
21155         * sysdeps/sh/_mcount.S: Likewise.
21156         * sysdeps/sh/sysdep.h: Likewise.
21157         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21158         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21159         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21160         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21161         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21162         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21163         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21164         * locale/localeinfo.h: Likewise.
21165         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21166         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21168 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21170         [BZ #14336]
21171         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21172         system".
21173         * manual/message.texi (The Uniforum approach): Likewise.
21174         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21175         (glibc iconv Implementation): Likewise.
21177 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21179         [BZ #14337]
21180         * math/s_clog.c (__clog): Avoid scaling a value down where that
21181         could result in underflow.
21182         * math/s_clog10.c (__clog10): Likewise.
21183         * math/s_clog10f.c (__clog10f): Likewise.
21184         * math/s_clog10l.c (__clog10l): Likewise.
21185         * math/s_clogf.c (__clogf): Likewise.
21186         * math/s_clogl.c (__clogl): Likewise.
21187         * math/libm-test.inc (clog_test): Add more tests.
21188         (clog10_test): Likewise.
21189         * sysdeps/i386/fpu/libm-test-ulps: Update.
21190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21194         [BZ #14283]
21195         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21196         by 7 not 8 to examine high bit of fractional part.
21198         [BZ #14042]
21199         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21200         for call to __mcount_internal.
21201         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21202         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21203         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21205 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21207         [BZ #14154]
21208         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21209         approximation for values within 0x1p-13f of an odd multiple of
21210         pi/4.
21211         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21212         exception.  Add more tests.
21213         * sysdeps/i386/fpu/libm-test-ulps: Update.
21215         [BZ #6778]
21216         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21217         inputs and return -1 for them.  Do not check for +Inf in case not
21218         reachable for +Inf.
21219         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21220         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21221         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21222         and return -1 for them.  Do not check for +Inf in case not
21223         reachable for +Inf.
21224         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21225         define.
21226         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21227         and return -1 for them.  Do not check for +Inf in case not
21228         reachable for +Inf.
21229         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21230         spurious underflow.
21231         * sysdeps/i386/fpu/libm-test-ulps: Update.
21232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21236         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21238 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21240         [BZ #14157]
21241         [BZ #14331]
21242         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21243         could result in spurious underflow.  Scale down values above
21244         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21245         * math/s_csqrtf.c (__csqrtf): Likewise.
21246         * math/s_csqrtl.c (__csqrtl): Likewise.
21247         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21248         spurious underflow.
21249         * sysdeps/i386/fpu/libm-test-ulps: Update.
21250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21252 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21254         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21255         xopen-msg.sed.
21256         * catgets/xopen-msg.awk: New file.
21257         * catgets/xopen-msg.sed: Removed.
21259         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21260         po2text.sed.
21261         * intl/po2test.awk: New file.
21262         * intl/po2test.sed: Removed.
21264 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21266         [BZ #14328]
21267         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21268         or multiply small sinh result by itself.
21269         * math/s_ctanf.c (__ctanf): Likewise.
21270         * math/s_ctanh.c (__ctanh): Likewise.
21271         * math/s_ctanhf.c (__ctanhf): Likewise.
21272         * math/s_ctanhl.c (__ctanhl): Likewise.
21273         * math/s_ctanl.c (__ctanl): Likewise.
21274         * math/libm-test.inc (ctan_test_tonearest): New function.
21275         (ctan_test_towardzero): Likewise.
21276         (ctan_test_downward): Likewise.
21277         (ctan_test_upward): Likewise.
21278         (ctanh_test_tonearest): Likewise.
21279         (ctanh_test_towardzero): Likewise.
21280         (ctanh_test_downward): Likewise.
21281         (ctanh_test_upward): Likewise.
21282         (main): Call these new functions.
21283         * sysdeps/i386/fpu/libm-test-ulps: Update.
21284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21286 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21288         * .gitignore: Delete /ports entry.
21290 2012-07-03  Andreas Jaeger  <aj@suse.de>
21292         * po/bg.po: Update from translation team.
21293         * po/cs.po: Likewise.
21294         * po/de.po: Likewise.
21295         * po/hr.po: Likewise.
21296         * po/nl.pl: Likewise.
21297         * po/pl.po: Likewise.
21298         * po/vi.po: Likewise.
21300 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21302         * Makeconfig [!+link] (+link-before-libc): New variable.
21303         [!+link] (+link-after-libc): Likewise.
21304         [!+link] (+link-tests): Likewise.
21305         [!+link] (+link): Define in terms of $(+link-before-libc) and
21306         $(+link-after-libc).
21307         [!+link-static] (+link-static-before-libc): New variable.
21308         [!+link-static] (+link-static-after-libc): Likewise.
21309         [!+link-static] (+link-static-tests): Likewise.
21310         [!+link-static] (+link-static): Define in terms of
21311         $(+link-static-before-libc) and $(+link-static-after-libc).
21312         [build-shared] (link-libc-before-gnulib): New variable.
21313         [build-shared] (link-libc-tests): Likewise.
21314         [build-shared] (link-libc): Define in terms of
21315         $(link-libc-before-gnulib).
21316         [!build-shared] (link-libc-tests): New variable.
21317         (link-libc-static-tests): New variable.
21318         [!gnulib] (gnulib-arch): New variable.
21319         [!gnulib] (gnulib-tests): Likewise.
21320         [!gnulib] (static-gnulib-arch): Likewise.
21321         [!gnulib] (static-gnulib-tests): Likewise.
21322         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21323         Define with "=" instead of ":=".
21324         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21325         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21326         * Rules (binaries-all-notests): New variable.
21327         (binaries-all-tests): Likewise.
21328         (binaries-static-notests): Likewise.
21329         (binaries-static-tests): Likewise.
21330         (binaries-all): Define using $(binaries-all-notests) and
21331         $(binaries-all-tests).
21332         (binaries-static): Define using $(binaries-static-notests) and
21333         $(binaries-static-tests).
21334         (binaries-shared-tests): New variable.
21335         (binaries-shared-notests): Likewise.
21336         (binaries-shared): Remove variable.
21337         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21338         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21339         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21340         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21341         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21342         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21343         * elf/Makefile (sln-modules): New variable.
21344         (extra-objs): Add $(sln-modules:=.o).
21345         (ldconfig-modules): Add static-stubs.
21346         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21347         * elf/static-stubs.c: New file.
21349         [BZ #14283]
21350         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21351         by 7 not 8 to examine high bit of fractional part.  Use volatile
21352         variables when splitting into final array of floats if
21353         __FLT_EVAL_METHOD__ != 0.
21354         * math/libm-test.inc (cos_test): Add another test.
21355         (sin_test): Likewise.
21356         * sysdeps/i386/fpu/libm-test-ulps: Update.
21358         [BZ #14273]
21359         * math/libm-test.inc (cosh_test): Add more tests.
21361         * version.h (RELEASE): Set to "development".
21362         (VERSION): Set to "2.16.90".
21364 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21366         * NEWS: Update copyright. Remove last-updated date.
21367         Mention math library bug fixes and timezone data changes.
21368         * README: Mention GNU/Hurd, x32, and HPPA support status.
21370 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21372         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21374 2012-06-27  Andreas Jaeger  <aj@suse.de>
21376         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21378 2012-06-25  Andreas Jaeger  <aj@suse.de>
21380         * sysdeps/s390/fpu/libm-test-ulps: Update.
21382 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21383             Thomas Schwinge  <thomas@codesourcery.com>
21385         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21386         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21388         fanotify_mark.
21390 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21392         * sysdeps/mach/start.c: Remove file.
21393         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21394         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21395         * sysdeps/sh/init-first.c: Likewise.
21397         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21398         registers for frame unwinding purposes, add CFI directives.
21399         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21400         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21401         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21402         Likewise.
21404         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21405         __fortify_fail returning.
21406         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21408         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21409         sysdeps/sh/____longjmp_chk.S.
21410         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21411         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21412         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21413         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21415         * sysdeps/sh/abort-instr.h: New file.
21416         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21417         process in case exit returns.
21419         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21420         initialize the GOT register before use.
21422         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21423         calculation of ARGC > 4.
21425         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21426         meaningful names to some local labels.
21428 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21429             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21431         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21432         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21433         (__arch_compare_and_exchange_val_16_acq): Likewise.
21434         (__arch_compare_and_exchange_val_32_acq): Likewise.
21435         (atomic_exchange_and_add): Fix gUSA sequence.
21436         (atomic_add): Likewise.
21437         (atomic_add_negative): Likewise.
21438         (atomic_add_zero): Likewise.
21439         (atomic_bit_test_set): Likewise.
21441 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21443         [BZ #13579]
21444         * include/link.h (struct link_map): Add l_free_initfini.
21445         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21446         l_initfini.
21447         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21448         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21449         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21450         set.
21452 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21454         * configure.in: Use AC_LANG_SOURCE.
21455         * configure: Regenerate.
21457 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21459         * configure.in (libc_cv_localstatedir): New substituted variable.
21460         * configure: Regenerated.
21461         * config.make.in (localstatedir): New variable, substituted from
21462         libc_cv_localstatedir.
21463         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21464         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21465         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21466         * sysdeps/gnu/configure: Regenerated.
21468 2012-06-21  Jeff Law  <law@redhat.com>
21470         [BZ #14277]
21471         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21472         free.  Simplify list management for _LIBC case.
21474 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21476         [BZ #14273]
21477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21478         Clear sign bit of 64-bit integer value before comparing against
21479         overflow value.
21481         * sysdeps/mach/configure: Regenerated.
21483 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21485         [BZ #14278]
21486         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21488 2012-06-21  Jeff Law  <law@redhat.com>
21490         [BZ #13882]
21491         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21492         uint16_t for elements in the "seen" array to avoid char overflows.
21493         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21494         * elf/dl-open.c (dl_open_worker): Likewise.
21496 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21498         * scripts/list-sources.sh: Scan PORTS for translations.
21499         * po/libc.pot: Regenerated.
21501 2012-06-21  Andreas Jaeger  <aj@suse.de>
21503         [BZ #12194]
21504         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21505         warning.
21506         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21507         * bits/byteswap-16.h (__bswap_16): Likewise.
21508         * bits/byteswap.h (__bswap_constant_16): Likewise.
21510 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21512         [BZ #14117]
21513         * sysdeps/i386/fpu_control.h: Removed.
21514         * sysdeps/x86_64/fpu_control.h: Moved to ...
21515         * sysdeps/x86/fpu_control.h: Here.
21517         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21518         (_FPU_SETCW): Likewise.
21520 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21522         [BZ #14117]
21523         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21524         * sysdeps/x86/fpu/bits/mathinline.h: This.
21525         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21527         [BZ #14050]
21528         [BZ #14117]
21529         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21530         functions if __x86_64__ is defined.
21532 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21534         * string/endian.h: Add !__ASSEMBLER__ condition for including
21535         conversion interfaces.
21537 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21539         [BZ #14241]
21540         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21541         of ABS(x) in calculating zero to negative powers other than odd
21542         integers.
21543         * math/libm-test.inc (pow_test): Add more tests.
21545 2012-06-15  Andreas Jaeger  <aj@suse.de>
21547         * manual/contrib.texi (Contributors): Update entry of Liubov
21548         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21549         Machado Filho.
21551 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21553         * string/string.h: Add __wur to GNU version of strerror_r.
21555 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21557         [BZ #14229]
21558         * string/Makefile (tests): Add tst-strtok_r.
21559         * string/tst-strtok_r.c: New file.
21560         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21561         RAX_LP/RDX_LP on SAVE_PTR.
21563 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21565         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21567 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21569         * libm_test.inc (csqrt_test): Allow more spurious underflow
21570         exceptions.
21571         (j0_test): Likewise.
21572         (j1_test): Likewise.
21573         (y0_test): Likewise.
21574         (y1_test): Likewise.
21576 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21578         * po/Makefile (libc.pot): Use UTF-8 charset.
21580 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21582         [BZ #14210]
21583         Suppress sign-conversion warning from FD_SET.
21584         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21585         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21586         not unsigned long int.
21587         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21589 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21591         [BZ #14050]
21592         [BZ #14117]
21593         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21594         __extern_always_inline instead of __extern_inline.
21595         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21596         (__signbit): Likewise.
21597         (__signbitl): Support C++ namespace.
21598         (lrintf): New inline function.
21599         (lrint): Likewise.
21600         (llrintf): Likewise.
21601         (llrint): Likewise.
21602         (fmaxf): Likewise.
21603         (fmax): Likewise.
21604         (fminf): Likewise.
21605         (fmin): Likewise.
21606         (rint): Likewise.
21607         (rintf): Likewise.
21608         (ceil): Likewise.
21609         (ceilf): Likewise.
21610         (floor): Likewise.
21611         (floorf): Likewise.
21612         (nearbyint): Likewise.
21613         (nearbyintf): Likewise.
21615 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21618         non-default versions.
21620 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21622         [BZ #14218]
21623         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21625 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21627         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21628         (FE_UPWARD, FE_DOWNWARD): Don't define.
21629         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21630         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21632         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21633         reading it.
21634         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21635         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21637 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21639         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21641         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21642         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21644 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21646         [BZ #14117]
21647         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21648         * sysdeps/i386/fpu/Implies: New file.
21649         * sysdeps/x86_64/fpu/Implies: Likewise.
21650         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21651         * sysdeps/x86/fpu/bits/fenv.h: This.
21653         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21654         __SSE_MATH__.
21656 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21658         [BZ #14134]
21659         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21660         character 0xffff that matches the last element of the
21661         conversion table.
21663 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21665         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21666         fmodl commit.
21668 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21671         values higher than 25.6283.
21673 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21676         subnormal exponent extraction and add some __builtin_expect.
21677         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21678         Fix for subnormal mantissa calculation.
21680 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21682         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21683         cpu2 is -1 and errno is not ENOSYS.
21685 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21687         [BZ #14117]
21688         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21689         * sysdeps/x86/bits/string.h: This.
21690         * sysdeps/x86_64/bits/string.h: Removed.
21692         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21693         if not compiling for x86-64, but compiling for >= i486.
21695         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21696         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21698         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21699         New macro from Linux kernel 3.4.0.
21700         (FP_XSTATE_MAGIC2): Likewise.
21701         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21702         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21703         (struct _fpx_sw_bytes): New struct.
21704         (struct _xsave_hdr): Likewise.
21705         (struct _ymmh_state): Likewise.
21706         (struct _xstate): Likewise.
21708         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21709         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21710         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21711         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21712         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21713         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21715         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21716         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21717         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21718         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21719         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21720         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21722 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21724         [BZ #13743]
21725         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21726         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21727         (sysdep_headers): Include sys/platform/ppc.h.
21728         * sysdeps/powerpc/test-gettimebase.c: Test for
21729         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21730         * manual/Makefile (appendices): Include platform.texi.
21731         * manual/contrib.texi (Contributors): Update @node pointers.
21732         * manual/maint.texi (Maintenance): Likewise.
21733         (Platform): New node.
21734         * manual/platform.texi: New file.  Document the new features.
21736 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21737             Jakub Jelinek  <jakub@redhat.com>
21739         [BZ #14188]
21740         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21741         where __builtin_expect is unavailable.
21743 2012-06-03  David S. Miller  <davem@davemloft.net>
21745         * stdlib/longlong.h: Updated from GCC.
21747 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21749         [BZ #14042]
21750         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21751         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21752         __mcount_internal.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21754         (GLIBC_2.16): Likewise.
21756 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21758         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21760 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21763         (default-abi): New variable.
21764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21765         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21766         variable.
21767         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21768         Likewise.
21769         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21770         Likewise.
21771         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21772         Likewise.
21774         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21775         definition.  Document in comment.
21777 2012-06-01  David S. Miller  <davem@davemloft.net>
21779         * stdlib/longlong.h: Updated from GCC.
21781 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21783         [BZ #14117]
21784         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21785         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21786         sys/debugreg.h sys/io.h here.
21787         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21788         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21789         sys/io.h.
21790         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21791         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21792         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21793         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21794         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21795         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21797         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21798         Define only if __x86_64__ is defined.
21800 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21802         [BZ #14048]
21803         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21804         Use int64_t for variable i.
21805         * math/libm-test.inc (fmod_test): Add more tests.
21807         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21808         z computation is not scheduled after fetestexcept.
21809         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21810         Use math_force_eval instead of asm to ensure calculation scheduled
21811         before exception test.
21812         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21813         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21815 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21818         computation is not scheduled after fetestexcept.
21820 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21822         [BZ #14117]
21823         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21824         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21826 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21828         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21829         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21831 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21833         [BZ #14117]
21834         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21835         <bits/wordsize.h>.
21836         (__WCHAR_MIN): Support __WORDSIZE == 64.
21837         (__WCHAR_MAX): Likewise.
21839         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21840         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21842         [BZ #14183]
21843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21844         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21846         [BZ #14117]
21847         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21848         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21850         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21851         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21853         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21854         Defined to 1 if __x86_64__ isn't defined.
21855         (_STAT_VER_LINUX_OLD): New.
21856         (st_atime): Remove duplicate.
21857         (st_mtime): Likewise.
21858         (st_ctime): Likewise.
21860 2012-05-31  David S. Miller  <davem@davemloft.net>
21862         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21863         entries.
21865 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21867         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21868         gen-libm-test.pl.
21870         [BZ #14132]
21871         * elf/dl-reloc.c: Include <_itoa.h>.
21872         (_dl_reloc_bad_type): Remove use of INTUSE.
21873         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21874         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21875         * stdio-common/psiginfo.c (psiginfo): Likewise.
21876         * stdio-common/psignal.c (psignal): Likewise.
21877         * string/strsignal.c (strsignal): Likewise.
21878         * include/signal.h (_sys_siglist): Declare hidden proto.
21879         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21880         INTVARDEF with libc_hidden_data_def.
21881         * stdio-common/itoa-udigits.c: Likewise.
21882         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21883         (_itoa_lower_digits_internal): Remove declaration.
21884         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21885         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21886         (_sys_sigabbrev_internal): Remove aliases.
21887         (_sys_siglist): Define hidden alias.
21889 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21892         bits/sysctl.h.
21894 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21896         [BZ #14117]
21897         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21898         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21900         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21901         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21902         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21903         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21904         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21905         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21907         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21908         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21909         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21911         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21912         with __addr.
21913         (insw): Likewise.
21914         (insl): Likewise.
21915         (outsb): Likewise.
21916         (outsw): Likewise.
21917         (outsl): Likewise.
21919         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21920         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21921         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21923         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21924         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21926         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21927         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21928         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21930         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21931         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21933         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21934         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21936         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21937         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21938         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21940         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21941         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21942         to ...
21943         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21945         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21946         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21947         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21949         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21950         for x86-64.
21951         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21953 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21955         * math/math.h (M_El): Use two more decimal places.
21956         (M_LOG2El): Likewise.
21957         (M_LOG10El): Likewise.
21958         (M_LN2l): Likewise.
21959         (M_LN10l): Likewise.
21960         (M_PIl): Likewise.
21961         (M_PI_2l): Likewise.
21962         (M_PI_4l): Likewise.
21963         (M_1_PIl): Likewise.
21964         (M_2_PIl): Likewise.
21965         (M_2_SQRTPIl): Likewise.
21966         (M_SQRT2l): Likewise.
21967         (M_SQRT1_2l): Likewise.
21969 2012-05-31  David S. Miller  <davem@davemloft.net>
21971         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21972         values between float registers.
21973         * sysdeps/sparc/sparc64/memset.S: Likewise.
21974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21976 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21978         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21979         -D_FORTIFY_SOURCE=1.
21980         (CPPFLAGS-tst-longjmp_chk.c): Define.
21981         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21982         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21983         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21984         CFLAGS-tst-wchar-h.c.
21986 2012-05-31  Marek Polacek  <polacek@redhat.com>
21988         [BZ #14132]
21989         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21990         __endmntent_internal): Remove declaration.
21991         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21992         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21993         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21995 2012-05-30  David S. Miller  <davem@davemloft.net>
21997         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21998         (___Q_simulate_exceptions): Use real FP ops rather than writing
21999         into the %fsr.
22000         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22001         Likewise.
22003 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22005         [BZ #14117]
22006         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22007         * sysdeps/x86/bits/xtitypes.h: This.
22009         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22010         * sysdeps/x86/bits/wordsize.h: This.
22012         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22013         * sysdeps/x86/bits/huge_vall.h: This.
22015         * sysdeps/i386/bits/select.h: Removed.
22016         * sysdeps/x86_64/bits/select.h: Renamed to ...
22017         * sysdeps/x86/bits/select.h: This.
22019         * sysdeps/i386/bits/setjmp.h: Removed.
22020         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22021         * sysdeps/x86/bits/setjmp.h: This.
22023         * sysdeps/i386/bits/mathdef.h: Removed.
22024         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22025         * sysdeps/x86/bits/mathdef.h: This.
22027 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22029         [BZ #14132]
22030         * include/sys/socket.h (__connect_internal)
22031         (__libc_sa_len_internal): Remove declaration.
22032         (__connect, __libc_sa_len): Declare hidden_proto.
22033         (SA_LEN): Remove use of INTUSE.
22034         * socket/connect.c: Add libc_hidden_def.
22035         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22036         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22037         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22038         alias.
22039         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22040         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22041         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22042         of adding _internal alias.
22044 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22046         [BZ #14117]
22047         * sysdeps/i386/bits/link.h: Removed.
22048         * sysdeps/i386/bits/linkmap.h: Likewise.
22049         * sysdeps/x86_64/bits/link.h: Renamed to ...
22050         * sysdeps/x86/bits/link.h: This.
22051         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22052         * sysdeps/x86/bits/linkmap.h: This.
22054         * sysdeps/i386/bits/endian.h: Removed.
22055         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22056         * sysdeps/x86/bits/endian.h: This.
22058         * sysdeps/i386/bits/byteswap.h: Removed.
22059         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22060         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22061         * sysdeps/x86/bits/byteswap.h: This.
22062         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22063         * sysdeps/x86/bits/byteswap-16.h: This.
22064         * sysdeps/i386/Implies: Add x86.
22065         * sysdeps/x86_64/Implies: Likewise.
22067 2012-05-30  David S. Miller  <davem@davemloft.net>
22069         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22070         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22071         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22072         (FP_TRAPPING_EXCEPTIONS): Define.
22073         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22074         (FP_TRAPPING_EXCEPTIONS): Define.
22075         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22076         subnormals only when inexact has been signalled or underflow
22077         exceptions are enabled.
22078         (_FP_PACK_CANONICAL): Likewise.
22080 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22082         [BZ #14183]
22083         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22084         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22086 2012-05-30  Richard Henderson  <rth@twiddle.net>
22088         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22089         with #ifndef NOT_IN_libc.
22091         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22092         marked to avoid plt entry.
22094 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22096         [BZ #14112]
22097         * Makeconfig (default-abi): New macro.
22098         (abi-includes): Likewise.
22099         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22100         $(abi-$(default-abi)-lib-soname) for soname if defined.
22101         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22102         abi-variants.
22103         * Makefile (installed-stubs): Likewise.
22104         * include/stubs-biarch.h: Removed.
22105         * scripts/lib-names.awk: Only handle one library at a time.
22106         * scripts/soversions.awk: Remove WORDSIZE support.
22107         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22108         entries.
22109         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22110         Removed.
22111         (syscall-list-default-condition): Likewise.
22112         (syscall-list-default-condition): Likewise.
22113         (syscall-list-includes): Likewise.
22114         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22115         syscall-list-* with abi-*.  Handle undefined abi-variants.
22116         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22117         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22118         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22119         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22120         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22121         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22122         Removed.
22123         (syscall-list-32-options): Likewise.
22124         (syscall-list-32-condition): Likewise.
22125         (syscall-list-64-options): Likewise.
22126         (syscall-list-64-condition): Likewise.
22127         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22128         macro.
22129         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22130         Renamed to ...
22131         (abi-*): This.
22132         (abi-64-ld-soname): New macro.
22133         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22134         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22135         Renamed to ...
22136         (abi-*): This.
22137         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22138         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22140 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22142         * sysdeps/unix/sysv/linux/kernel-features.h
22143         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22144         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22145         include <kernel-features.h>.
22146         [!__NR_ftruncate64]: Remove conditional code.
22147         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22148         [__NR_ftruncate64]: Make code unconditional.
22149         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22150         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22151         include <kernel-features.h>.
22152         [!__NR_ftruncate64]: Remove conditional code.
22153         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22154         [__NR_ftruncate64]: Make code unconditional.
22155         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22157         include <kernel-features.h>.
22158         [!__NR_ftruncate64]: Remove conditional code.
22159         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22160         [__NR_ftruncate64]: Make code unconditional.
22161         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22163         include <kernel-features.h>.
22164         [!__NR_ftruncate64]: Remove conditional code.
22165         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22166         [__NR_ftruncate64]: Make code unconditional.
22167         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22169         * configure.in (libc_cv_fpie): Weaken to a compile test using
22170         LIBC_TRY_CC_OPTION.
22171         * configure: Regenerated.
22173 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22179         Refreshed.
22180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22186         Refreshed.
22188 2012-05-27  David S. Miller  <davem@davemloft.net>
22190         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22191         (___Q_zero): New.
22192         (__Q_simulate_exceptions): Return void.  Change to simulate
22193         exceptions by writing into the %fsr.
22194         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22195         (__Qp_handle_exceptions): Likewise.
22196         (numbers): Delete.
22197         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22198         __Qp_handle_exceptions.
22199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22200         __Qp_handle_exceptions.
22201         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22202         as unused and give dummy FP_RND_NEAREST initializer.
22203         (FP_INHIBIT_RESULTS): Define.
22204         (___Q_simulate_exceptions): Update declaration.
22205         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22206         formatting.
22207         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22208         as unused and give dummy FP_RND_NEAREST initializer.
22209         (__Qp_handle_exceptions): Update declaration.
22210         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22211         formatting.
22213 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22215         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22216         the temporary FPU control word.
22217         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22218         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22219         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22220         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22221         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22222         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22223         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22224         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22225         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22226         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22227         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22229 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22231         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22232         fields.
22234 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22236         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22237         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22238         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22239         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22240         Likewise.
22241         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22242         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22243         Likewise.
22245 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22247         * po/h.po: Update from translation team.
22249 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22251         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22253         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22254         handling of denormals.
22255         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22256         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22257         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22258         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22259         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22260         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22262         Likewise.
22264 2012-05-26  Marek Polacek  <polacek@redhat.com>
22266         [BZ #14152]
22267         * math/libm-test.inc (fma_test): Don't always expect underflow
22268         exception.
22270 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272         [BZ #12416]
22273         * elf/tst-execstack.c: Include stackinfo.h.
22274         (do_test): Adjust test case to ensure that pthread_getattr_np
22275         behaviour remains the same after marking stack executable.
22277 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22279         * sysdeps/unix/sysv/linux/kernel-features.h
22280         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22281         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22282         kernel-features.h.
22283         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22284         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22285         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22286         kernel-features.h.
22287         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22288         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22290 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22292         * configure.in: Define the default includes to being none.
22293         * configure: Regenerated.
22295 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22297         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22298         * sysdeps/x86_64/setjmp.S: Likewise.
22299         * sysdeps/i386/bsd-setjmp.S: Likewise.
22300         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22301         * sysdeps/i386/setjmp.S: Likewise.
22302         * sysdeps/i386/__longjmp.S: Likewise.
22303         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22304         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22306         * include/stap-probe.h: New file.
22307         * configure.in: Handle --enable-systemtap.
22308         * configure: Regenerated.
22309         * config.h.in (USE_STAP_PROBE): New #undef.
22310         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22311         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22312         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22314 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22316         [BZ #13717]
22317         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22318         to 2.4.0 where earlier.
22319         * sysdeps/unix/sysv/linux/configure: Regenerated.
22320         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
22329         [__ASSUME_32BITUIDS]: Make code unconditional.
22330         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22331         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22332         <kernel-features.h>.
22333         [__ASSUME_32BITUIDS]: Make code unconditional.
22334         [!__ASSUME_32BITUIDS]: Remove conditional code.
22335         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22336         <kernel-features.h>.
22337         [__ASSUME_32BITUIDS]: Make code unconditional.
22338         [!__ASSUME_32BITUIDS]: Remove conditional code.
22339         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22340         <kernel-features.h>.
22341         [__ASSUME_32BITUIDS]: Make code unconditional.
22342         [!__ASSUME_32BITUIDS]: Remove conditional code.
22343         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22344         <kernel-features.h>.
22345         [__ASSUME_32BITUIDS]: Make code unconditional.
22346         [!__ASSUME_32BITUIDS]: Remove conditional code.
22347         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22348         <kernel-features.h>.
22349         [__ASSUME_32BITUIDS]: Make code unconditional.
22350         [!__ASSUME_32BITUIDS]: Remove conditional code.
22351         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22352         <kernel-features.h>.
22353         [__ASSUME_32BITUIDS]: Make code unconditional.
22354         [!__ASSUME_32BITUIDS]: Remove conditional code.
22355         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22356         <kernel-features.h>.
22357         [__ASSUME_32BITUIDS]: Make code unconditional.
22358         [!__ASSUME_32BITUIDS]: Remove conditional code.
22359         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22360         <kernel-features.h>.
22361         [__ASSUME_32BITUIDS]: Make code unconditional.
22362         [!__ASSUME_32BITUIDS]: Remove conditional code.
22363         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22364         <kernel-features.h>.
22365         [__ASSUME_32BITUIDS]: Make code unconditional.
22366         [!__ASSUME_32BITUIDS]: Remove conditional code.
22367         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22368         <kernel-features.h>.
22369         [__ASSUME_32BITUIDS]: Make code unconditional.
22370         [!__ASSUME_32BITUIDS]: Remove conditional code.
22371         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22372         <kernel-features.h>.
22373         [__NR_setresgid] (__setresgid): Do not declare.
22374         [__ASSUME_32BITUIDS]: Make code unconditional.
22375         [!__ASSUME_32BITUIDS]: Remove conditional code.
22376         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22377         <kernel-features.h>.
22378         [__NR_setresuid] (__setresuid): Do not declare.
22379         [__ASSUME_32BITUIDS]: Make code unconditional.
22380         [!__ASSUME_32BITUIDS]: Remove conditional code.
22381         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22382         <kernel-features.h>.
22383         [__ASSUME_32BITUIDS]: Make code unconditional.
22384         [!__ASSUME_32BITUIDS]: Remove conditional code.
22385         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22386         <kernel-features.h>.
22387         [__ASSUME_32BITUIDS]: Make code unconditional.
22388         [!__ASSUME_32BITUIDS]: Remove conditional code.
22389         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22390         <kernel-features.h>.
22391         [__ASSUME_32BITUIDS]: Make code unconditional.
22392         [!__ASSUME_32BITUIDS]: Remove conditional code.
22393         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22394         <kernel-features.h>.
22395         [__ASSUME_32BITUIDS]: Make code unconditional.
22396         [!__ASSUME_32BITUIDS]: Remove conditional code.
22397         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22398         <kernel-features.h>.
22399         [__ASSUME_32BITUIDS]: Make code unconditional.
22400         [!__ASSUME_32BITUIDS]: Remove conditional code.
22401         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22402         <kernel-features.h>.
22403         [__ASSUME_32BITUIDS]: Make code unconditional.
22404         [!__ASSUME_32BITUIDS]: Remove conditional code.
22405         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22406         <kernel-features.h>.
22407         [__ASSUME_32BITUIDS]: Make code unconditional.
22408         [!__ASSUME_32BITUIDS]: Remove conditional code.
22409         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22410         <kernel-features.h>.
22411         [__ASSUME_32BITUIDS]: Make code unconditional.
22412         [!__ASSUME_32BITUIDS]: Remove conditional code.
22413         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22414         <kernel-features.h>.
22415         [__ASSUME_32BITUIDS]: Make code unconditional.
22416         [!__ASSUME_32BITUIDS]: Remove conditional code.
22417         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22418         <kernel-features.h>.
22419         [__ASSUME_32BITUIDS]: Make code unconditional.
22420         [!__ASSUME_32BITUIDS]: Remove conditional code.
22421         * sysdeps/unix/sysv/linux/kernel-features.h
22422         (__ASSUME_SETRESUID_SYSCALL): Remove.
22423         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22424         (__ASSUME_32BITUIDS): Likewise.
22425         (__ASSUME_LDT_WORKS): Likewise.
22426         (__ASSUME_O_DIRECTORY): Likewise.
22427         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22428         architecture but not kernel version.
22429         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22430         (__ASSUME_MMAP2_SYSCALL): Likewise.
22431         (__ASSUME_STAT64_SYSCALL): Likewise.
22432         (__ASSUME_IPC64): Likewise.
22433         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22434         <kernel-features.h>.
22435         [__ASSUME_32BITUIDS]: Make code unconditional.
22436         [!__ASSUME_32BITUIDS]: Remove conditional code.
22437         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22438         <kernel-features.h>.
22439         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22440         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22441         132096]: Remove conditional code.
22442         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22443         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22444         <kernel-features.h>.
22445         [__ASSUME_32BITUIDS]: Make code unconditional.
22446         [!__ASSUME_32BITUIDS]: Remove conditional code.
22447         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22448         <kernel-features.h>.
22449         [__ASSUME_32BITUIDS]: Make code unconditional.
22450         [!__ASSUME_32BITUIDS]: Remove conditional code.
22451         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22452         <kernel-features.h>.
22453         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22454         unconditional.
22455         (__setresgid): Do not declare.
22456         [__ASSUME_32BITUIDS]: Make code unconditional.
22457         [!__ASSUME_32BITUIDS]: Remove conditional code.
22458         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22459         <kernel-features.h>.
22460         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22461         unconditional.
22462         (__setresuid): Do not declare.
22463         [__ASSUME_32BITUIDS]: Make code unconditional.
22464         [!__ASSUME_32BITUIDS]: Remove conditional code.
22465         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22466         <kernel-features.h>.
22467         [__ASSUME_32BITUIDS]: Make code unconditional.
22468         [!__ASSUME_32BITUIDS]: Remove conditional code.
22469         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22470         <kernel-features.h>.
22471         [__ASSUME_32BITUIDS]: Make code unconditional.
22472         [!__ASSUME_32BITUIDS]: Remove conditional code.
22474 2012-05-25  Richard Henderson  <rth@twiddle.net>
22476         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22477         dl_hwcap to ifunc resolver.
22478         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22479         elf_ifunc_invoke.
22480         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22481         dl_hwcap to ifunc resolver.
22482         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22484 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22486         [BZ #14153]
22487         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22488         for |x| <= 2**-26, not 2**-57.
22489         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22490         exception.
22492 2012-05-24  Jeff Law  <law@redhat.com>
22494         * stdio-common/Makefile (tests): Add bug25.
22495         * stdio-common/bug25.c: New test.
22497 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22499         [BZ #13576]
22500         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22501         multiple of MALLOC_ALIGNMENT in size.
22502         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22504 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22506         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22507         Require >= 256.
22508         (FILENAME_MAX): Use macro-int-constant.
22509         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22510         (_IOFBF): Use macro-int-constant.
22511         (_IOLBF): Likewise.
22512         (_IONBF): Likewise.
22513         (SEEK_CUR): Likewise.
22514         (SEEK_END): Likewise.
22515         (SEEK_SET): Likewise.
22516         (TMP_MAX): Likewise.
22517         (EOF): Use macro-int-constant.  Require < 0.
22518         (NULL): Use macro-constant.  Require == 0.
22519         (stdin): Require type to be FILE *.
22520         (stdout): Likewise.
22521         (stderr): Likewise.
22522         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22523         macro-int-constant.
22524         (EXIT_SUCCESS): Likewise.
22525         (NULL): Use macro-constant.  Require == 0.
22526         (RAND_MAX): Use macro-int-constant.
22527         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22528         [C99-based standards] (strtof): Require function.
22529         [C99-based standards] (strtold): Likewise.
22530         [C99-based standards] (strtoll): Likewise.
22531         [C99-based standards] (strtoull): Likewise.
22532         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22533         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22534         [ISO || ISO99 || ISO11] (math.h): Likewise.
22535         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22536         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22539 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22541         [BZ #14132]
22542         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22543         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22544         * intl/dgettext.c (DCGETTEXT): Likewise.
22545         * intl/gettext.c (DCGETTEXT): Likewise.
22546         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22547         * posix/regex_internal.h (gettext): Likewise.
22548         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22549         Remove declaration.
22550         * include/argz.h (__argz_count_internal)
22551         (__argz_stringify_internal): Remove declaration.
22552         (__argz_count, __argz_stringify): Declare hidden proto.
22553         * intl/dcgettext.c: Remove use of INTDEF.
22554         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22555         * string/argz-stringify.c: Likewise.
22556         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22557         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22558         Declare hidden proto.
22559         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22560         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22561         Declare hidden proto.
22562         * include/stdio.h (__asprintf_internal): Don't declare.
22563         (__asprintf): Don't define as macro.  Declare hidden proto.
22564         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22565         (__fsetlocking): Declare hidden proto.
22566         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22567         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22568         hidden proto.
22569         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22570         (_IO_setlinebuf): Remove use of INTUSE.
22571         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22572         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22573         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22574         Remove declaration.
22575         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22576         (_IO_do_flush): Remove use of INTUSE.
22577         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22578         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22579         (_IO_adjust_column, _IO_least_wmarker)
22580         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22581         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22582         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22583         (_IO_default_doallocate, _IO_wdefault_doallocate)
22584         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22585         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22586         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22587         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22588         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22589         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22590         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22591         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22592         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22593         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22594         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22595         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22596         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22597         proto.
22598         (_IO_flush_all_internal, _IO_adjust_column_internal)
22599         (_IO_default_uflow_internal, _IO_default_finish_internal)
22600         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22601         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22602         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22603         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22604         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22605         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22606         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22607         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22608         (_IO_file_close_internal, _IO_file_close_it_internal)
22609         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22610         (_IO_file_init_internal, _IO_file_attach_internal)
22611         (_IO_file_fopen_internal, _IO_file_read_internal)
22612         (_IO_file_sync_internal, _IO_file_seek_internal)
22613         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22614         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22615         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22616         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22617         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22618         (_IO_list_all_internal, _IO_link_in_internal)
22619         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22620         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22621         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22622         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22623         (_IO_do_write_internal, _IO_padn_internal)
22624         (_IO_getline_info_internal, _IO_getline_internal)
22625         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22626         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22627         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22628         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22629         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22630         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22631         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22632         with libc_hidden_ver, remove use of INTUSE.
22633         * libio/genops.c: Likewise.
22634         * libio/freopen.c: Likewise.
22635         * libio/freopen64.c: Likewise.
22636         * libio/iofclose.c: Likewise.
22637         * libio/iofdopen.c: Likewise.
22638         * libio/iofflush.c: Likewise.
22639         * libio/iofflush_u.c: Likewise.
22640         * libio/iofgets.c: Likewise.
22641         * libio/iofgets_u.c: Likewise.
22642         * libio/iofopen.c: Likewise.
22643         * libio/iofopncook.c: Likewise.
22644         * libio/iofread.c: Likewise.
22645         * libio/iofread_u.c: Likewise.
22646         * libio/ioftell.c: Likewise.
22647         * libio/iofwrite.c: Likewise.
22648         * libio/iogetline.c: Likewise.
22649         * libio/iogets.c: Likewise.
22650         * libio/iogetwline.c: Likewise.
22651         * libio/iopadn.c: Likewise.
22652         * libio/iopopen.c: Likewise.
22653         * libio/ioseekoff.c: Likewise.
22654         * libio/ioseekpos.c: Likewise.
22655         * libio/iosetbuffer.c: Likewise.
22656         * libio/iosetvbuf.c: Likewise.
22657         * libio/ioungetc.c: Likewise.
22658         * libio/ioungetwc.c: Likewise.
22659         * libio/iovdprintf.c: Likewise.
22660         * libio/iovsprintf.c: Likewise.
22661         * libio/iovsscanf.c: Likewise.
22662         * libio/memstream.c: Likewise.
22663         * libio/obprintf.c: Likewise.
22664         * libio/oldfileops.c: Likewise.
22665         * libio/oldiofclose.c: Likewise.
22666         * libio/oldiofdopen.c: Likewise.
22667         * libio/oldiofopen.c: Likewise.
22668         * libio/oldiopopen.c: Likewise.
22669         * libio/oldstdfiles.c: Likewise.
22670         * libio/putc.c: Likewise.
22671         * libio/setbuf.c: Likewise.
22672         * libio/setlinebuf.c: Likewise.
22673         * libio/stdfiles.c: Likewise.
22674         * libio/strops.c: Likewise.
22675         * libio/vasprintf.c: Likewise.
22676         * libio/vscanf.c: Likewise.
22677         * libio/vsnprintf.c: Likewise.
22678         * libio/vswprintf.c: Likewise.
22679         * libio/wfiledoalloc.c: Likewise.
22680         * libio/wfileops.c: Likewise.
22681         * libio/wgenops.c: Likewise.
22682         * libio/wmemstream.c: Likewise.
22683         * libio/wstrops.c: Likewise.
22684         * libio/__fpurge.c: Likewise.
22685         * libio/__fsetlocking.c: Likewise.
22686         * assert/assert.c: Likewise.
22687         * debug/fgets_chk.c: Likewise.
22688         * debug/fgets_u_chk.c: Likewise.
22689         * debug/fread_chk.c: Likewise.
22690         * debug/fread_u_chk.c: Likewise.
22691         * debug/gets_chk.c: Likewise.
22692         * debug/obprintf_chk.c: Likewise.
22693         * debug/vasprintf_chk.c: Likewise.
22694         * debug/vdprintf_chk.c: Likewise.
22695         * debug/vsnprintf_chk.c: Likewise.
22696         * debug/vsprintf_chk.c: Likewise.
22697         * malloc/mtrace.c: Likewise.
22698         * misc/error.c: Likewise.
22699         * misc/syslog.c: Likewise.
22700         * stdio-common/asprintf.c: Likewise.
22701         * stdio-common/fxprintf.c: Likewise.
22702         * stdio-common/getw.c: Likewise.
22703         * stdio-common/isoc99_fscanf.c: Likewise.
22704         * stdio-common/isoc99_scanf.c: Likewise.
22705         * stdio-common/isoc99_vfscanf.c: Likewise.
22706         * stdio-common/isoc99_vscanf.c: Likewise.
22707         * stdio-common/isoc99_vsscanf.c: Likewise.
22708         * stdio-common/printf-prs.c: Likewise.
22709         * stdio-common/printf_fp.c: Likewise.
22710         * stdio-common/printf_fphex.c: Likewise.
22711         * stdio-common/printf_size.c: Likewise.
22712         * stdio-common/putw.c: Likewise.
22713         * stdio-common/scanf.c: Likewise.
22714         * stdio-common/sprintf.c: Likewise.
22715         * stdio-common/tmpfile.c: Likewise.
22716         * stdio-common/vfprintf.c: Likewise.
22717         * stdio-common/vfscanf.c: Likewise.
22718         * stdlib/strfmon_l.c: Likewise.
22719         * sunrpc/openchild.c: Likewise.
22720         * sunrpc/xdr_stdio.c: Likewise.
22721         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22722         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22724 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22726         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22728         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22729         in the third column, to generate for the shared library an IFUNC
22730         that uses _dl_vdso_vsym.
22731         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22732         * Makeconfig (object-suffixes-noshared): New variable.
22734         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22735         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22736         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22737         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22739         [BZ #14132]
22740         * include/sys/time.h (__gettimeofday): Remove macro.
22741         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22742         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22743         Remove INTDEF.
22744         (__gettimeofday): Add libc_hidden_def.
22745         (gettimeofday): Add libc_hidden_weak.
22746         * sysdeps/mach/gettimeofday.c: Likewise.
22747         * sysdeps/posix/gettimeofday.c: Likewise.
22748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22749         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22750         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22751         (__gettimeofday_internal): Remove strong_alias.
22752         (__gettimeofday): Add libc_hidden_def.
22753         (gettimeofday): Add libc_hidden_weak.
22754         * sysdeps/unix/syscalls.list (gettimeofday):
22755         Remove __gettimeofday_internal alias.
22757 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22758             H.J. Lu  <hongjiu.lu@intel.com>
22760         [BZ #12495]
22761         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22762         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22763         (largebin_index_32_big): New.
22764         (largebin_index): Use it for 16-byte alignment.
22765         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22766         correction with front_misalign.
22768 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22772         Likewise.
22773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22778         Likewise.
22779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22780         Likewise.
22781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22782         Likewise.
22783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22784         Likewise.
22785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22786         Likewise.
22787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22792         Likewise.
22793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22794         Likewise.
22796         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22797         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22799 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22801         [BZ #10846]
22802         [BZ #14036]
22803         * math/libm-test.inc (exp_test): Add test from bug 14036.
22804         (pow_test): Add test from bug 10846.
22806         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22807         and other flags.
22808         (special_function): Do not include flags in test name.
22809         (parse_args): Likewise.
22810         * sysdeps/i386/fpu/libm-test-ulps: Update.
22811         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22812         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22813         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22816         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22817         exceptions.
22818         * math/libm-test.inc ("Philosophy"): Update comment about
22819         exception testing.
22820         (UNDERFLOW_EXCEPTION): New macro.
22821         (UNDERFLOW_EXCEPTION_OK): Likewise.
22822         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22823         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22824         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22825         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22826         (INVALID_EXCEPTION_OK): Update value.
22827         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22828         (OVERFLOW_EXCEPTION_OK): Likewise.
22829         (IGNORE_ZERO_INF_SIGN): Likewise.
22830         (test_exceptions): Handle underflow exceptions.
22831         (acos_test): Update for underflow exception expectations.
22832         (cexp_test): Likewise.
22833         (clog_test): Likewise.
22834         (clog10_test): Likewise.
22835         (csqrt_test): Likewise.
22836         (ctan_test): Likewise.
22837         (ctanh_test): Likewise.
22838         (exp_test): Likewise.
22839         (exp10_test): Likewise.
22840         (exp2_test): Likewise.
22841         (expm1_test): Likewise.
22842         (fma_test): Likewise.
22843         (j0_test): Likewise.
22844         (jn_test): Likewise.
22845         (nexttoward_test): Likewise.
22846         (pow_test): Likewise.
22847         (scalbn_test): Likewise.
22848         (scalbln_test): Likewise.
22849         (tan_test): Likewise.
22850         (y1_test): Likewise.
22851         * sysdeps/i386/fpu/libm-test-ulps: Update.
22852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22854 2012-05-23  David S. Miller  <davem@davemloft.net>
22856         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22857         (__libc_sigaction): Remove unused local variables.
22859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22861         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22863 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22865         mktime: avoid signed integer overflow
22866         * time/mktime.c (__mktime_internal): Do not mishandle the case
22867         where diff == INT_MIN.
22869         mktime: simplify computation of average
22870         * time/mktime.c (ranged_convert): Use new time_t_avg function
22871         instead of rolling our own (probably-slower) code.
22873         mktime: do not assume signed right shift propagates sign bit
22874         * time/mktime.c (isdst_differ): New static function.
22875         (__mktime_internal): No need to normalize tm_isdst now.
22876         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22877         tm_isdst values.
22879         mktime: merge another wrapv change from gnulib
22880         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22881         from some compilers.
22883         mktime: remove incorrect attempt at unusual arithmetics
22884         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22885         The code didn't really work on such machines anyway.
22886         (TYPE_MINIMUM): Assume two's complement.
22887         (twos_complement_arithmetic): Verify that long_int and time_t
22888         are two's complement (or unsigned, in the latter case).
22890         mktime: check signed shifts on long_int and time_t, too
22891         * time/mktime.c (SHR): Check that shifts work as desired
22892         on the types long_int and time_t too, as SHR is used on
22893         such types.
22895         mktime: do not assume 'long' is wide enough
22896         * time/mktime.c (verify): Move decl up.
22897         (long_int): New type.
22898         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22899         to remove assumption in the code that 'long' is wide enough to
22900         store year values.  This assumption is not true on x32 and on
22901         some non-glibc platforms.
22903         mktime: merge wrapv change from gnulib
22904         * time/mktime.c (WRAPV): New macro.
22905         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22906         (guess_time_tm, __mktime_internal): Do not assume that signed
22907         integer overflow wraps around; modern compilers generate code
22908         where this assumption is no longer valid.
22910 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22912         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22913         Replace "jmp L(pseudo_end)" with "ret".
22914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22915         Likewise.
22917 2012-05-23  Andreas Jaeger  <aj@suse.de>
22919         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22920         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22922 2012-05-23  Andreas Jaeger  <aj@suse.de>
22923             Maximilian Attems  <max@stro.at>
22925         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22926         New macros.
22928 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22931         code so that pseudo_end is just ret and the stack pointer is
22932         correct also for static library in error case.
22934 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22936         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22937         move to syscalls.list.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22943         * manual/install.texi (Running make install): Do not mention Linux
22944         kernel version for which pt_chown is not needed.
22945         (Linux): Do not mention problems with nscd with 2.0 kernels.
22946         * INSTALL: Regenerated.
22948 2012-05-23  Andreas Jaeger  <aj@suse.de>
22950         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22951         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22952         macro.
22953         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22954         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22955         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22956         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22957         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22958         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22959         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22960         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22962         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22963         * sysdeps/unix/sysv/linux/bits/in.h
22964         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22966 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22968         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22969         (PREPARE_VERSION): Just use assert instead, it will be elided
22970         under [NDEBUG] anyway.
22972 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22974         * sysdeps/unix/sysv/linux/Makefile: Include
22975         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22976         (sysdep_routines): Remove sysctl.
22977         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22978         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22979         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22980         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22981         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22983 2012-05-22  Andreas Jaeger  <aj@suse.de>
22985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22986         that pseudo_end is just ret and the stack pointer is correct also
22987         for static library in error case.
22989 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22991         [BZ #14122]
22992         * nss/nsswitch.c (defconfig_entries): New variable.
22993         (__nss_database_lookup): Don't leak defconfig entries.
22994         (nss_parse_service_list): Don't leak on error paths.
22995         (free_database_entries): New function.
22996         (free_defconfig): New function.
22997         (free_mem): Move common code to free_database_entries.
22999 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23001         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23002         Add arch_prctl.
23003         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23005         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23006         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23008         New macro.
23009         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23010         (INTERNAL_SYSCALL_TYPES): Likewise.
23011         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23012         (LOAD_REGS_TYPES_[1-6]): Likewise.
23013         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23014         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23016 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23018         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23019         copysignl for GLIBC_2_0.
23020         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23021         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23023         logbl for GLIBC_2_0.
23024         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23025         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23027 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23029         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23030         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23032         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23033         Use "neg %eax".
23035         * time/mktime.c: Update copyright years.
23037 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23039         mktime: merge comment-quoting-style change from gnulib
23040         * time/mktime.c: Quote 'like this' in comments.
23041         The GNU coding standards suggest that we no longer quote `like this',
23042         as "`" and "'" are typically rendered asymmetrically nowadays.
23043         The typical gnulib style is to quote 'like this' when quoting
23044         code, and "like this" when quoting English.
23046         * time/mktime.c (compile-command): Add "-I.".
23048         mktime: merge mktime-internal.h change from gnulib
23049         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23051         mktime: merge time_r change from gnulib
23052         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23054         mktime: merge DEBUG change from gnulib
23055         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23056         case system <time.h> has a #define.
23058         mktime: merge <sys/types.h> change from gnulib
23059         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23060         since <time.t> is now guaranteed to define time_t.
23062         mktime: merge HAVE_CONFIG_H change from gnulib
23063         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23065 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23068         Use "neg %eax".
23070         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23071         __rlim_t cast.
23072         (struct rusage): Use anonymous union to pad each field to
23073         __syscall_slong_t.
23075 2012-05-21  David S. Miller  <davem@davemloft.net>
23077         * Makefules (o-iterator): Remove .s cases.
23078         (compile-command.s): Delete.
23079         (COMPILE.s): Delete.
23080         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23082 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23084         * configure.in (libc_cv_predef_stack_protector): Only consider
23085         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23086         * configure: Regenerated.
23088 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23091         New macro.  Use R*LP on int and pointer.
23092         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23093         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23094         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23095         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23097         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23098         [__WORDSIZE_TIME64_COMPAT32] instead of
23099         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23100         (struct utmp): Likewise.
23101         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23102         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23103         Renamed to ...
23104         (__WORDSIZE_TIME64_COMPAT32): This.
23105         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23106         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23107         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23108         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23109         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23110         (__WORDSIZE_TIME64_COMPAT32): New macro.
23112 2012-05-21  Andreas Jaeger  <aj@suse.de>
23114         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23115         only if [SHARED]. Add prototype for __wcschr_ia32.
23117 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23119         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23120         of %rbp unmolested in the jmp_buf while mangling the low bits.
23121         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23122         unmolested high bits of %rbp while demangling the low bits.
23123         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23125 2012-05-21  Andreas Jaeger  <aj@suse.de>
23127         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23128         * sunrpc/svc_simple.c: Use it for registerrpc.
23129         * sunrpc/xcrypt.c: Use it for passwd2des.
23131         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23133 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23135         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23136         Don't define if [__SYSCALL_WORDSIZE != 32].
23137         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23138         New macro.
23140 2012-05-21  Bruno Haible  <bruno@clisp.org>
23141             Andreas Jaeger  <aj@suse.de>
23143         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23144         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23145         inptr and inend for must_buffer_ch.
23146         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23147         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23148         * stdio-common/Makefile (tests): Remove bug15.
23149         (bug15-ENV): Remove macro.
23150         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23151         anymore.
23153 2012-05-19  Andreas Jaeger  <aj@suse.de>
23154             Roland McGrath  <roland@hack.frob.com>
23156         * manual/contrib.texi: Completely rewritten. It contains now an
23157         alphabetical list of contributors and their contributions.
23159 2012-05-21  Richard Henderson  <rth@twiddle.net>
23161         * misc/getauxval.c (__getauxval): Use unsigned long int.
23162         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23163         (getauxval): Use unsigned long int.
23165 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23167         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23169 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23171         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23172         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23173         __alignof__ (long double).
23175 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23179 2012-05-20  Richard Henderson  <rth@twiddle.net>
23181         * misc/getauxval.c: New file.
23182         * misc/sys/auxv.h: New file.
23183         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23184         (routines): Add getauxval.
23185         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23186         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23187         * elf/dl-sysdep.c (_dl_auxv): Remove.
23188         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23189         * elf/dl-support.c (_dl_auxv): New variable.
23190         (_dl_aux_init): Initialize it.
23191         * manual/startup.texi (Auxiliary Vector): New node.
23192         * sysdeps/generic/bits/hwcap.h: New file.
23193         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23194         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23195         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23196         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23197         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23198         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23200         Update.
23201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23204         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23210 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23214 2012-05-19  David S. Miller  <davem@davemloft.net>
23216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23218 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23220         [BZ #14123]
23221         * math/s_ccosh.c: Include <float.h>
23222         (__ccosh): Avoid internal overflow calculating sinh and cosh
23223         values before multiplying by sin and cos values.
23224         * math/s_ccoshf.c: Likewise.
23225         * math/s_ccoshl.c: Likewise.
23226         * math/s_csin.c: Likewise.
23227         * math/s_csinf.c: Likewise.
23228         * math/s_csinl.c: Likewise.
23229         * math/s_csinh.c: Likewise.
23230         * math/s_csinhf.c: Likewise.
23231         * math/s_csinhl.c: Likewise.
23232         * math/libm-test.inc (ccos_test): Add more tests.
23233         (ccosh_test): Likewise.
23234         (csin_test): Likewise.
23235         (csinh_test): Likewise.
23236         * sysdeps/i386/fpu/libm-test-ulps: Update.
23237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23241         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23242         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23244         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23246 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23248         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23249         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23250         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23251         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23252         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23253         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23254         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23255         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23256         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23257         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23258         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23259         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23260         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23261         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23262         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23263         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23264         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23265         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23266         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23267         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23268         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23269         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23270         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23271         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23272         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23273         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23274         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23275         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23276         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23277         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23278         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23280 2012-05-18  Andreas Jaeger  <aj@suse.de>
23282         * csu/.gitignore: Delete.
23284 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23286         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23287         (timex): Use __syscall_slong_t.
23289 2012-05-18  Andreas Jaeger  <aj@suse.de>
23290             Carlos O'Donell  <carlos_odonell@mentor.com>
23292         * manual/install.texi (Configuring and compiling): Update
23293         description about files modified in the source directory.
23294         * INSTALL: Regenerated.
23296 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23299         value.  Use "or" to set return value to -1.
23300         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23301         negate return value.
23303 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23305         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23306         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23307         failure if the compiler has Graphite support disabled.
23308         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23309         Likewise.
23310         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23311         CFLAGS-memmove.c): Likewise.
23312         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23313         Likewise.
23315 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23317         * sysdeps/x86_64/x32/_itoa.h: New file.
23319         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23320         getdents system call only if kernel and user dirents have the
23321         same d_ino and d_off.
23323         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23324         LLONG_MAX != LONG_MAX.
23325         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23326         (_fitoa_word): Likewise.
23328         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23329         years.
23330         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23331         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23332         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23334         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23335         include <bits/wordsize.h>.  Check __x86_64__ instead of
23336         __WORDSIZE.
23337         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23338         if __x86_64__ is defined.  Use anonymous union on fpstate.
23340         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23341         anonymous union.
23343 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23345         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23346         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23347         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23348         Refer to _rtld_local_ro instead of _rtld_global_ro.
23349         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23350         Likewise.
23351         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23352         Likewise.
23353         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23354         Likewise.
23355         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23356         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23357         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23359         * sysdeps/powerpc/powerpc32/dl-machine.c
23360         (__elf_machine_runtime_setup) [PROF]: Don't reference
23361         _dl_prof_resolve.
23363 2012-05-18  Andreas Jaeger  <aj@suse.de>
23365         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23366         function only available for GCCs before 3.4 since GCC 3.4
23367         introduced a builtin.
23368         (lrint): Likewise.
23369         (llrintf): Likewise.
23370         (llrint): Likewise.
23371         (fmaxf): Likewise.
23372         (fmax): Likewise.
23373         (fminf): Likewise.
23374         (fmin): Likewise.
23375         (rint): Likewise.
23376         (rintf): Likewise.
23377         (nearbyint): Likewise.
23378         (nearbyintf): Likewise.
23379         (ceil): Likewise.
23380         (ceilf): Likewise.
23381         (floor): Likewise.
23382         (floorf): Likewise.
23384 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23386         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23387         on both fields and cast pointer to __syscall_ulong_t.
23389         * bits/types.h (__fsword_t): New type.
23390         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23391         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23392         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23393         (__FSWORD_T_TYPE): Likewise.
23394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23395         (__FSWORD_T_TYPE): Likewise.
23396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23397         (__FSWORD_T_TYPE): Likewise.
23398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23399         (__FSWORD_T_TYPE): Likewise.
23400         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23401         __SWORD_TYPE with __fsword_t.
23402         (statfs64): Likewise.
23404 2012-05-17  David S. Miller  <davem@davemloft.net>
23406         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23408 2012-05-17  Andreas Jaeger  <aj@suse.de>
23410         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23411         warning.
23413 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23415         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23417 2012-05-17  Andreas Jaeger  <aj@suse.de>
23419         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23420         when it is used.
23422 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23424         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23426 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23429         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23431 2012-05-17  Andreas Jaeger  <aj@suse.de>
23432             Carlos O'Donell  <carlos_odonell@mentor.com>
23434         [BZ #14059]
23435         * sysdeps/x86_64/multiarch/init-arch.h
23436         (bit_YMM_Usable): Rename to...
23437         (bit_AVX_Usable): ... this.
23438         (bit_FMA4_Usable): New macro.
23439         (bit_XMM_state): New macro.
23440         (bit_YMM_state): New macro.
23441         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23442         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23443         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23444         (CPUID_OSXSAVE): New macro.
23445         (CPUID_AVX): New macro.
23446         (CPUID_FMA4): New macro.
23447         (index_YMM_Usable): Rename to...
23448         (index_AVX_Usable): ... this.
23449         (HAS_AVX): Use HAS_ARCH_FEATURE.
23450         (HAS_FMA4): Likewise.
23451         (HAS_YMM_USABLE): Remove.
23452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23453         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23454         are present.
23455         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23456         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23457         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23458         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23459         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23461 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23463         * math/libm-test.c: Support platforms without multiple rounding modes.
23464         * math/bug-nextafter.c: Support platforms without FP exceptions.
23465         * math/bug-nexttoward.c: Likewise.
23466         * math/test-fenv.c: Likewise.
23467         * math/test-misc.c: Likewise.
23468         * stdlib/bug-getcontext.c: Likewise.
23470 2012-05-17  Andreas Jaeger  <aj@suse.de>
23472         * manual/examples/search.c (critter_cmp): Change signature to
23473         avoid warnings.
23474         * manual/string.texi (Collation Functions): Likewise.
23476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23478         * bits/types.h: Fold copyright years.
23479         * bits/typesizes.h: Likewise.
23480         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23482         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23483         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23484         * time/time.h: Likewise.
23486 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23488         [BZ #208]
23489         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23490         in instead of returning them.  Return void.
23491         (__libc_mallinfo): Accumulate over all arenas.
23492         (__malloc_stats): Adjust for change in int_mallinfo interface.
23494 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23496         [BZ #10375]
23497         * configure.in (NM): Add AC_CHECK_TOOL for it.
23498         (libc_extra_cflags): New substituted variable.
23499         Check for -fstack-protector being used implicitly.
23500         * configure: Regenerated.
23501         * config.make.in (config-extra-cflags): New variable,
23502         gets @libc_extra_cflags@.
23503         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23505         [BZ #10375]
23506         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23507         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23508         * configure: Regenerated.
23509         * config.make.in (CPPUNDEFS): New substituted variable.
23510         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23511         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23512         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23516         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23517         (mq_attr): Use __syscall_slong_t.
23519 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23522         Check __x86_64__ instead of __WORDSIZE.
23523         (_STAT_VER_LINUX): Likewise.
23524         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23525         __syscall_ulong_t and __syscall_slong_t.
23526         (stat64): Likewise.
23528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23530         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23534         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23538         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23539         __syscall_ulong_t.
23541         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23542         include <bits/wordsize.h>.  Check __x86_64__ instead of
23543         __WORDSIZE.
23544         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23545         defined.
23546         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23548         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23549         include <bits/wordsize.h>.  Check __x86_64__ instead of
23550         __WORDSIZE.
23551         (user_regs_struct): Use "__extension__ unsigned long long"
23552         instead of "unsigned long" if __x86_64__ is defined.
23553         (user): Likewise.  Pad after pointer field if __ILP32__ is
23554         defined.
23556 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23558         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23559         versions 5 to 9.
23560         * configure: Regenerated.
23561         * manual/install.texi (texinfo): Increase version requirement to
23562         4.5 or later.
23563         * INSTALL: Regenerated.
23565         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23567 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23569         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23571         * sysdeps/x86_64/x32/ffs.c: New file.
23573         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23574         __syscall_ulong_t.
23575         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23576         defined.  Use __syscall_ulong_t.
23577         (shminfo): Use __syscall_ulong_t.
23578         (shm_info): Likewise.
23580         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23581         __syscall_ulong_t.
23583         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23584         <bits/wordsize.h>.
23585         (msgqnum_t): Use __syscall_ulong_t.
23586         (msglen_t): Likewise.
23587         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23588         __syscall_ulong_t.
23590         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23591         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23593         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23595         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23596         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23598         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23599         __syscall_slong_t.
23601         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23602         include <bits/wordsize.h>.  Check __x86_64__ instead of
23603         __WORDSIZE.
23605         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23606         "unsigned long long int" if __x86_64__ is defined.
23607         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23609         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23610         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23611         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23613         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23614         <stdint.h>.
23615         (GET_PC): Cast to uintptr_t first.
23616         (GET_FRAME): Likewise.
23617         (GET_STACK): Likewise.
23619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23620         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23621         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23622         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23625         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23628         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23630         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23631         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23632         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23634         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23635         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23636         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23637         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23638         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23639         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23640         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23641         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23642         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23643         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23644         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23646         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23647         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23649 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23651         * Makerules (+depfiles): Also collect depfiles from .oS in
23652         $(extra-objs).
23653         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23654         .oS, $(libnldbl-routines)).
23656         * Makerules (native-compile-mkdep-flags): Define.
23657         * sunrpc/Makefile (extra-objs): Add $(addprefix
23658         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23659         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23660         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23661         calling $(make-target-directory).
23663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23665         * bits/types.h (__snseconds_t): Removed.
23666         * time/time.h (struct timespec): Replace __snseconds_t with
23667         __syscall_slong_t.
23668         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23669         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23670         Likewise.
23671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23672         (__SNSECONDS_T_TYPE): Likewise.
23673         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23674         (__SNSECONDS_T_TYPE): Likewise.
23675         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23676         (__SNSECONDS_T_TYPE): Likewise.
23678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23680         * sysdeps/mach/hurd/bits/typesizes.h
23681         (__SYSCALL_SLONG_TYPE): New macro.
23682         (__SYSCALL_ULONG_TYPE): Likewise.
23684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23686         * bits/types.h (__syscall_slong_t): New type.
23687         (__syscall_ulong_t): Likewise.
23689         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23690         (__SYSCALL_ULONG_TYPE): Likewise.
23691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23692         (__SYSCALL_SLONG_TYPE): Likewise.
23693         (__SYSCALL_ULONG_TYPE): Likewise.
23694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23695         (__SYSCALL_SLONG_TYPE): Likewise.
23696         (__SYSCALL_ULONG_TYPE): Likewise.
23697         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23698         (__SYSCALL_SLONG_TYPE): Likewise.
23699         (__SYSCALL_ULONG_TYPE): Likewise.
23701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23703         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23704         Add sigaltstack-offsets.sym.
23705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23706         <sigaltstack-offsets.h>.
23707         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23708         longjmp_msg pointer.
23709         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23710         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23711         signal stack.
23712         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23714 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23716         * elf/stackguard-macros.h: Remove file.
23717         * sysdeps/generic/stackguard-macros.h: New file.
23718         * sysdeps/i386/stackguard-macros.h: Likewise.
23719         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23720         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23721         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23722         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23723         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23724         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23725         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23726         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23727         <elf/stackguard-macros.h>.
23729         [BZ #14109]
23730         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23731         __aligned__ in attribute.
23732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23733         (gregset_t): Likewise.
23735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23737         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23738         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23739         * sysdeps/x86_64/x32/Implies-after: New file.
23741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23743         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23744         and access return value for _dl_profile_fixup.  Use R10_LP to
23745         load frame size.
23747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23749         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23753         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23754         * sysdeps/x86_64/x32/sysdep.h: New file.
23756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23758         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23759         * sysdeps/x86_64/setjmp.S: Likewise.
23761 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23763         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23764         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23765         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23766         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23767         remove unused global constant.
23769 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23771         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23772         include of <not-cancel.h>.
23774 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23776         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23778 2012-05-15  Jeff Law  <law@redhat.com>
23779             Andreas Jaeger  <aj@suse.de>
23781         [BZ #13594]
23782         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23783         out from...
23784         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23785         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23786         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23787         code changing __hst_map_handle.map.
23789 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23791         * configure.in (sysnames): Look for Implies-before and Implies-after
23792         files.
23793         * configure: Regenerated.
23795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23797         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23798         8-byte data alignment with LP_SIZE alignment.
23800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23802         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23803         into R10_LP.
23805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23807         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23811         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23812         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23814         Likewise.
23815         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23819         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23820         (stackinfo_sub_sp): Likewise.
23822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23824         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23825         RAX_LP.
23827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23829         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23830         into R*_LP.
23832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23834         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23835         sizes into R*_LP.
23837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23843         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23844         into R11_LP and load __x86_64_shared_cache_size_half into
23845         R8_LP.
23847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23849         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23850         R8_LP.
23852 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23855         logb for POWER7.
23856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23857         logbf for POWER7.
23858         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23859         logbl for POWER7.
23860         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23861         powerpc32/power7/fpu/s_logb.c via #include.
23862         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23863         powerpc32/power7/fpu/s_logbf.c via #include.
23864         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23865         powerpc32/power7/fpu/s_logbl.c via #include.
23867 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23869         * README.libm: Remove file.
23871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23873         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23874         count for x32.  Use R*_LP and omit operand-size suffix.
23876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23878         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23879         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23880         * sysdeps/x86_64/x32/shlib-versions: New file.
23882 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23884         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23885         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23886         Use _dl_fatal_printf instead.
23888 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23890         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23891         set if not set by the user.  Do not allow for being unset.
23892         * sysdeps/unix/sysv/linux/configure: Regenerated.
23894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23896         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23897         the `q' suffix from lea and replace .quad with ASM_ADDR.
23899 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23902         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23903         instead of $17.
23904         (PTR_DEMANGLE): Likewise.
23906 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23908         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23909         (LP_OP): Likewise.
23910         (ASM_ADDR): Likewise.
23911         (RAX_LP): Likewise.
23912         (RBP_LP): Likewise.
23913         (RBX_LP): Likewise.
23914         (RCX_LP): Likewise.
23915         (RDI_LP): Likewise.
23916         (RSI_LP): Likewise.
23917         (RSP_LP): Likewise.
23918         (R8_LP): Likewise.
23919         (R9_LP): Likewise.
23920         (R10_LP): Likewise.
23921         (R10_LP): Likewise.
23922         (R11_LP): Likewise.
23923         (R12_LP): Likewise.
23924         (R13_LP): Likewise.
23925         (R14_LP): Likewise.
23926         (R15_LP): Likewise.
23928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23930         * sysdeps/x86_64/x32/dl-machine.h: New file.
23932 2012-05-14  Andreas Jaeger  <aj@suse.de>
23934         * manual/Makefile (subdir): Remove export of subdir.
23935         (all): Remove target.
23936         (.PHONY): Remove all from list.
23937         (mkinstalldirs): Remove.
23938         (.PHONY): Remove installdirs from list.
23939         ($(inst_infodir)/libc.info): Use make-target-directory.
23940         (installdirs): Remove.
23941         (subdir_%): Remove.
23942         (glibc-targets): Remove.
23943         (lib): Remove.
23944         (stubs): Remove.
23945         ($(objpfx)stubs ../po/manual.pot): Remove.
23946         ($(objpfx)stamp%): Remove.
23947         (make-target-directory): Remove.
23948         (subdir_install): Remove.
23949         (routines): Remove.
23950         (aux): Remove.
23951         (sources): Remove.
23952         (objects): Remove.
23953         (headers): Remove.
23955         [BZ #13750]
23956         * manual/.gitignore: Remove, it's not needed anymore.
23957         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23958         all files in it.
23959         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23960         directory.
23961         (texis): Renamed to $(objpfx)texis.
23962         (texis-path): New, contains path to generated files.
23963         (chapters.%): Use texis-path for complete path, add extra argument
23964         libc-texinfo.sh.
23965         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23966         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23967         (summary,texi, stamp-summary): Use complete path of
23968         files. Generate files in build dir.
23969         (dir-add.texi): Build in build dir.
23970         (libm-err.texi,stamp-libm-err): Likewise.
23971         (version.texi, stamp-version): Likewise.
23972         (.%c.texi): Likewise.
23973         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23974         (mostlyclean): Remove target.
23975         (realclean): Remove target.
23976         (generated): Add new variable with contents from mostlyclean and
23977         realclean, remove entries duplicated in common-mostlyclean, add
23978         stamp-libm-err and stamp-version.
23979         (generated-dirs): Add libc directory.
23980         ($(inst_infodir)/libc.info): Install files from build dir.
23982         * manual/install.texi (Configuring and compiling): Adjust since
23983         the info files are not part of the tar ball anymore.
23985 2012-05-14  Andreas Jaeger  <aj@suse.de>
23987         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23988         variable.
23990 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #13717]
23993         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23994         to 2.2.0 where earlier.
23995         * sysdeps/unix/sysv/linux/configure: Regenerated.
23996         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23997         Remove conditional code.
23998         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23999         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24000         Remove conditional code.
24001         [!__NR_lchown]: Likewise.
24002         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24003         [__NR_lchown]: Likewise.
24004         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24005         comment referencing __ASSUME_LCHOWN_SYSCALL.
24006         * sysdeps/unix/sysv/linux/i386/sigaction.c
24007         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24008         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24009         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24010         Remove conditional code.
24011         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24012         (__protocol_available): Remove #if 0 code.
24013         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24014         conditional code.
24015         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24016         * sysdeps/unix/sysv/linux/kernel-features.h
24017         (__ASSUME_GETCWD_SYSCALL): Don't define.
24018         (__ASSUME_REALTIME_SIGNALS): Likewise.
24019         (__ASSUME_PREAD_SYSCALL): Likewise.
24020         (__ASSUME_PWRITE_SYSCALL): Likewise.
24021         (__ASSUME_POLL_SYSCALL): Likewise.
24022         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24023         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24024         non-SPARC.
24025         (__ASSUME_SIOCGIFNAME): Don't define.
24026         (__ASSUME_MSG_NOSIGNAL): Likewise.
24027         (__ASSUME_SENDFILE): Define unconditionally.
24028         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24029         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24030         conditional code.
24031         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24032         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24033         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24034         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24035         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24036         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24037         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24039         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24040         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24042         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24043         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24045         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24046         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24048         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24051         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24054         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24057         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24058         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24060         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24062         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24063         Remove conditional code.
24064         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24065         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24066         Remove conditional code.
24067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24068         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24069         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24070         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24071         Remove conditional code.
24072         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24073         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24074         Remove conditional code.
24075         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24076         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24077         Remove conditional code.
24078         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24079         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24080         Remove conditional code.
24081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24082         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24083         Remove conditional code.
24084         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24085         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24086         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24088         * sysdeps/unix/sysv/linux/sigaction.c
24089         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24090         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24091         * sysdeps/unix/sysv/linux/sigpending.c
24092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24094         * sysdeps/unix/sysv/linux/sigprocmask.c
24095         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24096         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24097         * sysdeps/unix/sysv/linux/sigsuspend.c
24098         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24099         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24100         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24101         (__libc_missing_rt_sigs): Remove.
24102         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24103         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24104         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24105         Remove conditional code.
24106         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24107         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24108         return 1.
24109         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24110         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24111         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24112         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24114 2012-05-14  Andreas Jaeger  <aj@suse.de>
24116         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24117         it's not used in glibc.
24118         (__coshm1): Likewise.
24119         (__acosh1p): Likewise.
24120         (__sgn): Likewise.
24122         * manual/string.texi (Copying and Concatenation): Add missing
24123         variable in concat example.
24124         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24128         [BZ #14103]
24129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24130         __builtin_clzl with __builtin_clzll.
24132 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24134         [BZ #14104]
24135         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24136         libc_freeres_ptr.
24138 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24140         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24141         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24142         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24143         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24145 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24147         * NEWS: Update ia64 info.
24149 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24151         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24152         used as bcopy.
24154 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24156         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24157         * sysdeps/unix/syscalls.list (dup3): Likewise.
24158         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24159         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24161 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24163         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24164         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24166 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24168         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24169         thread pointer.
24170         (TLS_IE): Use mov/add instead of movq/addq to load thread
24171         pointer.
24172         (TLS_GD_PREFIX): New.
24173         (TLS_GD): Use it.
24175 2012-05-11  David S. Miller  <davem@davemloft.net>
24177         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24178         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24179         (_FPU_SETCW): Likewise.
24181 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24183         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24184         is 32-byte aligned.
24186 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24188         [BZ #11837]
24189         * iconvdata/gb18030.c: Update tables.
24190         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24191         characters specially.
24192         (BODY for TO_LOOP): Add encoding of missing ranges.
24194 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24196         [BZ #13673]
24197         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24198         * sysdeps/mach/hurd/dup3.c: Likewise.
24199         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24200         * sysdeps/powerpc/memmove.c:: Likewise.
24202 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24204         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24205         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24207 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24209         * elf/elf.h (R_X86_64_RELATIVE64): New.
24210         (R_X86_64_NUM): Updated.
24211         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24212         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24213         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24214         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24215         tst-quad1pie tst-quad2pie
24216         (modules-names): Add tst-quadmod1 tst-quadmod2.
24217         ($(objpfx)tst-quad1): New dependency.
24218         ($(objpfx)tst-quad2): Likewise.
24219         ($(objpfx)tst-quad1pie): Likewise.
24220         ($(objpfx)tst-quad2pie): Likewise.
24221         * sysdeps/x86_64/tst-quad1.c: New file.
24222         * sysdeps/x86_64/tst-quad1pie.c: New file.
24223         * sysdeps/x86_64/tst-quad2.c: Likewise.
24224         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24225         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24226         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24227         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24228         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24232         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24233         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24234         * streams/stropts.h (t_scalar_t): Define type.
24236         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24237         (_PATH_PRESERVE): Set to "/var/lib".
24238         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24240         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24241         instead of int.
24243         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24244         if __dir_mkfile succeeded.
24246         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24247         checking for _hurd_dtablesize.  Unlock it right after having
24248         finished _hurd_dtable allocation.
24250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24252         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24253         * sysdeps/mach/hurd/configure: Regenerated.
24254         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24255         special-casing to...
24256         * sysdeps/gnu/configure.in: ... this new file.
24257         * sysdeps/unix/sysv/linux/configure: Regenerated.
24258         * sysdeps/gnu/configure: New generated file.
24260         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24261         for Linux: use nsec instead of usec, as well as:
24262         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24263         members of type struct timespec.
24264         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24265         New macros.
24266         (struct stat64): Likewise.
24267         (_STATBUF_ST_NSEC): New macro.
24268         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24270         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24271         __strtoul_internal rather than strtoul.
24273 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24275         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24276         and reject them.
24278 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24280         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24281         which preserves existing values.
24282         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24284 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24286         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24287         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24288         greater than FD_SETSIZE.
24290 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24292         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24293         allocated, call __vm_protect to finish enabling the existing space, and
24294         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24295         allocate the remainder.
24297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24299         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24300         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24304         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24305         sysdeps/mach/hurd/readlink.c.
24307         * posix/tst-sysconf.c (posix_options): Only use
24308         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24309         _POSIX_SYNCHRONIZED_IO when they are defined
24310         * sysdeps/mach/hurd/bits/posix_opt.h:
24311         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24312         (_XOPEN_REALTIME): Undefine macro.
24313         (_XOPEN_REALTIME_THREADS): Undefine macro.
24314         (_XOPEN_SHM): Undefine macro.
24315         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24316         macro to -1.
24317         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24318         macro to -1.
24319         (_POSIX_ASYNC_IO): Undefine macro.
24320         (_POSIX_PRIORITIZED_IO): Undefine macro.
24321         (_POSIX_SPIN_LOCKS): Define macro to -1.
24323         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24324         SA_NODEFER, SA_RESETHAND.
24325         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24326         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24327         F_DUPFD_CLOEXEC.
24329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24331         * elf/Makefile (pldd-modules): Define unconditionally.
24333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24335         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24339         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24340         Return ENOENT when name is empty.
24341         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24345         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24347         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24351         Fix mlock in all cases except non-readable pages.
24352         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24353         instead of VM_PROT_ALL as parameter to __vm_wire function.
24355         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24356         (__mkdir): When path is `/', just fail with EEXIST.
24357         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24361         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24362         <sys/uio.h> (for writev).
24363         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24364         and <sys/param.h> (for MIN).
24366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24368         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24369         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24370         if interrupted.
24372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24374         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24375         Depend on against $(link-rpcuserlibs).
24377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24379         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24380         (__libc_stack_end): Do not use attribute_relro.
24381         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24382         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24383         to libthread-provided value.
24384         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24385         attribute_relro.
24387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24389         [BZ #3748]
24390         * bits/libc-lock.h (__libc_once_get): New macro.
24391         * sysdeps/mach/bits/libc-lock.h: Likewise.
24392         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24394         instead of using implementation details.
24396         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24397         * libio/freopen.c: Likewise.
24398         * libio/freopen64.c: Likewise.
24399         * misc/syslog.c: Likewise.
24400         * nscd/connections.c: Likewise.
24401         * nscd/netgroupcache.c: Likewise.
24402         * sysdeps/posix/getcwd.c: Likewise.
24404 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24406         * math/w_ilogbf.c: Add #include <limits.h>.
24408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24410         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24411         path instead of returning without unlocking.
24413         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24414         immediate-write ioctls.
24415         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24419         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24420         __builtin_frame_address instead of making assumptions about the
24421         location of the return address relative to DATA.  Force early load of
24422         the return address.
24423         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24424         __builtin_frame_address.
24426         dup3 for GNU Hurd.
24427         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24428         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24429         implement dup3 and do some further code clean-ups.
24430         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24431         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24433 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24435         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24437         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24438         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24439         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24440         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24441         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24442         d->port.lock.
24444         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24445         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24446         when handler == SIG_ERR, not when handler != SIG_ERR.
24448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24450         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24451         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24452         definitions.
24454         accept4 for GNU Hurd.
24455         * include/sys/socket.h (__libc_accept4): New prototype.
24456         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24457         to implement __libc_accept4.
24458         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24459         __libc_accept4.
24460         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24462         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24463         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24464         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24465         signal-defines.sym.
24467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24469         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24471 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24473         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24474         assertion on O_CLOEXEC flag.
24475         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24476         * hurd/intern-fd.c: Likewise.
24477         * hurd/port2fd.c: Likewise.
24479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24481         [BZ #3906]
24482         * bits/in.h (IPV6_PKTINFO): Define new macro.
24483         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24485 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24487         [BZ #13954]
24488         [BZ #13955]
24489         [BZ #13956]
24490         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24492         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24493         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24495         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24496         * math/libm-test.inc (logb_test) : Additional logb tests.
24498 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24499             Andreas Jaeger  <aj@suse.de>
24501         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24502         * configure: Regenerated.
24503         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24504         * config.make.in (link-obsolete-rpc): New substituted variable.
24505         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24506         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24507         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24508         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24509         so that libc.a contains the symbols.
24510         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24511         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24512         * sunrpc/auth_none.c: Likewise.
24513         * sunrpc/auth_unix.c: Likewise.
24514         * sunrpc/authdes_prot.c: Likewise.
24515         * sunrpc/authuxprot.c: Likewise.
24516         * sunrpc/clnt_gen.c: Likewise.
24517         * sunrpc/clnt_perr.c: Likewise.
24518         * sunrpc/clnt_raw.c: Likewise.
24519         * sunrpc/clnt_simp.c: Likewise.
24520         * sunrpc/clnt_tcp.c: Likewise.
24521         * sunrpc/clnt_udp.c: Likewise.
24522         * sunrpc/clnt_unix.c: Likewise.
24523         * sunrpc/des_crypt.c: Likewise.
24524         * sunrpc/des_soft.c: Likewise.
24525         * sunrpc/get_myaddr.c: Likewise.
24526         * sunrpc/key_call.c: Likewise.
24527         * sunrpc/key_prot.c: Likewise.
24528         * sunrpc/netname.c: Likewise.
24529         * sunrpc/pm_getmaps.c: Likewise.
24530         * sunrpc/pm_getport.c: Likewise.
24531         * sunrpc/pmap_clnt.c: Likewise.
24532         * sunrpc/pmap_prot.c: Likewise.
24533         * sunrpc/pmap_prot2.c: Likewise.
24534         * sunrpc/pmap_rmt.c: Likewise.
24535         * sunrpc/publickey.c: Likewise.
24536         * sunrpc/rpc_cmsg.c: Likewise.
24537         * sunrpc/rpc_common.c: Likewise.
24538         * sunrpc/rpc_dtable.c: Likewise.
24539         * sunrpc/rpc_prot.c: Likewise.
24540         * sunrpc/rpc_thread.c: Likewise.
24541         * sunrpc/rtime.c: Likewise.
24542         * sunrpc/svc.c: Likewise.
24543         * sunrpc/svc_auth.c: Likewise.
24544         * sunrpc/svc_raw.c: Likewise.
24545         * sunrpc/svc_run.c: Likewise.
24546         * sunrpc/svc_tcp.c: Likewise.
24547         * sunrpc/svc_udp.c: Likewise.
24548         * sunrpc/svc_unix.c: Likewise.
24549         * sunrpc/svcauth_des.c: Likewise.
24550         * sunrpc/xcrypt.c: Likewise.
24551         * sunrpc/xdr.c: Likewise.
24552         * sunrpc/xdr_array.c: Likewise.
24553         * sunrpc/xdr_float.c: Likewise.
24554         * sunrpc/xdr_intXX_t.c: Likewise.
24555         * sunrpc/xdr_mem.c: Likewise.
24556         * sunrpc/xdr_rec.c: Likewise.
24557         * sunrpc/xdr_ref.c: Likewise.
24558         * sunrpc/xdr_sizeof.c: Likewise.
24559         * sunrpc/xdr_stdio.c: Likewise.
24561 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24564         change.  Update copyright years.
24566 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24568         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24570 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24571             Joseph Myers  <joseph@codesourcery.com>
24572             Paul Pluzhnikov  <ppluzhnikov@google.com>
24574         [BZ #14012]
24575         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24576         requiring rpcgen.
24577         [cross-compiling] (extra-libs): Likewise.
24578         [cross-compiling] (extra-libs-others): Likewise.
24579         [cross-compiling] (librpcsvc-routines): Likewise.
24580         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24581         [cross-compiling] (omit-deps): Likewise.
24582         (sunrpc-CPPFLAGS): New variable.
24583         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24584         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24585         (cross-rpcgen-objs): New variable.
24586         (extra-objs): Append $(cross-rpcgen-objs).
24587         ($(cross-rpcgen-objs)): New rule.
24588         ($(objpfx)cross-rpcgen): Likewise.
24589         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24590         comment.
24591         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24592         ($(objpfx)x%.stmp): Likewise.
24593         * sunrpc/proto.h [IS_IN_build] (_): Define.
24594         [IS_IN_build] (_libc_intl_domainname): Likewise.
24596 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24599         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24600         and R_X86_64_TPOFF64.
24602 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24604         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24605         sysdeps/unix/sysv/syscalls.list.
24606         (stime): Likewise.
24607         (utime): Likewise.
24608         * sysdeps/unix/sysv/syscalls.list: Remove file.
24610 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24612         [BZ #3440]
24613         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24614         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24615         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24616         (__LC_IDENTIFICATION): Make these macros useful in #if
24617         expressions, as required by C99.
24619 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24621         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24622         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24623         after this.
24625 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24627         * stdlib/longlong.h: Updated from GCC.
24629 2012-05-09  Andreas Jaeger  <aj@suse.de>
24631         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24632         default is first entry.
24633         (run_mode): Set type.
24634         (main): Remove informal message about syslog.
24635         (options): Fix typo.
24637         [BZ #14053]
24638         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24639         to asm.
24640         (lrint): Likewise.
24641         (llrintf): Likewise.
24642         (llrint): Likewise.
24643         (rint): Likewise.
24644         (rintf): Likewise.
24645         (nearbyint): Likewise.
24646         (nearbyintf): Likewise.
24648 2012-05-09  Andreas Jaeger  <aj@suse.de>
24649             Pedro Alves  <palves@redhat.com>
24651         * nscd/nscd.c (run_mode): Use enum.
24652         (main): Cleanup coding style issue.
24654 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24655             Andreas Jaeger  <aj@suse.de>
24657         * nscd/nscd.c (go_background): Replaced with...
24658         (run_mode): ... this.
24659         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24660         (options): Add -F --foreground.
24661         (main): Implement it.
24662         (parse_opt): Parse it.
24664 2012-05-09  Andreas Jaeger  <aj@suse.de>
24666         [BZ #14083]
24667         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24668         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24669         -Wconversion warning.
24670         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24671         Likewise.
24673 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24675         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24676         == 0.
24677         (LC_ALL): Use macro-int-constant.
24678         (LC_COLLATE): Likewise.
24679         (LC_CTYPE): Likewise.
24680         (LC_MESSAGES): Likewise.
24681         (LC_MONETARY): Likewise.
24682         (LC_NUMERIC): Likewise.
24683         (LC_TIME): Likewise.
24684         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24685         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24687         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24688         Specify type.
24689         [C99-based standards] (float_t): Expect type.
24690         [C99-based standards] (double_t): Expect type.
24691         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24692         type.
24693         [C99-based standards] (HUGE_VALL): Likewise.
24694         [C99-based standards] (INFINITY): Likewise.
24695         [C99-based standards] (NAN): Likewise.
24696         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24697         [C99-based standards] (FP_NAN): Likewise.
24698         [C99-based standards] (FP_NORMAL): Likewise.
24699         [C99-based standards] (FP_SUBNORMAL): Likewise.
24700         [C99-based standards] (FP_ZERO): Likewise.
24701         [C99-based standards] (FP_FAST_FMA): Use
24702         optional-macro-int-constant.  Specify type.  Require == 1.
24703         [C99-based standards] (FP_FAST_FMAF): Likewise.
24704         [C99-based standards] (FP_FAST_FMAL): Likewise.
24705         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24706         [C99-based standards] (FP_ILOGBNAN): Likewise.
24707         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24708         Specify type.
24709         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24710         [C99-based standards] (math_errhandling): Specify type.
24711         [ISO99 || ISO11] (signgam): Do not allow.
24712         [non-C99-based standards] (copysignf): Do not allow.
24713         [non-C99-based standards] (exp2f): Likewise.
24714         [non-C99-based standards] (log2f): Likewise.
24715         [non-C99-based standards] (modff): Allow.
24716         [non-C99-based standards] (erff): Do not allow.
24717         [non-C99-based standards] (erfcf): Likewise.
24718         [non-C99-based standards] (gammaf): Likewise.
24719         [non-C99-based standards] (hypotf): Likewise.
24720         [non-C99-based standards] (j0f): Likewise.
24721         [non-C99-based standards] (j1f): Likewise.
24722         [non-C99-based standards] (jnf): Likewise.
24723         [non-C99-based standards] (lgammaf): Likewise.
24724         [non-C99-based standards] (tgammaf): Likewise.
24725         [non-C99-based standards] (y0f): Likewise.
24726         [non-C99-based standards] (y1f): Likewise.
24727         [non-C99-based standards] (ynf): Likewise.
24728         [non-C99-based standards] (isnanf): Likewise.
24729         [non-C99-based standards] (acoshf): Likewise.
24730         [non-C99-based standards] (asinhf): Likewise.
24731         [non-C99-based standards] (atanhf): Likewise.
24732         [non-C99-based standards] (cbrtf): Likewise.
24733         [non-C99-based standards] (expm1f): Likewise.
24734         [non-C99-based standards] (ilogbf): Likewise.
24735         [non-C99-based standards] (log1pf): Likewise.
24736         [non-C99-based standards] (logbf): Likewise.
24737         [non-C99-based standards] (nextafterf): Likewise.
24738         [non-C99-based standards] (remainderf): Likewise.
24739         [non-C99-based standards] (rintf): Likewise.
24740         [non-C99-based standards] (scalbf): Likewise.
24741         [non-C99-based standards] (copysignl): Likewise.
24742         [non-C99-based standards] (exp2l): Likewise.
24743         [non-C99-based standards] (log2l): Likewise.
24744         [non-C99-based standards] (modfl): Allow.
24745         [non-C99-based standards] (erfl): Do not allow.
24746         [non-C99-based standards] (erfcl): Likewise.
24747         [non-C99-based standards] (gammal): Likewise.
24748         [non-C99-based standards] (hypotl): Likewise.
24749         [non-C99-based standards] (j0l): Likewise.
24750         [non-C99-based standards] (j1l): Likewise.
24751         [non-C99-based standards] (jnl): Likewise.
24752         [non-C99-based standards] (lgammal): Likewise.
24753         [non-C99-based standards] (tgammal): Likewise.
24754         [non-C99-based standards] (y0l): Likewise.
24755         [non-C99-based standards] (y1l): Likewise.
24756         [non-C99-based standards] (ynl): Likewise.
24757         [non-C99-based standards] (isnanl): Likewise.
24758         [non-C99-based standards] (acoshl): Likewise.
24759         [non-C99-based standards] (asinhl): Likewise.
24760         [non-C99-based standards] (atanhl): Likewise.
24761         [non-C99-based standards] (cbrtl): Likewise.
24762         [non-C99-based standards] (expm1l): Likewise.
24763         [non-C99-based standards] (ilogbl): Likewise.
24764         [non-C99-based standards] (log1pl): Likewise.
24765         [non-C99-based standards] (logbl): Likewise.
24766         [non-C99-based standards] (nextafterl): Likewise.
24767         [non-C99-based standards] (remainderl): Likewise.
24768         [non-C99-based standards] (rintl): Likewise.
24769         [non-C99-based standards] (scalbl): Likewise.
24770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24771         [non-C99-based standards] (FP_*): Do not allow.
24772         [C99-based standards] (FP_*): Change to
24773         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24774         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24775         allow.
24776         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24777         (SIG_ERR): Likewise.
24778         [X/Open-based standards] (SIG_HOLD): Likewise.
24779         (SIG_IGN): Likewise.
24780         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24781         positive value.
24782         (SIGFPE): Likewise.
24783         (SIGILL): Likewise.
24784         (SIGINT): Likewise.
24785         (SIGSEGV): Likewise.
24786         (SIGTER): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24794         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24799         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24800         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24805         [X/Open-based standards] (SIGTRAP): Likewise.
24806         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24807         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24810         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24811         allow.
24813 2012-05-08  Ian Wienand  <ianw@vmware.com>
24815         [BZ #14080]
24816         * time/tzset.c (__tzset_parse_tz): Update default rules for
24817         daylight time changes in the Energy Policy Act of 2005.
24819 2012-05-09  Andreas Jaeger  <aj@suse.de>
24821         [BZ #13983]
24822         * elf/ldconfig.c (parse_conf): Change string to make clear that
24823         ldconfig only issued a warning if ld.so.conf does not exist.
24825 2012-05-08  David S. Miller  <davem@davemloft.net>
24827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24828         movxtod instead of popping the value on the stack.
24830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24832 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24834         * config.h.in: Add HAVE_ARM_PCS_VFP.
24836 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24838         [BZ #13979]
24839         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24840         checking but the checks are disabled for any reason.
24842 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24844         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24845         and ELF64_R_TYPE with ELFW(R_TYPE).
24847 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24849         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24850         (ulimit): Likewise.
24852         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24853         (settimeofday): Likewise.
24855 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24857         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24858         a struct th_u2 inside the union, and move tu_block/tu_code into
24859         a new th_u3 union of tu_block/tu_code inside of that.  Move
24860         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24861         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24862         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24863         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24864         (th_stuff): Change to th_u1.tu_stuff.
24865         (th_data): Define.
24866         (th_msg): Change to th_u1.th_u2.tu_data.
24868 2012-05-07  David S. Miller  <davem@davemloft.net>
24870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24872         [BZ #14074]
24873         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24874         (SETUP_PIC_REG): Use it.
24875         (SETUP_PIC_REG_LEAF): Use it.
24877 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24879         [BZ #13885]
24880         [BZ #13923]
24881         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24882         USE_AS_EXPM1L.
24883         (EXPL_FINITE): Likewise.
24884         (FLDLOG): Likewise.
24885         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24886         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24887         e_expl.S.
24888         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24889         USE_AS_EXPM1L.
24890         (EXPL_FINITE): Likewise.
24891         (FLDLOG): Likewise.
24892         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24893         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24894         e_expl.S.
24895         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24896         test of -max_value argument for long double.
24897         * sysdeps/i386/fpu/libm-test-ulps: Update.
24898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24900 2012-05-06  David S. Miller  <davem@davemloft.net>
24902         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24903         quad soft-float symbols whose references which are compiler
24904         generated.
24905         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24907 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24909         [BZ #13884]
24910         [BZ #13914]
24911         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24912         USE_AS_EXP10L.
24913         (EXPL_FINITE): Likewise.
24914         (FLDLOG): Likewise.
24915         (c0): Likewise.
24916         (c1): Likewise.
24917         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24918         Adjust comments for base varying.
24919         (__expl_finite): Change alias to EXPL_FINITE.
24920         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24921         e_expl.S.
24922         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24923         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24924         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24925         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24927         USE_AS_EXP10L.
24928         (EXPL_FINITE): Likewise.
24929         (FLDLOG): Likewise.
24930         (c0): Likewise.
24931         (c1): Likewise.
24932         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24933         Adjust comments for base varying.
24934         (__expl_finite): Change alias to EXPL_FINITE.
24935         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24936         tests for bugs.
24937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24939         [BZ #14064]
24940         * math/libm-test.inc (check_float_internal): Correct ulp
24941         calculation for subnormal expected results.
24943 2012-05-06  Andreas Jaeger  <aj@suse.de>
24945         * Makeconfig (+math-flags): New, set to -frounding-math.
24946         (+cflags): Add +math-flags so that all of glibc gets compiled with
24947         it.
24949         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24951 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24953         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24954         Disable one test.
24956         [BZ #13787]
24957         [BZ #13922]
24958         [BZ #14036]
24959         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24960         (__ieee754_expl): Allow for and saturate large arguments.
24961         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24962         (u_threshold): Likewise.
24963         (__exp): Call __ieee754_exp before checking for overflow and
24964         underflow.
24965         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24966         (u_threshold): Likewise.
24967         (__expf): Call __ieee754_expf before checking for overflow and
24968         underflow.
24969         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24970         (u_threshold): Likewise.
24971         (__expl): Call __ieee754_expl before checking for overflow and
24972         underflow.
24973         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24974         (__ieee754_expl): Allow for and saturate large arguments.
24975         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24976         missing overflow exception on overflow.
24977         (expm1_test): Do not allow missing overflow exception on overflow.
24979         * sysdeps/i386/fpu/e_expl.c: Move to ...
24980         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24981         rather than using inline asm.
24982         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24983         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24984         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24986         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24987         (nice): Likewise.
24988         (poll): Likewise.
24989         (signal): Likewise.
24990         (time): Likewise.
24991         (times): Likewise.
24993 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24995         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24996         sysdeps/unix/common/syscalls.list.
24997         (fchmod): Likewise.
24998         (fchown): Likewise.
24999         (ftruncate): Likewise.
25000         (getrusage): Likewise.
25001         (gettimeofday): Likewise.
25002         (setpgid): Likewise.
25003         (setregid): Likewise.
25004         (setreuid): Likewise.
25005         (sigaction): Likewise.
25006         (truncate): Likewise.
25007         (vhangup): Likewise.
25008         * sysdeps/unix/common/syscalls.list: Remove file.
25009         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25010         * sysdeps/unix/sysv/linux/Implies: Likewise.
25012 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25014         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25016         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25017         Moved to ...
25018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25019         Here.
25020         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25021         to ...
25022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25023         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25024         to ...
25025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25026         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25027         to ...
25028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25029         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25030         to ...
25031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25032         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25033         to ...
25034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25035         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25036         to ...
25037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25038         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25039         to ...
25040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25041         Here.
25042         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25043         to ...
25044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25045         Here.
25046         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25047         to ...
25048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25049         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25050         Moved to ...
25051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25052         Here.
25053         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25054         to ...
25055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25057 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25059         * sysdeps/unix/common/bits/dirent.h: Remove file.
25060         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25062         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25063         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25064         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25065         * sysdeps/unix/bsd/isatty.c: Likewise.
25066         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25067         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25068         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25070 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25072         [BZ #13563]
25073         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25074         long double comparison inaccuracies.
25075         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25078 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25080         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25081         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25083 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25085         [BZ #14049]
25086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25087         nonzero digits before rounding a hex value.
25088         * stdlib/tst-strtod.c (tests): Add another test.
25090 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25092         * sysdeps/s390/fpu/libm-test-ulps: Update.
25094 2012-05-03  Andreas Jaeger  <aj@suse.de>
25096         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25097         does not get optimized out.
25098         (malloc_opt_barrier): New.
25100 2012-05-03  Andreas Jaeger  <aj@suse.de>
25101             Roland McGrath  <roland@hack.frob.com>
25103         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25104         intermediate file deletion.
25105         (generated): Add .symlist files.
25107 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25109         [BZ #13775]
25110         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25111         Redirect under this condition.
25112         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25113         [__USE_GNU] (__dprintf_chk): Not under this condition.
25114         [__USE_GNU] (__vdprintf_chk): Likewise.
25115         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25116         under this condition.
25117         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25118         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25119         [__USE_XOPEN2K8] (vdprintf): Likewise.
25120         [__USE_GNU] (__dprintf_chk): Not under this condition.
25121         [__USE_GNU] (__vdprintf_chk): Likewise.
25122         [__USE_GNU] (dprintf): Likewise.
25123         [__USE_GNU] (vdprintf): Likewise.
25125 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25127         * elf/Makefile (common-generated): Set this instead of generated for
25128         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25129         $(all-built-dso)-derived lists.
25131 2012-05-03  Andreas Jaeger  <aj@suse.de>
25133         * sysdeps/i386/fpu/libm-test-ulps: Update.
25135         * FAQ: Removed.
25136         * FAQ.in: Likewise.
25137         * scripts/gen-FAQ.pl: Likewise.
25138         * manual/install.texi (Installation): Point to online location of
25139         FAQ.
25140         * Makefile (files-for-dist): Remove FAQ.
25141         (FAQ): Remove.
25143 2012-05-02  Allan McRae  <allan@archlinux.org>
25145         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25146         (LDFLAGS-reldepmod5.so): Likewise.
25147         (LDFLAGS-reldep6mod1.so): Likewise.
25148         (LDFLAGS-reldep6mod4.so): Likewise.
25149         (LDFLAGS-reldep8mod3.so): Likewise.
25150         (LDFLAGS-unload4mod1.so): Likewise.
25151         (LDFLAGS-unload4mod2.so): Likewise.
25152         (LDFLAGS-tst-initorder): Likewise.
25153         (LDFLAGS-tst-initordera2.so): Likewise.
25154         (LDFLAGS-tst-initordera3.so): Likewise.
25155         (LDFLAGS-tst-initordera4.so): Likewise.
25156         (LDFLAGS-tst-initorderb2.so): Likewise.
25157         (LDFLAGS-noload): Likewise.
25158         (LDFLAGS-next): Likewise.
25159         (LDFLAGS-order2mod1.so): Likewise.
25160         (LDFLAGS-order2mod2.so): Likewise.
25161         (LDFLAGS-tst-initorder2): Likewise.
25162         (LDFLAGS-tst-initorder2a.so): Likewise.
25163         (LDFLAGS-tst-initorder2b.so): Likewise.
25164         (LDFLAGS-tst-initorder2c.so): Likewise.
25165         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25167 2012-05-02  David S. Miller  <davem@davemloft.net>
25169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25171 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25173         [BZ #14055]
25174         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25176 2012-05-02  Andreas Jaeger  <aj@suse.de>
25178         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25179         since we manipulate rounding mode.
25180         (CPPFLAGS-test-idouble.c): Likewise.
25181         (CPPFLAGS-test-ifloat.c): Likewise.
25182         (CFLAGS-test-ldouble.c): Likewise.
25183         (CFLAGS-test-double.c): Likewise.
25184         (CFLAGS-test-float.c): Likewise.
25185         (CFLAGS-test-misc.c): Likewise.
25186         (CFLAGS-test-test-fenv.c): Likewise.
25188 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25190         [BZ #2550]
25191         [BZ #2570]
25192         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25193         comparisons to determine direction to adjust input.
25195 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25197         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25198         output to the target.
25200         * scripts/localplt.awk: New file.
25201         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25202         (check-localplt-CFLAGS): Variable removed.
25203         ($(all-built-dso:=.jmprel)): New static pattern rule.
25204         (generated): Add those targets.
25205         (localplt-built-dso): New variable.
25206         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25208         * elf/check-localplt.c: File removed.
25210         * scripts/check-execstack.awk: New file.
25211         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25212         (check-execstack-CFLAGS): Variable removed.
25213         ($(objpfx)check-execstack.h): Target removed.
25214         ($(objpfx)execstack-default): New target.
25215         (generated): Add that instead of check-execstack.h.
25216         ($(all-built-dso:=.phdr)): New static pattern rule.
25217         (generated): Add those targets.
25218         * elf/check-execstack.c: File removed.
25220         * scripts/check-textrel.awk: New file.
25221         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25222         (check-textrel-CFLAGS): Variable removed.
25223         (all-built-dso): Use := to define.o
25224         ($(all-built-dso:=.dyn)): New static pattern rule.
25225         (generated): Add those targets.
25226         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25227         * config.make.in (READELF): New substituted variable.
25228         * elf/check-textrel.c: File removed.
25230 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25232         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25233         allow.
25234         * conform/data/ctype.h-data [C99-based standards] (isblank):
25235         Expect function.
25236         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25237         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25238         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25239         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25240         Specify type.  Require positive value.
25241         (EILSEQ): Likewise.
25242         (ERANGE): Likewise.
25243         [ISO || POSIX] (EILSEQ): Do not expect.
25244         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25245         Specify type.  Require positive value.
25246         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25247         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25248         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25249         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25250         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25251         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25252         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25253         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25254         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25255         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25256         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25257         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25258         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25259         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25260         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25261         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25262         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25263         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25264         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25265         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25266         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25267         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25268         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25269         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25270         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25271         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25272         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25273         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25274         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25275         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25276         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25277         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25278         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25279         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25320         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25321         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25322         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25323         Require >= 2.
25324         (FLT_ROUNDS): Expect as macro, not constant.
25325         (FLT_MANT_DIG): Use macro-int-constant.
25326         (DBL_MANT_DIG): Likewise.
25327         (LDBL_MANT_DIG): Likewise.
25328         (FLT_DIG): Likewise.
25329         (DBL_DIG): Likewise.
25330         (LDBL_DIG): Likewise.
25331         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25332         (DBL_MIN_EXP): Likewise.
25333         (LDBL_MIN_EXP): Likewise.
25334         (FLT_MAX_EXP): Use macro-int-constant.
25335         (DBL_MAX_EXP): Likewise.
25336         (LDBL_MAX_EXP): Likewise.
25337         (FLT_MAX_10_EXP): Likewise.
25338         (DBL_MAX_10_EXP): Likewise.
25339         (LDBL_MAX_10_EXP): Likewise.
25340         (FLT_MAX): Use macro-constant.
25341         (DBL_MAX): Likewise.
25342         (LDBL_MAX): Likewise.
25343         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25344         (DBL_EPSILON): Likewise.
25345         (LDBL_EPSILON): Likewise.
25346         (FLT_MIN): Likewise.
25347         (DBL_MIN): Likewise.
25348         (LDBL_MIN): Likewise.
25349         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25350         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25351         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25352         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25353         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25354         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25355         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25356         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25357         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25358         [ISO11] (FLT_TRUE_MIN): Likewise.
25359         [ISO11] (LDBL_TRUE_MIN): Likewise.
25360         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25361         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25362         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25363         (SCHAR_MAX): Likewise.
25364         (UCHAR_MAX): Likewise.
25365         (CHAR_MIN): Likewise.
25366         (CHAR_MAX): Likewise.
25367         (MB_LEN_MAX): Use macro-int-constant.
25368         (SHRT_MIN): Use macro-int-constant.  Specify type.
25369         (SHRT_MAX): Likewise.
25370         (USHRT_MAX): Likewise.
25371         (INT_MAX): Likewise.
25372         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25373         bound negative.
25374         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25375         bound with "U".
25376         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25377         bound with "L".
25378         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25379         bound negative.  Suffix upper bound with "L".
25380         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25381         bound with "UL".
25382         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25383         Specify type.
25384         [C99-based standards] (LLONG_MAX): Likewise.
25385         [C99-based standards] (ULLONG_MAX): Likewise.
25386         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25387         == 0.
25388         [ISO11] (max_align_t): Require type.
25389         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25391         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25392         from $CFLAGS, without defining away __attribute__ calls.
25393         (checknamespace): Use $CFLAGS_namespace.
25395         * conform/conformtest.pl (@keywords): Only include C99 keywords
25396         for standards based on C99 or C11.
25398         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25399         Disable tests.
25400         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25401         UNIX98]: Likewise.
25403         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25404         usability of symbols in #if.
25406         * conform/conformtest.pl: If macro or constant types start
25407         "promoted:", expect the symbol to be of the following type
25408         promoted by the integer promotions.
25410         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25411         in one place.  Also handle "macro-constant".
25413         * conform/conformtest.pl: Only accept expected macro values with
25414         "==".  Parse all "macro" lines in one place.
25415         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25417         * conform/conformtest.pl: Handle braced types on "constant" lines
25418         instead of handling "typed-constant".
25419         * conform/data/signal.h-data: Use "constant" instead of
25420         "typed-constant".
25422         * conform/conformtest.pl: Handle "optional-" at start of lines in
25423         one place rather than duplicating several cases.  Handle each
25424         format of "macro" line with initial "optional-".
25426         * conform/conformtest.pl: Only accept expected constant or
25427         optional-constant values with "==".  Parse all "constant" lines in
25428         one place.  Parse all "optional-constant" lines in one place.
25429         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25430         * conform/data/fmtmsg.h-data: Likewise.
25431         * conform/data/netinet/in.h-data: Likewise.
25432         * conform/data/tar.h-data: Likewise.
25433         * conform/data/limits.h-data: Use "==" form on "constant" and
25434         "optional-constant" lines.
25436         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25437         Use -std=c99 for XOPEN2K.
25438         (@knownproblems): Remove.
25439         (newtoken): Don't check %isknown.
25441         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25442         Do not expect macro.
25443         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25444         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25445         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25446         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25447         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25448         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25449         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25450         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25451         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25452         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25453         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25454         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25455         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25456         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25457         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25458         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25459         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25460         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25461         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25462         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25463         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25464         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25465         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25466         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25467         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25468         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25469         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25470         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25471         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25472         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25473         [XPG3] (acosh): Likewise.
25474         [XPG3] (asinh): Likewise.
25475         [XPG3] (atanh): Likewise.
25476         [XPG3] (cbrt): Likewise.
25477         [XPG3] (expm1): Likewise.
25478         [XPG3] (ilogb): Likewise.
25479         [XPG3] (log1p): Likewise.
25480         [XPG3] (logb): Likewise.
25481         [XPG3] (nextafter): Likewise.
25482         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25483         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25484         [XPG3] (remainder): Likewise.
25485         [XPG3] (rint): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25487         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25488         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25489         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25490         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25491         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25492         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25493         [UNIX98 || XOPEN2K] (scalb): Expect.
25494         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25495         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25505         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25506         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25507         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25508         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25509         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25510         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25511         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25512         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25525         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25526         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25527         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25632         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25633         _XOPEN_SOURCE_EXTENDED for XPG4.
25635         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25637         * Makeconfig (localtime): Remove variable.
25638         (inst_localtime-file): Likewise.
25640 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25643         Update.
25644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25645         Update.
25646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25647         Update.
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25649         Update.
25650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25651         Update.
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25653         Update.
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25655         Update.
25656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25657         Update.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25659         Update.
25661 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25663         [BZ #2550]
25664         [BZ #2570]
25665         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25666         comparisons to determine direction to adjust input.
25667         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25668         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25669         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25670         Likewise.
25671         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25672         Likewise.
25673         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25674         Likewise.
25675         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25676         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25677         Likewise.
25678         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25679         Likewise.
25680         * math/libm-test.inc (nexttoward_test): Add more tests.
25682 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25684         [BZ #14040]
25685         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25686         in version GLIBC_2.1, not GLIBC_2.0.
25687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25688         Likewise.
25690 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25692         [BZ #13942]
25693         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25694         (1 - x) * (1 + x).
25695         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25696         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25697         * math/libm-test.inc (acos_test): Add more tests.
25698         (asin_test): Likewise.
25699         * sysdeps/i386/fpu/libm-test-ulps: Update.
25700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25702         [BZ #14034]
25703         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25704         of square root.
25705         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25706         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25707         * math/libm-test.inc (acos_test_tonearest): New function.
25708         (acos_test_towardzero): Likewise.
25709         (acos_test_downward): Likewise.
25710         (acos_test_upward): Likewise.
25711         (asin_test_tonearest): Likewise.
25712         (asin_test_towardzero): Likewise.
25713         (asin_test_downward): Likewise.
25714         (asin_test_upward): Likewise.
25715         (main): Call the new functions.
25716         * sysdeps/i386/fpu/libm-test-ulps: Update.
25717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25719         [BZ #13884]
25720         [BZ #13924]
25721         * math/e_exp10.c: Include <float.h>.
25722         (__ieee754_exp10): Handle underflow here rather than multiplying
25723         large negative argument by M_LN10.
25724         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25725         of __ieee754_expf.
25726         * math/e_exp10l.c: Include <float.h>.
25727         (__ieee754_exp10l): Handle underflow here rather than multiplying
25728         large negative argument by M_LN10l.
25729         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25730         spurious overflow exception on underflow.
25732 2012-04-29  Marek Polacek  <polacek@redhat.com>
25734         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25735         (__fortify_function): New macro.
25736         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25737         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25738         __extern_always_inline.
25739         * libio/bits/stdio2.h: Likewise.
25740         * libio/bits/stdio.h: Likewise.
25741         * string/string.h: Likewise.
25742         * string/bits/string3.h: Likewise.
25743         * include/stdio.h: Likewise.
25744         * stdlib/bits/stdlib.h: Likewise.
25745         * stdlib/stdlib.h: Likewise.
25746         * rt/bits/mqueue2.h: Likewise.
25747         * rt/mqueue.h: Likewise.
25748         * posix/bits/unistd.h: Likewise.
25749         * posix/unistd.h: Likewise.
25750         * io/bits/poll2.h: Likewise.
25751         * io/bits/fcntl2.h: Likewise.
25752         * io/fcntl.h: Likewise.
25753         * io/sys/poll.h: Likewise.
25754         * misc/bits/syslog.h: Likewise.
25755         * misc/bits/syslog-ldbl.h: Likewise.
25756         * misc/sys/syslog.h: Likewise.
25757         * socket/bits/socket2.h: Likewise.
25758         * socket/sys/socket.h: Likewise.
25759         * debug/tst-chk1.c: Likewise.
25760         * wcsmbs/bits/wchar2.h: Likewise.
25761         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25762         * wcsmbs/wchar.h: Likewise.
25764 2012-04-29  Andreas Jaeger  <aj@suse.de>
25766         * Makerules (tests): Remove enable-check-abi protection.
25767         (check-abi-warn): Remove.
25768         (check-abi-%): Remove check-abi-warn usage.
25770         * configure.in: Remove check-abi configure option.
25771         * configure: Regenerated.
25772         * config.make.in (enable-check-abi): Remove.
25774 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25776         [BZ #14033]
25777         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25778         double functions to double *_finite functions.
25780         [BZ #13941]
25781         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25782         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25783         LDBL_MIN_EXP.
25784         * stdio-common/Makefile (tests): Add tst-sprintf3.
25785         * stdio-common/tst-sprintf3.c: New file.
25787         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25788         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25790 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25792         * conform/conformtest.pl: Remove duplicate typed-constant
25793         handling.
25795 2012-04-28  David S. Miller  <davem@davemloft.net>
25797         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25798         (check-abi-%): Remove AWK script prerequisite and explicit
25799         abilist directory.
25800         (check-abi): Rewrite to just diff the symlist with the abilist.
25801         (config-tls, config-abi-config): Delete, no longer used.
25802         (update-abi-%): Remove AWK script and explicit abilist directory.
25803         (update-abi): Rewrite to simply compare and conditionally copy the
25804         symlist and the sysdep abilist file.  Remove update-abi-config
25805         checks.
25806         * abilist/ld.abilist: Remove.
25807         * abilist/libBrokenLocale.abilist: Remove.
25808         * abilist/libanl.abilist: Remove.
25809         * abilist/libcrypt.abilist: Remove.
25810         * abilist/libdl.abilist: Remove.
25811         * abilist/librt.abilist: Remove.
25812         * abilist/libthread_db.abilist: Remove.
25813         * abilist/libutil.abilist: Remove.
25814         * scripts/extract-abilist.awk: Remove.
25815         * scripts/merge-abilist.awk: Remove.
25816         * sysdeps/generic/libcidn.abilist: New file.
25817         * sysdeps/generic/libnss_compat.abilist: New file.
25818         * sysdeps/generic/libnss_db.abilist: New file.
25819         * sysdeps/generic/libnss_dns.abilist: New file.
25820         * sysdeps/generic/libnss_files.abilist: New file.
25821         * sysdeps/generic/libnss_hesiod.abilist: New file.
25822         * sysdeps/generic/libnss_nis.abilist: New file.
25823         * sysdeps/generic/libnss_nisplus.abilist: New file.
25824         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25825         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25826         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25827         file.
25828         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25829         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25830         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25831         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25832         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25833         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25834         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25835         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25836         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25837         file.
25838         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25839         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25840         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25841         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25842         file.
25843         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25844         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25845         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25846         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25847         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25848         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25849         file.
25850         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25851         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25852         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25853         file.
25854         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25856         New file.
25857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25858         New file.
25859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25860         New file.
25861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25862         New file.
25863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25864         New file.
25865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25866         New file.
25867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25868         New file.
25869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25870         New file.
25871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25872         New file.
25873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25874         New file.
25875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25876         New file.
25877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25878         New file.
25879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25880         New file.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25882         file.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25884         New file.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25886         New file.
25887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25888         file.
25889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25890         New file.
25891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25892         New file.
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25894         file.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25896         New file.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25898         New file.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25900         New file.
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25902         New file.
25903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25904         New file.
25905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25906         New file.
25907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25909         file.
25910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25911         New file.
25912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25913         file.
25914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25915         file.
25916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25917         file.
25918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25919         file.
25920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25921         file.
25922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25923         New file.
25924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25925         file.
25926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25927         file.
25928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25929         New file.
25930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25931         file.
25932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25934         file.
25935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25936         New file.
25937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25938         file.
25939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25940         file.
25941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25942         file.
25943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25944         file.
25945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25946         file.
25947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25948         New file.
25949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25950         file.
25951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25952         file.
25953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25954         New file.
25955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25956         file.
25957         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25958         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25959         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25960         file.
25961         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25962         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25963         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25964         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25965         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25966         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25967         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25968         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25969         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25970         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25973         file.
25974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25975         New file.
25976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25977         file.
25978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25979         file.
25980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25981         file.
25982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25983         file.
25984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25985         file.
25986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25987         New file.
25988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25989         New file.
25990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25991         file.
25992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25993         New file.
25994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25995         file.
25996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25998         file.
25999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26000         New file.
26001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26002         file.
26003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26004         file.
26005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26006         file.
26007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26008         file.
26009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26010         file.
26011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26012         New file.
26013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26014         New file.
26015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26016         file.
26017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26018         New file.
26019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26020         file.
26022 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26024         * conform/conformtest.pl: Fix typo in handling typed-constant from
26025         allow-header.
26027 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26029         * README: Cut down references to pre-2.6 Linux kernels and
26030         Linuxthreads.  Update lists of configurations in libc and ports
26031         and sort alphabetically.  Say "or newer" with Linux kernel version
26032         requirements.
26034         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26036 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26038         [BZ #887]
26039         * math/libm-test.inc (logb_test_downward): New test to expose
26040         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26041         rounding mode.
26043 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26045         [BZ #14027]
26046         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26047         to be done.
26048         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26049         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26051 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26053         * sysdeps/unix/i386/brk.S: Remove file.
26054         * sysdeps/unix/i386/dl-brk.S: Likewise.
26055         * sysdeps/unix/i386/pipe.S: Likewise.
26056         * sysdeps/unix/i386/sigreturn.S: Likewise.
26057         * sysdeps/unix/i386/syscall.S: Likewise.
26058         * sysdeps/unix/i386/vfork.S: Likewise.
26059         * sysdeps/unix/i386/wait.S: Likewise.
26061         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26062         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26064         * configure.in (arm*-none*): Do not allow without
26065         --enable-hacker-mode.
26066         (netbsd*): Remove case setting base_os.
26067         (386bsd*): Likewise.
26068         (freebsd*): Likewise.
26069         (bsdi*): Likewise.
26070         (osf*): Likewise.
26071         (sunos*): Likewise.
26072         (ultrix*): Likewise.
26073         (newsos*): Likewise.
26074         (dynix*): Likewise.
26075         (*bsd*): Likewise.
26076         (sysv*): Likewise.
26077         (isc*): Likewise.
26078         (esix*): Likewise.
26079         (sco*): Likewise.
26080         (minix*): Likewise.
26081         (irix4*): Likewise.
26082         (irix6*): Likewise.
26083         (solaris[2-9]*): Likewise.
26084         (none): Likewise.
26085         * configure: Regenerated.
26087 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26089         [BZ #11521]
26090         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26091         overflow or cancellation in calculating denominator.
26092         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26093         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26094         down expression to avoid unexpected rounding in newer GCCs.
26095         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26097 2012-04-26  David S. Miller  <davem@davemloft.net>
26099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26100         long-double compat symbols.
26101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26115 2012-04-25  David S. Miller  <davem@davemloft.net>
26117         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26118         HWCAP_* values only after the memory barriers have been defined.
26119         (atomic_full_barrier): Define.
26120         (atomic_read_barrier): Define.
26121         (atomic_write_barrier): Define.
26123 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26125         * shlib-versions: Add libgcc_s version information.
26126         * sysdeps/generic/libgcc_s.h: Remove.
26127         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26128         libgcc_s.h.
26129         * sysdeps/gnu/unwind-resume.c: Likewise.
26130         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26132 2012-04-25  David S. Miller  <davem@davemloft.net>
26134         * sysdeps/unix/sparc/brk.S: Delete.
26135         * sysdeps/unix/sparc/dl-brk.S: Delete.
26136         * sysdeps/unix/sparc/pipe.S: Delete.
26137         * sysdeps/unix/sparc/sysdep.S: Delete.
26138         * sysdeps/unix/sparc/sysdep.h: Delete.
26139         * sysdeps/unix/sparc/vfork.S: Delete.
26140         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26141         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26142         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26143         ret_ERRVAL, r0, r1, MOVE): Define.
26144         (JUMPTARGET): Remove.
26145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26146         sysdeps/unix/sparc/sysdep.h
26147         (ENTRY, END): Remove.
26148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26150 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26152         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26153         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26154         -DIS_IN_build.
26156         * timezone/README: Update upstream location and email address for
26157         tzcode and tzdata.
26158         * timezone/zdump.c: Update from tzcode 2012b.
26159         * timezone/zic.c: Likewise.
26161         * configure.in (libc_cv_as_needed): Remove test.
26162         * configure: Regenerated.
26163         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26164         conditional definition.
26165         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26166         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26167         * config.make.in (have-as-needed): Remove variable.
26169 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26170             Paul Pluzhnikov  <ppluzhnikov@google.com>
26172         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26173         strings correctly.
26175 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26177         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26178         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26179         * sysdeps/sh/strlen.S: Likewise.
26181 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26183         * sysdeps/unix/fork.S: Remove file.
26184         * sysdeps/unix/i386/fork.S: Likewise.
26185         * sysdeps/unix/sparc/fork.S: Likewise.
26187         * sysdeps/unix/system.c: Remove file.
26188         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26190         * sysdeps/unix/getegid.S: Remove file.
26191         * sysdeps/unix/geteuid.S: Likewise.
26193 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26195         * scripts/check-localplt.awk: New file.
26196         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26197         of diff.
26198         * scripts/data/localplt-generic.data: Add a comment.
26200         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26201         NODE when __dir_mkfile failed.
26202         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26203         Reported by Ludovic Courtès <ludo@gnu.org>.
26205 2012-04-24  Andreas Jaeger  <aj@suse.de>
26207         * Makerules (common-clean): Also remove gen-as-const-headers
26208         files.
26210 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26212         * Makerules (native-compile): Do not change working directory for
26213         build.  Use $(OUTPUT_OPTION) in command.
26214         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26216 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26218         [BZ #13886]
26219         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26220         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26221         * math/libm-test.inc (floor_test): Add more tests.
26222         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26224 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26226         * sysdeps/unix/getdents.c: Remove file.
26227         * sysdeps/unix/sysv/getdents.c: Likewise.
26228         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26230         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26231         sysdeps/unix/mman/syscalls.list.
26232         (mmap): Likewise.
26233         (mprotect): Likewise.
26234         (msync): Likewise.
26235         (munmap): Likewise.
26236         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26237         * sysdeps/unix/mman/syscalls.list: Remove.
26238         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26240         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26241         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26242         * configure: Regenerated.
26243         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26244         $(libgcc_s_suffix).
26245         * config.make.in (libgcc_s_suffix): Remove variable.
26247 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26249         * sysdeps/unix/sysv/gethostname.c: Move to ...
26250         * sysdeps/posix/gethostname.c: ... here.
26252         * sysdeps/unix/execve.S: Remove file.
26254         * sysdeps/unix/_exit.S: Remove file.
26256 2012-04-23  Andreas Jaeger  <aj@suse.de>
26258         [BZ #13739]
26259         * manual/Makefile: Remove make dist support, there's no
26260         need for a stand-alone documentation tar ball.
26261         (TEXI2DVI): Define always, it's not in Makeconfig.
26262         (dist): Removed.
26263         (tar-it): Removed.
26264         (edition): Removed.
26265         (glibc-doc-$(edition).tar): Removed
26266         (%.Z): Removed.
26267         (%.gz): Removed.
26268         (%.uu): Removed.
26269         (ETAGS): Remove, it's in Makeconfig.
26270         (move-if-change): Remove, it's in Makeconfig.
26272 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26274         [BZ #13970]
26275         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26276         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26277         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26278         (strtod_l, strtof_l, strtold_l): Remove __wur.
26279         It is not necessarily an error to ignore strtol's return value.
26280         One can reliably look at the stored endptr to decide whether
26281         the number had valid syntax.
26283 2012-04-21  Andreas Jaeger  <aj@suse.de>
26285         [BZ #13739]
26286         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26288 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26290         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26291         * sysdeps/unix/sysv/Versions: Remove file.
26293 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26295         [BZ #13927]
26296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26298 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26300         [BZ #7064]
26301         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26302         version from __vm86.
26304 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26306         * sysdeps/unix/common/lxstat.c: Remove file.
26307         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26309         * sysdeps/unix/sysv/Makefile: Remove file.
26311         * sysdeps/unix/sysv/direct.h: Remove file.
26313         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26314         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26315         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26316         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26317         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26318         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26319         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26321         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26323         * sysdeps/unix/xmknod.c: Remove file.
26324         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26326         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26328         * sysdeps/unix/sysv/i386/time.S: Remove file.
26330         * sysdeps/unix/fxstat.c: Remove file.
26331         * sysdeps/unix/xstat.c: Likewise.
26332         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26334         * sysdeps/unix/sysv/sigaction.c: Remove file.
26336         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26337         (sysdep_headers): Remove variable.
26338         [termio.h not in sysdep_headers] (generated): Likewise.
26339         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26340         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26341         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26342         * sysdeps/unix/sysv/tcflow.c: Likewise.
26343         * sysdeps/unix/sysv/tcflush.c: Likewise.
26344         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26345         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26346         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26347         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26348         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26350         * sysdeps/unix/siglist.c: Remove file.
26352         * sysdeps/unix/getppid.S: Remove file.
26354         * sysdeps/unix/mkdir.c: Remove file.
26355         * sysdeps/unix/rmdir.c: Likewise.
26357 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26359         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26360         ERR_MAX value.
26361         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26362         errlist-compat value.
26364 2012-04-18  David S. Miller  <davem@davemloft.net>
26366         * sysdeps/generic/memcopy.h (reg_char): Delete.
26367         * debug/strcat_chk.c: Use char, not reg_char.
26368         * debug/strcpy_chk.c: Likewise.
26369         * debug/strncat_chk.c: Likewise.
26370         * debug/strncpy_chk.c: Likewise.
26371         * string/memchr.c: Likewise.
26372         * string/memrchr.c: Likewise.
26373         * string/rawmemchr.c: Likewise.
26374         * string/strcat.c: Likewise.
26375         * string/strchr.c: Likewise.
26376         * string/strchrnul.c: Likewise.
26377         * string/strcmp.c: Likewise.
26378         * string/strcpy.c: Likewise.
26379         * string/strncat.c: Likewise.
26380         * string/strncmp.c: Likewise.
26381         * string/strncpy.c: Likewise.
26383 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26385         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26386         __builtin_memcopy is called when src and dest ranges are known to not
26387         overlap.
26389 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26391         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26392         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26393         fwd_align_merge macro call.
26394         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26395         bwd_align_merge macro call.
26396         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26398 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26400         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26401         bwd_align_merge macros.
26402         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26403         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26404         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26406 2012-04-18  David S. Miller  <davem@davemloft.net>
26408         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26410 2012-04-18  Andreas Jaeger  <aj@suse.de>
26412         [BZ# 6794]
26413         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26414         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26415         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26417         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26418         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26419         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26421         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26422         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26423         Adjust for changed ldbl-128 files.
26425         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26426         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26427         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26429 2012-04-17  David S. Miller  <davem@davemloft.net>
26431         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26433 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26435         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26436         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26437         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26438         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26439         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26440         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26442 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26444         [BZ #6794]
26445         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26446         * math/libm-test.inc: Add ilogb errno and exception tests.
26447         * math/w_ilogb.c: New file: ilogb wrapper.
26448         * math/w_ilogbf.c: New file: ilogbf wrapper.
26449         * math/w_ilogbl.c: New file: ilogbl wrapper.
26450         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26451         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26452         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26453         exception being thrown with 0.0 as argument.
26454         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26455         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26456         exception being thrown with 0.0 as argument.
26457         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26458         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26459         exception being thrown with 0.0 as argument.
26460         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26461         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26462         exception being thrown with 0.0 as argument.
26463         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26464         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26465         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26466         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26467         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26468         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26469         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26470         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26471         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26473 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26475         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26476         with altivec.
26478 2012-04-16  Marek Polacek  <polacek@redhat.com>
26480         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26482 2012-04-16  Marek Polacek  <polacek@redhat.com>
26484         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26485         operands of fdivp instruction.
26487 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26489         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26490         * elf/tst-auditmod3b.c: Likewise.
26491         * elf/tst-auditmod4b.c: Likewise.
26492         * elf/tst-auditmod5b.c: Likewise.
26493         * elf/tst-auditmod6b.c: Likewise.
26494         * elf/tst-auditmod6c.c: Likewise.
26495         * elf/tst-auditmod7b.c: Likewise.
26496         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26497         * sysdeps/x86_64/preconfigure.in: Likewise.
26498         * sysdeps/x86_64/preconfigure: Regenerated.
26500 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26502         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26503         __ILP32__.
26505 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26507         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26508         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26510 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26512         [BZ #13973]
26513         * locale/iso-639.def: Fix gl language name. Spotted by
26514         Yaron Shahrabani.
26516 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26518         [BZ #2074]
26519         * libio/libio.h (__io_write_fn): Update comment.
26521 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26523         [BZ #2074]
26524         * stdio.texi (Hook Functions): The user provided writer function
26525         is not allowed to return -1.
26527 2012-04-11  David S. Miller  <davem@davemloft.net>
26529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26531 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26533         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26534         Add a leading slash to rtkaio.
26536 2012-04-11  Jim Meyering  <meyering@redhat.com>
26538         [BZ #11959]
26539         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26540         It is not necessarily an error to ignore fwrite's return
26541         value.  One can reliably use ferror to test for errors after
26542         the fact.
26544 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26546         * bits/types.h (__snseconds_t): New type.
26547         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26549         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26550         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26551         (__SNSECONDS_T_TYPE): Likewise.
26552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26553         (__SNSECONDS_T_TYPE): Likewise.
26554         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26555         (__SNSECONDS_T_TYPE): Likewise.
26557 2012-04-10  Andreas Jaeger  <aj@suse.de>
26559         [BZ #2636]
26560         * manual/time.texi (Processor Time): Return type of times is
26561         elapsed real time since an arbitrary point in the past.
26562         (CPU Time): Move CLK_TCK from here...
26563         (Processor Time): ...to here.  Correct description.
26564         * manual/conf.texi (Constants for Sysconf): Correct description of
26565         _SC_CLK_TCK.
26567 2012-04-10  David S. Miller  <davem@davemloft.net>
26569         [BZ #13967]
26570         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26571         where the is a gap between DT_REL(A) and DT_JMPREL.
26573 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26575         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26576         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26577         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26579 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26581         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26582         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26583         (dl_main): Handle --inhibit-cache.
26584         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26585         _dl_inhibit_cache.
26586         * elf/dl-load.c (_dl_map_object): Use it.
26587         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26589 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26591         [BZ #13872]
26592         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26593         (__ieee754_powl): Saturate large exponents rather than testing for
26594         overflow of y*log2(x).
26595         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26596         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26597         exceptions.
26599         [BZ #11521]
26600         * math/s_ctan.c: Include <float.h>.
26601         (__ctan): Avoid internal overflow or cancellation in calculating
26602         denominator.
26603         * math/s_ctanf.c: Likewise.
26604         * math/s_ctanl.c: Likewise.
26605         * math/s_ctanh.c: Likewise.
26606         * math/s_ctanhf.c: Likewise.
26607         * math/s_ctanhl.c: Likewise.
26608         * math/libm-test.inc (ctan_test): Add more tests.
26609         (ctanh_test): Likewise.
26610         * sysdeps/i386/fpu/libm-test-ulps: Update.
26611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26613 2012-04-09  Andreas Jaeger  <aj@suse.de>
26615         [BZ #6894]
26616         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26617         is an optional BSD extension.
26619         [BZ #10254]
26620         * manual/stdio.texi (Opening Streams): Document additional fopen
26621         parameters.
26623 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26625         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26626         %eax without telling the compiler.
26628 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26630         [BZ # 13963]
26631         * manual/install.texi: Use sourceware.org.
26633 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #13873]
26636         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26637         (__ieee754_pow): Generate overflow and underflow using huge*huge
26638         and tiny*tiny rather than just returning constant infinity or zero
26639         for large exponents.
26640         * math/libm-test.inc (pow_test): Require overflow exceptions for
26641         applicable cases of large exponents.
26643         [BZ #706]
26644         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26645         (__ieee754_pow): Use iterative multiplication algorithm only for
26646         integer exponents with absolute value below 1024.  Check for odd
26647         integer exponents when using algorithm for real exponents.
26648         * math/libm-test.inc (pow_test): Add more tests.
26649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26651 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26653         [BZ #13705]
26654         * math/libm-test.inc (exp_test): Do not allow overflow exception
26655         on underflow test.
26657 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26659         [BZ #13705]
26660         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26661         instead of __kernel_standard_f.
26663 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26665         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26666         * sysdeps/x86_64/memset_chk.S: Likewise.
26668 2012-04-08  Andreas Jaeger  <aj@suse.de>
26670         [BZ #10153]
26671         * manual/startup.texi (Environment Access): Describe return value
26672         for putenv and setenv.
26674         [BZ #6895]
26675         * manual/filesys.texi (Directory Entries): Add description for
26676         DT_LNK.
26678         [BZ #6890]
26679         * manual/filesys.texi (Directory Entries): Clarify that it's file
26680         system not operating system in the description of DT_UNKNOWN.
26682         [BZ #6578]
26683         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26685 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26687         [BZ #6649]
26688         * manual/llio.texi (Opening and Closing Files): Add cross
26689         reference to explain mode argument.
26691 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26693         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26694         * sysdeps/x86_64/memset_chk.S: Likewise.
26696 2012-04-07  David S. Miller  <davem@davemloft.net>
26698         * elf/elf.h (R_SPARC_WDISP10): Define.
26699         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26700         R_SPARC_SIZE32.
26701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26702         R_SPARC_SIZE64 and R_SPARC_H34.
26704 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26706         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26707         conditions and remove no longer applicable assertion.
26709 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26711         * bits/byteswap.h: Include <features.h>.
26712         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26713         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26715 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26717         * bits/byteswap.h (__bswap_16): Removed.
26718         Include <bits/byteswap-16.h> to get __bswap_16.
26719         * sysdeps/i386/bits/byteswap.h: Likewise.
26720         * sysdeps/s390/bits/byteswap.h: Likewise.
26721         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26722         * bits/byteswap-16.h: New file.
26723         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26724         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26725         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26726         * string/Makefile (headers): Add bits/byteswap-16.h.
26728 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26730         [BZ #13895]
26731         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26732         extra indirection.
26733         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26734         * nss/tst-nss-static.c: New.
26736 2012-04-06  Robert Millan  <rmh@gnu.org>
26738         [BZ #6486]
26739         * manual/llio.texi (File Position Primitive): lseek
26740         refers to WHENCE when it really means OFFSET.
26742 2012-04-06  Andreas Jaeger  <aj@suse.de>
26744         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26745         strncmp declarations.
26747         * abilist/libc.abilist: Add __poll and __ppoll.
26749 2012-04-05  David S. Miller  <davem@davemloft.net>
26751         * scripts/check-local-headers.sh: Accept a host triplet in the
26752         path matched by the exclude regexp.
26754         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26755         definition.
26756         * sysdeps/powerpc/powerpc32/dl-machine.h
26757         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26758         * sysdeps/s390/s390-32/dl-machine.h
26759         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26760         * sysdeps/sparc/sparc32/dl-machine.h
26761         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26762         * sysdeps/sparc/sparc64/dl-machine.h
26763         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26765         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26766         lazy binding.
26767         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26768         undefined symbol errors.
26770         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26771         DT_NEEDED entries.
26773 2012-04-05  Michael Matz  <matz@suse.de>
26775         [BZ #13592]
26776         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26778 2012-04-05  Andreas Jaeger  <aj@suse.de>
26780         [BZ #13908]
26781         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26782         comment.
26784 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26786         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26787         which ROUND is no valid rounding mode.
26789 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26791         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26792         read again.
26793         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26795 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26797         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26798         an exception using FPU order intentionally.
26800 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26802         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26803         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26804         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26805         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26807 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26809         [BZ #12340]
26810         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26811         EINVAL when BUFLEN is too smal.
26813 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26815         [BZ #13553]
26816         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26817         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26819 2012-04-03  Andreas Jaeger  <aj@suse.de>
26821         [BZ #13938]
26822         * manual/setjmp.texi (System V contexts): Fix sentence.
26824         [BZ #13926]
26825         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26826         New macro for this case.
26827         [!__GNUC__] (__bswap_64): New inline function for this case.
26828         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26829         * bits/byteswap.h: Likewise.
26830         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26831         ull, guard with __GLIBC_HAVE_LONG_LONG.
26833         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26834         __GLIBC_HAVE_LONG_LONG.
26836         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26837         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26839 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26841         [BZ #13691]
26842         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26843         inptr and inend, rather than using last_ch.
26845 2012-04-02  David S. Miller  <davem@davemloft.net>
26847         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26848         * stdio-common/printf-parse.h (read_int): Change return type to
26849         'int', return -1 on INT_MAX overflow.
26850         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26851         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26852         overflows INT_MAX.  Check for overflow of in-format-string precision
26853         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26854         SIZE_MAX not INT_MAX for integer overflow test.
26855         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26856         skip the construct in the format string but do not record anything.
26857         * stdio-common/bug22.c: Adjust to test both width/prevision
26858         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26859         explicitly for proper errno values.
26861 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26863         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26864         CHAR_MAX.
26865         * string/test-strcmp.c [! WIDE]: Likewise.
26866         * time/tst-mktime2.c: Likewise for INT_MAX.
26867         * string/test-string.h: #include <sys/param.h> for MIN.
26869         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26870         * sysdeps/i386/init-first.c (init): Likewise.
26871         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26872         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26873         * sysdeps/sh/init-first.c (init): Likewise.
26875 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26877         * po/ru.po: Update from translation team.
26878         * po/vi.po: Likewise.
26880 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26882         * resolv/nss_dns/dns-host.c: Merge copyright years.
26884 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26886         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26887         Optimize memcpy with prefetch if
26888         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26889         src, dst pointers have unequal 16 byte alignments.
26891 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26893         [BZ #13928]
26894         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26895         from a CNAME entry and return the minimum ttl for the query.
26896         (gaih_getanswer_slice): Likewise.
26898 2012-03-30  Jeff Law  <law@redhat.com>
26900         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26901         due to long keys.
26902         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26903         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26905         * resolv/nss_dns/dns-host.c: Update copyright year.
26907 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26909         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26910         requests to save a system call.  Fix check that all bytes are sent.
26912         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26913         comments for sendmmsg.
26915 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26917         [BZ #13691]
26918         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26919         with only 1 character between 0x0041 and 0x01b0.
26920         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26921         * wcsmbs/tst-mbsnrtowcs.c: New file.
26923 2012-03-29  David S. Miller  <davem@davemloft.net>
26925         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26926         small copies by hand.
26928 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26930         [BZ #13761]
26931         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26932         _nss_compat_initgroups_dyn): Fall back to malloc/free
26933         for large group memberships.
26935 2012-03-28  David S. Miller  <davem@davemloft.net>
26937         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26938         that branches into memcpy.
26939         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26940         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26942         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26944         bits.
26945         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26946         implementation too.
26947         * sysdeps/sparc/mempcpy.S: New file.
26949         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26950         the IFUNC routine in the libc case.
26951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26953         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26954         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26955         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26956         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26957         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26958         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26959         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26960         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26962         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26963         loop to 256 bytes instead of 64 bytes and fix test signedness.
26965         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26966         * sysdeps/sparc/sparc32/Makefile: rather than here...
26967         * sysdeps/sparc/sparc64/Makefile: and here.
26969 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26971         * malloc/mallocbug.c: Avoid warnings about unused variables.
26973 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26975         [BZ #13760]
26976         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26977         in the right place. Discard and retry query if response is
26978         larger than input buffer size.
26980 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26982         [BZ #369]
26983         [BZ #2678]
26984         [BZ #3866]
26985         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26986         x for large integer exponent.
26987         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26988         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26989         sign of result as needed afterwards.
26990         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26992         result for underflowing pow the same as for overflow.
26993         (__kernel_standard_l): Handle powl overflow and underflow here
26994         rather than calling __kernel_standard.
26995         * math/libm-test.inc (pow_test): Add more tests.
26997         [BZ #3868]
26998         [BZ #13879]
26999         [BZ #13910]
27000         [BZ #13911]
27001         [BZ #13912]
27002         [BZ #13913]
27003         [BZ #13915]
27004         [BZ #13916]
27005         [BZ #13917]
27006         [BZ #13918]
27007         [BZ #13919]
27008         [BZ #13920]
27009         [BZ #13921]
27010         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27011         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27012         (__kernel_standard_l): New function.
27013         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27014         __kernel_standard.
27015         * math/w_acosl.c (__acosl): Likewise.
27016         * math/w_asinl.c (__asinl): Likewise.
27017         * math/w_atan2l.c (__atan2l): Likewise.
27018         * math/w_atanhl.c (__atanhl): Likewise.
27019         * math/w_coshl.c (__coshl): Likewise.
27020         * math/w_exp10l.c (__exp10l): Likewise.
27021         * math/w_exp2l.c (__exp2l): Likewise.
27022         * math/w_fmodl.c (__fmodl): Likewise.
27023         * math/w_hypotl.c (__hypotl): Likewise.
27024         * math/w_j0l.c (__j0l, __y0l): Likewise.
27025         * math/w_j1l.c (__j1l, __y1l): Likewise.
27026         * math/w_jnl.c (__jnl, __ynl): Likewise.
27027         * math/w_lgammal.c (__lgammal): Likewise.
27028         * math/w_log10l.c (__log10l): Likewise.
27029         * math/w_log2l.c (__log2l): Likewise.
27030         * math/w_logl.c (__logl): Likewise.
27031         * math/w_powl.c (__powl): Likewise.
27032         * math/w_remainderl.c (__remainderl): Likewise.
27033         * math/w_scalbl.c (sysv_scalbl): Likewise.
27034         * math/w_sinhl.c (__sinhl): Likewise.
27035         * math/w_sqrtl.c (__sqrtl): Likewise.
27036         * math/w_tgammal.c (__tgammal): Likewise.
27037         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27038         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27039         * math/libm-test.inc (acos_test): Add more tests.
27040         (acosh_test): Likewise.
27041         (asin_test): Likewise.
27042         (atanh_test): Likewise.
27043         (exp_test): Likewise.
27044         (exp10_test): Likewise.
27045         (exp2_test): Likewise.
27046         (expm1_test): Likewise.
27047         (lgamma_test): Likewise.
27048         (log_test): Likewise.
27049         (log10_test): Likewise.
27050         (log1p_test): Likewise.
27051         (log2_test): Likewise.
27052         (pow_test): Do not allow some spurious overflow exceptions.
27053         (sqrt_test): Add more tests.
27054         (tgamma_test): Likewise.
27055         (y0_test): Likewise.
27056         (y1_test): Likewise.
27057         (yn_test): Likewise.
27059 2012-03-27  Anton Blanchard  <anton@samba.org>
27061         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27062         MAP_HUGETLB.
27063         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27064         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27065         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27067 2012-03-27  David S. Miller  <davem@davemloft.net>
27069         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27071         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27072         have-as-vis3 check.
27074 2012-03-27  Andreas Jaeger  <aj@suse.de>
27076         * sysdeps/x86_64/elf/configure.in: Moved to ...
27077         * sysdeps/x86_64/configure.in: ... here.
27078         * sysdeps/x86_64/elf/start.S: Moved to ...
27079         * sysdeps/x86_64/start.S: ... here.
27080         * sysdeps/x86_64/elf/configure: Delete.
27082         * sysdeps/x86_64/configure.in: Merge contents from
27083         sysdeps/i386/configure.in (without i686 check).
27085         * sysdeps/i386/elf/Versions: Merge into ...
27086         * sysdeps/i386/Versions: ... this.
27087         * sysdeps/i386/elf/Versions: Delete file.
27088         * sysdeps/i386/elf/start.S: Moved to ...
27089         * sysdeps/i386/start.S: ...here.
27090         * sysdeps/i386/elf/configure.in: Merge into...
27091         * sysdeps/i386/configure.in: ...here.
27092         * sysdeps/i386/elf/configure.in: Delete file.
27093         * sysdeps/i386/elf/configure: Delete file.
27095         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27096         * debug/backtracesyms.c: ... here.
27097         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27098         * debug/backtracesymsfd.c: ... here.
27099         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27100         * sysdeps/generic/ifunc-sel.h: ... here.
27102         * sysdeps/unix/i386/start.c: Delete file.
27103         * sysdeps/unix/sparc/start.c: Delete file.
27104         * sysdeps/unix/start.c: Delete file.
27106         * sysdeps/sh/elf/configure.in: Moved to ...
27107         * sysdeps/sh/configure.in: ... here.
27108         * sysdeps/sh/elf/start.S: Moved to ...
27109         * sysdeps/sh/start.S: ... here.
27110         * sysdeps/sh/elf/configure: Delete file.
27112         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27113         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27114         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27115         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27116         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27117         * sysdeps/powerpc/powerpc64/start.S: here.
27118         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27119         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27120         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27121         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27122         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27124         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27125         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27126         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27127         * sysdeps/powerpc/powerpc32/start.S: ... here.
27128         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27129         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27130         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27132         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27133         * sysdeps/powerpc/ifunc-sel.h: ... here.
27134         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27135         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27137         * sysdeps/sparc/elf/configure.in: Moved to ...
27138         * sysdeps/sparc/configure.in: ... here.
27139         * sysdeps/sparc/elf/configure: Delete file.
27140         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27141         * sysdeps/sparc/sparc32/start.S: ... here.
27142         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27143         * sysdeps/sparc/sparc64/start.S: ... here.
27144         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27145         * sysdeps/sparc/sparc32/Makefile: ... this.
27146         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27147         * sysdeps/sparc/sparc64/Makefile: ... this.
27149         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27150         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27151         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27152         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27153         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27154         * sysdeps/s390/s390-32/setjmp.S: ... here.
27155         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27156         * sysdeps/s390/s390-32/configure.in: ... here.
27157         * sysdeps/s390/s390-32/elf/configure: Delete file.
27158         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27159         * sysdeps/s390/s390-32/start.S: ... here.
27161         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27162         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27163         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27164         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27165         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27166         * sysdeps/s390/s390-64/setjmp.S: ... here.
27167         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27168         * sysdeps/s390/s390-64/configure.in: ... here
27169         * sysdeps/s390/s390-64/elf/configure: Delete file.
27170         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27171         * sysdeps/s390/s390-64/start.S: ... here.
27172         * sysdeps/s390/s390-64/elf/configure: Delete.
27174         * configure.in: Remove support for elf directories in sysdeps.
27176         * configure: Regenerated.
27177         * sysdeps/i386/configure: Regenerated.
27178         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27179         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27180         * sysdeps/s390/s390-32/configure: Regenerated.
27181         * sysdeps/s390/s390-64/configure: Regenerated.
27182         * sysdeps/sh/configure: Regenerated.
27183         * sysdeps/sparc/configure: Regenerated.
27184         * sysdeps/x86_64/configure: Regenerated.
27186 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27190         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27191         denormal result into account.
27193 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27195         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27196         Reported by Allan McRae <allan@archlinux.org>.
27198 2012-03-23  Jeff Law  <law@redhat.com>
27200         * nss/getnssent.c (__nss_getent): Fix typo.
27202 2012-03-23  David S. Miller  <davem@davemloft.net>
27204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27206 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27208         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27209         to pad to uint64_t for each field.
27210         (dl_tls_index): Replace unsigned long with uint64_t.
27212 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27213         Paul Pluzhnikov  <ppluzhnikov@google.com>
27215         [BZ #6528]
27216         * grp/Makefile (otherlibs): Don't set it.
27217         * inet/Makefile (otherlibs): Likewise.
27218         * login/Makefile (otherlibs): Likewise.
27219         * nscd/Makefile (otherlibs): Likewise.
27220         * posix/Makefile (otherlibs): Likewise.
27221         * pwd/Makefile (otherlibs): Likewise.
27222         * rt/Makefile (otherlibs): Likewise.
27223         * sunrpc/Makefile (otherlibs): Likewise.
27224         * nss/Makefile (otherlibs): Likewise.
27225         Add libnss_files to routines and static-only-routines.
27226         ($(objpfx)getent): Remove rule.
27227         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27228         static-only-routines.
27230 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27232         [BZ #13892]
27233         * math/s_cexp.c: Include <float.h>.
27234         (__cexp): Handle exp result overflowing not necessarily
27235         overflowing both real and imaginary parts of result.
27236         * math/s_cexpf.c: Likewise.
27237         * math/s_cexpl.c: Likewise.
27238         * math/libm-test.inc (cexp_test): Add more tests.
27239         * sysdeps/i386/fpu/libm-test-ulps: Update.
27240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27244         * include/link.h (ELFW): New macro.
27245         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27246         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27248 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27250         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27251         with uint64_t.
27253 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27255         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27256         declaration.
27257         (struct La_x32_retval): Likewise.
27259 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27261         * sysdeps/x86_64/preconfigure.in: New file.
27262         * sysdeps/x86_64/preconfigure: New generated file.
27264 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #13824]
27267         * math/e_exp2l.c: Include <float.h>.
27268         (__ieee754_exp2l): Handle overflow and underflow cases
27269         separately.  Only pass fractional part of argument to
27270         __ieee754_expl.
27271         * math/libm-test.inc (exp2_test): Add more tests.
27273         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27274         negating x to take absolute value.
27275         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27276         Likewise.
27277         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27278         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27279         Likewise.
27280         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27281         computing low part if x was negated.
27282         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27284 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27286         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27287         la_x32_gnu_pltexit.
27288         (pltexit): Cast int_retval to ptrdiff_t.
27289         * elf/tst-auditmod3b.c: Likewise.
27290         * elf/tst-auditmod4b.c: Likewise.
27291         * elf/tst-auditmod5b.c: Likewise.
27292         * elf/tst-auditmod6b.c: Likewise.
27293         * elf/tst-auditmod6c.c: Likewise.
27294         * elf/tst-auditmod7b.c: Likewise.
27296         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27297         and x32_gnu_pltexit.
27299         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27300         __ELF_NATIVE_CLASS.
27301         (La_x32_regs): New macro.
27302         (La_x32_retval): Likewise.
27303         (la_x32_gnu_pltenter): New function prototype.
27304         (la_x32_gnu_pltexit): Likewise.
27306 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27308         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27309         exponent.
27311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27313         * configure.in (libc_cv_cc_nofma): Check for option to disable
27314         generation of FMA instructions.
27315         * configure: Regenerate.
27316         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27317         * sysdeps/ieee754/dbl-64/Makefile: New file.
27318         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27319         Remove brandred-fma4.
27320         (CFLAGS-brandred-fma4.c): Remove.
27321         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27322         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27323         define.
27324         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27325         define.
27327 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27329         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27330         LLONG_MAX != LONG_MAX.
27331         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27332         (_fitoa_word): Likewise.
27333         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27334         LLONG_MAX != LONG_MAX.
27335         * stdio-common/_itowa.h: Include <_itoa.h>.
27336         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27337         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27338         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27339         only if not defined.
27340         (_ITOA_WORD_TYPE): Likewise.
27341         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27342         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27344 2012-03-21  David S. Miller  <davem@davemloft.net>
27346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27348 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27350         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27351         of x86_64 when setting libc_cv_slibdir, libdir and
27352         libc_cv_localedir.
27353         * sysdeps/unix/sysv/linux/configure: Regenerated.
27355 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27357         * manual/lang.texi (Old Varargs): Remove section.
27358         (How Variadic): Update menu.
27359         (va_start): Do not mention varargs.h.
27361 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27362             Joseph Myers  <joseph@codesourcery.com>
27364         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27365         link test.
27366         * configure: Regenerated.
27368 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27370         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27371         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27372         conformtest.pl
27374 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27376         * NOTES: Remove.
27377         * Makefile (files-for-dist): Remove NOTES.
27378         (NOTES): Remove rule.
27379         * README: Don't refer to NOTES.
27380         * manual/creature.texi: Don't include macros.texi.
27381         * manual/intro.texi (creature.texi): Remove comment referring to
27382         NOTES.
27384         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27385         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27386         * configure: Regenerated.
27387         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27388         LIBC_TRY_CC_OPTION.
27389         (libc_cv_as_i686): Likewise.
27390         (libc_cv_cc_avx): Likewise.
27391         (libc_cv_cc_sse2avx): Likewise.
27392         (libc_cv_cc_fma4): Likewise.
27393         (libc_cv_cc_novzeroupper): Likewise.
27394         * sysdeps/i386/configure: Regenerated.
27396         [BZ #13883]
27397         * sysdeps/i386/fpu/s_cexp.S: Remove.
27398         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27399         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27400         * math/libm-test.inc (cexp_test): Add more tests.
27401         * sysdeps/i386/fpu/libm-test-ulps: Update.
27402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27404 2012-03-21  Allan McRae  <allan@archlinux.org>
27406         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27408 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27410         [BZ #13871]
27411         * math/w_exp2.c: Do not include <float.h>.
27412         (o_threshold, u_threshold): Remove.
27413         (__exp2): Calculate result before checking finiteness and calling
27414         __kernel_standard.
27415         * math/w_exp2f.c: Likewise.
27416         * math/w_exp2l.c: Likewise.
27417         * math/libm-test.inc (exp2_test): Require overflow exception for
27418         1e6 input.
27420         [BZ #3866]
27421         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27422         range of signed 64-bit integers before using fistpll.  Remove
27423         checks for whether integers fit in mantissa bits.
27424         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27425         the range of signed 32-bit integers before using fistpl.  Remove
27426         checks for whether integers fit in mantissa bits.
27427         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27428         (__ieee754_powl): Test for y outside the range of signed 64-bit
27429         integers before using fistpll.  Reduce 64-bit values to 63-bit
27430         ones as needed.
27431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27432         divide-by-zero is raised for zero to large negative powers.
27433         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27434         (__ieee754_powl): Test for y outside the range of signed 64-bit
27435         integers before using fistpll.  Reduce 64-bit values to 63-bit
27436         ones as needed.
27437         * math/libm-test.inc (pow_test): Add more tests.
27439 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27441         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27442         <stdio-common/_itoa.h>.
27443         * debug/segfault.c: Likewise.
27444         * elf/dl-cache.c: Likewise.
27445         * elf/dl-minimal.c: Likewise.
27446         * elf/dl-misc.c: Likewise.
27447         * elf/dl-sysdep.c: Likewise.
27448         * elf/dl-version.c: Likewise.
27449         * elf/rtld.c: Likewise.
27450         * hurd/hurdsock.c: Likewise.
27451         * hurd/lookup-retry.c: Likewise.
27452         * malloc/malloc.c: Likewise.
27453         * malloc/mtrace.c: Likewise.
27454         * nscd/nscd_getgr_r.c: Likewise.
27455         * nscd/nscd_getpw_r.c: Likewise.
27456         * nscd/nscd_getserv_r.c: Likewise.
27457         * posix/getopt_init.c: Likewise.
27458         * posix/wordexp.c: Likewise.
27459         * stdio-common/_itoa.c: Likewise.
27460         * stdio-common/printf_fphex.c: Likewise.
27461         * stdio-common/vfprintf.c: Likewise.
27462         * string/_strerror.c: Likewise.
27463         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27464         * sysdeps/i386/i686/hp-timing.h: Likewise.
27465         * sysdeps/mach/_strerror.c: Likewise.
27466         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27467         * sysdeps/mach/hurd/sethostid.c: Likewise.
27468         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27469         * sysdeps/mach/xpg-strerror.c: Likewise.
27470         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27472         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27473         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27474         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27475         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27476         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27477         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27478         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27479         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27480         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27481         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27482         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27483         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27484         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27485         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27486         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27487         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27488         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27489         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27490         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27492         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27494         * stdio-common/_itoa.h: Moved to ...
27495         * sysdeps/generic/_itoa.h: Here.
27497         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27499         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27500         instead of "_itoa.h" and "_itowa.h".
27501         * stdio-common/vfprintf.: Likewise.
27503 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27505         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27506         <bits/wordsize.h>.
27507         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27508         (__signbit): Likwise.
27509         (llrintf): Likwise.
27510         (llrint): Likwise.
27512 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27514         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27515         __WORDSIZE != 64.
27517 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27519         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27520         OVERFLOW_EXCEPTION_OK.
27521         * math/libm-test.inc ("Philosophy"): Update comment about
27522         exception testing.
27523         (OVERFLOW_EXCEPTION): Define.
27524         (OVERFLOW_EXCEPTION_OK): Likewise.
27525         (INVALID_EXCEPTION_OK): Renumber.
27526         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27527         (IGNORE_ZERO_INF_SIGN): Likewise.
27528         (test_exceptions): Handle FE_OVERFLOW.
27529         (exp10_test): Expect overflow exceptions.
27530         (exp2_test): Likewise.
27531         (expm1_test): Likewise.
27532         (nextafter_test): Likewise.
27533         (pow_test): Likewise.
27534         (scalbn_test): Likewise.
27535         (scalbln_test): Likewise.
27537 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27539         * sysdeps/x86_64/bits/atomic.h
27540         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27541         64bit integer.
27542         (atomic_exchange_acq): Likewise.
27543         (__arch_exchange_and_add_body): Likewise.
27544         (__arch_add_body): Likewise.
27545         (atomic_add_negative): Likewise.
27546         (atomic_add_zero): Likewise.
27548 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27550         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27551         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27553 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27555         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27556         Check __x86_64__ instead of __WORDSIZE.
27558 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27560         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27562 2012-03-19  David S. Miller  <davem@davemloft.net>
27564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27566         * sysdeps/sparc/fpu/fenv_private.h: New file.
27567         * sysdeps/sparc/fpu/math_private.h: Use it.
27568         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27569         Remove.
27570         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27571         (libc_feholdexcept_setroundl): Remove.
27572         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27573         Remove.
27574         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27575         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27577 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27579         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27580         int64_t instead of long int.
27581         (INSERT_WORDS64): Likwise.
27583 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27585         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27586         _Unwind_GetCFA return to _Unwind_Ptr first.
27588 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27590         [BZ #13629]
27591         * math/s_clog.c: Include <float.h>.
27592         (__clog): Scale large or subnormal inputs.
27593         * math/s_clogf.c: Likewise.
27594         * math/s_clogl.c: Likewise.
27595         * math/s_clog10.c: Include <float.h>.
27596         (M_LOG10_2): Define.
27597         (__clog10): Scale large or subnormal inputs.
27598         * math/s_clog10f.c: Likewise.
27599         * math/s_clog10l.c: Likewise.
27600         * math/libm-test.inc (clog_test): Add more tests.
27601         (clog10_test): Likewise.
27602         * sysdeps/i386/fpu/libm-test-ulps: Update.
27603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27605         [BZ #11451]
27606         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27607         x and y.
27608         * math/libm-test.inc (atan2_test): Add another test.
27610         * Makerules (common-objdir-compile): Remove.
27611         * sysdeps/unix/Makefile (config-generated): Do not add
27612         $(unix-generated) to variable.
27613         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27614         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27615         Remove rule.
27616         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27617         Likewise.
27618         [generic bits/local_lim.h] (before-compile): Do not append to
27619         variable.
27620         [generic bits/local_lim.h] (common-generated): Likewise.
27621         [generic sys/param.h] (before-compile): Do not append to variable.
27622         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27623         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27624         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27625         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27626         include.
27627         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27628         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27629         [generic sys/param.h] ($(addprefix
27630         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27631         [generic sys/param.h] (common-generated): Do not append to
27632         variable.
27633         [generic sys/param.h] (sysdep_headers): Likewise.
27634         [generic bits/errno.h] (before-compile): Do not append to
27635         variable.
27636         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27637         rule.
27638         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27639         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27640         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27641         [generic bits/errno.h] (common-generated): Do not append to
27642         variable.
27643         [generic bits/ioctls.h] (before-compile): Do not append to
27644         variable.
27645         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27646         rule.
27647         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27648         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27649         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27650         rule.
27651         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27652         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27653         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27654         [generic bits/ioctls.h] (common-generated): Do not append to
27655         variable.
27656         [generic sys/syscall.h] (syscall.h): Remove variable.
27657         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27658         rule.
27659         [generic sys/syscall.h] (before-compile): Do not append to
27660         variable.
27661         [generic sys/syscall.h] (common-generated): Likewise.
27662         * sysdeps/unix/errnos-tmpl.c: Remove file.
27663         * sysdeps/unix/errnos.awk: Likewise.
27664         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27665         * sysdeps/unix/ioctls.awk: Likewise.
27666         * sysdeps/unix/mk-local_lim.c: Likewise.
27667         * sysdeps/unix/snarf-ioctls: Likewise.
27669 2012-03-19  Richard Henderson  <rth@twiddle.net>
27671         * sysdeps/i386/fpu/fenv_private.h: New file.
27672         * sysdeps/i386/fpu/math_private.h: Use it.
27673         (math_opt_barrier, math_force_eval): Remove.
27674         (libc_feholdexcept_setround_53bit): Remove.
27675         (libc_feupdateenv_53bit): Remove.
27676         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27677         (math_opt_barrier, math_force_eval): Remove.
27678         (libc_feholdexcept): Remove.
27679         (libc_feholdexcept_setround): Remove.
27680         (libc_fetestexcept, libc_fesetenv): Remove.
27681         (libc_feupdateenv_test): Remove.
27682         (libc_feupdateenv, libc_feholdsetround): Remove.
27683         (libc_feresetround): Remove.
27685         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27686         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27688         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27689         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27690         (libc_feupdateenv_testl): New.
27691         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27692         (libc_feupdateenv_testf): New.
27693         (libc_feupdateenv): Use libc_feupdateenv_test.
27694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27695         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27697         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27698         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27699         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27700         (libc_feresetround_noex): New.
27701         (libc_feresetround_noexf): New.
27702         (libc_feresetround_noexl): New.
27703         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27704         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27705         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27706         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27707         SET_RESTORE_ROUND.
27708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27710         (__cos): Likewise.
27711         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27712         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27713         SET_RESTORE_ROUND_NOEX.
27714         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27715         SET_RESTORE_ROUND_NOEXF.
27716         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27717         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27718         (libc_feholdsetroundf): New.
27719         (libc_feresetround, libc_feresetroundf): New.
27721         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27722         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27723         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27725         * sysdeps/generic/math_private.h: Include <fenv.h>.
27726         (default_libc_feholdexcept): New.
27727         (default_libc_feholdexcept_setround): New.
27728         (default_libc_fesetenv, default_libc_feupdateenv): New.
27729         (libc_feholdexcept): Only define if undefined.
27730         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27731         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27732         (libc_feholdexcept_setroundl): Likewise.
27733         (libc_feholdexcept_setround_53bit): Likewise.
27734         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27735         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27736         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27737         (libc_feupdateenv_53bit): Likewise.
27738         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27739         (libc_feholdexcept): Convert from macro to inline function.
27740         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27741         (libc_fesetenv, libc_feupdateenv): Likewise.
27743         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27744         not previously defined.
27745         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27746         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27747         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27748         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27749         * sysdeps/ieee754/flt-32/math_private.h: New file.
27750         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27751         math_private.h below SET_FLOAT_WORD.
27752         (__isnan, __isinf_ns, __finite): Remove.
27753         (__isnanf, __isinf_nsf, __finitef): Remove.
27755 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27759 2012-03-17  David S. Miller  <davem@davemloft.net>
27761         [BZ #6471]
27762         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27763         for 2.16.
27765 2012-03-16  David S. Miller  <davem@davemloft.net>
27767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27768         warnings.
27770         [BZ #6471]
27771         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27772         properly.
27773         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27774         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27775         sysdep_routines when subdir is sysvipc.
27776         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27777         __getshmlba helper.
27779         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27781 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27783         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27784         [__LP64__].
27786 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27788         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27789         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27790         (__lround): Renamed to ...
27791         (__llround): This.  Replace long int with long long int.
27792         Define lround functions as aliases of llround functions.
27793         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27795 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27797         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27798         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27799         adresses to uintptr_t.  Replace "long int" and "unsigned long
27800         int" with "greg_t" on va_arg.
27802 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27804         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27805         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27807         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27808         Move e_machine check before EI_CLASS check.  Handle x32
27809         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27810         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27811         SKIP_EM_IA_64 and include
27812         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27814         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27815         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27816         (add_system_dir): New macro.
27818         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27819         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27823         [BZ #2551]
27824         [BZ #2552]
27825         [BZ #2553]
27826         [BZ #2554]
27827         [BZ #2562]
27828         [BZ #2563]
27829         [BZ #2565]
27830         [BZ #2566]
27831         [BZ #2576]
27832         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27833         (y0): Likewise.
27834         * math/w_j0f.c (j0f): Likewise.
27835         (y0f): Likewise.
27836         * math/w_j0l.c (__j0l): Likewise.
27837         (__y0l): Likewise.
27838         * math/w_j1.c (j1): Likewise.
27839         (y1): Likewise.
27840         * math/w_j1f.c (j1f): Likewise.
27841         (y1f): Likewise.
27842         * math/w_j1l.c (__j1l): Likewise.
27843         (__y1l): Likewise.
27844         * math/w_jn.c (jn): Likewise.
27845         (yn): Likewise.
27846         * math/w_jnf.c (jnf): Likewise.
27847         (ynf): Likewise.
27848         * math/w_jnl.c (__jnl): Likewise.
27849         (__ynl): Likewise.
27850         * math/libm-test.inc (j0_test): Add more tests.
27851         (j1_test): Likewise.
27852         (jn_test): Likewise.  Add trailing semicolon to existing test.
27853         (y0_test): Likewise.
27854         (y1_test): Likewise.
27855         * sysdeps/i386/fpu/libm-test-ulps: Update.
27856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27858         [BZ #13851]
27859         [BZ #13854]
27860         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27861         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27862         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27863         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27864         (__tanl): Set errno for infinite argument.
27865         * sysdeps/i386/fpu/mptan.c: Remove.
27866         * sysdeps/i386/fpu/s_tan.S: Likewise.
27867         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27868         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27869         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27870         * math/libm-test.inc (tan_test): Add more tests and enable more
27871         tests for double and long double.
27872         * sysdeps/i386/fpu/libm-test-ulps: Update.
27873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27875 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27877         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27878         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27880 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27882         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27883         * configure.in: Use it for both main tree and add-ons.
27884         * configure: Regenerated.
27886 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27888         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27890 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27892         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27893         in comment.
27895         [BZ #13851]
27896         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27897         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27898         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27899         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27900         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27901         infinite argument.
27902         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27903         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27904         != 0 for prec == 2.
27905         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27906         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27907         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27908         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27909         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27910         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27911         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27912         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27913         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27914         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27915         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27916         * math/libm-test.inc (cos_test): Add more tests and enable more
27917         tests for long double.
27918         (sin_test): Likewise.
27919         (sincos_test): Likewise.
27920         * sysdeps/i386/fpu/libm-test-ulps: Update.
27921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27923 2012-03-16  David S. Miller  <davem@davemloft.net>
27925         * sysdeps/sparc/fpu/math_private.h: New file.
27927 2012-03-15  David S. Miller  <davem@davemloft.net>
27929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27930         file.
27931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27933         file.
27934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27940         sysdep routines.
27941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27943         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27944         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27946         * sysdeps/sparc/sparc-ifunc.h: New file.
27947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27948         sparc-ifunc.h
27949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27951         Likewise.
27952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27953         Likewise.
27954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27958         Likewise.
27959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27964         Likewise.
27965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27966         Likewise.
27967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27973         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27974         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27985         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27987         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27989         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27990         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27992 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27994         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27995         scaling.
27996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27998 2012-03-15  Andreas Jaeger  <aj@suse.de>
28000         [BZ #13852]
28001         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28002         ieee754/flt-32 implementation for sin, cos and sincos.
28003         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28004         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28005         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28006         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28007         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28008         ieee754/flt-32 implementation for tan.
28010         * math/libm-test.inc (cos_test): Enable some large input tests for
28011         float as well
28012         (sin_test): Likewise.
28013         (sincos_test): Likewise.
28014         (tan_test): Add tests for large input.
28016         * sysdeps/i386/fpu/libm-test-ulps: Update.
28018 2012-03-15  Andreas Jaeger  <aj@suse.de>
28020         [BZ #13658]
28021         * math/libm-test.inc (cos_test): Add more test cases.
28022         (sin_test): Likewise.
28023         (sincos_test): Likewise.
28025 2012-03-15  Andreas Jaeger  <aj@suse.de>
28027         [BZ #13837]
28028         * math/libm-test.inc (cos_test): Add a test case for large input
28029         value.
28030         (sin_test): Likewise.
28031         (sincos_test): Likewise.
28033 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28034         Joseph Myers  <joseph@codesourcery.com>
28036         [BZ #13658]
28037         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28038         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28039         * sysdeps/i386/fpu/branred.c: Likewise.
28040         * sysdeps/i386/fpu/dosincos.c: Likewise.
28041         * sysdeps/i386/fpu/mpa.c: Likewise.
28042         * sysdeps/i386/fpu/s_cos.S: Likewise.
28043         * sysdeps/i386/fpu/s_sin.S: Likewise.
28044         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28045         * sysdeps/i386/fpu/sincos32.c: Likewise.
28047         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28048         Define.
28049         (libc_feupdateenv_53bit): Define.
28050         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28051         Define.
28052         (libc_feupdateenv_53bit): Define.
28054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28055         53 bit (without extend i386 double precision).
28057         * math/libm-test.inc (sincos_test): Add tests for large input.
28058         (sin): Likewise.
28059         (cos): Likewise.
28061         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28063 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28067 2012-03-15  David S. Miller  <davem@davemloft.net>
28069         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28070         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28071         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28072         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28085         file.
28086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28088         file.
28089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28091         file.
28092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28094         file.
28095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28097         fmin/fmax sysdep routines.
28098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28100 2012-03-14  David S. Miller  <davem@davemloft.net>
28102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28106         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28107         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28108         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28109         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28122         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28126         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28131         routines.
28132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28133         file.
28134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28136         file.
28137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28139         file.
28140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28142         file.
28143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28145         file.
28146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28148         file.
28149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28150         file.
28151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28152         file.
28153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28154         file.
28155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28156         New file.
28157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28158         file.
28159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28160         file.
28161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28163         file.
28164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28166         file.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28169         file.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28172         VIS3 routines.
28174         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28175         New file.
28177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28179         * sysdeps/sparc/configure.in: New file.
28180         * sysdeps/sparc/configure: Generate.
28181         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28182         * configure: Regenerate.
28183         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28184         * config.make.in (have-as-vis3): New.
28185         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28186         available use -Av9d instead of -Av9a.
28187         * sysdeps/sparc/sparc64/Makefile: Likewise.
28188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28190         New file.
28191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28192         file.
28193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28194         New file.
28195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28196         file.
28197         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28198         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28203         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28204         fzeros/fnegs to load 0x80000000 into a float register instead of
28205         using the stack.
28206         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28208 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28211         bits/syscall.h.
28212         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28213         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28214         ($(inst_includedir)/bits/syscall.h): Remove rule.
28215         ($(objpfx)bits/syscall.d): Include instead of
28216         $(objpfx)syscall-list.d.
28217         (generated): Change syscall-list.h and syscall-list.d to
28218         bits/syscall.h and bits/syscall.d.
28220 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28222         [BZ #13846]
28223         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28225 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28227         [BZ #13841]
28228         * math/s_csqrt.c: Include <float.h>.
28229         (__csqrt): Scale large or subnormal inputs.
28230         * math/s_csqrtf.c: Likewise.
28231         * math/s_csqrtl.c: Likewise.
28232         * math/libm-test.inc (csqrt_test): Add more tests.
28233         * sysdeps/i386/fpu/libm-test-ulps: Update.
28234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28236         [BZ #13840]
28237         * math/libm-test.inc (hypot_test): Add more tests.
28239 2012-03-13  David S. Miller  <davem@davemloft.net>
28241         [BZ #13840]
28242         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28243         double-precision for the calculation instead of scaling.
28245 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28247         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28248         manipulate bits before adding and subtracting TWO52[sx].
28249         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28250         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28251         Likewise.
28252         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28254 2012-03-13  David S. Miller  <davem@davemloft.net>
28256         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28257         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28259         rtld-global-offsets.h
28260         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28262         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28263         large parameters.
28265         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28267         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28268         'err' in the ifdef scope in which it is actually used.
28270         * nss/nss_db/db-init.c: Include string.h
28272 2012-03-12  David S. Miller  <davem@davemloft.net>
28274         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28275         masking out of the most significant byte of random value used.
28276         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28277         Fix coding style in previous change.
28279         * sysdeps/unix/sysv/linux/kernel-features.h
28280         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28281         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28282         expression.
28283         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28284         later.
28286 2012-03-11  David S. Miller  <davem@davemloft.net>
28288         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28289         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28290         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28291         for 'resultvar' otherwise things get truncated on 64-bit.
28293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28294         Fix masking out of the most significant byte of random value used.
28296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28298 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28302 2012-03-09  David S. Miller  <davem@davemloft.net>
28304         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28305         variables with appropriate CPP guards.
28306         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28307         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28308         on resulting framesize and the management of the outregs buffer for pltexit.
28309         Preserve floating point return values across _dl_call_pltexit call.
28310         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28311         framesize and the management of the outregs buffer for pltexit.
28312         Preserve floating point return values across _dl_call_pltexit
28313         call.
28314         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28315         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28316         (print_exit): Fix format string for return register value.
28318 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28320         * sunrpc/Makefile (others): Add rpcgen.
28321         ($(objpfx)rpcgen): Remove special build rule and dependency on
28322         libc.
28323         * sunrpc/rpcgen.c: New file.
28325 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28327         [BZ #13673]
28328         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28329         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28330         * sysdeps/i386/crti.S: Likewise.
28331         * sysdeps/i386/crtn.S: Likewise.
28332         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28333         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28334         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28335         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28336         * sysdeps/sh/crti.S: Likewise.
28337         * sysdeps/sh/crtn.S: Likewise.
28338         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28340         [BZ #13673]
28341         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28342         with URL.
28343         * locale/programs/locfile-kw.gperf: Likewise.
28344         * locale/programs/charmap-kw.h: Regenerated.
28345         * locale/programs/locfile-kw.h: Likewise.
28347         [BZ #13673]
28348         * intl/plural.y: Replace FSF snail mail address with URL.
28349         * intl/plural.c: Regenerated.
28351 2012-03-09  Richard Henderson  <rth@twiddle.net>
28353         * include/math_private.h: Remove file.
28354         * math/math_private.h: Move file ...
28355         * sysdeps/generic/math_private.h: ... here.
28357         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28358         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28359         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28361         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28362         and <math_private.h>.
28363         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28364         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28365         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28366         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28367         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28368         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28369         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28371         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28374         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28375         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28377         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28378         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28380         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28381         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28382         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28384         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28385         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28451         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28452         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28453         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28454         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28455         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28456         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28457         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28458         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28459         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28460         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28461         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28462         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28463         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28464         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28465         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28466         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28468         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28469         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28470         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28471         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28473         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28474         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28475         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28476         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28477         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28478         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28479         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28480         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28481         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28482         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28483         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28484         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28485         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28487         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28488         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28491         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28493         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28494         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28495         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28496         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28497         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28498         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28499         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28500         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28501         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28502         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28503         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28504         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28505         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28506         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28507         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28508         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28509         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28510         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28511         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28512         * sysdeps/ieee754/k_standard.c: Likewise.
28513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28519         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28520         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28521         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28522         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28523         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28524         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28525         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28526         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28527         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28532         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28535         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28536         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28537         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28538         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28539         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28540         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28541         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28543         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28544         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28545         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28628         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28632         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28633         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28635         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28640         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28667         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28668         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28673         * sysdeps/ieee754/s_lib_version.c: Likewise.
28674         * sysdeps/ieee754/s_matherr.c: Likewise.
28675         * sysdeps/ieee754/s_signgam.c: Likewise.
28676         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28677         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28678         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28679         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28680         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28681         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28682         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28683         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28684         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28685         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28686         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28687         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28688         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28689         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28690         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28691         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28692         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28693         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28694         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28695         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28696         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28698 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28700         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28701         * sunrpc/rpc_main.c: Likewise.
28702         * sunrpc/rpc_svcout.c: Likewise.
28704 2012-03-09  David S. Miller  <davem@davemloft.net>
28706         * include/math_private.h: New file.
28708 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28710         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28711         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28712         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28713         from <bits/socket_type.h>.
28714         (enum __socket_type): Don't define here.
28715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28717         bits/socket_type.h.
28719         [BZ #13566]
28720         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28721         checking __USE_GNU.
28723         * Makerules ($(inst_includedir)/%.h): New rule.
28724         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28725         (install-others): Remove variable setting.
28726         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28728 2012-03-08  Richard Henderson  <rth@twiddle.net>
28730         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28731         from macro to inline function; merge with the
28732         !__LIBC_INTERNAL_MATH_INLINES version.
28733         (__ieee754_sqrtf): Likewise.
28735         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28736         to inline function.
28737         (__rintf, __floor, __floorf): Likewise.
28739         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28740         macro to inline function.
28741         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28743         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28744         not <math/math_private.h>.
28746 2012-03-08  David S. Miller  <davem@davemloft.net>
28748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28749         copyright year.
28750         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28752 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28754         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28755         normalization.
28756         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28757         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28759 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28761         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28762         be defined individually, they must be defined as a block.  Define
28763         S for printing a string instead of hidint the different by using a
28764         macro for adding the 'l'.
28765         * stdio-common/tst-fphex-wide.c: Adjust.
28767 2012-03-07  Marek Polacek  <polacek@redhat.com>
28769         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28771 2012-03-08  Marek Polacek  <polacek@redhat.com>
28773         [BZ #13806]
28774         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28775         * stdio-common/tst-fphex.c: Define a few macros to make the
28776         test reusable.  Use them.
28777         * stdio-common/tst-fphex-wide.c: New file.
28779 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28781         [BZ #6911]
28782         * manual/macros.texi (gnusystems): New macro.
28783         (nongnusystems): Likewise.
28784         (gnulinuxhurdsystems): Likewise.
28785         (gnuhurdsystems): Likewise..
28786         (gnulinuxsystems): Likewise.
28787         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28788         variants of the GNU system, not "GNU system".
28789         * manual/conf.texi: Likewise.
28790         * manual/errno.texi: Likewise.  Update example of errno macro
28791         expansion.
28792         * manual/filesys.texi: Likewise.
28793         (getumask): Document as specific to GNU/Hurd.
28794         * manual/install.texi: Likewise.  Reword some references to
28795         GNU/Linux.
28796         * manual/intro.texi: Likewise.
28797         * manual/io.texi: Likewise.
28798         (File Name Portability): Detail which constraints are inapplicable
28799         to all GNU systems and which are only inapplicable to GNU/Hurd.
28800         * manual/job.texi: Likewise.
28801         * manual/llio.texi: Likewise.
28802         (O_NOCTTY): Document as present on GNU/Linux.
28803         * manual/maint.texi: Likewise.
28804         * manual/memory.texi: Likewise.
28805         * manual/pattern.texi: Likewise.
28806         * manual/pipe.texi: Likewise.
28807         * manual/process.texi: Likewise.
28808         * manual/resource.texi: Likewise.
28809         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28810         child on GNU/Hurd.
28811         * manual/setjmp.texi: Likewise.
28812         * manual/signal.texi: Likewise.
28813         * manual/startup.texi: Likewise.
28814         * manual/stdio.texi: Likewise.
28815         * manual/terminal.texi: Likewise.
28816         (ONLCR): Document as POSIX.
28817         (OXTABS): Document availability on GNU/Linux as XTABS.
28818         (ONOEOT): Document availability separately from other bits.
28819         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28820         * manual/time.texi: Likewise.
28821         * manual/users.texi: Likewise.
28822         * INSTALL: Regenerated.
28823         * sysdeps/gnu/errlist.c: Regenerated.
28825         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28826         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28827         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28828         puts.
28829         * configure: Regenerated.
28831 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28833         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28834         default includes instead of AC_HEADER_CHECK.
28835         * sysdeps/i386/configure: Regenerated.
28837         [BZ #10716]
28838         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28839         * math/s_cacoshf.c (__cacoshf): Likewise.
28840         * math/s_cacoshl.c (__cacoshl): Likewise.
28841         * math/s_casinh.c (__casinh): Set signs of result from argument.
28842         * math/s_casinhf.c (__casinhf): Likewise.
28843         * math/s_casinhl.c (__casinhl): Likewise.
28844         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28845         (casinh_test): Add more tests.
28846         * sysdeps/i386/fpu/libm-test-ulps: Update.
28847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28849 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28851         * po/zh_TW.po: Update from translation team.
28853         * login/Makefile (distribute): Remove variable.
28854         * catgets/Makefile: Likewise.
28855         * mach/Makefile: Likewise.
28856         * malloc/Makefile: Likewise.
28857         * misc/Makefile: Likewise.
28858         * iconv/Makefile: Likewise.
28859         * nscd/Makefile: Likewise.
28860         * hurd/Makefile: Likewise.
28861         * manual/Makefile: Likewise.
28862         * locale/Makefile: Likewise.
28863         * intl/Makefile: Likewise.
28864         * conform/Makefile: Likewise.
28865         * nss/Makefile: Likewise.
28866         * time/Makefile: Likewise.
28867         * soft-fp/Makefile: Likewise.
28868         * dirent/Makefile: Likewise.
28869         * gmon/Makefile: Likewise.
28870         * po/Makefile: Likewise.
28871         * rt/Makefile: Likewise.
28872         * socket/Makefile: Likewise.
28873         * math/Makefile: Likewise.
28874         * signal/Makefile: Likewise.
28875         * debug/Makefile: Likewise.
28876         * elf/Makefile: Likewise.
28877         * timezone/Makefile: Likewise.
28878         * stdlib/Makefile: Likewise.
28879         * iconvdata/Makefile: Likewise.
28880         * sunrpc/Makefile: Likewise.
28881         * io/Makefile: Likewise.
28882         * argp/Makefile: Likewise.
28883         * inet/Makefile: Likewise.
28884         * hesiod/Makefile: Likewise.
28885         * grp/Makefile: Likewise.
28886         * csu/Makefile: Likewise.
28887         * wctype/Makefile: Likewise.
28888         * crypt/Makefile: Likewise.
28889         * libio/Makefile: Likewise.
28890         * string/Makefile: Likewise.
28891         * nis/Makefile: Likewise.
28892         * resolv/Makefile: Likewise.
28893         * stdio-common/Makefile: Likewise.
28894         * wcsmbs/Makefile: Likewise.
28895         * dlfcn/Makefile: Likewise.
28896         * posix/Makefile: Likewise.
28898         [BZ #6959]
28899         * timezone/Makefile: Don't install timezone files, just the programs
28900         and scripts.
28902 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28904         * nss/databases.def: Add missing gshadow entry.
28906         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28908 2012-03-06  Marek Polacek  <polacek@redhat.com>
28910         [BZ #13726]
28911         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28912         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28913         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28914         * stdio-common/tst-long-dbl-fphex.c: New file.
28916 2012-03-06  David S. Miller  <davem@davemloft.net>
28918         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28919         (set_obp_int): New function.
28920         (get_obp_int): New function.
28921         (__get_clockfreq_via_dev_openprom): Likewise.
28922         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28923         Avoid unused variable warnings on 'val' and use builtin_expect.
28924         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28925         __builtin_expect.
28926         (INLINE_CLONE_SYSCALL): Likewise.
28928 2012-03-05  David S. Miller  <davem@davemloft.net>
28930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28932 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28937         only for |x| >= 40.
28938         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28940 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28943         Replace gettimeofday with __vdso_gettimeofday.
28945         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28946         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28947         __vdso_clock_gettime and __vdso_getcpu.
28949         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28950         time with __vdso_time.
28952 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28954         * manual/lang.texi (size_t): Note types to which size_t may be
28955         equivalent with the GNU C Library, but do not describe when
28956         differences between them are significant.
28958 2012-03-05  Andreas Jaeger  <aj@suse.de>
28960         * sysdeps/i386/fpu/libm-test-ulps: Update.
28962 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28964         [BZ #3976]
28965         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28966         (__ieee754_pow): Save and restore rounding mode and use
28967         round-to-nearest for main computations.
28968         * math/libm-test.inc (pow_test_tonearest): New function.
28969         (pow_test_towardzero): Likewise.
28970         (pow_test_downward): Likewise.
28971         (pow_test_upward): Likewise.
28972         (main): Call the new functions.
28973         * sysdeps/i386/fpu/libm-test-ulps: Update.
28974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28976         [BZ #3976]
28977         * math/libm-test.inc (cosh_test_tonearest): New function.
28978         (cosh_test_towardzero): Likewise.
28979         (cosh_test_downward): Likewise.
28980         (cosh_test_upward): Likewise.
28981         (sinh_test_tonearest): Likewise.
28982         (sinh_test_towardzero): Likewise.
28983         (sinh_test_downward): Likewise.
28984         (sinh_test_upward): Likewise.
28985         (main): Call the new functions.
28986         * sysdeps/i386/fpu/libm-test-ulps: Update.
28987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28989 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28991         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28992         default stack guard is set in last bytes.
28993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28995 2012-03-05  Kees Cook  <keescook@chromium.org>
28997         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28999         [BZ #13656]
29000         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29001         possibly allocate from heap instead of stack.
29002         * stdio-common/bug-vfprintf-nargs.c: New file.
29003         * stdio-common/Makefile (tests): Add nargs overflow test.
29005 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29009 2012-03-03  Marek Polacek  <polacek@redhat.com>
29011         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29012         * math/math_private.h: Likewise.
29013         * stdlib/tst-strtod.c: Likewise.
29014         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29015         * sysdeps/x86_64/bits/atomic.h: Likewise.
29017 2012-03-02  David S. Miller  <davem@davemloft.net>
29019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29023         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29024         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29025         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29026         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29028 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29030         [BZ #13792]
29031         * manual/examples/README: New file, says the example source files
29032         can be used under GPL>=2.
29033         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29034         line containing just "*/".
29035         * manual/examples/add.c: Add copyright header (GPL>=2).
29036         * manual/examples/argp-ex1.c: Likewise.
29037         * manual/examples/argp-ex2.c: Likewise.
29038         * manual/examples/argp-ex3.c: Likewise.
29039         * manual/examples/argp-ex4.c: Likewise.
29040         * manual/examples/atexit.c: Likewise.
29041         * manual/examples/db.c: Likewise.
29042         * manual/examples/dir.c: Likewise.
29043         * manual/examples/dir2.c: Likewise.
29044         * manual/examples/execinfo.c: Likewise.
29045         * manual/examples/filecli.c: Likewise.
29046         * manual/examples/filesrv.c: Likewise.
29047         * manual/examples/fmtmsgexpl.c: Likewise.
29048         * manual/examples/genpass.c: Likewise.
29049         * manual/examples/inetcli.c: Likewise.
29050         * manual/examples/inetsrv.c: Likewise.
29051         * manual/examples/isockad.c: Likewise.
29052         * manual/examples/longopt.c: Likewise.
29053         * manual/examples/memopen.c: Likewise.
29054         * manual/examples/memstrm.c: Likewise.
29055         * manual/examples/mkfsock.c: Likewise.
29056         * manual/examples/mkisock.c: Likewise.
29057         * manual/examples/mygetpass.c: Likewise.
29058         * manual/examples/pipe.c: Likewise.
29059         * manual/examples/popen.c: Likewise.
29060         * manual/examples/rprintf.c: Likewise.
29061         * manual/examples/search.c: Likewise.
29062         * manual/examples/select.c: Likewise.
29063         * manual/examples/setjmp.c: Likewise.
29064         * manual/examples/sigh1.c: Likewise.
29065         * manual/examples/sigusr.c: Likewise.
29066         * manual/examples/stpcpy.c: Likewise.
29067         * manual/examples/strdupa.c: Likewise.
29068         * manual/examples/strftim.c: Likewise.
29069         * manual/examples/strncat.c: Likewise.
29070         * manual/examples/subopt.c: Likewise.
29071         * manual/examples/swapcontext.c: Likewise.
29072         * manual/examples/termios.c: Likewise.
29073         * manual/examples/testopt.c: Likewise.
29074         * manual/examples/testpass.c: Likewise.
29075         * manual/examples/timeval_subtract.c: Likewise.
29077         [BZ #13792]
29078         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29079         function to ...
29080         * manual/timeval_subtract.c.texi: ... here, new file.
29082 2012-03-02  David S. Miller  <davem@davemloft.net>
29084         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29086 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29088         [BZ #3976]
29089         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29090         (__sin): Save and restore rounding mode and use round-to-nearest
29091         for all computations.
29092         (__cos): Save and restore rounding mode and use round-to-nearest
29093         for all computations.
29094         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29095         <fenv.h>.
29096         (tan): Save and restore rounding mode and use round-to-nearest for
29097         all computations.
29098         * math/libm-test.inc (cos_test_tonearest): New function.
29099         (cos_test_towardzero): Likewise.
29100         (cos_test_downward): Likewise.
29101         (cos_test_upward): Likewise.
29102         (sin_test_tonearest): Likewise.
29103         (sin_test_towardzero): Likewise.
29104         (sin_test_downward): Likewise.
29105         (sin_test_upward): Likewise.
29106         (tan_test_tonearest): Likewise.
29107         (tan_test_towardzero): Likewise.
29108         (tan_test_downward): Likewise.
29109         (tan_test_upward): Likewise.
29110         (main): Call the new functions.
29111         * sysdeps/i386/fpu/libm-test-ulps: Update.
29112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29114         [BZ #10135]
29115         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29116         small n, then large n, before computing and testing k+n.
29117         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29119         Likewise.
29120         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29121         Likewise.
29122         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29123         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29124         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29125         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29128         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29129         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29130         * math/libm-test.inc (scalbn_test): Add more tests.
29131         (scalbln_test): Likewise.
29133         * manual/filesys.texi (mode_t): Describe constraints on size and
29134         signedness, not exact equivalence to a particular type.
29135         (ino_t): Likewise.
29136         (ino64_t): Likewise.
29137         (dev_t): Likewise.
29138         (nlink_t): Likewise.
29139         (blkcnt_t): Likewise.
29140         (blkcnt64_t): Likewise.
29141         * manual/llio.texi (off_t): Likewise.
29143         [BZ #3976]
29144         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29145         (__ieee754_exp): Save and restore rounding mode and use
29146         round-to-nearest for all computations.
29147         * math/libm-test.inc (exp_test_tonearest): New function.
29148         (exp_test_towardzero): Likewise.
29149         (exp_test_downward): Likewise.
29150         (exp_test_upward): Likewise.
29151         (main): Call the new functions.
29152         * sysdeps/i386/fpu/libm-test-ulps: Update.
29153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29155 2012-03-01  Chris Demetriou  <cgd@google.com>
29157         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29158         have predictable order.
29160 2012-03-01  David S. Miller  <davem@davemloft.net>
29162         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29164         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29165         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29166         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29167         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29169         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29170         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29171         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29173         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29174         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29175         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29176         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29177         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29181         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29182         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29183         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29185         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29186         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29187         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29188         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29189         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29190         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29191         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29192         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29193         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29194         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29195         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29196         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29198         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29199         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29201         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29202         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29203         * sysdeps/sparc/elf/configure: Regenerated.
29205 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29207         * configure.in (AS, LD): Require binutils 2.20 or later.
29208         * configure: Regenerated.
29209         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29210         as required minimum version.
29211         * INSTALL: Regenerated.
29213         [BZ #2541]
29214         [BZ #4108]
29215         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29216         before squaring exponent.
29217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29218         bottom long double and 27 bits of top long double before squaring
29219         exponent.
29220         * math/libm-test.inc (erfc_test): Add more tests.
29221         * sysdeps/i386/fpu/libm-test-ulps: Update.
29222         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29225 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29227         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29228         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29229         containing bit-fields.
29230         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29231         * soft-fp/single.h (_FP_UNION_S): Likewise.
29232         * soft-fp/double.h (_FP_UNION_D): Likewise.
29234 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29236         [BZ #13786]
29237         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29238         not include ../strcmp.S.
29239         [USE_AS_STRNCASECMP_L]: Likewise.
29240         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29241         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29242         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29243         (__strncasecmp_l_ia32): Define as alias to
29244         __strncasecmp_l_nonascii.
29246         [BZ #5794]
29247         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29248         * sysdeps/i386/fpu/libm-test-ulps: Update.
29249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29251         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29254 2012-02-29  Jeff Law  <law@redhat.com>
29256         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29257         out of bounds read.
29259 2012-02-29  Marek Polacek  <polacek@redhat.com>
29261         [BZ #13706]
29262         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29263         * elf/Makefile: Add rules to run tst-unused-dep.out.
29265 2012-02-28  David S. Miller  <davem@davemloft.net>
29267         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29268         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29271         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29272         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29274 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29276         * math/libm-test.inc (llround_test): Move one test from
29277         lround_test.  Use TEST_f_L in moved test.
29278         (lround_test): Move misplaced test to llround_test.  Add testcase
29279         from bug 2561.
29281 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29283         * sysdeps/x86_64/fpu/e_expf.S: New file.
29284         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29286 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29288         [BZ #13637]
29289         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29290         of remain_len that may cause incomplete multi-byte character and
29291         false match.
29292         * posix/bug-regex33.c: New file.
29293         * posix/Makefile (tests): Add bug-regex33.
29295 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29297         * manual/macros.texi: New file.
29298         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29299         * manual/libc.texinfo: Include macros.texi.
29300         * manual/creatute.texi: Likewise.
29301         * manual/install.texi: Likewise.
29302         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29303         @glibcadj{} in references to the GNU C Library.
29304         * manual/charset.texi: Likewise.
29305         * manual/conf.texi: Likewise.
29306         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29307         when not using those macros.
29308         * manual/creature.texi: Likewise.
29309         * manual/crypt.texi: Likewise.
29310         * manual/errno.texi: Likewise.
29311         * manual/filesys.texi: Likewise.
29312         * manual/header.texi: Likewise.
29313         * manual/install.texi: Likewise.
29314         * manual/intro.texi: Likewise.
29315         * manual/io.texi: Likewise.
29316         * manual/job.texi: Likewise.
29317         * manual/lang.texi: Likewise.
29318         * manual/libc.texiinfo: Likewise.
29319         * manual/llio.texi: Likewise.
29320         * manual/locale.texi: Likewise.
29321         * manual/maint.texi: Likewise.
29322         * manual/math.texi: Likewise.
29323         * manual/memory.texi: Likewise.
29324         * manual/message.texi: Likewise.
29325         * manual/nss.texi: Likewise.
29326         * manual/pattern.texi: Likewise.
29327         * manual/process.texi: Likewise.
29328         * manual/resource.texi: Likewise.
29329         * manual/search.texi: Likewise.
29330         * manual/setjmp.texi: Likewise.
29331         * manual/signal.texi: Likewise.
29332         * manual/socket.texi: Likewise.
29333         * manual/startup.texi: Likewise.
29334         * manual/stdio.texi: Likewise.
29335         * manual/string.texi: Likewise.
29336         * manual/sysinfo.texi: Likewise.
29337         * manual/syslog.texi: Likewise.
29338         * manual/terminal.texi: Likewise.
29339         * manual/time.texi: Likewise.
29340         * manual/users.texi: Likewise.
29341         * INSTALL: Regenerated.
29342         * NOTES: Regenerated.
29343         * sysdeps/gnu/errlist.c: Regenerated.
29345 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29347         * include/dirent.h: Include <dirstream.h> before
29348         <dirent/dirent.h>.
29350 2012-02-28  David S. Miller  <davem@davemloft.net>
29352         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29353         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29354         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29355         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29357 2012-02-27  David S. Miller  <davem@davemloft.net>
29359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29361         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29362         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29365         frame pointer instead of stack pointer relative arg slot.
29366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29367         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29368         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29370 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29372         [BZ #3992]
29373         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29375 2012-02-27  David S. Miller  <davem@davemloft.net>
29377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29381         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29382         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29383         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29384         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29386 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29388         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29389         later.  Allow versions 5-9.
29390         * configure: Regenerated.
29391         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29392         required minimum version and 4.6 as recommended version.  Do not
29393         mention bugs in GCC 2.7 and 2.8.
29394         * INSTALL: Regenerated.
29396 2012-02-27  David S. Miller  <davem@davemloft.net>
29398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29402         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29403         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29404         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29405         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29407         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29408         manipulate bits before adding and subtracting TWO112[sx].
29409         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29411 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29413         [BZ #13775]
29414         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29415         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29416         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29417         being in POSIX, because they are in 1003.1-2008.
29419         * rt/tst-aio.c: Include <fcntl.h>.
29420         * rt/tst-aio7.c: Likewise.
29421         * rt/tst-aio64.c: Likewise.
29423         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29425 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29427         * manual/install.texi (--with-headers): Describe headers as
29428         interface headers, not private headers.
29429         (Specific advice for GNU/Linux systems): Describe use of headers
29430         from "make headers_install", not private headers from older
29431         kernels.
29432         * INSTALL: Regenerated.
29433         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29434         Change to 2.6.19.
29435         * sysdeps/unix/sysv/linux/configure: Regenerated.
29437         * manual/llio.texi (fclean): Remove documentation.
29439         * manual/Makefile (libc-texi-generated): New variable.  Include
29440         version.texi.
29441         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29442         $(libc-texi-generated), not duplicated list of files.
29443         (version.texi, stamp-version): New rules.
29444         (realclean): Remove $(libc-texi-generated), not individual files
29445         from that list.  Do not remove dir-add.texinfo.
29446         * manual/libc.texinfo: Comment out uses of edition numbers and
29447         references to printed manual.  Remove last-updated dates.
29448         (EDITION): Comment out.
29449         (ISBN): Likewise.
29450         (VERSION, UPDATED): Remove.
29451         (version.texi): Include.
29453 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29455         * sysdeps/posix/spawni.c: Include <signal.h>.
29456         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29457         * sysdeps/pthread/aio_fsync.c: Likewise.
29459 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29461         * conform/Makefile (tests): Run only when not cross-compiling and
29462         when fast-check is not defined.
29464         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29465         * conform/data/limits.h-data: Fixes for POSIX2008.
29466         * conform/run-conformtest.sh: Run all tests.
29467         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29468         headers.
29469         * include/bits/dlfcn.h: Likewise.
29470         * include/langinfo.h: Likewise.
29471         * include/monetary.h: Likewise.
29472         * include/sys/poll.h: Likewise.
29474         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29475         for __USE_GNU.
29476         * posix/spawn.h: Define __need_sigset_t.
29477         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29478         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29479         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29480         to get sigevent_t only.
29481         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29482         only for __USE_GNU.
29483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29484         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29485         process_vm_writev only for __USE_GNU.
29486         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29488         * conform/Makefile: For now ignore errors from run-conformtest.
29489         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29490         POSIX to avoid namespace pollution.  Don't prepend headers.
29491         * conform/data/aio.h-data: Fixes for POSIX testing.
29492         * conform/data/fcntl.h-data: Likewise.
29493         * conform/data/glob.h-data: Likewise.
29494         * conform/data/grp.h-data: Likewise.
29495         * conform/data/pthread.h-data: Likewise.
29496         * conform/data/pwd.h-data: Likewise.
29497         * conform/data/signal.h-data: Likewise.
29498         * conform/data/spawn.h-data: Likewise.
29499         * conform/data/stdio.h-data: Likewise.
29500         * conform/data/stdlib.h-data: Likewise.
29501         * conform/data/stropts.h-data: Likewise.
29502         * conform/data/sys/mman.h-data: Likewise.
29503         * conform/data/sys/stat.h-data: Likewise.
29504         * conform/data/sys/types.h-data: Likewise.
29505         * conform/data/sys/wait.h-data: Likewise.
29506         * conform/data/time.h-data: Likewise.
29507         * conform/data/unistd.h-data: Likewise.
29508         * conform/data/utime.h-data: Likewise.
29510         * io/sys/stat.h: fchmod was always in POSIX.
29511         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29512         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29513         * rt/aio.h: Define __need_timespec before including <time.h>.
29514         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29515         struct.  Add forward declaration of pthread_attr_t and use it in
29516         sigevent.
29517         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29518         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29519         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29520         always remove CLK_TCK definition.
29522 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29524         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29526 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29528         * conform/run-conformtest.sh: New file.
29529         * conform/Makefile: Run run-conformtest for tests.
29530         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29531         support.
29533         * conform/data/uchar.h-data: New file.
29534         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29535         * conform/data/arpa/inet.h-data: Likewise.
29536         * conform/data/assert.h-data: Likewise.
29537         * conform/data/complex.h-data: Likewise.
29538         * conform/data/cpio.h-data: Likewise.
29539         * conform/data/ctype.h-data: Likewise.
29540         * conform/data/dirent.h-data: Likewise.
29541         * conform/data/dlfcn.h-data: Likewise.
29542         * conform/data/errno.h-data: Likewise.
29543         * conform/data/fcntl.h-data: Likewise.
29544         * conform/data/float.h-data: Likewise.
29545         * conform/data/fmtmsg.h-data: Likewise.
29546         * conform/data/fnmatch.h-data: Likewise.
29547         * conform/data/ftw.h-data: Likewise.
29548         * conform/data/glob.h-data: Likewise.
29549         * conform/data/grp.h-data: Likewise.
29550         * conform/data/iconv.h-data: Likewise.
29551         * conform/data/inttypes.h-data: Likewise.
29552         * conform/data/langinfo.h-data: Likewise.
29553         * conform/data/libgen.h-data: Likewise.
29554         * conform/data/limits.h-data: Likewise.
29555         * conform/data/locale.h-data: Likewise.
29556         * conform/data/math.h-data: Likewise.
29557         * conform/data/monetary.h-data: Likewise.
29558         * conform/data/mqueue.h-data: Likewise.
29559         * conform/data/ndbm.h-data: Likewise.
29560         * conform/data/net/if.h-data: Likewise.
29561         * conform/data/netdb.h-data: Likewise.
29562         * conform/data/netinet/in.h-data: Likewise.
29563         * conform/data/nl_types.h-data: Likewise.
29564         * conform/data/poll.h-data: Likewise.
29565         * conform/data/pthread.h-data: Likewise.
29566         * conform/data/pwd.h-data: Likewise.
29567         * conform/data/regex.h-data: Likewise.
29568         * conform/data/sched.h-data: Likewise.
29569         * conform/data/search.h-data: Likewise.
29570         * conform/data/semaphore.h-data: Likewise.
29571         * conform/data/setjmp.h-data: Likewise.
29572         * conform/data/signal.h-data: Likewise.
29573         * conform/data/spawn.h-data: Likewise.
29574         * conform/data/stdarg.h-data: Likewise.
29575         * conform/data/stdio.h-data: Likewise.
29576         * conform/data/stdlib.h-data: Likewise.
29577         * conform/data/string.h-data: Likewise.
29578         * conform/data/strings.h-data: Likewise.
29579         * conform/data/stropts.h-data: Likewise.
29580         * conform/data/sys/ipc.h-data: Likewise.
29581         * conform/data/sys/mman.h-data: Likewise.
29582         * conform/data/sys/msg.h-data: Likewise.
29583         * conform/data/sys/resource.h-data: Likewise.
29584         * conform/data/sys/select.h-data: Likewise.
29585         * conform/data/sys/sem.h-data: Likewise.
29586         * conform/data/sys/shm.h-data: Likewise.
29587         * conform/data/sys/socket.h-data: Likewise.
29588         * conform/data/sys/stat.h-data: Likewise.
29589         * conform/data/sys/statvfs.h-data: Likewise.
29590         * conform/data/sys/time.h-data: Likewise.
29591         * conform/data/sys/timeb.h-data: Likewise.
29592         * conform/data/sys/times.h-data: Likewise.
29593         * conform/data/sys/types.h-data: Likewise.
29594         * conform/data/sys/uio.h-data: Likewise.
29595         * conform/data/sys/un.h-data: Likewise.
29596         * conform/data/sys/utsname.h-data: Likewise.
29597         * conform/data/sys/wait.h-data: Likewise.
29598         * conform/data/syslog.h-data: Likewise.
29599         * conform/data/tar.h-data: Likewise.
29600         * conform/data/termios.h-data: Likewise.
29601         * conform/data/utime.h-data: Likewise.
29602         * conform/data/utmpx.h-data: Likewise.
29603         * conform/data/varargs.h-data: Likewise.
29604         * conform/data/wchar.h-data: Likewise.
29605         * conform/data/wctype.h-data: Likewise.
29606         * conform/data/wordexp.h-data: Likewise.
29608         * include/stropts.h: New file.
29609         * include/uchar.h: New file.
29610         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29611         * include/assert.h: Likewise.
29612         * include/ctype.h: Likewise.
29613         * include/dirent.h: Likewise.
29614         * include/dlfcn.h: Likewise.
29615         * include/fcntl.h: Likewise.
29616         * include/fnmatch.h: Likewise.
29617         * include/glob.h: Likewise.
29618         * include/grp.h: Likewise.
29619         * include/libio.h: Likewise.
29620         * include/locale.h: Likewise.
29621         * include/math.h: Likewise.
29622         * include/net/if.h: Likewise.
29623         * include/netdb.h: Likewise.
29624         * include/netinet/in.h: Likewise.
29625         * include/pthread.h: Likewise.
29626         * include/pwd.h: Likewise.
29627         * include/regex.h: Likewise.
29628         * include/sched.h: Likewise.
29629         * include/search.h: Likewise.
29630         * include/setjmp.h: Likewise.
29631         * include/signal.h: Likewise.
29632         * include/stdio.h: Likewise.
29633         * include/stdlib.h: Likewise.
29634         * include/string.h: Likewise.
29635         * include/sys/cdefs.h: Likewise.
29636         * include/sys/mman.h: Likewise.
29637         * include/sys/msg.h: Likewise.
29638         * include/sys/resource.h: Likewise.
29639         * include/sys/select.h: Likewise.
29640         * include/sys/socket.h: Likewise.
29641         * include/sys/stat.h: Likewise.
29642         * include/sys/statvfs.h: Likewise.
29643         * include/sys/time.h: Likewise.
29644         * include/sys/times.h: Likewise.
29645         * include/sys/uio.h: Likewise.
29646         * include/sys/utsname.h: Likewise.
29647         * include/sys/wait.h: Likewise.
29648         * include/termios.h: Likewise.
29649         * include/time.h: Likewise.
29650         * include/ulimit.h: Likewise.
29651         * include/unistd.h: Likewise.
29652         * include/utime.h: Likewise.
29653         * include/wchar.h: Likewise.
29654         * include/wctype.h: Likewise.
29655         * include/wordexp.h: Likewise.
29657         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29659         * time/time.h: TIME_UTC must be a macro.
29660         Make timespec_get available for ISO C11 only as well.
29662 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29664         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29665         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29667 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29669         * configure.in: Use -o not -a in test for unsupported multi-arch.
29671 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29673         * manual/texinfo.tex: Update to version 2012-01-19.16.
29675 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29677         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29679 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29681         [BZ #13738]
29682         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29683         * manual/fdl-1.3.texi: New file.
29684         * manual/fdl-1.1.texi: File removed.
29686         [BZ #13738]
29687         * manual/libc.texinfo (FDL_VERSION): New @set.
29688         Use it for mention of FDL in cover text.
29689         (Documentation License): Use it in @include file name.
29691 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29692             Roland McGrath  <roland@hack.frob.com>
29694         [BZ #5461]
29695         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29696         not LONG_LONG_MAX and LONG_LONG_MIN.
29697         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29698         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29699         name.
29700         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29702 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29704         [BZ #2547]
29705         [BZ #11365]
29706         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29707         manipulate bits before adding and subtracting TWO23[sx].
29708         * math/libm-test.inc (nearbyint_test): Add more tests.
29710 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29712         [BZ #2548]
29713         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29714         bits before adding and subtracting TWO23[sx].
29715         * math/libm-test.inc (rint_test): Add more tests.
29716         (rint_test_tonearest): Likewise.
29717         (rint_test_towardzero): Likewise.
29718         (rint_test_downward): Likewise.
29719         (rint_test_upward: Likewise.
29721 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29723         [BZ #10110]
29724         * include/stdc-predef.h: New file.  Extracted from features.h.
29725         * include/features.h: Include stdc-predef.h.
29726         * Makefile (headers): Add stdc-predef.h.
29727         * CONFORMANCE (Compiler limitations): Update.
29729 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29731         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29733 2012-02-21  David S. Miller  <davem@davemloft.net>
29735         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29736         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29738 2012-02-20  David S. Miller  <davem@davemloft.net>
29740         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29741         using a normal save/restore sequence, rather than allocating a
29742         dummy stack frame just to store a frame pointer and restore.
29743         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29745 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29747         * manual/install.texi: Fix stray word in line-wrapped comment.
29749 2012-02-20  David S. Miller  <davem@davemloft.net>
29751         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29752         both binutils and gcc support GOTDATA.
29754         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29755         "rd %pc" in the PIC register setup sequences.
29757         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29758         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29759         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29760         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29761         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29763         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29764         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29766         (SYSCALL_ERROR_HANDLER): Likewise.
29767         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29770         (SYSCALL_ERROR_HANDLER): Likewise.
29772         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29773         (HAVE_GCC_GOTDATA): New.
29774         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29775         relocation support in both binutils and gcc.
29776         * sysdeps/sparc/elf/configure: Regenerate.
29778         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29779         * sysdeps/sparc/sparc32/elf/configure: Delete.
29780         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29781         * sysdeps/sparc/sparc64/elf/configure: Delete.
29782         * sysdeps/sparc/elf/configure.in: New file.
29783         * sysdeps/sparc/elf/configure: Generate.
29785         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29786         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29787         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29788         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29789         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29791 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29793         * manual/install.texi: Do not mention specific glibc version
29794         numbers.
29795         * manual/libc.texinfo (VERSION, UPDATED): Update.
29796         (@copying): Use @copyright{} and range of years.
29798 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29800         [BZ #13695]
29801         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29802         [crti.S not in sysdirs] (generated): Do not append.
29803         [crti.S not in sysdirs] (omit-deps): Likewise.
29804         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29805         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29806         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29807         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29808         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29809         Likewise.
29810         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29811         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29812         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29813         * csu/defs.awk: Remove file.
29814         * sysdeps/generic/initfini.c: Likewise.
29815         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29816         variable.
29817         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29818         Likewise.
29820 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29822         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29823         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29824         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29826         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29827         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29828         <bits/epoll.h>.
29829         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29830         (__EPOLL_PACKED): Define to empty if not defined by
29831         <bits/epoll.h>.
29832         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29834         bits/epoll.h.
29836 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29838         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29839         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29840         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29841         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29842         <bits/timerfd.h>.
29843         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29845         bits/timerfd.h.
29847 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29849         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29850         in C locale.
29851         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29852         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29853         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29856 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29858         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29859         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29861 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29863         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29864         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29865         defined.
29866         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29867         Likewise.
29868         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29869         entry for 2.16.
29871 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29873         * math/w_acos.c: Use non-signaling floating-point comparisons.
29874         * math/w_acosf.c: Likewise.
29875         * math/w_acosh.c: Likewise.
29876         * math/w_acoshf.c: Likewise.
29877         * math/w_acoshl.c: Likewise.
29878         * math/w_acosl.c: Likewise.
29879         * math/w_asin.c: Likewise.
29880         * math/w_asinf.c: Likewise.
29881         * math/w_asinl.c: Likewise.
29882         * math/w_atanh.c: Likewise.
29883         * math/w_atanhf.c: Likewise.
29884         * math/w_atanhl.c: Likewise.
29885         * math/w_exp2.c: Likewise.
29886         * math/w_exp2f.c: Likewise.
29887         * math/w_exp2l.c: Likewise.
29888         * math/w_j0.c: Likewise.
29889         * math/w_j0f.c: Likewise.
29890         * math/w_j0l.c: Likewise.
29891         * math/w_j1.c: Likewise.
29892         * math/w_j1f.c: Likewise.
29893         * math/w_j1l.c: Likewise.
29894         * math/w_jn.c: Likewise.
29895         * math/w_jnf.c: Likewise.
29896         * math/w_log.c: Likewise.
29897         * math/w_log10.c: Likewise.
29898         * math/w_log10f.c: Likewise.
29899         * math/w_log10l.c: Likewise.
29900         * math/w_log2.c: Likewise.
29901         * math/w_log2f.c: Likewise.
29902         * math/w_log2l.c: Likewise.
29903         * math/w_logf.c: Likewise.
29904         * math/w_logl.c: Likewise.
29905         * math/w_sqrt.c: Likewise.
29906         * math/w_sqrtf.c: Likewise.
29907         * math/w_sqrtl.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29910         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29911         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29912         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29914 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29916         [BZ #9739]
29917         * manual/string.texi (strnlen): Use correct parameter name in
29918         equivalent expression.
29920 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29922         [BZ #11174]
29923         * manual/users.texi (seteuid): Consistently use neweuid for
29924         argument name.
29926 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29928         [BZ #13704]
29929         * manual/nss.texi (Services in the NSS configuration): Correct
29930         list of services in example configuration file.
29932 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29934         [BZ #11322]
29935         * manual/arith.texi: Remove statements about negative zero
29936         behaving identically to zero.
29938 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29940         [BZ #5993]
29941         * manual/install.texi: Do not document upgrading from libc5.
29943 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29945         [BZ #4596]
29946         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29948 2012-02-18  David S. Miller  <davem@davemloft.net>
29950         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29951         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29952         %o7 across the call.
29953         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29954         instead.
29955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29956         SETUP_PIC_REG_LEAF.
29957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29958         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29959         * sysdeps/sparc/crtn.S: Likewise.
29961 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29963         * aout/Makefile: Remove.
29965 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29967         [BZ #13058]
29968         * manual/examples/argp-ex1.c (main): Format definition in GNU
29969         style.
29970         * manual/examples/argp-ex2.c (main): Likewise.
29971         * manual/examples/argp-ex3.c (main): Likewise.
29972         * manual/examples/argp-ex4.c (main): Likewise.
29973         * manual/examples/longopt.c (main): Use new-style prototype
29974         definition.
29975         * manual/examples/strncat.c (main): Specify return type and use
29976         (void) for arguments.
29977         * manual/examples/subopt.c (main): Use char **argv argument.
29979 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29981         [BZ #5077]
29982         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29983         rounding modes.
29985 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29987         [BZ #6907]
29988         * manual/string.texi (strchr): Change when strchrnul is
29989         recommended.
29991 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29993         [BZ #174]
29994         * manual/locale.texi (setlocale): Document LOCPATH.
29996 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29998         [BZ #10210]
29999         * manual/process.texi (execle): Move @dots{} before last argument.
30001 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30003         [BZ #12047]
30004         * manual/charset.texi (Generic Charset Conversion): Fix typo
30005         (LC_TYPE -> LC_CTYPE).
30007 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30009         [BZ #5805]
30010         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30011         (scalbnf): Likewise.
30012         (scalbnl): Likewise.
30013         (scalbln): Likewise.
30014         (scalblnf): Likewise.
30015         (scalblnl): Likewise.
30016         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30017         (vwarnx): Likewise.
30018         (verr): Likewise.
30019         (verrx): Likewise.
30020         * manual/filesys.texi (telldir): Use braces around return type.
30021         * manual/llio.texi (mmap): Add space after comma.
30022         (mmap64): Likewise.
30023         * manual/math.texi (jn): Use @var{} on parameter names.
30024         (jnf): Likewise.
30025         (jnl): Likewise.
30026         (yn): Likewise.
30027         (ynf): Likewise.
30028         (ynl): Likewise.
30029         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30030         line.
30031         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30032         "...".
30033         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30034         (sched_get_priority_max): Likewise.
30035         * manual/signal.texi (sigvec): Add space after comma.
30036         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30037         names.
30038         (if_indextoname): Likewise.
30039         (if_freenameindex): Likewise.
30040         (sendto): Use ',' instead of '.' in prototype.
30041         * manual/startup.texi (syscall): Use @dots{} instead of literal
30042         "...".
30043         * manual/stdio.texi (__fpending): Separate initial words of
30044         paragraph from @deftypefun line.
30045         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30046         "...".
30047         (vsyslog): Use @var{} on parameter names.
30048         * manual/terminal.texi (stty): Use @var{} on parameter names.
30049         * manual/users.texi (getutmp): Use @var{} on parameter names.
30050         (getutmpx): Likewise.
30052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30054         [BZ #6884]
30055         * manual/stdio.texi (fopen): Fix typos in description of
30056         ",ccs=STRING".
30058 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30060         [BZ #4026]
30061         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30062         get clock_id definition.
30064 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30066         [BZ #4822]
30067         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30068         (madvise): Cast every argument to void on its own.
30070 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30072         [BZ #9902]
30073         * manual/startup.texi (Exit Status): Fix typo.
30075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30077         [BZ #10140]
30078         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30079         * manual/examples/argp-ex2.c: Likewise.
30080         * manual/examples/argp-ex3.c: Likewise.
30082 2012-02-16  Richard Henderson  <rth@redhat.com>
30084         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30085         * sysdeps/s390/s390-32/initfini.c: Remove.
30086         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30087         * sysdeps/s390/s390-64/initfini.c: Remove.
30089 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30091         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30092         compiler output for sysdeps/generic/initfini.c.
30093         * sysdeps/sh/elf/initfini.c: Remove file.
30095 2012-02-16  David S. Miller  <davem@davemloft.net>
30097         [BZ #11494]
30098         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30100         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30101         * sysdeps/sparc/crti.S: New file.
30102         * sysdeps/sparc/crtn.S: New file.
30103         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30104         * sysdeps/sparc/sparc64/Makefile: Likewise.
30106 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30108         [BZ #3335]
30109         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30111 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30113         [BZ #4822]
30114         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30116         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30117         (write, read, close): Likewise.
30118         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30120 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30122         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30123         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30124         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30125         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30126         <bits/signalfd.h>.
30127         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30129         bits/signalfd.h.
30131 2012-02-14  Marek Polacek  <polacek@redhat.com>
30133         * sysdeps/x86_64/crti.S: New file.
30134         * sysdeps/x86_64/crtn.S: New file.
30135         * sysdeps/x86_64/elf/initfini.c: Remove file.
30137 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30139         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30140         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30141         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30142         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30143         <bits/inotify.h>.
30144         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30146         bits/inotify.h.
30148 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30150         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30151         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30152         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30153         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30154         <bits/eventfd.h>.
30155         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30157         bits/eventfd.h.
30159 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30161         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30162         __feraiseexcept instead of feraiseexcept.
30164         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30165         nanosleep invocations.
30166         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30167         strings, and add error checking for a nanosleep invocations.
30169 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30171         Replace FSF snail mail address with URLs, as per GNU coding standards.
30172         Most of the snail mail addresses were wrong anyway, and omitting
30173         them makes the source code easier to maintain.  Almost all of the
30174         changes are to license notices and to locale LC_IDENTIFICATION
30175         addresses, except for this one:
30176         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30177         not its snail mail address.
30179 2012-02-09  Richard Henderson  <rth@twiddle.net>
30181         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30182         of kernel-features.h.
30184         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30186 2012-02-08  Marek Polacek  <polacek@redhat.com>
30188         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30189         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30190         * sysdeps/gnu/_G_config.h: Likewise.
30191         * sysdeps/generic/_G_config.h: Likewise.
30193 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30195         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30196         tests.
30197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30199         * sysdeps/powerpc/powerpc32/crti.S: New file.
30200         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30201         * sysdeps/powerpc/powerpc64/crti.S: New file.
30202         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30204         * Makeconfig (have-initfini): Don't set.
30205         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30206         * configure.in (nopic_initfini): Don't substitute.
30207         * config.h.in (HAVE_INITFINI): Don't #undef.
30208         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30209         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30211 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30213         Support crti.S and crtn.S provided directly by architectures.
30214         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30215         [crti.S in sysdirs] (omit-deps): Likewise.
30216         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30217         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30218         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30219         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30220         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30221         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30222         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30223         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30224         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30225         compiler output for sysdeps/generic/initfini.c.
30226         * sysdeps/i386/elf/Makefile: Remove file.
30227         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30229 2012-02-07  Marek Polacek  <polacek@redhat.com>
30231         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30232         * sysdeps/gnu/_G_config.h: Likewise.
30233         * sysdeps/mach/hurd/_G_config.h: Likewise.
30235 2012-02-07  Marek Polacek  <polacek@redhat.com>
30237         * math/Makefile (tests): Add tst-CMPLX2.
30238         * math/tst-CMPLX2.c: New file.
30240 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30242         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30244         * math/libm-test.inc (jn_test): Add missing L suffix.
30246 2012-02-06  Marek Polacek  <polacek@redhat.com>
30248         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30249         * sysdeps/i386/fpu/e_powf.S: Likewise.
30250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30251         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30252         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30253         * sysdeps/i386/fpu/e_pow.S: Likewise.
30254         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30255         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30256         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30257         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30258         * sysdeps/i386/fpu/e_log2.S: Likewise.
30259         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30260         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30261         * sysdeps/i386/fpu/e_powl.S: Likewise.
30262         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30263         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30264         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30265         * sysdeps/i386/fpu/e_logl.S: Likewise.
30266         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30267         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30268         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30269         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30270         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30271         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30272         * sysdeps/i386/fpu/e_log.S: Likewise.
30273         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30274         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30275         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30276         * sysdeps/i386/fpu/e_logf.S: Likewise.
30277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30278         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30279         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30280         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30281         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30282         * sysdeps/i386/fpu/e_log10.S: Likewise.
30283         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30284         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30285         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30286         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30287         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30288         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30289         * sysdeps/i386/asm-syntax.h: Likewise.
30290         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30293         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30294         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30295         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30296         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30297         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30298         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30299         * sysdeps/powerpc/sysdep.h: Likewise.
30300         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30303 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30305         [BZ #411]
30306         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30308 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30310         * sysdeps/i386/sysdep.h: Include <features.h>.
30311         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30312         version.
30314 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30316         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30317         Define.
30318         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30319         LOAD_PIC_REG_STR.
30321 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30323         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30324         (SETUP_PIC_REG): Use GET_PC_THUNK.
30325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30326         macro.
30328 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30330         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30331         for non-PIC compilation.
30332         (SETUP_PIC_REG): Add .p2align directive.
30333         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30334         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30345         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30375 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30377         * math/tst-CMPLX.c: Include <stdio.h>.
30379 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30381         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30382         float.
30383         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30384         * sysdeps/sparc/bits/mathdef.h: Likewise.
30386 2012-01-31  Marek Polacek  <polacek@redhat.com>
30388         * libio/libio.h: Don't define _PARAMS.
30389         * locale/programs/config.h: Don't define PARAMS.
30390         * stdlib/strtol_l.c: Likewise.
30391         (__strtol_l): Remove PARAMS from the prototype.
30393 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30395         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30396         names.  Just use the correct names.  Remove unnecessary wrapper
30397         functions.
30398         * malloc/arena.c: Likewise.
30399         * malloc/hooks.c: Likewise.
30401         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30402         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30403         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30405 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30407         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30408         into tail calls.
30409         (update_get_addr): New function.
30410         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30411         GET_ADDR_MODULE parameter.
30413 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30415         * crypt/cert.c: Remove __STDC__ conditionals.
30416         * crypt/crypt-entry.c: Likewise.
30417         * crypt/crypt_util.c: Likewise.
30418         * libio/filedoalloc.c: Likewise.
30419         * libio/fileops.c: Likewise.
30420         * libio/genops.c: Likewise.
30421         * libio/iofclose.c: Likewise.
30422         * libio/iofdopen.c: Likewise.
30423         * libio/iofopen.c: Likewise.
30424         * libio/iofopen64.c: Likewise.
30425         * libio/iogetdelim.c: Likewise.
30426         * libio/iopopen.c: Likewise.
30427         * libio/obprintf.c: Likewise.
30428         * libio/oldfileops.c: Likewise.
30429         * libio/oldiofclose.c: Likewise.
30430         * libio/oldiofdopen.c: Likewise.
30431         * libio/oldiofopen.c: Likewise.
30432         * libio/oldiopopen.c: Likewise.
30433         * libio/wfiledoalloc.c: Likewise.
30434         * libio/wgenops.c: Likewise.
30435         * locale/programs/xmalloc.c: Likewise.
30436         * misc/syslog.c: Likewise.
30437         * stdio-common/xbug.c: Likewise.
30438         * string/memchr.c: Likewise.
30439         * string/memcmp.c: Likewise.
30440         * string/memrchr.c: Likewise.
30441         * string/rawmemchr.c: Likewise.
30442         * sysdeps/posix/getcwd.c: Likewise.
30443         * time/strftime_l.c: Likewise.
30445 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30447         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30448         * config.make.in (config-cflags-sse2avx): Define.
30449         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30450         Fix typo.
30452 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30454         * scripts/config.guess: Update from upstream config git repository.
30455         * scripts/config.sub: Likewise.
30457 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30459         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30460         (EM_NUM): Update.
30461         (R_TILEPRO_*, R_TILEGX_*): New macros.
30463         * scripts/firstversions.awk: Fix bug in version range handling.
30465         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30467         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30469         * include/sys/epoll.h: New file.
30470         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30471         libc_hidden_def.
30473 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30475         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30476         Avoid unnecessary __WORDSIZE == 64 test.
30477         (fmaxf): Use VEX format if possible.
30478         (fmax): Likewise.
30479         (fminf): Likewise.
30480         (fmin): Likewise.
30482         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30483         * math/math_private.h: Remove libc_fegetround* and
30484         libc_fesetround*.
30485         * sysdeps/i386/configure.in: Check for -msse2avx.
30486         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30487         also if SSE2AVX is defined.
30488         Remove libc_fegetround* and libc_fesetround*.
30489         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30490         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30492         of HAS_YMM_USABLE.
30493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30499         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30501 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30503         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30504         size is not set.
30505         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30507 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30509         [BZ #13618]
30510         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30511         relocation.
30512         * Makeconfig (libm): Define.
30513         * elf/Makefile: Add rules to build and run tst-relsort1.
30514         * elf/tst-relsort1.c: New file.
30515         * elf/tst-relsort1mod1.c: New file.
30516         * elf/tst-relsort1mod2.c: New file.
30518 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30520         * math/s_ldexp.c: Remove __STDC__ conditionals.
30521         * math/s_ldexpf.c: Likewise.
30522         * math/s_ldexpl.c: Likewise.
30523         * math/s_nextafter.c: Likewise.
30524         * math/s_nexttowardf.c: Likewise.
30525         * math/s_significand.c: Likewise.
30526         * math/s_significandf.c: Likewise.
30527         * math/s_significandl.c: Likewise.
30528         * math/w_jnl.c: Likewise.
30529         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30530         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30531         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30532         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30533         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30535         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30536         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30537         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30538         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30539         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30541         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30542         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30543         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30544         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30545         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30546         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30548         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30549         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30550         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30551         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30553         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30554         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30555         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30556         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30557         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30558         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30559         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30560         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30561         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30562         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30563         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30564         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30565         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30566         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30567         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30568         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30569         * sysdeps/ieee754/k_standard.c: Likewise.
30570         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30573         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30574         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30575         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30580         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30582         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30583         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30584         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30586         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30588         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30589         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30590         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30591         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30592         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30593         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30594         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30595         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30619         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30631         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30633         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30634         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30636         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30638         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30639         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30643         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30644         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30645         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30649         * sysdeps/ieee754/s_matherr.c: Likewise.
30650         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30651         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30655 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30657         * crypt/md5.h: Remove __STDC__ conditionals.
30658         * libio/libioP.h: Likewise.
30659         * locale/programs/config.h: Likewise.
30660         * sysdeps/generic/sysdep.h: Likewise.
30661         * sysdeps/i386/asm-syntax.h: Likewise.
30662         * sysdeps/s390/asm-syntax.h: Likewise.
30663         * sysdeps/unix/sysdep.h: Likewise.
30664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30667 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30669         * libio/libio.h: Remove __STDC__ conditionals.
30670         * malloc/obstack.h: Likewise.
30671         * math/complex.h: Likewise.
30672         * math/math.h: Likewise.
30673         * sysdeps/generic/_G_config.h: Likewise.
30674         * sysdeps/gnu/_G_config.h: Likewise.
30675         * sysdeps/mach/hurd/_G_config.h: Likewise.
30676         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30677         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30678         * sysdeps/sparc/bits/mathdef.h: Likewise.
30680 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30682         [BZ #13583]
30683         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30684         Clean up HAS_* macros.
30685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30686         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30687         possible.
30688         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30689         HAS_AVX.
30690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30693         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30694         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30696 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30698         * elf/tst-unique3.cc (gets): Remove declaration.
30699         * elf/tst-unique3lib.cc (gets): Likewise.
30700         * elf/tst-unique3lib2.cc (gets): Likewise.
30701         * elf/tst-unique4.cc (gets): Likewise.
30703 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30705         * include/stdio.h: Add C++ protection.  Add gets declarations and
30706         definitions.
30707         * debug/tst-chk1.c: Don't declare gets here.
30708         * stdio-common/tst-gets.c: Likewise.
30710 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30712         * posix/glob: Remove directory.
30714 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30716         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30718 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30720         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30721         of the non-standard EPFNOSUPPORT.
30723 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30725         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30726         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30727         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30729 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30731         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30733 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30735         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30736         transient errors.
30737         * nscd/grpcache.c (cache_addgr): Likewise.
30738         * nscd/hstcache.c (cache_addhst): Likewise.
30739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30740         * nscd/pwdcache.c (cache_addpw): Likewise.
30741         * nscd/servicescache.c (cache_addserv): Likewise.
30743 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30745         * malloc/malloc.c: Various cleanups.
30746         * malloc/hooks.c: Likewise.
30748         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30749         * stdlib/bug-fmtmsg1.c: New file.
30751         * stdlib/fmtmsg.c (init): Add missing unlock.
30752         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30754 2012-01-12  Marek Polacek  <polacek@redhat.com>
30756         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30757         and _GNU_SOURCE.
30759 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30761         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30762         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30763         macro to ensure uniqueness of label name.
30764         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30765         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30767 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30769         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30771         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30772         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30773         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30776 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30778         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30780         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30781         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30782         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30784         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30786         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30787         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30788         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30791         * math/bits/math-finite.h: Add ldexp support.
30793 2012-01-10  Marek Polacek  <polacek@redhat.com>
30795         * locale/programs/localedef.h (show_archive_content): Add noreturn
30796         attribute.
30798 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30800         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30802 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30804         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30806         * io/Makefile (headers): Add bits/poll2.h.
30808 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30811         typo #include statement.
30813 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30815         * include/sys/cdefs.h: Define __attribute_alloc_size.
30816         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30817         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30818         * elf/pldd.c: Likewise.
30819         * iconv/iconv_charmap.c: Likewise.
30820         * iconv/iconvconfig.c: Likewise.
30821         * iconv/strtab.c: Likewise.
30822         * locale/programs/locale.c: Likewise.
30823         * locale/programs/localedef.h: Likewise.
30824         * locale/programs/simple-hash.c: Likewise.
30825         * nscd/nscd.h: Likewise.
30826         * nss/makedb.c: Likewise.
30827         * sysdeps/generic/ldconfig.h: Likewise.
30828         * locale/programs/localedef.c: Remove xmalloc prototype.
30829         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30831 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30833         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30834         appropriate.
30836 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30838         * math/Makefile (tests): Add tst-CMPLX.
30839         * math/tst-CMPLX.c: New file.
30841         * math/complex.h (CMPLXL): Fix typo.
30843         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30844         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30845         GLIBC_2.16.
30846         * debug/tst-chk1.c: Add poll and ppoll tests.
30847         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30848         * include/sys/poll.h: Add hidden proto for ppoll.
30849         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30850         * sysdeps/mach/hurd/ppoll.c: Likewise.
30851         * io/ppoll.c: Likewise.
30852         * debug/poll_chk.c: New file.
30853         * debug/ppoll_chk.c: New file.
30854         * include/bits/poll2.h: New file.
30855         * io/bits/poll2.h: New file.
30857         [BZ #1350]
30858         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30860         * configure.in: static is always set to yes.  Remove.
30861         * config.make.in: Don't set build-static.
30862         * Makeconfig: Remove use of build-static.
30863         * dlfcn/Makefile: Likewise.
30864         * elf/Makefile: Likewise.
30865         * math/Makefile: Likewise.
30866         * misc/Makefile: Likewise.
30867         * nptl/Makefile: Likewise.
30868         * sysdeps/mach/hurd/Makefile: Likewise.
30870         * configure.in: PWD_P is not used anymore.
30871         * config.make.in: Remove PWD_P entry.
30873         * configure.in: Remove last remnants of RANLIB.
30874         No need to check for signed size_t anymore.
30875         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30876         and IA-64.
30877         Remove __builtin_expect test because we require at least gcc 3.4.
30878         * aclocal.m4: Likewise.
30880         * wcsmbs/mbrtoc16.c: Implement using towc function.
30881         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30882         * wcsmbs/wcsmbsload.c: Likewise.
30883         * iconv/gconv_simple.c: Likewise.
30884         * iconv/gconv_int.h: Likewise.
30885         * iconv/gconv_builtin.h: Likewise.
30886         * iconv/iconv_prog.c: Remove CHAR16 handling.
30888         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30890         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30892         * configure.in: Remove --with-elf and --enable-bounded options.
30893         Dont set base_machine for ia64.  More non-ELF conditions removed.
30894         Remove testing and setting of leading underscore information.
30895         * config.make.in (build-bounded): Set to no.
30896         * config.h.in: Remove NO_UNDERSCORES entry.
30897         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30898         them.
30899         * csu/start.c: Remove !NO_UNDERSCORE code.
30900         * locale/localeinfo.h: Likewise.
30901         * sysdeps/generic/machine-gmon.h: Likewise.
30902         * sysdeps/generic/sysdep.h: Likewise.
30903         * sysdeps/i386/sysdep.h: Likewise.
30904         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30905         * sysdeps/mach/sysdep.h: Likewise.
30906         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30907         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30908         * sysdeps/sh/sysdep.h: Likewise.
30909         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30910         * sysdeps/unix/i386/sysdep.S: Likewise.
30911         * sysdeps/unix/sparc/start.c: Likewise.
30912         * sysdeps/unix/sparc/sysdep.S: Likewise.
30913         * sysdeps/unix/sparc/sysdep.h: Likewise.
30914         * sysdeps/unix/start.c: Likewise.
30915         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30916         * sysdeps/x86_64/sysdep.h: Likewise.
30918 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30920         [BZ #13553]
30921         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30922         for non-gcc.
30923         * argp/argp-fmtstream.h: Use const instead __const.
30924         * argp/argp.h: Likewise.
30925         * assert/assert.h: Likewise.
30926         * bits/fenv.h: Likewise.
30927         * bits/sched.h: Likewise.
30928         * bits/sigset.h: Likewise.
30929         * bits/sigthread.h: Likewise.
30930         * catgets/nl_types.h: Likewise.
30931         * conform/data/pthread.h-data: Likewise.
30932         * crypt/crypt-private.h: Likewise.
30933         * crypt/crypt.h: Likewise.
30934         * crypt/crypt_util.c: Likewise.
30935         * ctype/ctype.h: Likewise.
30936         * debug/execinfo.h: Likewise.
30937         * debug/mbsnrtowcs_chk.c: Likewise.
30938         * debug/mbsrtowcs_chk.c: Likewise.
30939         * debug/wcsnrtombs_chk.c: Likewise.
30940         * debug/wcsrtombs_chk.c: Likewise.
30941         * debug/wcstombs_chk.c: Likewise.
30942         * dirent/dirent.h: Likewise.
30943         * dlfcn/dlfcn.h: Likewise.
30944         * elf/neededtest4.c: Likewise.
30945         * grp/grp.h: Likewise.
30946         * gshadow/gshadow.h: Likewise.
30947         * iconv/gconv.h: Likewise.
30948         * iconv/gconv_int.h: Likewise.
30949         * iconv/gconv_simple.c: Likewise.
30950         * iconv/iconv.h: Likewise.
30951         * iconv/loop.c: Likewise.
30952         * iconv/skeleton.c: Likewise.
30953         * include/aio.h: Likewise.
30954         * include/aliases.h: Likewise.
30955         * include/argz.h: Likewise.
30956         * include/arpa/inet.h: Likewise.
30957         * include/assert.h: Likewise.
30958         * include/dirent.h: Likewise.
30959         * include/dlfcn.h: Likewise.
30960         * include/execinfo.h: Likewise.
30961         * include/fcntl.h: Likewise.
30962         * include/fenv.h: Likewise.
30963         * include/glob.h: Likewise.
30964         * include/grp.h: Likewise.
30965         * include/libintl.h: Likewise.
30966         * include/mntent.h: Likewise.
30967         * include/netdb.h: Likewise.
30968         * include/pwd.h: Likewise.
30969         * include/rpc/netdb.h: Likewise.
30970         * include/sched.h: Likewise.
30971         * include/search.h: Likewise.
30972         * include/shadow.h: Likewise.
30973         * include/signal.h: Likewise.
30974         * include/stdio.h: Likewise.
30975         * include/stdlib.h: Likewise.
30976         * include/string.h: Likewise.
30977         * include/sys/socket.h: Likewise.
30978         * include/sys/stat.h: Likewise.
30979         * include/sys/statfs.h: Likewise.
30980         * include/sys/statvfs.h: Likewise.
30981         * include/sys/syslog.h: Likewise.
30982         * include/sys/time.h: Likewise.
30983         * include/sys/uio.h: Likewise.
30984         * include/time.h: Likewise.
30985         * include/unistd.h: Likewise.
30986         * include/utmp.h: Likewise.
30987         * include/wchar.h: Likewise.
30988         * include/wctype.h: Likewise.
30989         * inet/aliases.h: Likewise.
30990         * inet/arpa/inet.h: Likewise.
30991         * inet/netinet/ether.h: Likewise.
30992         * inet/netinet/in.h: Likewise.
30993         * intl/libintl.h: Likewise.
30994         * io/bits/fcntl2.h: Likewise.
30995         * io/fcntl.h: Likewise.
30996         * io/ftw.h: Likewise.
30997         * io/sys/poll.h: Likewise.
30998         * io/sys/stat.h: Likewise.
30999         * io/sys/statfs.h: Likewise.
31000         * io/sys/statvfs.h: Likewise.
31001         * io/utime.h: Likewise.
31002         * libio/bits/stdio.h: Likewise.
31003         * libio/bits/stdio2.h: Likewise.
31004         * libio/libio.h: Likewise.
31005         * libio/libioP.h: Likewise.
31006         * libio/stdio.h: Likewise.
31007         * locale/lc-ctype.c: Likewise.
31008         * locale/locale.h: Likewise.
31009         * login/utmp.h: Likewise.
31010         * malloc/arena.c: Likewise.
31011         * malloc/malloc.c: Likewise.
31012         * malloc/malloc.h: Likewise.
31013         * malloc/mcheck.c: Likewise.
31014         * malloc/mtrace.c: Likewise.
31015         * math/bits/mathcalls.h: Likewise.
31016         * math/fenv.h: Likewise.
31017         * math/math_private.h: Likewise.
31018         * misc/bits/error.h: Likewise.
31019         * misc/bits/syslog.h: Likewise.
31020         * misc/err.h: Likewise.
31021         * misc/error.h: Likewise.
31022         * misc/fstab.h: Likewise.
31023         * misc/mntent.h: Likewise.
31024         * misc/regexp.h: Likewise.
31025         * misc/search.h: Likewise.
31026         * misc/sgtty.h: Likewise.
31027         * misc/sys/mman.h: Likewise.
31028         * misc/sys/syslog.h: Likewise.
31029         * misc/sys/uio.h: Likewise.
31030         * misc/sys/xattr.h: Likewise.
31031         * misc/ttyent.h: Likewise.
31032         * nis/rpcsvc/ypclnt.h: Likewise.
31033         * nss/nss.h: Likewise.
31034         * posix/bits/unistd.h: Likewise.
31035         * posix/fnmatch.h: Likewise.
31036         * posix/glob.h: Likewise.
31037         * posix/sched.h: Likewise.
31038         * posix/spawn.h: Likewise.
31039         * posix/sys/wait.h: Likewise.
31040         * posix/unistd.h: Likewise.
31041         * posix/wordexp.h: Likewise.
31042         * pwd/pwd.h: Likewise.
31043         * resolv/netdb.h: Likewise.
31044         * resource/sys/resource.h: Likewise.
31045         * rt/aio.h: Likewise.
31046         * rt/bits/mqueue2.h: Likewise.
31047         * rt/mqueue.h: Likewise.
31048         * shadow/shadow.h: Likewise.
31049         * signal/signal.h: Likewise.
31050         * socket/send.c: Likewise.
31051         * socket/sendto.c: Likewise.
31052         * socket/sys/socket.h: Likewise.
31053         * stdio-common/printf.h: Likewise.
31054         * stdlib/bits/stdlib.h: Likewise.
31055         * stdlib/fmtmsg.h: Likewise.
31056         * stdlib/monetary.h: Likewise.
31057         * stdlib/stdlib.h: Likewise.
31058         * stdlib/ucontext.h: Likewise.
31059         * streams/stropts.h: Likewise.
31060         * string/argz.h: Likewise.
31061         * string/bits/string2.h: Likewise.
31062         * string/string.h: Likewise.
31063         * string/strings.h: Likewise.
31064         * sunrpc/rpc/auth.h: Likewise.
31065         * sunrpc/rpc/auth_des.h: Likewise.
31066         * sunrpc/rpc/clnt.h: Likewise.
31067         * sunrpc/rpc/netdb.h: Likewise.
31068         * sunrpc/rpc/pmap_clnt.h: Likewise.
31069         * sunrpc/rpc/xdr.h: Likewise.
31070         * sysdeps/generic/inttypes.h: Likewise.
31071         * sysdeps/generic/net/if.h: Likewise.
31072         * sysdeps/generic/sys/swap.h: Likewise.
31073         * sysdeps/gnu/net/if.h: Likewise.
31074         * sysdeps/gnu/utmpx.h: Likewise.
31075         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31076         * sysdeps/i386/i486/bits/string.h: Likewise.
31077         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31078         * sysdeps/s390/bits/string.h: Likewise.
31079         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31080         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31081         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31082         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31083         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31084         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31085         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31086         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31087         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31088         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31089         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31090         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31091         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31092         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31093         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31094         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31095         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31099         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31100         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31101         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31102         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31103         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31104         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31105         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31106         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31107         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31108         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31109         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31110         * sysvipc/sys/ipc.h: Likewise.
31111         * sysvipc/sys/msg.h: Likewise.
31112         * sysvipc/sys/sem.h: Likewise.
31113         * sysvipc/sys/shm.h: Likewise.
31114         * termios/termios.h: Likewise.
31115         * time/sys/time.h: Likewise.
31116         * time/time.h: Likewise.
31117         * wcsmbs/bits/wchar2.h: Likewise.
31118         * wcsmbs/uchar.h: Likewise.
31119         * wcsmbs/wchar.h: Likewise.
31120         * wctype/wctype.h: Likewise.
31122         [BZ #13551]
31123         * Makeconfig: Remove all but ELF support including AIX support.
31124         * Makerules: Likewise.
31125         * config.h.in: Likewise.
31126         * config.make.in: Likewise.
31127         * configure: Likewise.
31128         * configure.in: Likewise.
31129         * csu/Makefile: Likewise.
31130         * csu/version.c: Likewise.
31131         * debug/Makefile: Likewise.
31132         * dlfcn/Makefile: Likewise.
31133         * elf/Makefile: Likewise.
31134         * extra-lib.mk: Likewise.
31135         * iconv/Makefile: Likewise.
31136         * include/libc-symbols.h: Likewise.
31137         * include/shlib-compat.h: Likewise.
31138         * resolv/Makefile: Likewise.
31139         * resolv/res_libc.c: Likewise.
31140         * rt/Makefile: Likewise.
31141         * sysdeps/i386/asm-syntax.h: Likewise.
31142         * sysdeps/i386/sysdep.h: Likewise.
31143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31144         * sysdeps/mach/sysdep.h: Likewise.
31145         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31146         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31147         * sysdeps/s390/asm-syntax.h: Likewise.
31148         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31150         * sysdeps/sh/sysdep.h: Likewise.
31151         * sysdeps/unix/sparc/sysdep.h: Likewise.
31152         * sysdeps/wordsize-32/divdi3.c: Likewise.
31153         * sysdeps/x86_64/sysdep.h: Likewise.
31155         * argp/Versions: Remove _argp_unlock_xxx.
31157         [BZ #13559]
31158         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31159         * abilist/libBrokenLocale.abilist: Likewise.
31160         * abilist/libanl.abilist: Likewise.
31161         * abilist/libc.abilist: Likewise.
31162         * abilist/libcrypt.abilist: Likewise.
31163         * abilist/libdl.abilist: Likewise.
31164         * abilist/libm.abilist: Likewise.
31165         * abilist/libnsl.abilist: Likewise.
31166         * abilist/libpthread.abilist: Likewise.
31167         * abilist/libresolv.abilist: Likewise.
31168         * abilist/librt.abilist: Likewise.
31169         * abilist/libthread_db.abilist: Likewise.
31170         * abilist/libutil.abilist: Likewise.
31171         * abilist/libnss_db.abilist: New file.
31173         * scripts/abilist.awk: Add support for indirect functions.
31175         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31177         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31179         * shlib-versions: Remove entries for ports architectures.
31181         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31182         files in ports.
31183         * elf/stackguard-macros.h: Remove support for IA-64.
31184         * elf/tst-auditmod1.c: Likewise.
31185         * sysdeps/generic/ldsodefs.h: Likewise.
31187         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31188         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31189         configure files.
31191         [BZ #13552]
31192         * configure.in: Remove --enable-omitfp support.
31193         * FAQ.in: Adjust.
31194         * config.make.in: Likewise.
31195         * Makeconfig: Likewise.
31196         * manual/install.texi: Likewise.
31198         In case anyone cares, the IA-64 architecture could move to ports.
31199         * sysdeps/ia64/*: Removed.
31200         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31201         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31203         [BZ #13555]
31204         * configure.in: Remove entries for unsupported architectures.
31206         [BZ #13533]
31207         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31208         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31209         routines.
31210         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31211         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31212         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31213         fall back to using wcrtomb.
31214         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31215         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31216         renaming.
31217         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31218         * wcsmbs/tst-c16c32-1.c: New file.
31220         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31221         local variable.
31223         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31225         * elf/tst-unique3.cc: Add explicit declaration of gets.
31226         * elf/tst-unique3lib.cc: Likewise.
31227         * elf/tst-unique3lib2.cc: Likewise.
31228         * elf/tst-unique4.cc: Likewise.
31230         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31232 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31234         [BZ #13566]
31235         * assert/assert.h (static_assert): Don't define for C++.
31236         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31237         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31239 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31241         * iconv/loop.c (single loop): Fix assertion in storing of
31242         remaining bytes.
31244         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31246 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31248         * posix/getconf.c: Update copyright year.
31249         * nss/getent.c: Likewise.
31250         * nss/makedb.c: Likewise.
31251         * iconv/iconvconfig.c: Likewise.
31252         * iconv/iconv_prog.c: Likewise.
31253         * elf/ldconfig.c: Likewise.
31254         * elf/pldd.c: Likewise.
31255         * elf/sotruss.ksh: Likewise.
31256         * catgets/gencat.c: Likewise.
31257         * csu/version.c: Likewise.
31258         * elf/ldd.bash.in: Likewise.
31259         * elf/sprof.c (print_version): Likewise.
31260         * locale/programs/locale.c: Likewise.
31261         * locale/programs/localedef.c: Likewise.
31262         * login/programs/pt_chown.c: Likewise.
31263         * nscd/nscd.c (print_version): Likewise.
31264         * debug/xtrace.sh: Likewise.
31265         * malloc/memusage.sh: Likewise.
31266         * malloc/mtrace.pl: Likewise.
31267         * debug/catchsegv.sh: Likewise.
31269 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31271         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31272         pure attribute.
31274 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31276         [BZ #13533]
31277         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31278         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31279         transformations.
31280         * iconv/gconv_int.h: Likewise.
31281         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31282         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31283         from libc for GLIBC_2.16.
31284         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31285         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31286         * wcsmbs/uchar.h: Really define mbstate_t.
31287         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31288         * wcsmbs/c16rtomb.c: New file.
31289         * wcsmbs/mbrtoc16.c: New file.
31290         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31291         for C/POSIX locale.
31292         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31293         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31295         * wcsmbs/wchar.h: Add missing __restrict.
31297 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31299         [BZ #13532]
31300         * time/Makefile (routines): Add timespec_get.
31301         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31302         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31303         timespec for ISO C11.
31304         * time/timespec_get.c: New file.
31305         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31306         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31308         [BZ #13531]
31309         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31310         * stdlib/stdlib.h: Declare aligned_alloc.
31311         * Versions.def: Add GLIBC_2.16 for libc.
31312         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31314         [BZ 13527]
31315         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31316         ISO C11.
31318         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31319         code.
31321         [BZ #13528]
31322         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31324         [BZ #13529]
31325         * assert/assert.h (static_assert): Define.
31327         * version.h: Update for 2.16 development version.
31329         [BZ #13526]
31330         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31331         _ISOC11_SOURCE.
31333         * version.h (RELEASE): Bump for 2.15 release.
31334         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31336         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31337         Patch by Marek Polacek <mpolacek@redhat.com>.
31339         * bits/byteswap.h: Protect long long constants with __extension__.
31340         * sysdeps/i386/bits/byteswap.h: Likewise.
31341         * sysdeps/ia64/bits/byteswap.h: Likewise.
31342         * sysdeps/s390/bits/byteswap.h: Likewise.
31343         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31345 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31347         [BZ #13540]
31348         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31349         destination buffer.
31350         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31352 2011-12-23  Marek Polacek  <polacek@redhat.com>
31354         * elf/dl-addr.c (determine_info): Add inline keyword.
31355         * elf/tst-auditmod4b.c (check_avx): Likewise.
31356         * elf/tst-auditmod6b.c (check_avx): Likewise.
31357         * elf/tst-auditmod6c.c (check_avx): Likewise.
31358         * elf/tst-auditmod7b.c (check_avx): Likewise.
31360 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31362         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31363         !__SSE_MATH__.
31365 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31367         [BZ #13540]
31368         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31369         processing for last bytes.
31371 2011-08-06  Bruno Haible  <bruno@clisp.org>
31373         [BZ #13061]
31374         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31375         U+0385, not to U+1FEE.
31377         [BZ #13062]
31378         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31379         entry for U+00A5 U+0301.
31381 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31383         [BZ #13166]
31384         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31385         buffer for the output is too small.
31387         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31388         optimization.
31390         [BZ #13185]
31391         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31392         SSE flags if possible.
31394 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31396         [BZ #13540]
31397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31398         processing for last bytes.
31400 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31402         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31403         (syscall-list-default-options, syscall-list-default-condition)
31404         (syscall-list-includes): Define.
31405         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31406         list of ABIs and options and #if conditions for each ABI.  Do not
31407         handle common syscalls between ABIs specially.
31408         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31409         Remove.
31410         (syscall-list-variants, syscall-list-32bit-options)
31411         (syscall-list-32bit-condition, syscall-list-64bit-options)
31412         (syscall-list-64bit-condition): Define.
31413         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31414         (syscall-list-variants, syscall-list-32bit-options)
31415         (syscall-list-32bit-condition, syscall-list-64bit-options)
31416         (syscall-list-64bit-condition): Define.
31417         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31418         Remove.
31419         (syscall-list-variants, syscall-list-32bit-options)
31420         (syscall-list-32bit-condition, syscall-list-64bit-options)
31421         (syscall-list-64bit-condition): Define.
31422         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31423         Remove.
31424         (syscall-list-variants, syscall-list-32bit-options)
31425         (syscall-list-32bit-condition, syscall-list-64bit-options)
31426         (syscall-list-64bit-condition): Define.
31428 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31430         * locale/iso-639.def: Add brx entry.
31432         [BZ #13328]
31433         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31434         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31436         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31437         __feraiseexcept_renamed.
31439 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31441         [BZ #13538]
31442         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31443         EPOLLET with unsigned values.
31444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31445         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31447         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31448         to large cancellation.
31449         * math/s_cacoshf.c: Likewise.
31450         * math/s_cacoshl.c: Likewise.
31452 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31454         [BZ #13305]
31455         [BZ #12786]
31456         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31457         * math/s_cacoshf.c: Likewise.
31458         * math/s_cacoshl.c: Likewise.
31460 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31462         [BZ #13439]
31463         * iconv/gconv.h: Define __GCONV_SWAP.
31464         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31465         * iconvdata/utf-16.c: Likewise.
31466         * iconvdata/utf-32.c: Likewise.
31468 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31470         [BZ #13524]
31471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31472         numerator after shifting it by one limb.
31474 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31476         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31477         under [__USE_EXTERN_INLINES].
31479 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31481         [BZ #13446]
31482         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31484 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31486         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31487         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31488         optimized code.
31489         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31490         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31491         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31492         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31493         for strncasecmp/strncasecmp_l compilation.
31494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31495         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31497 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31499         [BZ #13484]
31500         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31501         of __asm__.
31503 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31505         [BZ #13506]
31506         * time/tzfile.c (__tzfile_read): Check values from file header.
31508 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31510         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31511         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31512         * powerpc/powerpc32/dl-start.S: Likewise.
31513         * powerpc/powerpc32/elf/start.S: Likewise.
31514         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31515         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31516         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31517         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31518         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31519         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31520         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31521         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31522         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31523         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31524         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31525         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31526         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31527         * powerpc/powerpc32/memset.S: Likewise.
31528         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31529         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31530         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31531         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31532         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31533         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31534         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31535         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31536         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31537         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31538         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31539         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31540         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31542 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * math/libm-test.inc: Added more nearbyint tests.
31545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31546         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31547         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31548         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31550 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31552         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31553         FD_CLOEXEC.
31555 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31557         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31558         Add wcscpy-ssse3 wcscpy-c.
31559         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31560         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31561         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31562         * sysdeps/x86_64/wcschr.S: New file.
31563         * sysdeps/x86_64/wcsrchr.S: New file.
31564         * string/test-strcmp.c: Remove checking of wcscmp function for
31565         wrong alignments.
31566         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31567         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31568         wcsrchr-sse2 wcsrchr-c.
31569         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31570         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31571         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31572         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31573         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31574         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31575         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31576         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31577         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31578         * wcsmbc/wcschr.c (WCSCHR): New macro.
31580 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31582         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31583         * wcsmbs/test-wcsrchr.c: New file.
31584         * string/test-strrchr.c: Add wcsrchr support.
31585         (WIDE): New macro.
31586         * wcsmbs/test-wcscpy.c: New file.
31587         * string/test-strcpy.c: Add wcscpy support.
31588         (WIDE): New macro.
31590 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31592         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31593         the inner loop.
31595 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31597         [BZ #13472]
31598         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31600 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31603         Minor optimizations.
31605         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31606         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31607         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31609 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31611         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31612         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31613         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31614         for gcc to avoid warnings.
31615         * inet/Makefile (tests): Add tst-checks.
31616         * inet/tst-checks.c: New file.
31618         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31619         warning.
31621         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31622         __wmemcmp_sse2.
31624         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31625         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31627         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31629 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31631         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31632         problem.
31634         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31636 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31638         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31639         conditional on GCC version.
31640         (__arch_compare_and_exchange_val_8_acq)
31641         (__arch_compare_and_exchange_val_16_acq)
31642         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31643         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31644         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31646 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31648         * sysdeps/sh/backtrace.c: New file.
31650 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31652         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31653         parenthesis.
31655 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31657         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31658         falling back to utime.
31660 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31662         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31663         expectations for float.
31665 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31667         * locale/weight.h (findidx): Add parameter len.
31668         * locale/weightwc.h (findidx): Likewise.
31669         * posix/fnmatch_loop.c (FCT): Adjust caller.
31670         * posix/regcomp.c (build_equiv_class): Likewise.
31671         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31672         * posix/regexec.c (check_node_accept_bytes): Likewise.
31673         * string/strcoll_l.c (STRCOLL): Likewise.
31674         * string/strxfrm_l.c (STRXFRM): Likewise.
31676 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31678         * Makefile.in: Remove CVSOPT handling.
31679         * configure.in: Remove use of AC_REVISION.
31680         * iconvdata/Makefile (distribute): No need to filter out CVS.
31681         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31682         handling.
31684 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31687         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31688         [USE_AS_STRNCASECMP_L]: Likewise.
31689         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31690         NO_TLS_DIRECT_SEG_REFS.
31691         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31692         Fix argument offsets for non-PIC.
31693         [USE_AS_STRNCASECMP_L]: Likewise.
31694         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31695         NO_TLS_DIRECT_SEG_REFS.
31697 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31699         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31700         O_CLOEXEC.
31701         * locale/loadlocale.c (_nl_load_locale): Likewise.
31703 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31705         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31706         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31707         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31708         (SYSCALL_GETTIME): Set errno on error.
31710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31711         count references to noai6ai_cached.
31713 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31715         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31717         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31718         FD_CLOEXEC for /proc/self/maps.
31720         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31721         FD_CLOEXEC for /proc/meminfo.
31723         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31724         gai.conf.
31726         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31727         FD_CLOEXEC for given file.
31729         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31731         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31732         FD_CLOEXEC for /etc/hosts.
31733         (_gethtent): Likewise.
31735         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31737         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31738         cancellation and set FD_CLOEXEC for /etc/netgroup.
31740         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31741         reading /etc/publickey.
31743         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31744         allow cancellation when reading /etc/group.
31746         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31747         cancellation.
31748         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31750         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31751         when using data file.
31753         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31755         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31756         (write_nis_obj): Use "c" and "e" in fopen.
31758         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31760         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31762         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31764         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31766         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31767         locale.alias.
31769         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31771         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31773         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31775         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31776         file parsing and set FD_CLOEXEC.
31778 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31780         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31782 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31784         * malloc/arena.c (arena_get2): Don't call reused_arena when
31785         _int_new_arena failed.
31787 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31789         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31790         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31792         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31793         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31795         to compile strcasecmp and strncasecmp.
31796         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31797         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31801 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31803         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31804         locale-defines.sym to gen-as-const-headers.
31805         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31806         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31808         to compile strcasecmp and strncasecmp.
31809         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31810         strcasecmp_l and strncasecmp_l.
31811         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31812         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31813         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31814         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31815         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31816         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31817         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31818         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31819         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31820         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31821         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31823 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31825         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31826         result of SYSDEP_GETTIME_CPU to retval.
31827         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31828         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31830         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31831         variable.
31833         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31834         mantissa words.
31835         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31837         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31838         from unused variable.
31840         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31841         DWARF definitions.
31842         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31843         for assembling.
31845         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31846         over namespaces.
31848         * sunrpc/rpc_prot.c (rejected): Fix case value.
31850         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31851         unsigned long long int to avoid warnings in shift.
31853         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31854         of use of trans.
31855         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31856         variable tmp.
31858         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31859         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31860         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31862         * nis/nis_table.c (nis_list): Use variable of correct type for
31863         result of __follow_path call.
31865 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31867         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31868         of math functions ceil, trunc, floor, round, and sqrt, when
31869         avaliable on the platform.
31870         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31871         name clash.
31872         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31873         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31874         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31876 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31878         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31879         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31881 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31883         * include/unistd.h: Fix __readlink return type.
31884         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31886 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31888         * stdlib/ucontext.h: Undo last change for makecontext.
31890 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31892         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31894         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31895         * setjmp/setjmp.h: Mark functions as non-leaf.
31896         * setjmp/bits/setjmp2.h: Likewise.
31897         * stdlib/ucontext.h: Likewise.
31899 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31901         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31902         (reused_arena): Don't check arena limit.
31903         (arena_get2): Atomically check arena limit.
31905 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31907         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31908         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31911         instructions.
31913 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31915         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31916         handler when locking.
31918         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31919         Fix size of allocated buffer.
31921 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31923         [BZ #10103]
31924         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31925         declarations for long double functions.
31926         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31928         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31930 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31932         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31933         installed.
31935         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31936         is disabled.
31938 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31940         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31942 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31944         * include/alloca.h (stackinfo_alloca_round): Define.
31945         (extend_alloca): Use it.
31946         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31947         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31948         here.
31950         * scripts/check-local-headers.sh: Ignore libaudit.h.
31952         * nscd/Makefile (extra-objs): Make recursively expanded.
31954 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31956         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31957         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31959         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31960         * posix/tst-rfc3484-2.c: Likewise.
31961         * posix/tst-rfc3484-3.c: Likewise.
31963         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31964         process_vm_writev.
31965         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31966         process_vm_writev.
31967         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31968         process_vm_writev from libc using GLIBC_2.15 version.
31970         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31972 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31974         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31975         stack usage.
31977 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31979         [BZ #13367]
31980         * nss/getent.c (initgroups_keys): Show error message in case no group
31981         names are given.
31983         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31984         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31985         __bump_nl_timestamp.
31986         * nscd/connections (nscd_init): When host database is served open
31987         netlink socket and request notification about configuration changes.
31988         (main_loop_poll): Track netlink file descriptor and bump timestamp
31989         in case data becomes available.
31990         (main_loop_epoll): Likewise.
31991         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31992         (database_pers_head): Add extra_data fileds.
31993         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31994         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31995         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31996         Adjust caller.
31997         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31998         in6ai data, call __free_in6ai.
31999         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32000         Add -DHAVE_NETLINK.
32001         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32002         interface information.  Reuse previous data if netlink timestamp
32003         is not changed.
32004         (__bump_nl_timestamp): New function.
32005         (__free_in6ai): New function.
32007 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32010         close_not_cancel_no_status here.
32011         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32013 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32015         [BZ #13276]
32016         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32017         return value.
32019         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32020         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32021         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32023 2011-07-03  Andreas Jaeger  <aj@suse.de>
32025         [BZ #10709]
32026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32027         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32028         * math/libm-test.inc (sin_test): Add test case.
32030 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32032         [BZ #13337]
32033         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32034         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32036         * elf/chroot_canon.c (chroot_canon): Cleanups.
32038         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32040         [BZ #13335]
32041         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32042         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32044         * string/test-strchr.c: Make usable for strchrnul testing.
32045         * string/test-strchrnul.c: New file.
32046         * string/Makefile (strop-tests): Add strchrnul.
32048         * po/it.po: Update from translation team.
32049         * po/es.po: Likewise.
32051 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32053         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32054         the three constants needed as parameters.  Drop the others.
32055         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32056         __m128i_strloadu_tolower.
32057         Create and initialize variable zero and use it in all the places
32058         where _mm_setzero_si128 was used.
32060         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32061         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32062         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32063         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32064         anymore.
32065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32066         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32067         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32068         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32069         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32070         __mpranred, __mptan.
32071         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32072         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32073         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32074         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32075         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32076         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32077         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32078         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32079         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32081 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32083         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32084         redefine if SHARED.
32085         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32088         wide char related routines to wcsmbs subdir.
32090 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32092         [BZ #13344]
32093         * misc/sys/cdefs.h (__THROWNL): Define.
32094         * posix/unistd.h: Use __THREADNL instead of __THREAD
32095         for memory synchronization functions.
32097 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32099         [BZ #13349]
32100         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32101         doesn't exist.
32102         * manual/stdio.texi (Obstack Streams): Node removed.
32104 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32106         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32107         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32108         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32110         * math/math_private.h (math_force_eval): Allow non-addressable
32111         arguments.
32112         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32114 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32116         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32117         file is not needed.
32119         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32126         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32127         Add AVX variants.
32128         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32129         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32130         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32131         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32132         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32133         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32134         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32136         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32137         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32138         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32139         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32140         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32141         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32142         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32143         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32144         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32145         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32146         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32148         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32149         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32152         place.  Use VEX encoding when compiling for AVX.
32154 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32156         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32157         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32159         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32161 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32163         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32164         useless if() expression.
32165         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32166         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32167         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32168         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32169         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32170         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32171         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32172         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32173         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32174         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32175         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32176         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32177         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32178         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32179         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32180         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32181         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32182         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32183         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32185         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32187 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32189         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32190         condition.
32191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32195         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32196         .text section.  Avoid duplicate constants.
32197         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32198         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32199         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32201         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32205         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32206         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32207         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32209         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32210         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32211         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32212         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32213         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32214         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32217         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32218         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32219         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32220         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32221         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32222         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32223         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32224         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32225         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32226         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32227         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32228         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32229         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32230         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32231         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32232         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32233         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32234         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32235         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32236         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32237         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32238         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32239         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32240         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32241         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32243 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32245         * sysdeps/x86_64/dla.h: Move to ...
32246         * sysdeps/x86_64/fpu/dla.h: ...here.
32247         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32248         situations.  Use __builtin_fma only for gcc 4.6 and up.
32250         * config.make.in: Add have-mfma4 entry.
32251         * configure.in: Substitute libc_cv_cc_fma4.
32252         * math/Makefile (dbl-only-routines): Add sincostab.
32253         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32254         Use __sincostab not sincos.
32255         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32256         name is a macro.
32257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32261         using __copysign.
32262         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32263         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32264         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32265         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32266         and __inv.
32267         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32268         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32269         __copysign.
32270         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32271         define aliases when function name is a macro.
32272         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32273         sysdeps/ieee754/dbl-64/sincos.tbl.
32274         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32275         fma4-enabled routines.
32276         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32277         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32278         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32279         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32280         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32281         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32282         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32283         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32284         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32285         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32286         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32287         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32288         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32289         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32291         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32292         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32293         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32294         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32295         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32296         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32297         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32299         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32300         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32301         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32302         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32303         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32304         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32305         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32307         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32308         rename.
32309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32313         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32315         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32316         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32318 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32320         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32322 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32324         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32326         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32327         prediction.
32328         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32330         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32331         Remove unused variable magic_bits.
32332         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32334         * string/strnlen.c: Define and use STRNLEN macro.
32335         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32336         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32338         * wcsmbs/wcslen.c: Define and use WCSLEN.
32339         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32340         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32341         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32342         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32343         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32344         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32345         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32347 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32350         strnlen-sse2-no-bsf.
32351         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32352         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32353         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32354         Add strnlen support.
32355         (USE_AS_STRNLEN): New macro.
32356         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32357         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32358         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32359         * sysdeps/x86_64/wcslen.S: New file.
32361 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32363         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32364         XMM-moves are used for copying on small sizes.
32366 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32368         * wcsmbs/Makefile (strop-tests): Add wcschr.
32369         * wcsmbs/test-wcschr.c: New file.
32370         * string/test-strchr.c: Update.
32371         Add wcschr support.
32372         (WIDE): New macro.
32374 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32376         * wcsmbs/Makefile (strop-tests): Add wcslen.
32377         * wcsmbs/test-wcslen.c: New file.
32378         * string/test-strlen.c: Update.
32379         Add wcslen support.
32380         (WIDE): New macro.
32382 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32384         * po/it.po: Update from translation team.
32386 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32388         * sysdeps/x86_64/wcscmp.S: Update.
32389         Fix wrong comparison semantics.
32390         wcscmp shall use signed comparison not unsigned.
32391         Don't use substraction to avoid overflow bug.
32392         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32393         * wcsmbc/wcscmp.c: Likewise.
32394         * string/test-strcmp.c: Likewise.
32395         Add new tests to check cases with negative values.
32397 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32399         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32400         * sysdeps/x86_64/dla.h: ...here.  New file.
32401         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32406         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32408         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32411 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32414         __ynl_finite aliases.
32416 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32420         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32421         define DLA_FMA.
32422         [DLA_FMA] (EMULV): Use DLA_FMA.
32423         [DLA_FMA] (MUL12): Use EMULV.
32424         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32425         that are not needed.
32426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32429         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32430         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32431         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32432         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32434 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32436         * math/s_nan.c: Undef __nan.
32437         * math/s_nanf.c: Undef __nanf.
32438         * math/s_nanl.c: Undef __nanl.
32439         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32440         "math_private.h".
32442 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32444         * math/s_catan.c: Add branch predictions.
32445         * math/s_catanf.c: Likewise.
32446         * math/s_catanh.c: Likewise.
32447         * math/s_catanhf.c: Likewise.
32448         * math/s_catanhl.c: Likewise.
32449         * math/s_catanl.c: Likewise.
32450         * math/s_cexp.c: Likewise.
32451         * math/s_cexpf.c: Likewise.
32452         * math/s_cexpl.c: Likewise.
32453         * math/s_clog.c: Likewise.
32454         * math/s_clog10.c: Likewise.
32455         * math/s_clog10f.c: Likewise.
32456         * math/s_clog10l.c: Likewise.
32457         * math/s_clogf.c: Likewise.
32458         * math/s_clogl.c: Likewise.
32459         * math/s_csqrt.c: Likewise.
32460         * math/s_csqrtf.c: Likewise.
32461         * math/s_csqrtl.c: Likewise.
32462         * math/s_ctanf.c: Likewise.
32463         * math/s_ctanh.c: Likewise.
32464         * math/s_ctanhf.c: Likewise.
32465         * math/s_ctanhl.c: Likewise.
32466         * math/s_ctanl.c: Likewise.
32468         * math/math_private.h: Define __nan, __nanf, __nanl.
32469         * math/s_cacosh.c: Include <math_private.h>.
32470         * math/s_cacoshl.c: Likewise.
32471         * math/s_casinh.c: Likewise.
32472         * math/s_casinhf.c: Likewise.
32473         * math/s_casinhl.c: Likewise.
32474         * math/s_ccos.c: Rely entire on ccosh.
32475         * math/s_ccosf.c: Rely entire on ccoshf.
32476         * math/s_ccosl.c: Rely entirely on ccoshl.
32477         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32478         Remove tests for FE_INVALID.
32479         * math/s_ccoshf.c: Likewise.
32480         * math/s_ccoshl.c: Likewise.
32481         * math/s_csin.c: Likewise.
32482         * math/s_csinf.c: Likewise.
32483         * math/s_csinh.c Likewise.
32484         * math/s_csinhf.c: Likewise.
32485         * math/s_csinhl.c: Likewise.
32486         * math/s_csinl.c: Likewise.
32487         * math/s_ctan.c: Likewise.
32488         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32489         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32490         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32492 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32495         compilation problems.
32497         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32498         __builtin_expect.
32500 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32502         * sysdeps/i386/configure.in: Test for -mfma4 option.
32503         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32504         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32505         COMMON_CPUID_INDEX_80000001.
32506         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32507         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32508         use it if FMA3 is not supported.
32509         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32511         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32512         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32514 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32516         [BZ #12892]
32517         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32518         it would create a cycle with a link time dependency.
32520 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32522         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32523         instruction.
32524         * string/Makefile (strop-tests): Add rawmemchr.
32525         * string/test-rawmemchr.c: New file.
32527         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32529         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32530         when compiling str{,n}casecmp and when AVX is available.  Hook up
32531         new optimized code in initializers.
32533 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32535         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32536         __feraiseexcept instead of feraiseexcept.
32538 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32540         * math/math_private.h: Define defaults for libc_fetestexcept and
32541         libc_feupdateenv.
32542         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32543         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32544         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32545         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32546         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32547         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32548         libc_fetestexcept and libc_feupdateenv.
32550         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32551         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32552         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32553         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32554         libc_feholdexcept_setround.
32556         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32557         Add s_nearbyint-c and s_nearbyintf-c.
32558         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32559         nearbyintf inlines.
32560         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32561         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32562         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32563         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32565         * math/math_private.h: Define defaults for libc_fegetround,
32566         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32567         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32568         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32569         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32570         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32571         standard functions.
32572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32573         Remove comments and hacks for old compiler versions.
32574         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32575         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32576         libc_feholdexceptl.
32578 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32580         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32581         (__feraiseexcept_renamed): Add __NTH.
32582         (feraiseexcept): Add __NTH.  Rename local variables to fix
32583         namespace violations.
32585 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32587         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32591         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32592         recently added interfaces.
32593         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32595         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32596         about macro parameter expansion.
32598         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32599         __NO_MATH_INLINES is defined.  Cleanups.
32601         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32602         and __floorf is target has SSE4.1.
32603         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32604         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32605         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32606         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32608         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32609         name.
32610         (floorf): Likewise.
32612         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32614 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32616         * misc/sys/cdefs.h: Fix last change.
32618         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32619         database lookup.
32621 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32623         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32625         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32627         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32628         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32630         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32631         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32632         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32633         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32634         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32635         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32636         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32637         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32638         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32639         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32640         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32641         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32642         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32643         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32644         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32645         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32646         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32648         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32649         ceil, ceilf, floor, floorf.
32651         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32652         Perform IRELATIVE relocations last.
32654         * elf/do-rel.h: Add another parameter nrelative, replacing the
32655         local variable with the same name.  Change name of the function
32656         to end in Rel or Rela (uppercase).
32657         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32658         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32659         elf_dynamic_do_##reloc function.
32661 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32663         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32664         is sufficient, at least on modern CPUs.
32666         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32668         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32669         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32671         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32672         __expl_finite.
32673         * math/bits/math-finite.h: Add entries for exp.
32674         * math/e_expl.c: Add __*_finite alias.
32675         * sysdeps/i386/fpu/e_exp.S: Likewise.
32676         * sysdeps/i386/fpu/e_expf.S: Likewise.
32677         * sysdeps/i386/fpu/e_expl.c: Likewise.
32678         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32679         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32682         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32683         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32684         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32686         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32687         is sufficient, at least on modern CPUs.
32689         * ctype/ctype-info.c (__ctype_init): Define.
32690         * include/ctype.h (__ctype_init): Declare.
32691         (__ctype_b_loc): The variable is always initialized.
32692         (__ctype_toupper_loc): Likewise.
32693         (__ctype_tolower_loc): Likewise.
32694         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32695         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32697 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32699         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32701         * configure.in: Also look in $cxxmachine/include for C++ system
32702         headers.
32704 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32706         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32707         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32708         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32709         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32711         (USE_AS_WMEMCMP): New macro.
32712         Fixing indents.
32713         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32714         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32715         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32716         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32718         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32719         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32720         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32721         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32722         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32723         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32724         (USE_AS_WMEMCMP): New macro.
32725         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32726         * sysdeps/string/test-memcmp.c: Update.
32727         Fix simple_wmemcmp.
32728         Add new tests.
32729         * wcsmbs/wmemcmp.c: Update.
32730         (WMEMCMP): New macro.
32731         Fix overflow bug.
32733 2011-10-12  Andreas Jaeger  <aj@suse.de>
32735         [BZ #13268]
32736         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32738 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32740         * libio/iofwide.c (do_length): Avoid warning.
32742         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32744 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32746         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32748         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32749         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32750         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32751         * sysdeps/i386/i686/fpu/e_log.S: New file.
32752         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32753         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32755         * ctype/ctype.h: Add support for inlined isXXX functions when
32756         compiling C++ code.
32758 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32760         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32762         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32764 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32766         [BZ #13291]
32767         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32769 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32771         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32772         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32773         feraiseexcept.
32775         * sysdeps/x86_64/memrchr.S: Check for zero size.
32777         * string/stratcliff.c: Add memrchr tests.
32779 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32782         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32783         rawmemchr-sse2 rawmemchr-sse2-bsf.
32784         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32785         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32786         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32787         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32788         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32789         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32790         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32791         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32792         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32793         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32794         * string/memrchr.c (MEMRCHR): New macro.
32796 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32798         Add integration with gcc's -ffinite-math-only and optimize wrapper
32799         functions in libm.
32800         * Versions.def: Define GLIBC_2.15 version for libm.
32801         * math/Makefile (headers): Add bits/math-finite.h.
32802         * math/bits/math-finite.h: New file.
32803         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32804         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32805         * math/e_acoshl.c: Add __*_finite alias.
32806         * math/e_acosl.c: Likewise.
32807         * math/e_asinl.c: Likewise.
32808         * math/e_atan2l.c: Likewise.
32809         * math/e_atanhl.c: Likewise.
32810         * math/e_coshl.c: Likewise.
32811         * math/e_exp10.c: Likewise.
32812         * math/e_exp10f.c: Likewise.
32813         * math/e_exp10l.c: Likewise.
32814         * math/e_exp2l.c: Likewise.
32815         * math/e_fmodl.c: Likewise.
32816         * math/e_gammal_r.c: Likewise.
32817         * math/e_hypotl.c: Likewise.
32818         * math/e_j0l.c: Likewise.
32819         * math/e_j1l.c: Likewise.
32820         * math/e_jnl.c: Likewise.
32821         * math/e_lgammal_r.c: Likewise.
32822         * math/e_log10l.c: Likewise.
32823         * math/e_log2l.c: Likewise.
32824         * math/e_logl.c: Likewise.
32825         * math/e_powl.c: Likewise.
32826         * math/e_sinhl.c: Likewise.
32827         * math/e_sqrtl.c: Likewise.
32828         * math/e_scalb.c: Completely rewritten and optimized.
32829         * math/e_scalbf.c: Likewise.
32830         * math/e_scalbl.c: Likewise.
32831         * math/w_acos.c: Likewise.
32832         * math/w_acosf.c: Likewise.
32833         * math/w_acosl.c: Likewise.
32834         * math/w_acosh.c: Likewise.
32835         * math/w_acoshf.c: Likewise.
32836         * math/w_acoshl.c: Likewise.
32837         * math/w_asin.c: Likewise.
32838         * math/w_asinf.c: Likewise.
32839         * math/w_asinl.c: Likewise.
32840         * math/w_atan2.c: Likewise.
32841         * math/w_atan2f.c: Likewise.
32842         * math/w_atan2l.c: Likewise.
32843         * math/w_atanh.c: Likewise.
32844         * math/w_atanhf.c: Likewise.
32845         * math/w_atanhl.c: Likewise.
32846         * math/w_exp10.c: Likewise.
32847         * math/w_exp10f.c: Likewise.
32848         * math/w_exp10l.c: Likewise.
32849         * math/w_fmod.c: Likewise.
32850         * math/w_fmodf.c: Likewise.
32851         * math/w_fmodl.c: Likewise.
32852         * math/w_j0.c: Likewise.
32853         * math/w_j0f.c: Likewise.
32854         * math/w_j0l.c: Likewise.
32855         * math/w_j1.c: Likewise.
32856         * math/w_j1f.c: Likewise.
32857         * math/w_j1l.c: Likewise.
32858         * math/w_jn.c: Likewise.
32859         * math/w_jnf.c: Likewise.
32860         * math/w_log.c: Likewise.
32861         * math/w_logf.c: Likewise.
32862         * math/w_logl.c: Likewise.
32863         * math/w_log10.c: Likewise.
32864         * math/w_log10f.c: Likewise.
32865         * math/w_log10l.c: Likewise.
32866         * math/w_log2.c: Likewise.
32867         * math/w_log2f.c: Likewise.
32868         * math/w_log2l.c: Likewise.
32869         * math/w_pow.c: Likewise.
32870         * math/w_powf.c: Likewise.
32871         * math/w_powl.c: Likewise.
32872         * math/w_remainder.c: Likewise.
32873         * math/w_remainderf.c: Likewise.
32874         * math/w_remainderl.c: Likewise.
32875         * math/w_scalb.c: Likewise.
32876         * math/w_scalbf.c: Likewise.
32877         * math/w_scalbl.c: Likewise.
32878         * math/w_sqrt.c: Likewise.
32879         * math/w_sqrtf.c: Likewise.
32880         * math/w_sqrtl.c: Likewise.
32881         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32882         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32883         used.
32884         * math/math_private.h: Declare __kernel_standard_f.
32885         * math/w_cosh.c: Remove cruft and optimize a bit.
32886         * math/w_coshf.c: Likewise.
32887         * math/w_coshl.c: Likewise.
32888         * math/w_exp2.c: Likewise.
32889         * math/w_exp2f.c: Likewise.
32890         * math/w_exp2l.c: Likewise.
32891         * math/w_hypot.c: Likewise.
32892         * math/w_hypotf.c: Likewise.
32893         * math/w_hypotl.c: Likewise.
32894         * math/w_lgamma.c: Likewise.
32895         * math/w_lgamma_r.c: Likewise.
32896         * math/w_lgammaf.c: Likewise.
32897         * math/w_lgammaf_r.c: Likewise.
32898         * math/w_lgammal.c: Likewise.
32899         * math/w_lgammal_r.c: Likewise.
32900         * math/w_sinh.c: Likewise.
32901         * math/w_sinhf.c: Likewise.
32902         * math/w_sinhl.c: Likewise.
32903         * math/w_tgamma.c: Likewise.
32904         * math/w_tgammaf.c: Likewise.
32905         * math/w_tgammal.c: Likewise.
32906         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32907         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32908         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32909         Minor optimizations.  Pretty printing.  Remove cruft.
32910         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32911         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32912         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32913         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32914         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32915         * sysdeps/i386/fpu/e_asin.S: Likewise.
32916         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32917         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32918         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32919         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32920         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32921         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32922         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32923         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32924         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32925         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32926         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32927         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32928         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32929         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32930         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32931         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32932         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32933         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32934         * sysdeps/i386/fpu/e_log.S: Likewise.
32935         * sysdeps/i386/fpu/e_log10.S: Likewise.
32936         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32937         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32938         * sysdeps/i386/fpu/e_log2.S: Likewise.
32939         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32940         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32941         * sysdeps/i386/fpu/e_logf.S: Likewise.
32942         * sysdeps/i386/fpu/e_logl.S: Likewise.
32943         * sysdeps/i386/fpu/e_pow.S: Likewise.
32944         * sysdeps/i386/fpu/e_powf.S: Likewise.
32945         * sysdeps/i386/fpu/e_powl.S: Likewise.
32946         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32947         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32948         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32949         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32950         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32952         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32953         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32954         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32958         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32960         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32961         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32962         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32963         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32964         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32965         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32966         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32968         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32969         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32976         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32977         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32978         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32979         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32980         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32981         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32982         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32983         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32984         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32985         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32986         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32987         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32989         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32990         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32991         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32992         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32993         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32994         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32995         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32996         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33008         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33009         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33010         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33038         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33039         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33043         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33046         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33047         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33048         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33049         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33050         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33051         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33052         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33053         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33054         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33055         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33056         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33057         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33058         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33059         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33060         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33061         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33062         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33063         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33064         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33065         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33066         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33067         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33068         (__isnanf): Likewise.
33069         (__isinf_ns): Likewise.
33070         (__isinf_nsf): Likewise.
33071         (__finite): Likewise.
33072         (__finitef): Likewise.
33073         (__ieee754_sqrt): Define as macro.
33074         (__ieee754_sqrtf): Define as macro.
33075         (__ieee754_sqrtl): Define as macro.
33076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33077         inlined copy.
33078         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33079         __FINITE_MATH_ONLY__ consistent.
33080         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33082 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33084         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33085         of rawmemchr.
33087         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33089 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33091         * po/ja.po: Update from translation team.
33093 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33095         * locale/programs/locarchive.c (prepare_address_space): New function.
33096         (create_archive, enlarge_archive, open_archive): Use it.
33098         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33099         inside [SHARED], where it is used.
33101         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33103         * nss/getent.c (netgroup_keys): Remove unused variable.
33104         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33106 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33108         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33109         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33111         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33112         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33113         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33114         * math/Makefile (libm-calls): Add s_isinf_ns.
33115         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33116         * math/multc3.c: Likewise.
33117         * math/s_casin.c: Likewise.
33118         * math/s_casinf.c: Likewise.
33119         * math/s_casinl.c: Likewise.
33120         * math/s_ccos.c: Likewise.
33121         * math/s_ccosf.c: Likewise.
33122         * math/s_ccosl.c: Likewise.
33123         * math/s_ctan.c: Likewise.
33124         * math/s_ctanf.c: Likewise.
33125         * math/s_ctanh.c: Likewise.
33126         * math/s_ctanhf.c: Likewise.
33127         * math/s_ctanhl.c: Likewise.
33128         * math/s_ctanl.c: Likewise.
33129         * math/w_fmod.c: Likewise.
33130         * math/w_fmodf.c: Likewise.
33131         * math/w_fmodl.c: Likewise.
33132         * math/w_remainder.c: Likewise.
33133         * math/w_remainderf.c: Likewise.
33134         * math/w_remainderl.c: Likewise.
33135         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33136         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33139         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33140         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33141         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33142         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33144         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33145         of the number.
33146         * stdio-common/printf_fphex.c: Likewise.
33147         * stdio-common/printf_size.c: Likewise.
33149         * math/e_exp10.c: Include math_private.h using <...> not "...".
33150         * math/e_exp10f.c: Likewise.
33151         * math/e_exp10l.c: Likewise.
33152         * math/e_exp2l.c: Likewise.
33153         * math/e_j0l.c: Likewise.
33154         * math/e_j1l.c: Likewise.
33155         * math/e_jnl.c: Likewise.
33156         * math/e_lgammal_r.c: Likewise.
33157         * math/e_rem_pio2l.c: Likewise.
33158         * math/e_scalb.c: Likewise.
33159         * math/e_scalbf.c: Likewise.
33160         * math/e_scalbl.c: Likewise.
33161         * math/k_cosl.c: Likewise.
33162         * math/k_sinl.c: Likewise.
33163         * math/k_tanl.c: Likewise.
33164         * math/s_cacoshf.c: Likewise.
33165         * math/s_catan.c: Likewise.
33166         * math/s_catanf.c: Likewise.
33167         * math/s_catanh.c: Likewise.
33168         * math/s_catanhf.c: Likewise.
33169         * math/s_catanhl.c: Likewise.
33170         * math/s_catanl.c: Likewise.
33171         * math/s_ccosh.c: Likewise.
33172         * math/s_ccoshf.c: Likewise.
33173         * math/s_ccoshl.c: Likewise.
33174         * math/s_cexp.c: Likewise.
33175         * math/s_cexpf.c: Likewise.
33176         * math/s_cexpl.c: Likewise.
33177         * math/s_clog.c: Likewise.
33178         * math/s_clog10.c: Likewise.
33179         * math/s_clog10f.c: Likewise.
33180         * math/s_clog10l.c: Likewise.
33181         * math/s_clogf.c: Likewise.
33182         * math/s_clogl.c: Likewise.
33183         * math/s_csin.c: Likewise.
33184         * math/s_csinf.c: Likewise.
33185         * math/s_csinh.c: Likewise.
33186         * math/s_csinhf.c: Likewise.
33187         * math/s_csinhl.c: Likewise.
33188         * math/s_csinl.c: Likewise.
33189         * math/s_csqrt.c: Likewise.
33190         * math/s_csqrtf.c: Likewise.
33191         * math/s_csqrtl.c: Likewise.
33192         * math/s_ctan.c: Likewise.
33193         * math/s_ctanf.c: Likewise.
33194         * math/s_ctanh.c: Likewise.
33195         * math/s_ctanhf.c: Likewise.
33196         * math/s_ctanhl.c: Likewise.
33197         * math/s_ctanl.c: Likewise.
33198         * math/s_ldexp.c: Likewise.
33199         * math/s_ldexpf.c: Likewise.
33200         * math/s_ldexpl.c: Likewise.
33201         * math/s_significand.c: Likewise.
33202         * math/s_significandf.c: Likewise.
33203         * math/s_significandl.c: Likewise.
33204         * math/w_acos.c: Likewise.
33205         * math/w_acosf.c: Likewise.
33206         * math/w_acosh.c: Likewise.
33207         * math/w_acoshf.c: Likewise.
33208         * math/w_acoshl.c: Likewise.
33209         * math/w_acosl.c: Likewise.
33210         * math/w_asin.c: Likewise.
33211         * math/w_asinf.c: Likewise.
33212         * math/w_asinl.c: Likewise.
33213         * math/w_atan2.c: Likewise.
33214         * math/w_atan2f.c: Likewise.
33215         * math/w_atan2l.c: Likewise.
33216         * math/w_atanh.c: Likewise.
33217         * math/w_atanhf.c: Likewise.
33218         * math/w_atanhl.c: Likewise.
33219         * math/w_cosh.c: Likewise.
33220         * math/w_coshf.c: Likewise.
33221         * math/w_coshl.c: Likewise.
33222         * math/w_dremf.c: Likewise.
33223         * math/w_exp10.c: Likewise.
33224         * math/w_exp10f.c: Likewise.
33225         * math/w_exp10l.c: Likewise.
33226         * math/w_exp2.c: Likewise.
33227         * math/w_exp2f.c: Likewise.
33228         * math/w_fmod.c: Likewise.
33229         * math/w_fmodf.c: Likewise.
33230         * math/w_fmodl.c: Likewise.
33231         * math/w_hypot.c: Likewise.
33232         * math/w_hypotf.c: Likewise.
33233         * math/w_hypotl.c: Likewise.
33234         * math/w_j0.c: Likewise.
33235         * math/w_j0f.c: Likewise.
33236         * math/w_j0l.c: Likewise.
33237         * math/w_j1.c: Likewise.
33238         * math/w_j1f.c: Likewise.
33239         * math/w_j1l.c: Likewise.
33240         * math/w_jn.c: Likewise.
33241         * math/w_jnf.c: Likewise.
33242         * math/w_jnl.c: Likewise.
33243         * math/w_lgamma.c: Likewise.
33244         * math/w_lgamma_r.c: Likewise.
33245         * math/w_lgammaf.c: Likewise.
33246         * math/w_lgammaf_r.c: Likewise.
33247         * math/w_lgammal.c: Likewise.
33248         * math/w_lgammal_r.c: Likewise.
33249         * math/w_log.c: Likewise.
33250         * math/w_log10.c: Likewise.
33251         * math/w_log10f.c: Likewise.
33252         * math/w_log10l.c: Likewise.
33253         * math/w_log2.c: Likewise.
33254         * math/w_log2f.c: Likewise.
33255         * math/w_log2l.c: Likewise.
33256         * math/w_logf.c: Likewise.
33257         * math/w_logl.c: Likewise.
33258         * math/w_pow.c: Likewise.
33259         * math/w_powf.c: Likewise.
33260         * math/w_powl.c: Likewise.
33261         * math/w_remainder.c: Likewise.
33262         * math/w_remainderf.c: Likewise.
33263         * math/w_remainderl.c: Likewise.
33264         * math/w_scalb.c: Likewise.
33265         * math/w_scalbf.c: Likewise.
33266         * math/w_scalbl.c: Likewise.
33267         * math/w_sinh.c: Likewise.
33268         * math/w_sinhf.c: Likewise.
33269         * math/w_sinhl.c: Likewise.
33270         * math/w_sqrt.c: Likewise.
33271         * math/w_sqrtf.c: Likewise.
33272         * math/w_sqrtl.c: Likewise.
33273         * math/w_tgamma.c: Likewise.
33274         * math/w_tgammaf.c: Likewise.
33275         * math/w_tgammal.c: Likewise.
33277         * po/ja.po: Update from translation team.
33279 2011-09-29  Andreas Jaeger  <aj@suse.de>
33281         [BZ #13179]
33282         * sunrpc/netname.c (netname2host): Fix logic.
33284         [BZ #6779]
33285         [BZ #6783]
33286         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33287         correctly.
33288         * math/w_remainder.c (__remainder): Likewise.
33289         * math/w_remainderf.c (__remainderf): Likewise.
33290         * math/libm-test.inc (remainder_test): Add test cases.
33292 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33294         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33295         sdiv_qrnnd.
33297 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33299         * string/test-memcmp.c: Avoid unncessary #defines.
33300         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33302 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33304         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33305         Use new sse2 version for core i3 - i7 as it's faster
33306         than sse42 version.
33307         (bit_Prefer_PMINUB_for_stringop): New.
33308         * sysdeps/x86_64/rawmemchr.S: Update.
33309         Replace with faster SSE2 version.
33310         * sysdeps/x86_64/memrchr.S: New file.
33311         * sysdeps/x86_64/memchr.S: Update.
33312         Replace with faster SSE2 version.
33314 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33316         * elf/dl-load.c (lose): Add cast to avoid warning.
33318 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33320         * po/ca.po: Update from translation team.
33322         * inet/getnetgrent_r.c: Hook up nscd.
33323         * nscd/Makefile (routines): Add nscd_netgroup.
33324         (nscd-modules): Add netgroupcache.
33325         (CFLAGS-netgroupcache.c): Define.
33326         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33327         (cache_search): Add const to second parameter.
33328         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33329         INNETGR.
33330         (dbs): Add netgrdb entry.
33331         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33332         (verify_persistent_db): Handle netgrdb.
33333         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33334         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33335         GETFDNETGR.
33336         (netgroup_response_header): Define.
33337         (innetgroup_response_header): Define.
33338         (datahead): Add netgroup_response_header and innetgroup_response_header
33339         elements.
33340         * nscd/nscd.conf: Add entries for netgroup cache.
33341         * nscd/nscd.h (dbtype): Add netgrdb.
33342         (_PATH_NSCD_NETGROUP_DB): Define.
33343         (netgroup_iov_disabled): Declare.
33344         (xmalloc, xcalloc, xrealloc): Move declarations here.
33345         (cache_search): Adjust prototype.
33346         Add netgroup-related prototypes.
33347         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33348         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33349         (__nscd_innetgr): Declare.
33350         * nscd/selinux.c (perms): Use access_vector_t as element type and
33351         add netgroup-related initializers.
33352         * nscd/netgroupcache.c: New file.
33353         * nscd/nscd_netgroup.c: New file.
33354         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33355         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33356         For four parameters use innetgr.
33357         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33358         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33359         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33360         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33362         * nscd/connections.c (register_traced_file): Don't register file
33363         for disabled databases.
33365 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33367         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33369         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33370         from tree and freeing node.
33372 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33374         * nss/nsswitch.c (__nss_database_lookup): Handle
33375         nss_parse_service_list out of memory case.
33377 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33379         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33380         out of memory case.
33382 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33384         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33385         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33386         pass it down.
33387         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33388         elf_machine_rela, elf_machine_lazy_rel.
33389         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33390         (ELF_DYNAMIC_DO_REL): Likewise.
33391         (ELF_DYNAMIC_DO_RELA): Likewise.
33392         (ELF_DYNAMIC_RELOCATE): Likewise.
33393         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33394         to ELF_DYNAMIC_DO_REL.
33395         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33396         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33397         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33398         elf_machine_rela.
33399         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33400         skip_ifunc, don't call ifunc function if non-zero.
33401         (elf_machine_rela): Likewise.
33402         (elf_machine_lazy_rel): Likewise.
33403         (elf_machine_lazy_rela): Likewise.
33404         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33405         (elf_machine_lazy_rel): Likewise.
33406         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33407         Likewise.
33408         (elf_machine_lazy_rel): Likewise.
33409         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33410         Likewise.
33411         (elf_machine_lazy_rel): Likewise.
33412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33413         (elf_machine_lazy_rel): Likewise.
33414         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33415         (elf_machine_lazy_rel): Likewise.
33416         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33417         (elf_machine_lazy_rel): Likewise.
33418         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33419         (elf_machine_lazy_rel): Likewise.
33420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33421         (elf_machine_lazy_rel): Likewise.
33422         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33423         (elf_machine_lazy_rel): Likewise.
33425 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33427         * nss/nss_files/files-init.c (_nss_files_init): Use static
33428         initialization for all the *_traced_file variables.
33430 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33432         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33434 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33436         [BZ #13226]
33437         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33439 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33442         Reread the line before reparsing it.
33444 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33446         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33448 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33449             Maxim Kuvyrkov  <maxim@codesourcery.com>
33450             Joseph Myers  <joseph@codesourcery.com>
33452         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33453         if needed for __stack_chk_guard.
33455 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33457         * sysdeps/posix/spawni.c (script_execute): Always define it.
33458         It will be optimized away if unused.
33459         (maybe_script_execute): New function.
33460         (__spawni): Call it.
33462         * Makerules: Don't include tls.make.
33463         (config-tls): Always set to thread.
33464         * tls.make.c: File removed.
33466 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33468         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33469         * config.make.in (CPPFLAGS-config): New substituted variable.
33471 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33473         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33475         [BZ #13192]
33476         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33477         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33479 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33481         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33482         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33483         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33484         (CALL_FAIL): Likewise.
33485         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33486         (CALL_FAIL): Macro removed.
33487         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33489 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33491         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33492         for __FINITE_MATH_ONLY__ == 1.
33494 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33496         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33497         __ieee754_sqrt instead of sqrt.
33498         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33499         __ieee754_sqrtf instead of sqrtf.
33500         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33501         __floorf instead of floorf.
33502         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33503         __floorf, __truncf instead of floorf, truncf.
33505 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33507         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33509         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33510         __extern_always_inline.
33511         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33512         32-bit.
33514 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33516         * elf/rtld.c (dl_main): Also relocate in dependency order when
33517         doing symbol dependency testing.
33519 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33522         Always define `refsym'.
33524 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33526         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33527         (__FD_ELT): Renamed from __FDELT.
33528         * misc/bits/select2.h (__FD_ELT): Likewise.
33529         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33530         __FD_MASK instead of __FDELT, __FDMASK.
33531         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33532         Likewise.
33533         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33534         Likewise.
33536         * elf/Makefile (gen-ldd): Fix pattern.
33538         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33539         (init_tls): Likewise.
33541 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33545 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33547         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33548         `struct cmsghdr *' instead of `void *'.
33549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33550         Likewise.
33552 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33554         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33555         if non-absolute.
33556         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33557         ldd_rewrite_script.
33559 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33561         * configure.in: Remove --with-tls option.
33562         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33563         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33564         out in case it is missing.
33565         * sysdeps/ia64/elf/configure.in: Likewise.
33566         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33567         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33568         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33569         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33570         * sysdeps/sh/elf/configure.in: Likewise.
33571         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33572         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33573         * sysdeps/x86_64/elf/configure.in: Likewise.
33574         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33575         * sysdeps/mach/hurd/tls.h: Likewise.
33577         [BZ #13067]
33578         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33580         [BZ #13090]
33581         * configure.in: Fix use of AC_INIT.
33583         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33585 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33587         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33588         __set_errno.
33589         * malloc/hooks.c: Likewise.
33591         [BZ #11929]
33592         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33593         variables statically.
33594         (narenas): Initialize.
33595         (list_lock): Initialize.
33596         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33597         initializtion of main_arena and list_lock.  Small cleanups.
33598         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33599         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33600         Add initializers to main_arena and mp_.
33601         (malloc_state): Remove pagesize member.  Change all users to use
33602         GLRO(dl_pagesize).
33604         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33605         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33606         is always initialized.
33608         * malloc/malloc.c: Removed unused configurations and dead code.
33609         * malloc/arena.c: Likewise.
33610         * malloc/hooks.c: Likewise.
33611         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33613         * include/tls.h: Removed.  USE___THREAD must always be defined.
33614         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33615         * elf/dl-libc.c: Likewise.
33616         * elf/dl-tsd.c: Likewise.
33617         * include/errno.h: Likewise.
33618         * include/netdb.h: Likewise.
33619         * include/resolv.h: Likewise.
33620         * inet/herrno-loc.c: Likewise.
33621         * inet/herrno.c: Likewise.
33622         * malloc/arena.c: Likewise.
33623         * malloc/hooks.c: Likewise.
33624         * malloc/malloc.c: Likewise.
33625         * resolv/res-state.c: Likewise.
33626         * resolv/res_libc.c: Likewise.
33627         * sysdeps/i386/dl-machine.h: Likewise.
33628         * sysdeps/ia64/dl-machine.h: Likewise.
33629         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33630         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33631         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33632         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33633         * sysdeps/sh/dl-machine.h: Likewise.
33634         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33635         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33636         * sysdeps/unix/i386/sysdep.S: Likewise.
33637         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33638         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33643         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33647         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33648         * sysdeps/x86_64/dl-machine.h: Likewise.
33649         * tls.make.c: Likewise.
33651         * configure.in: Remove --with-__thread option.  Make tests for
33652         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33653         tls_model attribute fail if no support is available.  Remove
33654         USE_IN_LIBIO.
33655         * Makeconfig: Adjust for dropped configure option.  All features are
33656         now mandatory.
33657         * Makerules: Likewise.
33658         * Versions.def: Likewise.
33659         * argp/argp-fmtstream.c: Likewise.
33660         * argp/argp-fmtstream.h: Likewise.
33661         * argp/argp-help.c: Likewise.
33662         * assert/assert.c: Likewise.
33663         * config.h.in: Likewise.
33664         * config.make.in: Likewise.
33665         * configure: Likewise.
33666         * configure.in: Likewise.
33667         * csu/Versions: Likewise.
33668         * csu/init.c: Likewise.
33669         * elf/tst-audit2.c: Likewise.
33670         * elf/tst-tls10.c: Likewise.
33671         * elf/tst-tls10.h: Likewise.
33672         * elf/tst-tls11.c: Likewise.
33673         * elf/tst-tls12.c: Likewise.
33674         * elf/tst-tls14.c: Likewise.
33675         * elf/tst-tlsmod11.c: Likewise.
33676         * elf/tst-tlsmod12.c: Likewise.
33677         * elf/tst-tlsmod13.c: Likewise.
33678         * elf/tst-tlsmod13a.c: Likewise.
33679         * elf/tst-tlsmod14a.c: Likewise.
33680         * elf/tst-tlsmod15b.c: Likewise.
33681         * elf/tst-tlsmod16a.c: Likewise.
33682         * elf/tst-tlsmod16b.c: Likewise.
33683         * elf/tst-tlsmod7.c: Likewise.
33684         * elf/tst-tlsmod8.c: Likewise.
33685         * elf/tst-tlsmod9.c: Likewise.
33686         * gmon/gmon.c: Likewise.
33687         * grp/fgetgrent_r.c: Likewise.
33688         * grp/putgrent.c: Likewise.
33689         * hurd/fopenport.c: Likewise.
33690         * include/libc-symbols.h: Likewise.
33691         * include/tls.h: Likewise.
33692         * intl/gettextP.h: Likewise.
33693         * intl/loadinfo.h: Likewise.
33694         * locale/global-locale.c: Likewise.
33695         * locale/localeinfo.h: Likewise.
33696         * mach/devstream.c: Likewise.
33697         * malloc/arena.c: Likewise.
33698         * malloc/set-freeres.c: Likewise.
33699         * misc/err.c: Likewise.
33700         * misc/getttyent.c: Likewise.
33701         * misc/mntent_r.c: Likewise.
33702         * posix/getopt.c: Likewise.
33703         * posix/wordexp.c: Likewise.
33704         * pwd/fgetpwent_r.c: Likewise.
33705         * resolv/Versions: Likewise.
33706         * resolv/res_hconf.c: Likewise.
33707         * shadow/fgetspent_r.c: Likewise.
33708         * shadow/putspent.c: Likewise.
33709         * stdio-common/printf_fphex.c: Likewise.
33710         * stdio-common/tmpfile.c: Likewise.
33711         * stdlib/abort.c: Likewise.
33712         * stdlib/fmtmsg.c: Likewise.
33713         * sunrpc/auth_unix.c: Likewise.
33714         * sunrpc/clnt_perr.c: Likewise.
33715         * sunrpc/clnt_tcp.c: Likewise.
33716         * sunrpc/clnt_udp.c: Likewise.
33717         * sunrpc/clnt_unix.c: Likewise.
33718         * sunrpc/openchild.c: Likewise.
33719         * sunrpc/svc_simple.c: Likewise.
33720         * sunrpc/svc_tcp.c: Likewise.
33721         * sunrpc/svc_udp.c: Likewise.
33722         * sunrpc/svc_unix.c: Likewise.
33723         * sunrpc/xdr.c: Likewise.
33724         * sunrpc/xdr_array.c: Likewise.
33725         * sunrpc/xdr_rec.c: Likewise.
33726         * sunrpc/xdr_ref.c: Likewise.
33727         * sunrpc/xdr_stdio.c: Likewise.
33729 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33731         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33733 2011-07-03  Andreas Jaeger  <aj@suse.de>
33735         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33736         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33737         regenerate with gen-libm-tests.pl.
33739 2010-05-12  Petr Baudis  <pasky@suse.cz>
33741         [BZ #11589]
33742         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33743         around j0() zero points by switching to j1().
33744         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33745         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33749 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33751         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33752         instead of 0.
33753         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33754         instead of 0.
33755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33756         Patch in part by Pavel Roskin <proski@gnu.org>.
33758         [BZ #13138]
33759         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33760         realloc.
33761         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33762         Free memory block if necessary.
33764         [BZ #12847]
33765         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33766         be NULL.  Don't lock in this case.
33768 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33770         * elf/elf.h (ELFOSABI_GNU): New macro.
33771         (ELFOSABI_LINUX): Define to that.
33773 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33775         * string/strncat.c (strncat): Undef the symbol in case it has been
33776         defined in bits/string.h.
33778 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33780         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33782         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33783         link map.
33785 2011-08-17  Andreas Jaeger  <aj@suse.de>
33787         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33789 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33790             Ian Lance Taylor  <iant@google.com>
33792         * math/libm-test.inc (lround_test): New testcase.
33793         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33795 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33797         * Makefile: Remove support for automatic cvs check-ins.
33798         * Makerules: Likewise.
33799         * config.make.in: Likewise.
33800         * configure.in: Likewise.
33801         * intl/Makefile: Likewise.
33802         * locale/Makefile: Likewise.
33803         * po/Makefile: Likewise.
33804         * posix/Makefile: Likewise.
33805         * sysdeps/gnu/Makefile: Likewise.
33806         * sysdeps/mach/hurd/Makefile: Likewise.
33807         * sysdeps/sparc/sparc32/Makefile: Likewise.
33809         [BZ #13118]
33810         * posix/Makefile (bug-regex32-ENV): Define.
33811         Patch by John Stanley <jpsinthemix@verizon.net>.
33813         * misc/Makefile (headers): Add bits/select2.h.
33814         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33815         * misc/bits/select2.h: New file.
33816         * include/bits/select2.h: New file.
33817         * debug/Makefile (routines): Add fdelt_chk.
33818         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33819         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33820         FD_ISSET.
33821         * debug/fdelt_chk.c: New file.
33823         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33824         * wcsmbs/test-wmemcmp.c: Likewise.
33825         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33826         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33828 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33830         * string/Makefile (strop-tests): Add memcmp.
33831         * string/test-wmemcmp.c: New file.
33832         * string/test-memcmp.c: Add wmemcmp support.
33834 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33836         [BZ #13153]
33837         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33838         2011-07-19 change.
33840         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33841         garbage value in a __mach_port_mod_refs call in the cases of the
33842         task-self and thread-self ports.
33844 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33846         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33848 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33850         * elf/dl-load.c (lose): Check for non-null L.
33852 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33854         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33856         * elf/dl-libc.c (dlerror_run): Pass back error code from
33857         dl_catch_error.
33859         [BZ #13123]
33860         * elf/dl-load.c (lose): Free l_origin if it is valid.
33862         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33863         names.
33864         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33865         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33866         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33867         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33868         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33869         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33871 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33873         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33874         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33875         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33876         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33877         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33878         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33879         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33880         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33881         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33882         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33884 2011-08-15  Alan Modra  <amodra@gmail.com>
33886         [BZ #13092]
33887         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33888         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33889         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33890         ppc_mcount to static-only-routines.
33891         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33892         __mcount_internal.
33893         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33894         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33896 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33898         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33899         for finite and infinity parameters.
33901 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33903         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33904         and add nop instructions for throughput optimization.
33905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33907 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33909         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33910         aligned copy for power7 with vector-scalar instructions.
33911         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33913 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33916         AVX check.
33918 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33920         [BZ #13144]
33921         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33922         last change.
33924 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33926         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33927         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33928         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33929         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33930         clock_gettime.
33932 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33934         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33935         Forgot to demangle the pointer.
33937         * sysdeps/i386/sysdep.h: Define atom_text_section.
33938         * sysdeps/x86_64/sysdep.h: Likewise.
33939         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33940         section with atom_text_section.
33941         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33943         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33945         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33947         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33948         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33949         already be defined.  Change to take two parameters and don't assign
33950         result to variable.  Adjust all users.
33951         Define INTERNAL_GETTIME if not already defined.
33952         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33953         call.
33954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33955         HAVE_CLOCK_GETTIME_VSYSCALL.
33956         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33958         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33959         gettimeofday vsyscall, just use time.
33961 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33963         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33964         <errno.h>.
33966 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33968         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33969         syscall on x86-64.
33970         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33971         syscall.
33972         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33974         syscall if possible.
33976 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33978         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33979         e_ident.  Don't pass to find_mapsXX.
33980         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33982 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33985         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33986         * sysdeps/x86_64/multiarch/strchr.S: Update.
33987         Check bit_slow_BSF bit.
33988         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33989         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33990         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33992 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33994         [BZ #13134]
33995         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33996         before glibc 2.15.
33997         (tryshell): Define.
33998         (__spawni): Change last parameter to be flag.  Test
33999         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34000         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34001         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34002         * posix/spawni.c: Likewise.
34003         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34004         * posix/spawnp.c: Likewise.  Change normal version to use
34005         SPAWN_XFLAGS_USE_PATH.
34006         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34007         SPAWN_XFLAGS_TRY_SHELL.
34009         [BZ #13150]
34010         * posix/glob.h: Remove gcc 1.x support.
34012         [BZ #13068]
34013         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34015 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34018         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34019         strrchr-sse2-bsf
34020         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34021         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34022         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34023         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34024         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34025         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34027 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34029         * sysdeps/x86_64/wcscmp.S: New file.
34031         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34032         wcscmp-c wcscmp-sse2
34033         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34034         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34035         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34036         * wcsmbs/wcscmp.c: Allow renaming.
34038 2011-09-05  David S. Miller  <davem@davemloft.net>
34040         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34041         stack slot, rather than the struct return pointer slot.
34042         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34043         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34045         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34047 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34049         * po/ja.po: Update from translation team.
34051         [BZ #13144]
34052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34053         kernel in 64-bit binaries.
34055 2011-09-01  David S. Miller  <davem@davemloft.net>
34057         * elf/elf.h (HWCAP_SPARC_*): Move to..
34058         * sysdeps/sparc/sysdep.h: this new file and add new values.
34059         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34060         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34061         _DL_HWCAP_COUNT to 24.
34062         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34063         entries.
34064         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34065         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34066         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34067         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34068         instead of magic constants.
34069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34071 2011-08-31  David S. Miller  <davem@davemloft.net>
34073         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34075         Reimplement to do errno handling inline.
34076         (SYSCALL_ERROR_HANDLER): New macro.
34077         (__SYSCALL_STRING): Do not do errno handling in asm.
34078         (__CLONE_SYSCALL_STRING): Delete.
34079         (__INTERNAL_SYSCALL_STRING): Delete.
34080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34081         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34082         (PSEUDO): Reimplement to do errno handling inline.
34083         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34084         (SYSCALL_ERROR_HANDLER): New macro.
34085         (__SYSCALL_STRING): Do not do errno handling in asm.
34086         (__CLONE_SYSCALL_STRING): Delete.
34087         (__INTERNAL_SYSCALL_STRING): Delete.
34088         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34089         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34090         i386.
34091         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34092         (inline_syscall*): Add 'err' argument.
34093         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34094         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34095         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34096         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34098         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34099         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34101 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34103         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34105 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34107         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34108         directive.
34110 2011-08-24  David S. Miller  <davem@davemloft.net>
34112         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34114 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34116         * elf/Makefile: Add rules to build and run unload8 test.
34117         * elf/unload8.c: New file.
34118         * elf/unload8mod1.c: New file.
34119         * elf/unload8mod1x.c: New file.
34120         * elf/unload8mod2.c: New file.
34121         * elf/unload8mod3.c: New file.
34123         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34124         it wasn't used.
34126 2011-08-23  David S. Miller  <davem@davemloft.net>
34128         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34129         subtract stack bias.
34130         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34131         %sp not %fp in calculations.
34132         (_JMPBUF_UNWINDS_ADJ): Likewise.
34134         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34135         (aio_suspend): Call it to force an exception region around the
34136         AIO_MISC_WAIT() invocation.
34138 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34140         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34141         backslash.
34143 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34145         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34146         protection macro.
34147         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34148         and <dl-machine.h>.
34149         (Elf64_FuncDesc): Remove.
34151 2011-08-22  David S. Miller  <davem@davemloft.net>
34153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34154         sigaltstack check, add missing cfi directives.
34155         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34156         missing cfi directives, and sigaltstack handling.
34158 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34160         [BZ #11724]
34161         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34162         object is seen twice.
34163         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34165         * elf/Makefile (distribute): Add tst-initorder2.c.
34166         (tests): Add tst-initorder2.
34167         (modules-names): Add tst-initorder2a tst-initorder2b
34168         tst-initorder2c tst-initorder2d.  Add rules to build them.
34169         ($(objpfx)tst-initorder2.out): New rule.
34170         * elf/tst-initorder2.c: New file.
34171         * elf/tst-initorder2.exp: New file.
34173 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34175         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34177         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34178         dependencies back to end of function.
34180         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34181         $(elfobjdir)/ld.so.
34183 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34186         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34188         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34189         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34190         of __vdso_gettimeofday.
34191         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34192         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34193         attribute_hidden.
34194         (_libc_vdso_platform_setup): Remove initialization of
34195         __vdso_gettimeofday and __vdso_time.
34197 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34199         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34200         and fgetc_unlocked.
34201         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34202         getc_unlocked.
34204         * elf/dl-open.c (add_to_global): Report additions to the global scope
34205         for LD_DEBUG=scopes.
34206         (dl_open_worker): Also print scope of newly loaded dependencies.
34207         (_dl_show_scope): Indicate if there is no scope.
34209         [BZ #13114]
34210         * stdio-common/Makefile (tests): Add bug24.
34211         * stdio-common/bug24.c: New file.
34213 2011-08-19  Andreas Jaeger  <aj@suse.de>
34215         [BZ #13114]
34216         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34217         non-existant file when using close-on-exec mode.
34219 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34222         the very first instruction.
34224         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34225         the CFI state in the end.
34226         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34227         inclusion of dl-trampoline.h.
34228         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34230 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34232         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34233         expectations for long double.
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34236         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34238 2011-08-14  David S. Miller  <davem@davemloft.net>
34240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34241         artificual limit depends upon the system page size.
34243 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34245         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34246         * resolv/Makefile: Define CFLAGS-libresolv.
34248 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34250         * nss/makedb.c (compute_tables): Make variables used in nested
34251         function static.
34253 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34255         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34256         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34257         if buffer was too small.
34259         * elf/pldd.c (main): Attach to all threads in the process.
34260         Rewrite /proc handling to use *at functions.
34262 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34264         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34265         specifies first scope to show.
34266         (dl_open_worker): Update callers.  Move printing scope of new
34267         object to before the relocation.
34268         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34269         * sysdeps/generic/ldsodefs.h: Update declaration.
34271         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34272         string for the scope number.
34274 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34276         * nscd/servicescache.c (cache_addserv): Make sure written is always
34277         initialized.
34279 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34281         * sysdeps/i386/i486/bits/atomic.h
34282         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34283         statement expression, so as to suppress "set but not used" warning.
34284         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34286         * string/strncat.c (STRNCAT): Use prototype definition.
34288         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34289         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34290         -Iprograms here.
34291         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34292         (localedef-modules): Add localedef.
34293         (locale-modules): Add locale.
34295         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34296         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34297         to avoid a warning.
34299 2011-08-14  David S. Miller  <davem@davemloft.net>
34301         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34302         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34304 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34306         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34307         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34308         * elf/rtld.c (dl_main): Set l_name of vDSO.
34309         Call _dl_show_scope when DL_DEBUG_SCOPES.
34310         (process_dl_debug): Recognize scopes flag and also set it for all.
34311         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34312         Declare _dl_show_scope.
34314         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34315         (do_dlopen): Pass caller_dlopen to dl_open.
34316         (__libc_dlopen_mode): Initialize caller_dlopen.
34318         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34319         of libc.  Make tolower call locale-independent.  Optimize a bit by
34320         using isdigit instead of isalnum.
34321         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34323 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34325         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34326         was a dependency or dynamically loaded.
34328 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34330         * intl/l10nflist.c: Allow architecture-specific pop function.
34331         * sysdeps/x86_64/l10nflist.c: New file.
34333         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34334         classification.
34336 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34338         * include/dirent.h: Add libc_hidden_proto for scandirat and
34339         scandirat64.  Don't declare __scandirat64.
34340         * dirent/scandirat.c: Add libc_hidden_def.
34341         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34342         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34344 2011-08-10  David S. Miller  <davem@davemloft.net>
34346         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34347         enum.
34348         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34349         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34350         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34352 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34354         * Versions.def [libc]: Add GLIBC_2.15.
34355         * dirent/Makefile (routines): Add scandirat and scandirat64.
34356         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34357         GLIBC_2.15.
34358         * dirent/dirent.h: Declare scandirat and scandirat64.
34359         * dirent/scandirat.c: New file.
34360         * dirent/scandirat64.c: New file.
34361         * sysdeps/wordsize-64/scandirat.c: New file.
34362         * sysdeps/wordsize-64/scandirat64.c: New file.
34363         * dirent/opendir.c: Define opendirat.
34364         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34365         using scandirat.
34366         * dirent/scandir64.c: Adjust for scandir.c change.
34367         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34368         __scandirat64, and __scandir_cancel_handler.
34369         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34370         additional parameter and use openat instead of open (outside of ld.so).
34371         Add new __opendir as wrapper around __opendirat.
34372         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34373         here without requiring old scandirat implementation.
34375 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34377         * dirent/scandir.c (cancel_handler): Renamed to
34378         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34379         defined.  Adjust users.
34380         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34381         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34383 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34385         * string/test-string.h (IMPL): Use __STRING to expand name and then
34386         stringify it.
34388         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34389         of cleanups.
34391 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34393         * string/Makefile: Update.
34394         (strop-tests): Append strncat.
34395         * string/test-wcscmp.c: New file.
34396         New comprehensive test for wcscmp.
34397         * string/test-strcmp.c: Update.
34398         (WIDE): New define.
34400 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34402         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34403         line.
34405 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34408         encoding to ACE if AI_IDN.
34410 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34412         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34413         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34415 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34417         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34418         Fix overflow bug in strncat.
34419         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34421         * string/test-strncat.c: Update.
34422         Add new tests for checking overflow bugs.
34424 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34427         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34428         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34429         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34430         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34431         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34432         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34433         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34434         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34437         (USE_AS_STRCAT): Define.
34438         Add strcat and strncat support.
34439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34441 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34443         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34444         __n bigger than INT_MAX+1.
34445         (__strncmp_g): Likewise.
34447 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34449         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34450         * libio/stido.h: Likewise.
34452         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34453         (AF_NFC): Define.
34454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34455         (AF_NFC): Define.
34457         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34460         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34463         [BZ #13021]
34464         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34465         installed.
34467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34468         typo.
34469         (_dl_x86_64_save_sse): Likewise.
34471 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34474         OSXSAVE.
34475         (_dl_x86_64_save_sse): Likewise.
34477         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34479         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34481 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34484         change.
34485         (_dl_x86_64_save_sse): Use correct AVX check.
34487 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34489         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34490         bug in strncpy/strncat.
34491         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34493 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34495         * string/tester.c (test_strcat): Add tests for different alignments
34496         of source and destination.
34497         (test_strncat): Likewise.
34499 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34501         [BZ #12852]
34502         * posix/glob.c (glob): Check passed in values before using them in
34503         expressions to avoid some overflows.
34504         (glob_in_dir): Likewise.
34506         [BZ #13007]
34507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34508         check for AVX enablement so that we don't crash with old kernels and
34509         new hardware.
34510         * elf/tst-audit4.c: Add same checks here.
34511         * elf/tst-audit6.c: Likewise.
34513         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34515 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34517         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34519 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34521         * po/cs.po: Update from translation team.
34522         * po/bg.po: Likewise.
34524 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34526         * misc/sys/cdefs.h: Add support for const attribute.
34527         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34528         to gnu_dev_{major,minor,makedev} functions.
34530 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34532         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34534 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34536         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34537         strlen results.
34539 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34542         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34543         register in order to avoid conflicts with the soft frame pointer
34544         being held in r11 when necessary.
34545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34546         (INTERNAL_VSYSCALL_NCS): Likewise.
34548 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34550         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34551         * elf/dl-fini.c (_dl_fini): Adjust caller.
34552         * elf/dl-close.c (_dl_close_worker): Likewise.
34553         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34555 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34557         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34558         "aux_cache->nlibs < 0".
34560         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34561         in the reload-count case.
34563 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34566         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34567         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34568         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34569         * sysdeps/x86_64/multiarch/strcat.S: New file.
34570         * sysdeps/x86_64/multiarch/strncat.S: New file.
34571         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34572         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34573         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34574         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34576         (USE_AS_STRCAT): Define.
34577         Add strcat and strncat support.
34578         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34579         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34580         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34581         * string/strncat.c: Update.
34582         (USE_AS_STRNCAT): Define.
34583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34584         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34585         and i7.
34586         * sysdeps/x86_64/multiarch/init-arch.h
34587         (bit_Prefer_PMINUB_for_stringop): New.
34588         (index_Prefer_PMINUB_for_stringop): Likewise.
34589         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34590         bit_Prefer_PMINUB_for_stringop.
34592 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34594         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34595         buffer64.
34596         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34597         of casting of buffer.
34598         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34599         buffer32 and buffer64.
34600         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34601         writes instead of casting of buffer.
34602         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34603         buffer32.
34604         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34605         casting of buffer.
34607 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34609         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34611 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34613         * nscd/nscd.c (termination_handler): Don't do anything for a database
34614         if it has not yet been initialized.
34616 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34618         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34620 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34622         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34624 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34626         * po/nl.po: Update from translation team.
34627         * po/sv.po: Likewise.
34629 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34631         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34632         now disallowed by GCC.
34634         * configure.in (use-default-link): Default to yes if a test -shared
34635         link meets our qualifications.
34636         * configure: Regenerated.
34638         * config.make.in (output-format): New variable.
34639         * configure.in: Check for ld --print-output-format support.
34640         * configure: Regenerated.
34641         * Makerules ($(common-objpfx)format.lds)
34642         [$(output-format) != unknown]: Just use $(output-format),
34643         instead of the linker-script munging.
34645 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34647         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34648         of $(common-objpfx)shlib.lds.
34649         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34651         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34652         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34654         * configure.in (-z relro check): Adjust test code to add a large
34655         writable data section after it.
34656         * configure: Regenerated.
34658 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34660         * configure.in (-z relro check): Fix test code to make the variable
34661         truly const.
34662         * configure: Regenerated.
34664 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34666         * nscd/nscd.h (struct traced_file): Define.
34667         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34668         elements.  Add traced_files.
34669         (inotify_fd): Declare.
34670         (register_traced_file): Declare.
34671         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34672         (inotify_fd): Export.
34673         (resolv_conf_descr): Remove.
34674         (nscd_init): Move inotify descriptor creation to main.
34675         Don't register files for notification here.
34676         (register_traced_file): New function.
34677         (invalidate_cache): Don't use reset_res to determine whether to call
34678         res_init, go through the list of registered files.
34679         (main_loop_poll): The inotify descriptors are now stored in the
34680         structures for the traced files.
34681         (main_loop_epoll): Likewise
34682         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34683         to __nss_disable_nscd.
34684         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34685         for a database anymore.  Check the records for all the registered
34686         files instead.
34687         * nss/Makefile (libnss_files-routines): Add files-init.
34688         (libnss_db-routines): Add db-init.
34689         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34690         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34691         * nss/nss_db/db-init.c: New file.
34692         * nss/nss_files/files-init.c: New file.
34693         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34694         __nss_lookup_function.
34695         (__nss_lookup_function): Call nss_load_library.
34696         (nss_load_all_libraries): New function.
34697         (__nss_disable_nscd): Take parameter with callback function for files
34698         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34699         used for the cached services.
34700         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34701         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34702         options for features to all the files in nscd.
34704         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34706 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34708         * csu/elf-init.c (__libc_csu_init): Comment typo.
34710 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34712         * po/pl.po: Update from translation team.
34713         * po/ja.po: Likewise.
34714         * po/ru.po: Likewise.
34715         * po/ko.po: Likewise.
34716         * po/fr.po: Likewise.
34718 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34720         * configure.in (.ctors/.dtors header and trailer check):
34721         Use an empirical test on a built program.
34722         * configure: Regenerated.
34724         * configure.in (-z relro check): Use an empirical test on a built DSO.
34725         Detect, but do not require, on ia64.
34726         * configure: Regenerated.
34728         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34729         Update tests that use readelf to use $READELF instead.
34730         * configure: Regenerated.
34732 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34734         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34735         if the result is not used.
34737 2011-07-05  Andreas Jaeger  <aj@suse.de>
34739         [BZ#9696]
34740         * stdlib/tst-strtod.c: Add testcase.
34742 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34744         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34745         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34746         The latter has a higher limit.  Take additional parameter to pass to
34747         the new function.
34748         (__pathconf): Pass file to __statfs_link_max.
34749         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34750         __statfs_link_max.
34751         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34752         __statfs_link_max.
34754         [BZ #12868]
34755         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34756         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34757         Handle Lustre.
34758         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34759         (__statfs_filesize_max): Likewise.
34760         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34762 2011-07-05  Andreas Jaeger  <aj@suse.de>
34764         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34766 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34768         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34769         `status' variable.
34770         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34771         Likewise.
34773 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34775         * Makefile (strop-tests): Add strncat.
34776         * string/test-strncat.c: New file.
34778 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34780         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34782 2011-06-21  Andreas Jaeger  <aj@suse.de>
34784         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34785         Copy rule from iconvdata/Makefile.
34787 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34789         [BZ #12922]
34790         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34791         but no long options are defined, just return 'W'.
34793 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34795         [BZ #9696]
34796         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34798 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34800         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34801         netgroups to read.
34802         (innetgr): Likewise.
34804 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34806         * config.make.in (install_root): Default to $(DESTDIR).
34808 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34810         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34812 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34814         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34816         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34817         containing directory rather than embedding absolute directory names.
34819         * scripts/check-local-headers.sh: Rewritten using awk.
34820         Match by word, not by line.  Print error messages for matches.
34821         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34823         * Makerules [shlib-lds-flags empty]:
34824         ($(common-objpfx)libc_pic.opts): New target.
34825         ($(common-objpfx)libc_pic.os.clean): New target.
34826         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34828         * config.make.in (OBJCOPY): New variable.
34829         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34830         * configure: Regenerated.
34832         * config.make.in (use-default-link): New variable.
34833         * configure.in (use_default_link): Grok --with-default-link to set it.
34834         * configure: Regenerated.
34835         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34836         (shlib-lds, shlib-lds-flags): Define to empty.
34838         * Makerules (shlib-lds): New variable.
34839         (shlib-lds-flags): New variable.
34840         (build-shlib, build-moduile, build-module-asneeded): Use it.
34841         ($(common-objpfx)libc.so): Use $(shlib-lds).
34842         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34843         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34845         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34846         DT_FLAGS/DT_FLAGS_1 with zero flags.
34848         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34849         linker script munging.
34851 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34853         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34854         as 128-bit value.
34855         * crypt/sha512.c (sha512_process_block): Perform total addition using
34856         128-bit if possible.
34857         (__sha512_finish_ctx): Likewise.
34858         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34859         as 64-bit value.
34860         * crypt/sha256.c (SWAP64): Define.
34861         (sha256_process_block): Perform total addition using 64-bit if
34862         possible.
34863         (__sha256_finish_ctx): Likewise.
34865 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34867         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34869         * nscd/hstcache.c (cache_addhst): Likewise.
34870         * nscd/grpcache.c (cache_addgr): Likewise.
34871         * nscd/aicache.c (addhstaiX): Likewise
34872         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34874 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34876         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34877         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34878         * nscd/hstcache.c (cache_addhst): Likewise.
34879         * nscd/grpcache.c (cache_addgr): Likewise.
34880         * nscd/aicache.c (addhstaiX): Likewise
34882 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34884         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34885         domain only when needed.
34887 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34890         is always restored.
34892 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34894         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34895         are re-adding the entry.
34896         * nscd/servicescache.c (cache_addserv): Likewise.
34898 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34900         * sysdeps/generic/dl-irel.h: fix protection against multiple
34901         inclusions.
34902         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34904 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34906         [BZ #12935]
34907         * malloc/memusage.sh: Fix quoting in message.
34908         * debug/xtrace.sh: Likewise.
34910         * configure.in: Remove support for --experimental-malloc option, make
34911         it the default.
34912         * config.make.in: Likewise.
34913         * malloc/Makefile: Likewise.
34915 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34917         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34918         two-byte characters.
34920 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34922         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34923         AC_CACHE_CHECK invocation.
34924         * configure: Regenerated.
34926         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34928 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34930         [BZ #12350]
34931         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34932         bit from old_res_options.
34934         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34936         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34937         value type for setfct.
34939 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34942         __gettimeofday instead of gettimeofday.
34944 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34946         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34948 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34950         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34953         info.
34955 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34958         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34959         strcpy-sse2-unaligned strncpy-sse2-unaligned
34960         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34961         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34962         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34963         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34964         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34965         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34967         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34968         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34969         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34970         (STRCPY): Support SSE2 and SSSE3 versions.
34972 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34974         [BZ #12874]
34975         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34976         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34977         kernels which artificially limit size of requests.
34979 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34982         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34983         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34984         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34985         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34986         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34987         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34988         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34989         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34991         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34992         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34993         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34994         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34995         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34997         Enable unaligned load optimization for Intel Core i3, i5 and i7
34998         processors.
34999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35000         Define.
35001         (index_Fast_Unaligned_Load): Define.
35002         (HAS_FAST_UNALIGNED_LOAD): Define.
35004 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35006         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35008 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35010         [BZ #12907]
35011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35012         until it is clear that the information is realy needed.
35013         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35015 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35019 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35021         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35022         /sys/devices/system/cpu/online if it is usable.
35024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35025         reading the information from the /proc filesystem to once a second.
35027 2011-06-21  Andreas Jaeger  <aj@suse.de>
35029         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35030         NULL after inclusion of kernel headers.
35032 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35034         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35035         calls to internal_setent.
35037         [BZ #12885]
35038         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35039         addresses using gethostbyname4_r ignore IPv4 addresses.
35041         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35042         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35044         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35046 2011-06-20  David S. Miller  <davem@davemloft.net>
35048         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35049         inclusions.
35050         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35052         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35053         (elf_irel): Use it.
35054         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35055         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35056         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35057         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35058         * sysdeps/x86_64/dl-irel.h: Likewise.
35060         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35061         * elf/dl-sym.c: Likewise.
35063 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35065         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35066         need to dereference resplen2.
35068 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35070         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35072 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35074         * Makeconfig: Define vardbdir and inst_vardbdir.
35075         * nss/Makefile: Add rules to install db-Makefile.
35077         * nss/nss_db/db-XXX.c: Cleanup.
35079         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35080         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35081         GLIBC_PRIVATE.
35082         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35083         * nss/makedb.c: Implement -g option to specify that value strings
35084         are generated and should not be added to table iterated over for
35085         get*ent calls.
35086         * nss/nss_db/db-initgroups.c: New file.
35088         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35089         interface.
35091         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35092         (internal_getgrouplist): Adjust to name change.
35093         Update use_initgroups_entry if this is not the first call.
35094         * nss/databases.def: Add initgroups entry.
35096         * nss/makedb.c (compute_tables): Check result of multiple hash table
35097         sizes to minimize maximum chain length.
35099 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35101         * Versions.def: Add entry for libnss_db.
35102         * shlib-versions: Likewise.
35103         * nss/Makefile: Add rules to build libnss_db.
35104         * nss/Versions: Add libnss_db information.  Organize libnss_files
35105         entries better.
35106         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35107         makedb progra.  Some minor improvements to generate smaller files.
35108         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35109         here from...
35110         * nss/makedb.c: ...here.
35111         Improve database format to be smaller and require less memory at
35112         runtime.
35113         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35114         db anymore.
35115         * nss/nss_db/db-netgrp.c: Likewise.
35116         * nss/nss_db/db-open.c: Likewise.
35117         * nss/nss_files/flies-XXX.x: Adjust comments.
35118         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35119         * nss/nss_files/files-grp.c: Likewise.
35120         * nss/nss_files/files-hosts.c: Likewise.
35121         * nss/nss_files/files-network.c: Likewise.
35122         * nss/nss_files/files-proto.c: Likewise.
35123         * nss/nss_files/files-pwd.c: Likewise.
35124         * nss/nss_files/files-rpc.c: Likewise.
35125         * nss/nss_files/files-service.c: Likewise.
35126         * nss/nss_files/files-sgrp.c: Likewise.
35127         * nss/nss_files/files-spwd.c: Likewise.
35128         * nss/nss_db/db-alias.c: Removed.
35129         * nss/nss_db/dummy-db.h: Removed.
35131 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35133         * nss/makedb.c: Rewritten to not use database library.
35134         * nss/Makefile: Update to build new makedb program.
35136 2011-06-14  Andreas Jaeger  <aj@suse.de>
35138         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35139         memset declaration.
35141 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35144         tmpbuf.
35146 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35148         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35149         * elf/Makefile ($(objpfx)ld.so): Likewise.
35151         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35152         Don't list ld.so twice in dependencies.
35154         * posix/bug-regex31.c: Include <stdlib.h>.
35156         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35158         * nis/nss_compat/compat-spwd.c
35159         (getspent_next_nss_netgr): Remove unused variable.
35160         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35162         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35163         nonmembers" output to use the right array.
35165         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35167         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35169         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35170         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35171         * catgets/gencat.c (read_input_file): Likewise.
35172         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35174         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35175         variable definition inside #if's controlling its use.
35177         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35179         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35181         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35183         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35184         unreachable code.
35186         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35188         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35189         * configure: Regenerated.
35191         * Makerules: Revert last change.
35192         * elf/Makefile: Likewise.
35194 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35196         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35197         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35198         (reloc-link): Likewise.
35200 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35202         * elf/Makefile: Add rules to build pldd.
35203         * elf/pldd.c: New file.
35204         * elf/pldd-xx.c: New file.
35206 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35208         * version.h: Update for 2.15 development version.
35210 2011-06-07  David S. Miller  <davem@davemloft.net>
35212         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35213         ifuncs.
35214         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35215         elf_machine_lazy_rel): Likewise.
35216         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35217         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35218         elf_machine_lazy_rel): Likewise.
35219         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35220         dl_hwcap via passed in argument.
35221         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35222         Likewise.
35224 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35226         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35228 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35230         [BZ #12849]
35231         * manual/fdl-1.1.texi: New file, verbatim from:
35232         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35233         * manual/lgpl-2.1.texi: New file, verbatim from:
35234         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35235         * manual/Makefile (licenses): New variable, list those new file names.
35236         (texis): Use it.
35237         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35239         * manual/fdl.texi: File removed.
35240         * manual/lesser.texi: File removed.
35241         * manual/libc.texinfo (Copying, Documentation License):
35242         Use new @include file names, put @appendix directive before @include.
35244 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35246         [BZ #12841]
35247         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35248         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35249         (mq_open): Add __NTH.
35251 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35254         Assume Intel Core i3/i5/i7 processor if AVX is available.
35256 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35259         typo.
35261 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35264         memory.  Use alloca_account.  Fix memory leak when retrying.
35266 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35268         * version.h (RELEASE): Bump for 2.14 release.
35269         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35271         * config.make.in (RANLIB): Remove entry.
35273 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35275         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35276         (libc.pot): Work around missing support for .ksh extension in xgettext.
35278         [BZ #12684]
35279         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35280         if both request failed.
35281         (send_dg): In case of server errors clear resplen or *resplen2.
35283         [BZ #12454]
35284         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35285         when there are multiple maps.
35286         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35287         (_dl_fini): Remove test here.
35289         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35291 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35293         [BZ #12350]
35294         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35295         bit from old_res_options.
35296         (gaih_inet): Likewise.
35298         [BZ #11099]
35299         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35300         as signed.
35302         * resolv/res_init.c (res_setoptions): Make the code more compact.
35304         [BZ #11558]
35305         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35306         set RES_USEVC.
35308         [BZ #11634]
35309         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35311         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35313         [BZ #11781]
35314         * malloc/malloc.h: Declare malloc hook variables as volatile.
35316         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35317         in last patch.
35319         [BZ #11799]
35320         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35321         raise in the comment.
35322         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35323         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35324         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35326 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35328         [BZ #12811]
35329         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35330         grow the buffers more if it already has to be sufficient.
35331         (build_wcs_upper_buffer): Likewise.
35332         * posix/regexec.c (check_matching): Likewise.
35333         (clean_state_log_if_needed): Likewise.
35334         (extend_buffers): Don't enlarge buffers beyond size of the input
35335         buffer.
35336         Patches mostly by Emil Wojak <emil@wojak.eu>.
35337         * posix/bug-regex32.c: New file.
35338         * posix/Makefile (tests): Add bug-regex32.
35340         * locale/findlocale.c (_nl_find_locale): Return right away if
35341         _nl_explode_name failed.
35342         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35344         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35346         * debug/xtrace.sh: Unify messages.
35347         * malloc/memusage.sh: Likewise.
35349         [BZ #12813]
35350         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35351         time symbol from vDSO.  Substitute with vsyscall if not available.
35352         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35353         __vdso_time.
35355         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35356         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35357         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35358         Add sendmmsg and internal_sendmmsg.
35359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35360         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35361         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35363         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35364         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35365         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35367 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35369         [BZ #12813]
35370         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35371         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35372         available.
35373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35374         __vdso_getcpu.
35376         [BZ #12814]
35377         * iconvdata/Makefile (tests): Add bug-iconv9.
35378         * iconvdata/bug-iconv9.c: New file.
35380 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35382         [BZ #12814]
35383         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35385 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35388         (struct user_regs_struct): Change intcs field back to cs.
35390 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35392         * po/ja.po: Update from translation team.
35394 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35396         [BZ #12795]
35397         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35398         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35400 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35402         * stdlib/longlong.h: Update from GCC.
35404 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35406         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35407         parameter name.
35408         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35409         Add parameter name.
35410         (__sysconf): Pass it down.
35412 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35414         [BZ #12671]
35415         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35416         some situations.
35417         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35418         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35419         add in in __libc_use_alloca calls.  Adjust callers.
35420         (glob): Use malloc in some situations.
35422         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35423         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35424         pltexit.
35426 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35428         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35429         and CLOCK_BOOTTIME_ALARM.
35431         [BZ #12782]
35432         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35433         is returned.
35435         * string/_strerror.c (__strerror_r): Print negative errors as signed
35436         numbers.
35438         [BZ #12777]
35439         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35440         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35441         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35443         * configure.in: Fix typo in redirection and correct removal of test
35444         files in two cases.
35446         [BZ #12788]
35447         * locale/setlocale.c (new_composite_name): Fix test to check for
35448         identical name of all categories.
35450         [BZ #12792]
35451         * libio/filedoalloc.c (local_isatty): New function.
35452         (_IO_file_doallocate): Use local_isatty.
35453         * stdio-common/perror.c (perror): In case a new stream is used
35454         forward the stream error.
35455         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35456         error flag.
35458 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35460         [BZ #11869]
35461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35462         alloca.
35463         * include/alloca.h (extend_alloca_account): Define.
35465         [BZ #11857]
35466         * posix/regex.h: Fix comments with documentation of user-accessible
35467         fields after compilation and describe correct free'ing of pattern
35468         after re_compile_pattern.
35469         Patch by Reuben Thomas <rrt@sc3d.org>.
35471 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35473         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35474         and -mno-altivec to prevent the compiler from using Altivec and/or
35475         VSX instructions when the corresponding registers are not available.
35477 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35479         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35481 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35483         * libio/freopen.c (freopen): Use __dup2, not dup2.
35484         * libio/freopen64.c (freopen64): Likewise.
35486 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35488         [BZ #12775]
35489         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35490         * math/Makefile (tests): Add test-powl.
35491         (CFLAGS-test-powl.c): Define.
35492         * math/test-powl.c: New file.
35494 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35496         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35498 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35500         [BZ #11837]
35501         * iconvdata/gb18030.c: Update to GB18020-2005.
35503 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35505         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35506         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35507         Patch by Aharon Robbins <arnold@skeeve.com>.
35509         [BZ #11892]
35510         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35511         on the stack.
35513         [BZ #11895]
35514         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35515         through underflows.
35517         [BZ #12766]
35518         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35519         point to strings before performing equality test for error_one_per_line
35520         mode.
35522         [BZ #11697]
35523         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35525         [BZ #11820]
35526         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35527         (struct user_fpregs_struct): Avoid __uint*_t types.
35529         [BZ #6420]
35530         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35531         symbol info.  Use it instead of calling _dl_addr locally.
35532         (lock_and_info): New function.
35533         (tr_freehook): Call lock_and_info and pass symbol info as additional
35534         parameter to tr_where.
35535         (tr_mallochook): Likewise.
35536         (tr_reallochook): Likewise.
35537         (tr_memalignhook): Likewise.
35539         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35540         used and couldn't be at all thread-safe.
35542 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35544         * libio/freopen.c (freopen): Don't close old file descriptor
35545         before the new one is opened.  Instead dup the new file descriptor
35546         to the old one after the new stream is created.
35547         * libio/freopen64.c (freopen64): Likewise.
35548         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35549         * libio/fileops.c (_IO_new_file_close_it): Handle new
35550         _IO_FLAGS2_NOCLOSE flag.
35551         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35552         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35553         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35554         _IO_FLAGS2_NOCLOSE flag.
35555         * include/unistd.h: Add hidden_proto for dup3.
35556         Define __have_dup3.
35557         * io/dup3.c: Define hidden symbol.
35558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35560         [BZ #7101]
35561         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35562         when an incomplete long option is used.
35563         * posix/tst-getopt_long1.c: New file.
35564         * posix/Makefile (tests): Add tst-getopt_long1.
35566         [BZ #10138]
35567         * scripts/config.guess: Update from autoconf-2.68.
35568         * scripts/config.sub: Likewise.
35570         [BZ #10157]
35571         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35572         tests into ...
35573         (has_cpuclock): ...this.  New function.
35574         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35575         macro here based on has_cpuclock code.
35577         [BZ #10149]
35578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35579         First byte (not low byte) is now always NUL.
35580         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35582         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35583         Use non-cancelable interfaces.
35585         [BZ #9809]
35586         * locale/iso-639.def: Add entry for Sorani.
35588         [BZ #11901]
35589         * include/stdlib.h: Move include protection to the right place.
35590         Define abort_msg_s.  Declare __abort_msg with it.
35591         * stdlib/abort.c (__abort_msg): Adjust type.
35592         * assert/assert.c (__assert_fail_base): New function.  Majority
35593         of code from __assert_fail.  Allocate memory for __abort_msg with
35594         mmap.
35595         (__assert_fail): Now call __assert_fail_base.
35596         * assert/assert-perr.c: Remove bulk of implementation.  Use
35597         __assert_fail_base.
35598         * include/assert.hL Declare __assert_fail_base.
35599         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35600         mmap.
35601         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35603 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35605         [BZ #11952]
35606         [BZ #12453]
35607         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35608         until all modules are registered in the DTV.
35609         * elf/Makefile: Add rules to build and run tst-tls19.
35610         * elf/tst-tls19.c: New file.
35611         * elf/tst-tls19mod1.c: New file.
35612         * elf/tst-tls19mod2.c: New file.
35613         * elf/tst-tls19mod3.c: New file.
35614         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35616         [BZ #12083]
35617         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35618         correctly.
35620         [BZ #12601]
35621         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35622         two-byte sequence errors.
35623         * iconvdata/Makefile (tests): Add bug-iconv8.
35624         * iconvdata/bug-iconv8.c: New file.
35626         [BZ #12626]
35627         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35628         buf2 definition.
35630         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35632         [BZ #12432]
35633         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35634         (dummy_getcfa): New function.
35635         (init): Get _Unwind_GetCFA address, use dummy if not found.
35636         (backtrace_helper): In recursion check, also check whether CFA changes.
35637         (__backtrace): Completely initialize arg.
35639         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35640         storing incomplete byte sequence in state object.  Avoid testing for
35641         guaranteed too small input if we know there is enough data available.
35643 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35645         * Makeconfig (+link-pie): Indent.
35646         * Rules (binaries-pie): Define if $(have-fpie) and
35647         $(build-shared).
35648         (binaries-shared): Also filter out $(binaries-pie).
35649         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35650         * nscd/Makefile (others-pie): Add nscd.
35651         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35652         ($(objpfx)nscd): Remove command override.
35653         * login/Makefile (others-pie): Add pt_chown.
35654         ($(objpfx)pt_chown): Remove command override.
35655         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35656         remove command overrides.
35658 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35660         * libio/tst_putwc.c: Fix error messages.
35662         [BZ #12724]
35663         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35664         currently writing and seek to current position when not.
35665         * libio/Makefile (tests): Add bug-fclose1.
35666         * libio/bug-fclose1.c: New file.
35668 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35670         [BZ #12511]
35671         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35672         don't set DF_1_NODELETE here.
35673         (do_lookup_x): When entering new entry test for copy relocation
35674         and if necessary set DF_1_NODELETE flag.
35675         * elf/tst-unique4.cc: New file.
35676         * elf/tst-unique4.h: New file.
35677         * elf/tst-unique4lib.cc: New file.
35678         * elf/Makefile: Add rules to build and run tst-unique4.
35679         Patch by Piotr Bury <pbury@goahead.com>.
35681 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35683         [BZ #12052]
35684         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35686         [BZ #12625]
35687         * misc/mntent_r.c (addmntent): Flush the stream after the output
35689         [BZ #12393]
35690         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35691         (is_trusted_path_normalize): Skip initial colon.  Append slash
35692         to empty buffer.  Duplicate is_trusted_path code but allow
35693         constructed patch to be prefix.
35694         (is_dst): Allow $ORIGIN followed by /.
35695         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35696         Correct testing of result of is_trusted_path_normalize
35697         (decompose_rpath): Fix warning.
35699 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35701         [BZ #11257]
35702         * grp/initgroups.c (internal_getgrouplist): When we found the service
35703         list through the initgroups entry in nsswitch.conf do not always
35704         continue on a successful lookup.  Don't always use the
35705         __nss_group_database value if it is set.
35706         * nss/nsswitch.conf (initgroups): Change action for successful db
35707         lookup to continue for compatibility.
35709 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35711         [BZ #11532]
35712         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35713         and CP774 modules.
35714         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35715         and CP774 modules.
35716         * iconvdata/tst-tables.sh: Likewise.
35717         * iconvdata/cp770.c: New file.
35718         * iconvdata/cp771.c: New file.
35719         * iconvdata/cp772.c: New file.
35720         * iconvdata/cp773.c: New file.
35721         * iconvdata/cp774.c: New file.
35722         * iconvdata/testdata/CP770: New file.
35723         * iconvdata/testdata/CP770..UTF8: New file.
35724         * iconvdata/testdata/CP771: New file.
35725         * iconvdata/testdata/CP771..UTF8: New file.
35726         * iconvdata/testdata/CP772: New file.
35727         * iconvdata/testdata/CP772..UTF8: New file.
35728         * iconvdata/testdata/CP773: New file.
35729         * iconvdata/testdata/CP773..UTF8: New file.
35730         * iconvdata/testdata/CP774: New file.
35731         * iconvdata/testdata/CP774..UTF8: New file.
35733         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35734         END CHARMAP line.
35735         * iconvdata/gen-8bit-gap.sh: Likewise.
35736         * iconvdata/gen-8bit.sh: Likewise.
35738         * locale/iso-639.def: Add ary entry.
35740         [BZ #11258]
35741         * locale/C-translit.h.in: Add U20A1 transliteration.
35743         [BZ #12178]
35744         * locale/iso-639.def: Add wae entry.
35745         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35747         [BZ #12545]
35748         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35749         for n.
35751         [BZ #12711]
35752         * locale/C-translit.h.in: Add entry for U20B9.
35753         Patch by pravin.d.s@gmail.com.
35755 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35757         [BZ #12713]
35758         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35759         ENAMETOOLONG use generic getcwd.
35760         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35761         in rtld.  Use *stat64.
35762         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35763         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35764         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35765         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35766         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35767         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35768         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35769         __fstatat64 macros.
35770         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35771         * dirent/rewinddir.c: Add libc_hidden_def.
35772         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35773         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35775         * include/dirent.h (__alloc_dir): Add flags parameter.
35776         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35777         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35778         __alloc_dir.
35779         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35780         from fdopendir if O_CLOEXEC is already set.
35782 2011-03-15  Alan Modra  <amodra@gmail.com>
35784         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35785         l_tls_firstbyte_offset non-zero.  Save padding offset in
35786         l_tls_firstbyte_offset for later use.
35787         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35788         freeing static tls block.
35790 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35792         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35793         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35794         being defined by the kernel headers.
35796 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35798         [BZ #12734]
35799         * resolv/resolv.h: Define RES_NOTLDQUERY.
35800         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35801         no-tld-query and set RES_NOTLDQUERY.
35802         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35803         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35804         modern BIND to search name as TLD unless forbidden.
35806 2011-05-07  Petr Baudis  <pasky@suse.cz>
35807             Ulrich Drepper  <drepper@gmail.com>
35809         [BZ #12393]
35810         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35811         (is_trusted_path): ...to here.
35812         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35813         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35814         using is_trusted_path_normalize() in setuid scripts.
35816 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35818         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35819         __BEGIN/__END_DECLS.
35821 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35824         NSS_STATUS_NOTFOUND if no record was found.
35826 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35828         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35829         (headers-not-in-tirpc): Remove rpc/netdb.h
35830         * resolv/netdb.h: Revert last change.
35832 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35834         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35835         circular dependency between libgcc.a and libc.a.
35837 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35839         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35840         * nis/Makefile: Don't install rpcsvc/*.
35841         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35842         instead of <rpc/types.h>.
35843         (MAXHOSTNAMELEN): Define.
35845 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35847         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35849 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35851         [BZ #12714]
35852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35853         gethostbyname4_r when IPv6 results are possible.
35855 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35857         [BZ #12723]
35858         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35859         _PC_PIPE_BUF handling.
35861 2011-04-30  Bruno Haible  <bruno@clisp.org>
35863         [BZ #12717]
35864         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35865         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35866         to 'int'.
35867         * inet/getnameinfo.c (getnameinfo): Likewise.
35869 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35871         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35872         to groups setting in database lookup.
35873         * nss/nsswitch.conf: Add initgroups entry.
35875 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35877         [BZ #12685]
35878         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35879         mode string.
35880         Patch by Eric Blake <eblake@redhat.com>.
35882 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35884         * sunrpc/Makefile (need-export-routines): Add svc_run.
35885         (routines): Remove svc_run.
35886         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35887         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35888         * sunrpc/svc_run.c (svc_run): Likewise.
35889         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35891 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35893         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35894         problem in reallocation in last patch.
35896 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35898         * sunrpc/Makefile: Move inclusion of Rules.
35900 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35902         * nss/nss_files/files-initgroups.c: New file.
35903         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35904         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35905         _nss_files_initgroups_dyn.
35907 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35909         * elf/elf.h (R_ARM_IRELATIVE): Define.
35911 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35913         * po/ru.po: Update from translation team.
35915 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35917         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35918         dependencies.
35920 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35922         [BZ #12653]
35923         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35924         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35929 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35931         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35932         differing bytes.
35933         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35934         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35937 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35939         [BZ #12420]
35940         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35941         storing it.
35942         * stdlib/bug-getcontext.c: New file.
35943         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35945 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35947         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35948         instructions into .machine "z9-109".
35949         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35950         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35952 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35954         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35955         between environment variables and auxiliary vector.
35957 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35959         * Makefile: Add rules to build linkobj/libc.so.
35960         * include/libc-symbols.h: Define libc_hidden_nolink.
35961         * include/rpc/auth.h: Mark functions which are to be hidden.
35962         * include/rpc/auth_des.h: Likewise.
35963         * include/rpc/auth_unix.h: Likewise.
35964         * include/rpc/clnt.h: Likewise.
35965         * include/rpc/des_crypt.h: Likewise.
35966         * include/rpc/key_prot.h: Likewise.
35967         * include/rpc/pmap_clnt.h: Likewise.
35968         * include/rpc/pmap_prot.h: Likewise.
35969         * include/rpc/pmap_rmt.h: Likewise.
35970         * include/rpc/rpc_msg.h: Likewise.
35971         * include/rpc/svc.h: Likewise.
35972         * include/rpc/svc_auth.h: Likewise.
35973         * include/rpc/xdr.h: Likewise.
35974         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35975         * nss/Makefile: Likewise.
35976         * sunrpc/Makefile: Don't install headers.  Build library with normal
35977         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35978         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35979         for the compat linking library.  Remove use of INTDEF/INTUSE.
35980         * sunrpc/auth_none.c: Likewise.
35981         * sunrpc/auth_unix.c: Likewise.
35982         * sunrpc/authdes_prot.c: Likewise.
35983         * sunrpc/authuxprot.c: Likewise.
35984         * sunrpc/clnt_gen.c: Likewise.
35985         * sunrpc/clnt_perr.c: Likewise.
35986         * sunrpc/clnt_raw.c: Likewise.
35987         * sunrpc/clnt_simp.c: Likewise.
35988         * sunrpc/clnt_tcp.c: Likewise.
35989         * sunrpc/clnt_udp.c: Likewise.
35990         * sunrpc/clnt_unix.c: Likewise.
35991         * sunrpc/des_crypt.c: Likewise.
35992         * sunrpc/des_soft.c: Likewise.
35993         * sunrpc/get_myaddr.c: Likewise.
35994         * sunrpc/key_call.c: Likewise.
35995         * sunrpc/key_prot.c: Likewise.
35996         * sunrpc/netname.c: Likewise.
35997         * sunrpc/pm_getmaps.c: Likewise.
35998         * sunrpc/pm_getport.c: Likewise.
35999         * sunrpc/pmap_clnt.c: Likewise.
36000         * sunrpc/pmap_prot.c: Likewise.
36001         * sunrpc/pmap_prot2.c: Likewise.
36002         * sunrpc/pmap_rmt.c: Likewise.
36003         * sunrpc/publickey.c: Likewise.
36004         * sunrpc/rpc_cmsg.c: Likewise.
36005         * sunrpc/rpc_common.c: Likewise.
36006         * sunrpc/rpc_dtable.c: Likewise.
36007         * sunrpc/rpc_prot.c: Likewise.
36008         * sunrpc/rpc_thread.c: Likewise.
36009         * sunrpc/rtime.c: Likewise.
36010         * sunrpc/svc.c: Likewise.
36011         * sunrpc/svc_auth.c: Likewise.
36012         * sunrpc/svc_authux.c: Likewise.
36013         * sunrpc/svc_raw.c: Likewise.
36014         * sunrpc/svc_run.c: Likewise.
36015         * sunrpc/svc_simple.c: Likewise.
36016         * sunrpc/svc_tcp.c: Likewise.
36017         * sunrpc/svc_udp.c: Likewise.
36018         * sunrpc/svc_unix.c: Likewise.
36019         * sunrpc/svcauth_des.c: Likewise.
36020         * sunrpc/xcrypt.c: Likewise.
36021         * sunrpc/xdr.c: Likewise.
36022         * sunrpc/xdr_array.c: Likewise.
36023         * sunrpc/xdr_float.c: Likewise.
36024         * sunrpc/xdr_intXX_t.c: Likewise.
36025         * sunrpc/xdr_mem.c: Likewise.
36026         * sunrpc/xdr_rec.c: Likewise.
36027         * sunrpc/xdr_ref.c: Likewise.
36028         * sunrpc/xdr_sizeof.c: Likewise.
36029         * sunrpc/xdr_stdio.c: Likewise.
36031 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36033         [BZ #12650]
36034         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36035         * sysdeps/ia64/dl-tls.h: Likewise.
36036         * sysdeps/powerpc/dl-tls.h: Likewise.
36037         * sysdeps/s390/dl-tls.h: Likewise.
36038         * sysdeps/sh/dl-tls.h: Likewise.
36039         * sysdeps/sparc/dl-tls.h: Likewise.
36040         * sysdeps/x86_64/dl-tls.h: Likewise.
36041         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36043 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36045         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36046         rpath element also skip the following colon.
36047         (expand_dynamic_string_token): Add is_path parameter and pass
36048         down to DL_DST_REQUIRED and _dl_dst_substitute.
36049         (decompose_rpath): Call expand_dynamic_string_token with
36050         non-zero is_path.  Ignore empty rpaths.
36051         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36052         with zero is_path.
36054 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36057         Make cancelable.
36059 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36061         [BZ #12655]
36062         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36063         Patch by Filipe David Manana <fdmanana@apache.org>.
36065 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36068         Maintain aligned stack.
36069         (CHECK_RSP): Remove unused macro.
36071 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36073         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36074         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36076 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36078         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36080         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36082 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36084         [BZ #12518]
36085         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36086         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36087         * sysdeps/x86_64/memmove.c: New file.
36088         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36089         (memcpy): Renamed to ...
36090         (__new_memcpy): This.
36091         (memcpy): Provide GLIBC_2_14 memcpy.
36092         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36093         (memcpy): Provide GLIBC_2_2_5 memcpy.
36095 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36097         [BZ #12631]
36098         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36100 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36102         * misc/syncfs.c: New file.
36103         * misc/Makefile (routines): Add syncfs.
36104         * posix/unistd.h: Declare syncfs.
36105         * sysdeps/unix/syscalls.list: Add syncfs.
36107 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36109         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36110         open_by_handle_at.
36111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36112         * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
36117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36119 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36121         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36122         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36123         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36125         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36129         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36130         sync_file_range.c with -fexceptions.
36131         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36132         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36133         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36134         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36135         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36136         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36138         sync_file_range as cancellation point
36139         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36140         now a wrapper around __call_sync_file_range with cancellation handling.
36141         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36142         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36143         function name to __call_sync_file_range.
36144         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36145         Add call_sync_file_range.
36147 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36149         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36150         bits/timex.h.
36152 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36154         * iconv/iconv.h: Fix typo in comment.
36155         * io/fcntl.h: Likewise.
36156         * libio/stdio.h: Likewise.
36157         * posix/spawn.h: Likewise.
36158         * posix/unistd.h: Likewise.
36159         * stdlib/stdlib.h: Likewise.
36160         * time/time.h: Likewise.
36161         * wcsmbs/wchar.h: Likewise.
36163         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36164         open_by_handle): Add.
36165         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36166         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36167         Augment a few comments.
36168         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36173         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36174         open_by_handle.
36176         * io/fcntl.h (AT_EMPTY_PATH): Define.
36178 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36180         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36181         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36182         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36183         to...
36184         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36185         * Versions.def: Add GLIBC_2.14.
36186         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36187         Export.
36189 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36191         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36192         round counter.
36193         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36195 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36197         [BZ #12597]
36198         * string/test-strncmp.c (do_page_test): New function.
36199         (check2): Likewise.
36200         (test_main): Call check2.
36201         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36203 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36205         [BZ #12587]
36206         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36207         Handle cache information in CPU leaf 4.
36208         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36210 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36212         [BZ #12583]
36213         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36214         character representation.
36215         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36217 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36219         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36220         END(__isnan) to END(__isnanf) to match function entry point/label
36221         EALIGN(__isnanf,...).
36223 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36225         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36227 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36229         [BZ #12510]
36230         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36231         copy from the symbol referenced in the relocation to initialize the
36232         used variable.
36233         Patch by Piotr Bury <pbury@goahead.com>.
36234         * elf/Makefile: Add rules to build and tst-unique3.
36235         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36236         * elf/tst-unique3.cc: New file.
36237         * elf/tst-unique3.h: New file.
36238         * elf/tst-unique3lib.cc: New file.
36239         * elf/tst-unique3lib2.cc: New file.
36241         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36243 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36245         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36246         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36247         to _start.
36249 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36251         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36252         to-be-loaded object along a path to loader is ld.so.
36254 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36255             Ulrich Drepper  <drepper@gmail.com>
36257         * sysdeps/x86_64/memset.S: After aligning destination, code
36258         branches to different locations depending on the value of
36259         misalignment, when multiarch is enabled. Fix this.
36261 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36263         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36264         Set _x86_64_preferred_memory_instruction for AMD processsors.
36265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36266         Set bit_Prefer_SSE_for_memop for AMD processors.
36268 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36270         * libio/fmemopen.c (fmemopen): Optimize a bit.
36272 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36274         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36276 2011-03-03  Roland McGrath  <roland@redhat.com>
36278         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36280 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36282         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36283         __bzero_ultra1 instead of __memset_ultra1.
36285 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36286             Ulrich Drepper  <drepper@gmail.com>
36288         [BZ #12509]
36289         * include/link.h (struct link_map): Add l_orig_initfini.
36290         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36291         returning unsuccessfully.
36292         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36293         close of a file loaded at startup, restore the original l_initfini
36294         list.
36295         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36296         list, store the pointer.
36297         * elf/Makefile ($(objpfx)noload-mem): New rule.
36298         (noload-ENV): Define.
36299         (tests): Add $(objpfx)noload-mem.
36300         * elf/noload.c: Include <memcheck.h>.
36301         (main): Call mtrace.  Close all opened handles.
36303 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36305         [BZ #12454]
36306         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36307         dependencies are missing.
36309 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36311         Fix __if_freereq crash: Unlike the generic version which uses free,
36312         Hurd needs munmap.
36313         * sysdeps/mach/hurd/ifreq.h: New file.
36315 2011-01-27  Petr Baudis  <pasky@suse.cz>
36316             Ulrich Drepper  <drepper@gmail.com>
36318         [BZ 12445]#
36319         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36320         to extend_alloca().
36321         * stdio-common/bug23.c: New file.
36322         * stdio-common/Makefile (tests): Add bug23.
36324 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36325             Ulrich Drepper  <drepper@gmail.com>
36327         [BZ #12489]
36328         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36329         before performing relro protection.  At old place add assertion
36330         to make sure nothing changed.
36332 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36333             Glauber de Oliveira Costa  <glommer@gmail.com>
36335         * elf/elf.h: Add new ARM TLS relocs.
36337 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36340         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36341         cast from r3.
36342         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36343         'tests' variable.
36344         * sysdeps/wordsize-64/tst-writev.c: New file.
36346 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36348         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36349         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36350         insns in _dl_start to prevent a TOC reference before relocs are
36351         resolved.
36353 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36355         [BZ #12469]
36356         * Makeconfig: Remove RANLIB definition.
36357         * Makerules: Don't use RANLIB.
36358         * aclocal.m4: Remove ranlib test.
36359         * configure.in: No need to check for ranlib.
36360         * elf/rtld-Rules: Don't use RANLIB.
36362 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36364         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36365         protection macro.
36366         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36367         inclusion protection macro.
36369         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36370         SIGRTMIN and SIGRTMAX and print information in that case only when
36371         SIGRTMIN is defined.
36373 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36375         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36376         arginfo fn returning -1.
36378         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36379         and thousands string is zero terminated.
36381 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36384         sysdeps/unix/sysv/linux/bits/socket.h.
36386 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36388         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36389         (__CPU_COUNT): Remove old macros.
36390         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36391         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36392         (__CPU_ALLOC, __CPU_FREE): Add macros.
36393         (__sched_cpualloc, __sched_cpufree): Add declarations.
36395 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36397         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36398         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36399         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36400         (readdhstai): Return value of addhstaiX call.
36401         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36402         (addgrbyX): Return value returned by cache_addgr.
36403         (readdgrbyname): Return value returned by addgrbyX.
36404         (readdgrbygid): Likewise.
36405         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36406         (addpwbyX): Return value returned by cache_addpw.
36407         (readdpwbyname): Return value returned by addhstbyX.
36408         (readdpwbyuid): Likewise.
36409         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36410         (addservbyX): Return value returned by cache_addserv.
36411         (readdservbyname): Return value returned by addservbyX:
36412         (readdservbyport): Likewise.
36413         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36414         (addhstbyX): Return value returned by cache_addhst.
36415         (readdhstbyname): Return value returned by addhstbyX.
36416         (readdhstbyaddr): Likewise.
36417         (readdhstbynamev6): Likewise.
36418         (readdhstbyaddrv6): Likewise.
36419         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36420         (readdinitgroups): Return value returned by addinitgroupsX.
36421         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36422         (prune_cache): Keep track of timeout value of re-added entries.
36423         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36424         * nscd/nscd.h: Adjust prototypes of readd* functions.
36426 2011-02-04  Roland McGrath  <roland@redhat.com>
36428         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36429         (nis_stats): Likewise.
36430         * nis/nis_modify.c (nis_modify): Likewise.
36431         * nis/nis_remove.c (nis_remove): Likewise.
36432         * nis/nis_add.c (nis_add): Likewise.
36434         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36436         * posix/fnmatch_loop.c: Add some consts.
36438         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36440 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36442         [BZ #12460]
36443         * config.make.in (config-cflags-novzeroupper): Define.
36444         * configure.in: Substitute libc_cv_cc_novzeroupper.
36445         * elf/Makefile (AVX-CFLAGS): Define.
36446         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36447         (CFLAGS-tst-auditmod4a.c): Likewise.
36448         (CFLAGS-tst-auditmod4b.c): Likewise.
36449         (CFLAGS-tst-auditmod6b.c): Likewise.
36450         (CFLAGS-tst-auditmod6c.c): Likewise.
36451         (CFLAGS-tst-auditmod7b.c): Likewise.
36452         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36454 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36456         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36457         function to the callback.
36458         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36460 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36462         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36463         of errno.
36465 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36467         [BZ #11724]
36468         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36469         of constructors.
36470         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36471         of destructors.
36472         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36474         [BZ #11724]
36475         * elf/Makefile: Add rules to build and run new test.
36476         * elf/tst-initorder.c: New file.
36477         * elf/tst-initorder.exp: New file.
36478         * elf/tst-initordera1.c: New file.
36479         * elf/tst-initordera2.c: New file.
36480         * elf/tst-initordera3.c: New file.
36481         * elf/tst-initordera4.c: New file.
36482         * elf/tst-initorderb1.c: New file.
36483         * elf/tst-initorderb2.c: New file.
36484         * elf/tst-order-a1.c: New file.
36485         * elf/tst-order-a2.c: New file.
36486         * elf/tst-order-a3.c: New file.
36487         * elf/tst-order-a4.c: New file.
36488         * elf/tst-order-b1.c: New file.
36489         * elf/tst-order-b2.c: New file.
36490         * elf/tst-order-main.c: New file.
36491         New test case by George Gensure <werkt0@gmail.com>.
36493 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36496         decoding ACE if AI_CANONIDN.
36498 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36500         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36502 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36504         * version.h (RELEASE): Bump for 2.13 release.
36505         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36507         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36509         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36510         MADV_NOHUGEPAGE.
36511         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36512         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36513         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36514         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36515         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36518         * posix/getconf.c: Update copyright year.
36519         * catgets/gencat.c: Likewise.
36520         * csu/version.c: Likewise.
36521         * debug/catchsegv.sh: Likewise.
36522         * debug/xtrace.sh: Likewise.
36523         * elf/ldconfig.c: Likewise.
36524         * elf/ldd.bash.in: Likewise.
36525         * elf/sprof.c (print_version): Likewise.
36526         * iconv/iconv_prog.c: Likewise.
36527         * iconv/iconvconfig.c: Likewise.
36528         * locale/programs/locale.c: Likewise.
36529         * locale/programs/localedef.c: Likewise.
36530         * malloc/memusage.sh: Likewise.
36531         * malloc/mtrace.pl: Likewise.
36532         * nscd/nscd.c (print_version): Likewise.
36533         * nss/getent.c: Likewise.
36535         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36536         PF_CAIF, and PF_ALG.
36537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36539 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36541         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36542         (modules-names): Use them.
36543         (ifunc-test-modules, ifunc-pie-tests): Define.
36544         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36545         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36546         (test-extras): Likewise.
36547         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36548         $(compile-command.c).
36549         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36550         (all-built-dso): Define.
36551         (check-textrel.out, check-execstack.out): Depend on it.
36553         * configure.in: Don't override --enable-multi-arch.
36555 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36557         [BZ #6812]
36558         * nscd/hstcache.c (tryagain): Define.
36559         (cache_addhst): Return tryagain not notfound for temporary errors.
36560         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36561         failed.
36563 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36565         [BZ #10563]
36566         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36567         to make the syscall.
36568         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36570         [BZ #12378]
36571         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36572         and fall back to matching as normal character if the string ends before
36573         the matching ']' is found.  This is what POSIX requires.
36574         * posix/testfnm.c: Adjust test result.
36575         * posix/globtest.sh: Adjust test result.  Add new test.
36576         * posix/tst-fnmatch.input: Likewise.
36577         * posix/tst-fnmatch2.c: Add new test.
36579 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36581         * elf/Makefile (check-execstack): Revert last change.  Depend on
36582         check-execstack.h.
36583         (check-execstack.h): New target.
36584         (generated): Add check-execstack.h.
36585         * elf/check-execstack.c: Include "check-execstack.h".
36586         (main): Revert last change.
36587         (handle_file): Return zero if GNU_STACK is absent and
36588         DEFAULT_STACK_PERMS doesn't include PF_X.
36590 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36592         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36593         in child fails because the descriptor is already closed.
36594         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36595         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36596         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36598         [BZ #12397]
36599         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36600         syscall.
36602         [BZ #10484]
36603         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36604         temporary buffer used to handle multi lookups locally.
36605         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36607 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36609         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36610         loader is ld.so.
36612 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36614         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36615         alignment for SSE2.
36617 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36619         [BZ #12394]
36620         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36621         characters.  When rounding increased number of integer digits recompute
36622         number of groups.
36623         * stdio-common/tst-grouping.c: New file.
36624         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36626 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36628         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36629         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36631         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36632         void.
36633         * bits/select.h: Likewise.
36635 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36637         * po/ja.po: Update from translation team.
36639 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36641         [BZ #11155]
36642         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36643         implementation just like for lxstat, fxstatat, et al.
36645 2010-12-27  Jim Meyering  <meyering@redhat.com>
36647         [BZ #12348]
36648         * posix/regexec.c (build_trtable): Return failure indication upon
36649         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36651 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36653         [BZ #12201]
36654         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36655         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36656         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36657         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36659         [BZ #12207]
36660         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36662         [BZ #12204]
36663         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36664         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36666 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36668         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36669         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36670         script has SORT_BY_INIT_PRIORITY.
36671         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36672         NO_CTORS_DTORS_SECTIONS is defined.
36673         * elf/soinit.c: Likewise.
36674         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36675         NO_CTORS_DTORS_SECTIONS is defined.
36676         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36677         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36678         * sysdeps/sh/init-first.c: Likewise.
36679         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36681 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36683         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36684         always use the slow path.
36686 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36688         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36689         similar rule which adds the sysdep directories to the header search in
36690         order to pick up the correct platform stackinfo.h.
36691         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36692         perform test if it is, otherwise return successfully without testing.
36693         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36694         DEFAULT_STACK_PERMS define in stackinfo.h.
36695         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36696         defined in stackinfo.h.
36697         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36698         DEFAULT_STACK_PERMS defined in stackinfo.h.
36699         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36700         * sysdeps/ia64/stackinfo.h: Likewise.
36701         * sysdeps/s390/stackinfo.h: Likewise.
36702         * sysdeps/sh/stackinfo.h: Likewise.
36703         * sysdeps/sparc/stackinfo.h: Likewise.
36704         * sysdeps/x86_64/stackinfo.h: Likewise.
36705         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36706         PF_X for powerpc64.  Retain PF_X for powerpc32.
36708 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36710         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36711         accurately.
36712         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36713         GETDENTS_64BIT_ALIGNED.
36715 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36717         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36719 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36721         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36722         _GNU_SOURCE.
36724         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36725         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36726         Remove __restrict.
36727         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36728         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36730 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36732         [BZ #11655]
36733         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36734         are initialized.
36736 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36738         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36740 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36742         * po/it.po: Update from translation team.
36744 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36746         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36747         unused codes.
36749 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36751         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36753 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36755         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36756         specially.
36757         (gaih_getanswer_slice): Likewise.
36759 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36763 2010-05-31  Petr Baudis  <pasky@suse.cz>
36765         [BZ #11149]
36766         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36767         silently even in the chroot mode.
36769 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36771         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36772         last patch a bit.  Pretty printing
36774 2010-05-31  Petr Baudis <pasky@suse.cz>
36776         [BZ #10085]
36777         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36778         initialization of skip_initgroups_dyn.
36780 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36782         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36783         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36785 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36787         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36789 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36791         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36792         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36793         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36794         ($(objpfx)tst-fnmatch-mem): New rule.
36795         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36796         * posix/tst-fnmatch.c (main): Call mtrace.
36798 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36801         Support Intel processor model 6 and model 0x2c.
36803 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36805         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36806           signed comparison.
36808 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36810         [BZ #12205]
36811         * string/test-strncasecmp.c (check_result): New function.
36812         (do_one_test): Use it.
36813         (check1): New function.
36814         (test_main): Use it.
36815         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36816         Support strcasecmp and strncasecmp.
36818 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36820         [BZ #12194]
36821         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36822         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36824 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36826         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36827         IFUNC support.
36828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36829         memset-x86-64.
36830         * sysdeps/x86_64/multiarch/bzero.S: New file.
36831         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36832         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36833         * sysdeps/x86_64/multiarch/memset.S: New file.
36834         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36836         Set bit_Prefer_SSE_for_memop for Intel processors.
36837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36838         Define.
36839         (index_Prefer_SSE_for_memop): Define.
36840         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36842 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36844         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36845         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36847 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36849         [BZ #12191]
36850         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36851         (__x86_64_raw_data_cache_size_half): Likewise.
36852         (__x86_64_raw_shared_cache_size): Likewise.
36853         (__x86_64_raw_shared_cache_size_half): Likewise.
36855         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36856         (__x86_64_raw_data_cache_size_half): Likewise.
36857         (__x86_64_raw_shared_cache_size): Likewise.
36858         (__x86_64_raw_shared_cache_size_half): Likewise.
36859         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36860         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36861         and __x86_64_raw_shared_cache_size_half.  Round
36862         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36863         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36864         to multiple of 256 bytes.
36866 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36868         [BZ #12167]
36869         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36870         of inacessible symlinks.  Verify result of symlink before returning it.
36871         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36872         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36874 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36876         * math/math.h (isinf): Fix typo in comment.
36878 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36880         * po/da.po: Update from translation team.
36882 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36884         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36885         is added to the list.
36887 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36888             Ulrich Drepper  <drepper@gmail.com>
36890         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36891         the global list here.  Move code to...
36892         (_dl_add_to_namespace_list): ...here.  New function.
36893         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36894         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36895         * elf/dl-load.c (lose): Don't remove the element from the list.
36896         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36897         (_dl_map_object): Likewise.
36899 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36901         [BZ #12159]
36902         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36903         into all bytes of SSE register.
36904         Patch by Richard Li <richardpku@gmail.com>.
36906 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36908         [BZ #12140]
36909         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36910         perturbing.
36912 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36914         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36915         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36916         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36917         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36919         submachine.
36920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36922 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36924         * include/dlfcn.h (__RTLD_SECURE): Define.
36925         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36926         mode & __RTLD_SECURE instead.
36927         (open_path): Rename preloaded parameter to secure.
36928         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36929         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36930         * elf/dl-deps.c (openaux): Likewise.
36931         * elf/rtld.c (struct map_args): Remove is_preloaded.
36932         (map_doit): Don't use it.
36933         (dl_main): Likewise.
36934         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36935         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36937 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36939         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36940         (sysd-rules-targets): Remove duplicates.
36941         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36942         rtld-%.$o dependency.
36944 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36946         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36947         _dl_map_object do it.
36949 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36951         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36952         fast fma builtins, define the macros in the C99 standard.
36953         (FP_FAST_FMAF): Likewise.
36954         (FP_FAST_FMAL): Likewise.
36955         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36957         * bits/mathdef.h: Update copyright year.
36958         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36960 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36962         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36963         builtins, define the macros in the C99 standard.
36964         (FP_FAST_FMAF): Likewise.
36965         (FP_FAST_FMAL): Likewise.
36966         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36967         multiply/add.
36968         (FP_FAST_FMAF): Likewise.
36970 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36972         [BZ #3268]
36973         * math/libm-test.inc (fma_test): Some new testcases.
36974         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36975         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36976         y and infinite z.  Do multiplication by C already in long double.
36977         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36979         y and infinite z.  Do bitwise or of inexact bit into u.d.
36980         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36981         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36982         * sysdeps/i386/fpu/s_fma.S: Removed.
36983         * sysdeps/i386/fpu/s_fmal.S: Removed.
36985 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36987         [BZ #3268]
36988         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36990         computation is not scheduled after fetestexcept.  Fix value
36991         of minimum denormal long double.
36993 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36995         [BZ #3268]
36996         * math/libm-test.inc (fma_test): Add some more tests.
36997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36998         correctly.
37000 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37002         * scripts/data/localplt-s390-linux-gnu.data: New file.
37003         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37005 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37007         [BZ #3268]
37008         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37009         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37010         instead of dbl-64.
37011         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37012         inlines.
37013         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37015         if one of x and y is very large and the other is subnormal.
37016         * sysdeps/s390/fpu/s_fmaf.c: New file.
37017         * sysdeps/s390/fpu/s_fma.c: New file.
37018         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37019         * sysdeps/powerpc/fpu/s_fma.S: New file.
37020         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37021         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37022         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37024 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37026         [BZ #3268]
37027         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37028         fma tests.
37029         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37030         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37031         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37032         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37033         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37034         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37035         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37037 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37039         [BZ #12078]
37040         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37041         * posix/bug-regex31.input: Add test case.
37043 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37045         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37046         * posix/bug-regex31.input: New file.
37048         [BZ #12078]
37049         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37050         (parse_sub_exp): Fix last change, use postorder.
37052         * posix/bug-regex31.c: New file.
37053         * posix/Makefile: Add rules to build and run bug-regex31.
37055         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37057         [BZ #12078]
37058         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37060         [BZ #12108]
37061         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37062         to have entries in sys_siglist.
37064         [BZ #12093]
37065         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37066         be NULL.
37068 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37070         [BZ #3268]
37071         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37072         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37073         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37074         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37075         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37076         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37077         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37078         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37079         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37080         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37081         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37082         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37083         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37084         * math/ftestexcept.c (fetestexcept): Likewise.
37085         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37086         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37087         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37088         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37089         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37090         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37091         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37093 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37095         [BZ #12107]
37096         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37097         newline.
37099 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37101         * string/bug-strstr1.c: New file.
37102         * string/Makefile: Add rules to build and run bug-strstr1.
37104 2010-10-05  Eric Blake  <eblake@redhat.com>
37106         [BZ #12092]
37107         * string/str-two-way.h (two_way_long_needle): Always clear memory
37108         when skipping input due to the shift table.
37110 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37112         [BZ #12005]
37113         * malloc/mcheck.c: Handle large requests.
37115         [BZ #12077]
37116         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37117         for strncmp and strncasecmp.
37118         * string/stratcliff.c: Add tests for strcmp and strncmp.
37119         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37121 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37123         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37124         __set_fpscr.
37126 2010-09-30  Andreas Jaeger  <aj@suse.de>
37128         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37129         (CGROUP_SUPER_MAGIC): Define.
37130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37131         Handle btrfs and cgroup file systems.
37132         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37133         Likewise.
37135 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37137         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37138         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37140 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37142         [BZ #12067]
37143         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37144         trying to locate the ELF header.
37146 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37148         [BZ #11611]
37149         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37150         Mask out sign-bit copies when constructing f_fsid.
37152 2010-09-24  Petr Baudis <pasky@suse.cz>
37154         * debug/stack_chk_fail_local.c: Add missing licence exception.
37155         * debug/warning-nop.c: Likewise.
37157 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37159         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37160         implementing getdents64 using getdents syscall, set d_type if
37161         __ASSUME_GETDENTS32_D_TYPE.
37163 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37165         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37166         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37168 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37170         [BZ #12037]
37171         * posix/unistd.h: Undo change of feature selection for ftruncate from
37172         2010-01-11.
37174 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37176         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37177         detection.
37179 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37181         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37182         fanotify_mark.
37183         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37185 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37187         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37188         variables after CHECK_SP call.
37189         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37191 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37192             Ulrich Drepper  <drepper@redhat.com>
37194         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37195         re-relocationg ld.so.
37196         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37197         _dl_init_paths call.
37198         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37199         here anymore.
37201 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37203         * resolv/res_init.c (__res_vinit): Count the default server we added.
37205 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37206             Ulrich Drepper  <drepper@redhat.com>
37208         [BZ #11968]
37209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37210         (____longjmp_chk): Use %ebx for saving value across system call.
37211         Add unwind info.
37213 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37215         * manual/Makefile: Don't mix pattern rules with normal rules.
37217 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37219         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37220         operation.
37221         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37222         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37223         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37224         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37226         Likewise.
37228 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37230         [BZ #11979]
37231         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37232         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37234 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37236         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37237         * sysdeps/x86_64/addmul_1.S: Likewise.
37238         * sysdeps/x86_64/lshift.S: Likewise.
37239         * sysdeps/x86_64/mul_1.S: Likewise.
37240         * sysdeps/x86_64/rshift.S: Likewise.
37241         * sysdeps/x86_64/sub_n.S: Likewise.
37242         * sysdeps/x86_64/submul_1.S: Likewise.
37244 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37246         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37247         Define __sched_param instead of SCHED_* and sched_param when
37248         <bits/sched.h> is included with __need_schedparam defined.
37249         * bits/sched.h [__need_schedparam]
37250         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37251         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37252         (__defined_schedparam): Define to 1.
37253         (__sched_param): New structure, identical to sched_param.
37254         (__need_schedparam): Undefine.
37256 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37258         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37259         (epoll_create1): Declare.
37261         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37263 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37265         [BZ #7066]
37266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37267         shifting retval into place.
37269 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37271         * nis/rpcsvc/nis.h: Update copyright notice.
37272         * nis/rpcsvc/nis.x: Likewise.
37273         * nis/rpcsvc/nis_callback.h: Likewise.
37274         * nis/rpcsvc/nis_callback.x: Likewise.
37275         * nis/rpcsvc/nis_object.x: Likewise.
37276         * nis/rpcsvc/nis_tags.h: Likewise.
37277         * nis/rpcsvc/yp.h: Likewise.
37278         * nis/rpcsvc/yp.x: Likewise.
37279         * nis/rpcsvc/ypupd.h: Likewise.
37280         * nis/yp_xdr.c: Likewise.
37281         * nis/ypupdate_xdr.c: Likewise.
37283         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37284         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37285         (pmap_getport): Use __libc_rpc_getport.
37286         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37287         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37288         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37290 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37293         fanotify_mark.
37295 2010-08-27  Roland McGrath  <roland@redhat.com>
37297         * sysdeps/i386/i686/multiarch/Makefile
37298         (CFLAGS-varshift.c): New variable.
37300 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37302         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37303         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37305         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37307         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37309 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37311         * sysdeps/x86_64/strlen.S: Unroll the loop.
37312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37313         strlen-sse2 strlen-sse2-bsf.
37314         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37315         __strlen_no_bsf if bit_Slow_BSF is set.
37316         (__strlen_sse42): Removed.
37317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37318         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37320 2010-08-25  Roland McGrath  <roland@redhat.com>
37322         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37323         * sysdeps/x86_64/multiarch/varshift.c: New file.
37324         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37325         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37326         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37329 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37332         strlen-sse2 strlen-sse2-bsf.
37333         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37334         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37335         (__strlen_sse2): Removed.
37336         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37339         bit_Slow_BSF for Atom.
37340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37341         (index_Slow_BSF): Define.
37342         (HAS_SLOW_BSF): Define.
37344 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37346         [BZ #10851]
37347         * resolv/res_init.c (__res_vinit): When no server address at all
37348         is given default to loopback.
37350 2010-08-24  Roland McGrath  <roland@redhat.com>
37352         * configure.in: Remove config-name.h generation.
37353         * configure: Regenerated.
37354         * config-name.in: File removed.
37355         * scripts/config-uname.sh: New file.
37356         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37357         ($(objdir)config-name.h): New target.
37359         * sunrpc/rpc_parse.h: Avoid nested comment.
37361 2010-08-24  Richard Henderson  <rth@redhat.com>
37362             Ulrich Drepper  <drepper@redhat.com>
37363             H.J. Lu  <hongjiu.lu@intel.com>
37365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37367         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37368         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37369         _mm_alignr_epi8 with _mm_loadu_si128.
37370         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37371         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37372         (__m128i_shift_right): Removed.
37373         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37374         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37375         * sysdeps/x86_64/multiarch/varshift.h: New file.
37376         * sysdeps/x86_64/multiarch/varshift.S: New file.
37378 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37380         * configure.in: Move assembler checks to before sysdep dir checking.
37382 2010-08-20  Petr Baudis  <pasky@suse.cz>
37384         * LICENSES: Sync the sunrpc license.
37386 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37388         * sunrpc/auth_des.c: Update copyright notice once again.
37389         * sunrpc/auth_none.c: Likewise.
37390         * sunrpc/auth_unix.c: Likewise.
37391         * sunrpc/authdes_prot.c: Likewise.
37392         * sunrpc/authuxprot.c: Likewise.
37393         * sunrpc/bindrsvprt.c: Likewise.
37394         * sunrpc/clnt_gen.c: Likewise.
37395         * sunrpc/clnt_perr.c: Likewise.
37396         * sunrpc/clnt_raw.c: Likewise.
37397         * sunrpc/clnt_simp.c: Likewise.
37398         * sunrpc/clnt_tcp.c: Likewise.
37399         * sunrpc/clnt_udp.c: Likewise.
37400         * sunrpc/clnt_unix.c: Likewise.
37401         * sunrpc/des_crypt.c: Likewise.
37402         * sunrpc/des_soft.c: Likewise.
37403         * sunrpc/get_myaddr.c: Likewise.
37404         * sunrpc/getrpcport.c: Likewise.
37405         * sunrpc/key_call.c: Likewise.
37406         * sunrpc/key_prot.c: Likewise.
37407         * sunrpc/openchild.c: Likewise.
37408         * sunrpc/pm_getmaps.c: Likewise.
37409         * sunrpc/pm_getport.c: Likewise.
37410         * sunrpc/pmap_clnt.c: Likewise.
37411         * sunrpc/pmap_prot.c: Likewise.
37412         * sunrpc/pmap_prot2.c: Likewise.
37413         * sunrpc/pmap_rmt.c: Likewise.
37414         * sunrpc/rpc/auth.h: Likewise.
37415         * sunrpc/rpc/auth_unix.h: Likewise.
37416         * sunrpc/rpc/clnt.h: Likewise.
37417         * sunrpc/rpc/des_crypt.h: Likewise.
37418         * sunrpc/rpc/key_prot.h: Likewise.
37419         * sunrpc/rpc/netdb.h: Likewise.
37420         * sunrpc/rpc/pmap_clnt.h: Likewise.
37421         * sunrpc/rpc/pmap_prot.h: Likewise.
37422         * sunrpc/rpc/pmap_rmt.h: Likewise.
37423         * sunrpc/rpc/rpc.h: Likewise.
37424         * sunrpc/rpc/rpc_des.h: Likewise.
37425         * sunrpc/rpc/rpc_msg.h: Likewise.
37426         * sunrpc/rpc/svc.h: Likewise.
37427         * sunrpc/rpc/svc_auth.h: Likewise.
37428         * sunrpc/rpc/types.h: Likewise.
37429         * sunrpc/rpc/xdr.h: Likewise.
37430         * sunrpc/rpc_clntout.c: Likewise.
37431         * sunrpc/rpc_cmsg.c: Likewise.
37432         * sunrpc/rpc_common.c: Likewise.
37433         * sunrpc/rpc_cout.c: Likewise.
37434         * sunrpc/rpc_dtable.c: Likewise.
37435         * sunrpc/rpc_hout.c: Likewise.
37436         * sunrpc/rpc_main.c: Likewise.
37437         * sunrpc/rpc_parse.c: Likewise.
37438         * sunrpc/rpc_parse.h: Likewise.
37439         * sunrpc/rpc_prot.c: Likewise.
37440         * sunrpc/rpc_sample.c: Likewise.
37441         * sunrpc/rpc_scan.c: Likewise.
37442         * sunrpc/rpc_scan.h: Likewise.
37443         * sunrpc/rpc_svcout.c: Likewise.
37444         * sunrpc/rpc_tblout.c: Likewise.
37445         * sunrpc/rpc_util.c: Likewise.
37446         * sunrpc/rpc_util.h: Likewise.
37447         * sunrpc/rpcinfo.c: Likewise.
37448         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37449         * sunrpc/rpcsvc/key_prot.x: Likewise.
37450         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37451         * sunrpc/rpcsvc/mount.x: Likewise.
37452         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37453         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37454         * sunrpc/rpcsvc/rex.x: Likewise.
37455         * sunrpc/rpcsvc/rstat.x: Likewise.
37456         * sunrpc/rpcsvc/rusers.x: Likewise.
37457         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37458         * sunrpc/rpcsvc/spray.x: Likewise.
37459         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37460         * sunrpc/rtime.c: Likewise.
37461         * sunrpc/svc.c: Likewise.
37462         * sunrpc/svc_auth.c: Likewise.
37463         * sunrpc/svc_authux.c: Likewise.
37464         * sunrpc/svc_raw.c: Likewise.
37465         * sunrpc/svc_run.c: Likewise.
37466         * sunrpc/svc_simple.c: Likewise.
37467         * sunrpc/svc_tcp.c: Likewise.
37468         * sunrpc/svc_udp.c: Likewise.
37469         * sunrpc/svc_unix.c: Likewise.
37470         * sunrpc/svcauth_des.c: Likewise.
37471         * sunrpc/xcrypt.c: Likewise.
37472         * sunrpc/xdr.c: Likewise.
37473         * sunrpc/xdr_array.c: Likewise.
37474         * sunrpc/xdr_float.c: Likewise.
37475         * sunrpc/xdr_mem.c: Likewise.
37476         * sunrpc/xdr_rec.c: Likewise.
37477         * sunrpc/xdr_ref.c: Likewise.
37478         * sunrpc/xdr_sizeof.c: Likewise.
37479         * sunrpc/xdr_stdio.c: Likewise.
37481         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37482         handling.
37484 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37486         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37488 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37490         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37491         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37492         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37493         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37494         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37495         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37496         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37497         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37499         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37500         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37501         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37502         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37503         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37505 2010-07-26  Anton Blanchard  <anton@samba.org>
37507         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37508         * malloc/arena.c (heap_trim): Likewise.
37510 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37512         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37513         here.  Not...
37514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37515         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37517 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37519         * sysdeps/i386/elf/Makefile: New file.
37521 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37523         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37524         from fanotify_init.
37525         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37528 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37530         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37531         of strncasecmp_l.
37532         * sysdeps/multiarch/strcmp.S: Likewise.
37534 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37536         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37537         strncase_l-nonascii.
37538         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37539         Add strncase_l-ssse3.
37540         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37541         * sysdeps/x86_64/strcmp.S: Likewise.
37542         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37543         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37544         * sysdeps/x86_64/strncase.S: New file.
37545         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37546         * sysdeps/x86_64/strncase_l.S: New file.
37547         * string/Makefile (strop-tests): Add strncasecmp.
37548         * string/test-strncasecmp.c: New file.
37550         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37551         warning.
37553         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37554         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37556 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37558         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37560 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37562         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37563         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37564         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37566 2010-05-01  Alan Modra  <amodra@gmail.com>
37568         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37569         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37570         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37571         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37572         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37573         tidying.  Don't tail-call __sigjmp_save for static lib.
37574         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37575         save location.
37576         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37577         (CALL_MCOUNT): Add eh info, and nop after bl.
37578         (TAIL_CALL_SYSCALL_ERROR): New macro.
37579         (PSEUDO_RET): Use it.
37580         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37581         Correct save location of integer regs and cr.
37582         (_dl_profile_resolve): Correct cr save location.  Delete nops
37583         after bl when SHARED.  Reduce cfi size a little by better
37584         placement of cfi directives.
37585         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37586         make a stack frame.  Instead use parm save area as a temp.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37588         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37590         Don't make a stack frame for parent, use parm save area.
37591         Increase child stack frame to 112 bytes.  Don't save unused reg,
37592         and adjust reg usage.  Set up cfi on error recovery and
37593         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37595         (__makecontext): Add dummy nop after jump to exit.
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37597         Use correct parm save area and cr save, reduce stack frame.
37598         Correct cfi for possible PSEUDO_RET frame setup.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37600         Branch to local label emitted by PSEUDO_RET rather than
37601         __syscall_error.
37603 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37605         [BZ #11904]
37606         * locale/programs/locale.c (print_assignment): New function.
37607         (show_locale_vars): Use it.
37609 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37611         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37612         field.
37613         (struct statfs64): Likewise.
37614         (_STATFS_F_FLAGS): Define.
37615         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37616         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37617         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37618         (ST_VALID): Define locally.
37619         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37620         __statvfs_getflags, use the provided value.
37621         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37622         __ASSUME_STATFS_F_FLAGS.
37624         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37626         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37627         Add sys/fanotify.h.
37628         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37629         fanotify_mask for GLIBC_2.13.
37630         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37631         fanotify_init and fanotify_mark.
37632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37633         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37635         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37636         Add prlimit.
37637         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37638         prlimit64 for GLIBC_2.13.
37639         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37640         prlimit64.
37641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37642         syscall.
37643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37644         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37645         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37646         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37648         add prlimit alias.
37649         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37651         [BZ #11903]
37652         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37653         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37655         * nss/Makefile: Add rules to build and run tst-nss-test1.
37656         * shlib-versions: Add entry for libnss_test1.
37657         * nss/nss_test1.c: New file.
37658         * nss/tst-nss-test1.c: New file.
37660         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37661         (__nss_configure_lookup): Set appropriate entry in
37662         __nss_configure_lookup to true.
37663         * nss/nsswitch.h: Define enum with indeces of databases in
37664         databases and __nss_database_custom arrays.  Declare
37665         __nss_database_custom.
37666         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37667         to avoid using nscd when custom rules are installed.
37668         * nss/getXXbyYY_r.c: Likewise.
37669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37671         * nss/nss_files/files-parse.c: Whitespace fixes.
37673 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37675         [BZ #11883]
37676         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37677         * posix/fnmatch_loop.c: Likewise.
37679 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37681         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37682         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37683         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37684         * Versions.def [GLIBC_2.13]: Add.
37686 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37688         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37689         Also fail if tpwd after pwuid call is NULL.
37691 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37693         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37694         when converting to ms.
37696 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37698         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37699         EOPNOTSUPP errors with ENOTTY.
37700         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37701         EOPNOTSUPP errors with ENOTTY.
37703 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37705         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37706         Add strcasecmp_l-ssse3.
37707         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37708         strcasecmp.
37709         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37710         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37711         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37713 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37715         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37717         * string/Makefile (strop-tests): Add strcasecmp.
37718         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37719         strcasecmp_l-nonascii.
37720         (gen-as-const-headers): Add locale-defines.sym.
37721         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37722         * sysdeps/x86_64/strcasecmp.S: New file.
37723         * sysdeps/x86_64/strcasecmp_l.S: New file.
37724         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37725         * sysdeps/x86_64/locale-defines.sym: New file.
37726         * string/test-strcasecmp.c: New file.
37728         * string/test-strcasestr.c: Test both ends of the range of characters.
37729         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37731 2010-07-29  Roland McGrath  <roland@redhat.com>
37733         [BZ #11856]
37734         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37736 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37738         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37739         for ld.so.
37741 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37743         * manual/memory.texi (Malloc Tunable Parameters): Document
37744         M_PERTURB.
37746 2010-07-26  Roland McGrath  <roland@redhat.com>
37748         [BZ #11840]
37749         * configure.in (-fgnu89-inline check): Set and substitute
37750         gnu89_inline, not libc_cv_gnu89_inline.
37751         * configure: Regenerated.
37752         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37754 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37756         * string/test-strnlen.c: New file.
37757         * string/Makefile (strop-tests): Add strnlen.
37758         * string/tester.c (test_strnlen): Add a few more test cases.
37759         * string/tst-strlen.c: Better error reporting.
37761         * sysdeps/x86_64/strnlen.S: New file.
37763 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37765         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37766         lower-latency instructions.
37768 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37770         * string/test-strcasestr.c: New file.
37771         * string/test-strstr.c: New file.
37772         * string/Makefile (strop-tests): Add strstr and strcasestr.
37773         * string/str-two-way.h: Don't undefine MAX.
37774         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37776 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37779         strcasestr-nonascii.
37780         (CFLAGS-strcasestr-nonascii.c): Define.
37781         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37782         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37783         Remove unused attribute.
37785 2010-07-20  Roland McGrath  <roland@redhat.com>
37787         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37788         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37789         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37790         like LD_HWCAP_MASK can disable hwcaps.
37792 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37794         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37796 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37798         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37799         call in strcasestr.
37800         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37801         __strcasestr_sse42_nonascii.
37802         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37803         strcasestr-nonascii.c.
37804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37806 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37808         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37809         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37810         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37811         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37813 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37816         fcntl.
37818 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37820         [BZ #11577]
37821         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37822         dl_signal_cerror.
37824 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37827         _PC_PIPE_BUF using F_GETPIPE_SZ.
37829 2010-07-05  Roland McGrath  <roland@redhat.com>
37831         * manual/arith.texi (Rounding Functions): Fix rint description
37832         implicit in round description.
37834 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37836         * elf/Makefile: Fix linking for a few tests to make recent linker
37837         happy.
37839 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37841         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37842         $(common-objpfx)libc_nonshared.a.
37844 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37846         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37847         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37848         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37849         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37850         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37851         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37852         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37853         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37868         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37869         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37870         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37871         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37872         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37873         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37874         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37875         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37876         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37877         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37878         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37879         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37895 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37897         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37898         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37899         * string/memmove.c (memmove): Renamed to ...
37900         (MEMMOVE): ...this.  Default to memmove.
37901         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37902         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37903         (END_CHK): Define.
37904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37905         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37906         mempcpy-ssse3-back memmove-ssse3-back.
37907         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37908         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37909         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37910         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37911         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37912         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37913         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37914         * sysdeps/x86_64/multiarch/memmove.c: New file.
37915         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37916         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37917         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37918         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37919         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37920         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37921         Define.
37922         (index_Fast_Copy_Backward): Define.
37923         (HAS_ARCH_FEATURE): Define.
37924         (HAS_FAST_REP_STRING): Define.
37925         (HAS_FAST_COPY_BACKWARD): Define.
37927 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37929         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37930         Restore proper fallback handling.
37932 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37934         [BZ #11701]
37935         * posix/group_member.c (__group_member): Correct checking loop.
37937         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37938         OOM in getpwuid_r correctly.  Return error number when the caller
37939         should return, otherwise -1.
37940         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37941         call returning > 0 value.
37942         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37944 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37946         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37947         libc_nonshared.a from targets in modules-names.
37949 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37951         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37952         requires it.
37954 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37956         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37957         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37958         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37959         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37961 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37963         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37965 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37967         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37968         and F_GETPIPE_SZ.
37969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37974         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37976 2010-06-14  Roland McGrath  <roland@redhat.com>
37978         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37980 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37982         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37983         __REDIRECT followed by __THROW.
37984         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37985         * posix/getopt.h (getopt): Likewise.
37987 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37989         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37990         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37991         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37992         in AT_FLAGS.
37993         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37994         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37996 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38000 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38002         [BZ #11640]
38003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38004         Properly check family and model.
38006 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38008         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38010 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38012         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38014 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38016         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38017         symbol reference.
38019 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38021         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38022         symbol reference.
38024 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38026         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38027         and internal_recvmmsg.
38028         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38029         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38030         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38031         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38033         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38034         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38035         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38037 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38039         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38041 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38043         POWER7 optimizations.
38044         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38045         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38047 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38049         * version.h: Update for 2.13 development version.
38051 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38053         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38054         exceptions.  Return 0.
38056 2010-05-07  Roland McGrath  <roland@redhat.com>
38058         * elf/ldconfig.c (main): Add a const.
38060 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38062         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38063         (args_options): Add no-idn option.
38064         (ahosts_keys_int): Add idn_flags to ai_flags.
38065         (parse_option): Handle 'i' option to clear idn_flags.
38067         * malloc/malloc.c (_int_free): Possible race in the most recently
38068         added check.  Only act on the data if no current modification
38069         happened.
38071 See ChangeLog.17 for earlier changes.